Need help with c++ enum ETeamAttitude

hi, i need help with this, i declared
public :
//variable actitud nativa de unreal
UPROPERTY(EditAnywhere, BlueprintReadWrite, meta = (DisplayName = “Actitud”, Category = “Default”, MultiLine = “true”, OverrideNativeName = “actitud”))
TEnumAsByteETeamAttitude::Type actitud;

then in cpp i wan to give some value, but get error
actitud = ETeamAttitude::Friendly;
i also try
actitud = ETeamAttitude::Type::Friendly;

same error, please help?
how can i asign value to that enum?