How to edit physics properties in C++ code?

I want edit physics and collision properties in my AActor class

like here:

https://docs.unrealengine.com/latest/images/Engine/Physics/PhysicsBodies/Reference/physicsProps.jpg

but via c++ code

Thanks, sorry for dumb question, i’m new in UE and programming

You will find these under:

actor->GetRootPrimitiveComponent()