C++ - Moving a cube with input controls?

Now that my stupidly simple question has gotten your attention, how in the hell do I make a cube and move it around the level.

I know that it will need to be a pawn, but that is it. I have read sources saying I need a controller or a pawnmovementcomponent and others saying I dont need either. All I want is a cube that moves left right forward and backward when i press WASD.

Call me an idiot because I probably am, but I cant figure it out.

USING C++! Not blueprints! (Unless it is necessary)