How can I get and set a camera actor's Location & Rotation parameters in C++ code?

trans

We know a camera actor in a scene has its location & rotation parameters,so in my C++ code, how can I get and set these parameters?