7#include <aws/backup-gateway/BackupGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/crt/cbor/Cbor.h>
19namespace BackupGateway {
31 AWS_BACKUPGATEWAY_API
ThrottlingException(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_BACKUPGATEWAY_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
42 template <
typename ErrorCodeT = Aws::String>
44 m_errorCodeHasBeenSet =
true;
45 m_errorCode = std::forward<ErrorCodeT>(value);
47 template <
typename ErrorCodeT = Aws::String>
58 template <
typename MessageT = Aws::String>
60 m_messageHasBeenSet =
true;
61 m_message = std::forward<MessageT>(value);
63 template <
typename MessageT = Aws::String>
73 bool m_errorCodeHasBeenSet =
false;
74 bool m_messageHasBeenSet =
false;
AWS_BACKUPGATEWAY_API ThrottlingException(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_BACKUPGATEWAY_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
const Aws::String & GetMessage() const
bool MessageHasBeenSet() const
void SetMessage(MessageT &&value)
void SetErrorCode(ErrorCodeT &&value)
AWS_BACKUPGATEWAY_API ThrottlingException()=default
bool ErrorCodeHasBeenSet() const
ThrottlingException & WithMessage(MessageT &&value)
AWS_BACKUPGATEWAY_API ThrottlingException & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
ThrottlingException & WithErrorCode(ErrorCodeT &&value)
const Aws::String & GetErrorCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String