How can I set animation blueprint into a skeletal mesh actor from string?

I have to make a skeletal mesh actor dynamically.
For the skeletal mesh part, It was no problem, but I’ve encountered the animation blueprint part.
I have an input animation blueprint asset path and I want to put this into SetAnimInstanceClass function, with any convert needed.

How can I do that?