Change Animation Blueprint and SkeletalMeshComp at runtime using c++

I’ve googled it up a lot but I didn’t find anything useful. My question is how do I change the AnimationBlueprint and SkeletalMeshComponent using c++??? i’l provide the source code required if needed