How to move this BP to C++

I want to know how to use this in C++. I like to spawn different meshes in an actor.
Id like to get an example. If you know a nice tutorial that would be great too.