#pragma once #include namespace Aws { namespace IoTFleetWise { namespace Platform { namespace Utility { /** * @brief Get the underlying type of an enum * * @tparam E The enumerator type * @param enumerator The enumerator value * @return The underlying type of the enumerator */ template constexpr auto toUType( E enumerator ) { return static_cast>( enumerator ); } } // namespace Utility } // namespace Platform } // namespace IoTFleetWise } // namespace Aws