Enum class for customized message format