Getting only Z axis from vector

Camera->AddWorldOffset(FVector(0, 0, 10))

Plus extra parameters of you want to sweep etc.

This will move it up 10 uu in world space, if you want to do it in local space:

Camera->AddWorldOffset(Camera->GetUpVector() * 10)