How to encapsulate blueprint character within c++ class

forgot to add this, inputting keystroke is easy from here:

PlayerController->InputKey(EKeys::W, EInputEvent::IE_Pressed, 1.0f, true)