Conversion of Enum to String

EGroundDirection value = EGroundDirection::DOWN;

const TCHAR* msg = ANSI_TO_TCHAR("EGroundDirection ");

const UEnum* EnumPtr = FindObject<UEnum>(ANY_PACKAGE, msg,true);

UE_LOG(LogTemp, Warning, TEXT("This is the data: %s"), *EnumPtr->GetEnumName(0));

UE_LOG(LogTemp, Warning, TEXT("This is the data: %s"), *EnumPtr->GetDisplayNameText(EGroundDirection ::DOWN).ToString());