Set bone position using c++ only

Hey Community,
i just want to know if there is a way to set bones of a skeletal mesh to a specific position in c++. I do not want to use blueprints and i did not find a good way of doing it.