14 namespace Azure {
namespace Core {
namespace _internal {
38 template <
class T>
class ExtendableEnumeration {
40 std::string m_enumerationValue;
43 ~ExtendableEnumeration() =
default;
51 explicit ExtendableEnumeration(std::string enumerationValue)
52 : m_enumerationValue(std::move(enumerationValue))
59 ExtendableEnumeration() =
default;
66 bool operator==(T
const& other)
const noexcept
68 return m_enumerationValue == other.m_enumerationValue;
76 bool operator!=(T
const& other)
const noexcept {
return !operator==(other); }
82 std::string
const& ToString()
const {
return m_enumerationValue; }