Trying to set default movement modes in C++ using TEnumAsByte<>

I’ve been trying to set BuildCharacter’s DefaultLandMovementMode and DefaultWaterMovementMode using TEnumAsByte as seen in image. However the TEnumAsByte<> is not taking the EMovementMode MOVE_Flying saying MOVE_Flying is not a type name however according to [link text][1] it is a type. Don’t really know what to do next, if there is another way to set the default movement mode through c++ lmk.

Hello! Just use this

TEnumAsByte<EMovementMode> DefaultLandMovementMode = EmovementMode::MOVE_Flying;