Update Skeletal Controller via c++

I’ve already gone through Ramas Bone tutorial and extended the animInstance class. I’m able to modify some class members and then have those update the skeletal controller via blueprints. I would like to know how to do this last bit via c++ as well.

Alternatively I would be interested in being able to change the “Bone To Modify” parameter on the Transform (Modify) Bone BP function, Or the “IK Bone” parameter in the Two Bone IK BP function.