UWidgetComponent created using C++ not editable in viewport

Newbie to Unreal here, What do you include to get this to compile?