How can I change actor's default properties on runtime with c++?

I’m sorry. I didn’t mention that I want to set the variables from other class.
I can set the variables just after spawning and it will show same result but I want to set the variables before spawning.
I tried it using CDO but it didn’t work.