7#include <aws/cloudwatchomni/CloudWatchOmni_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/crt/cbor/Cbor.h>
19namespace CloudWatchOmni {
33 AWS_CLOUDWATCHOMNI_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
39 template <
typename MessageT = Aws::String>
41 m_messageHasBeenSet =
true;
42 m_message = std::forward<MessageT>(value);
44 template <
typename MessageT = Aws::String>
57 template <
typename ErrorCodeT = Aws::String>
59 m_errorCodeHasBeenSet =
true;
60 m_errorCode = std::forward<ErrorCodeT>(value);
62 template <
typename ErrorCodeT = Aws::String>
72 bool m_messageHasBeenSet =
false;
73 bool m_errorCodeHasBeenSet =
false;
InternalServerException & WithErrorCode(ErrorCodeT &&value)
AWS_CLOUDWATCHOMNI_API InternalServerException()=default
void SetMessage(MessageT &&value)
bool MessageHasBeenSet() const
AWS_CLOUDWATCHOMNI_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
const Aws::String & GetErrorCode() const
AWS_CLOUDWATCHOMNI_API InternalServerException & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_CLOUDWATCHOMNI_API InternalServerException(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
InternalServerException & WithMessage(MessageT &&value)
const Aws::String & GetMessage() const
void SetErrorCode(ErrorCodeT &&value)
bool ErrorCodeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String