In UML, it is not so important to show whether it is a pointer or not. What for? Because you can use UML that describes OOD for a language without pointers.
The quick answer: from your code, aggregates are B (an empty diamond in class A connecting B to the solid line). This is because there is no destructor that removes references to the A.attribute pointer.
, , . , ( ), , , () . . , . - . , .
(),, . , , , , . TeamLeadRole, "" (.. ), TeamLeadRole .
, , , ( ) . , , .
, ( /) , () . , .