C++ TreeBehaviour Variable

How can I declare a Behaviour Tree variable as UPROPERTY to appear like this in my char class?

And if you could guide me to the right documentation section that could give me all the c++ interfaces for all variables types from UE.
Thank you.

Found it! I forgot to add the controller class and define it in the controller.h file.