7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/workspaces-instances/WorkspacesInstances_EXPORTS.h>
19namespace WorkspacesInstances {
30 AWS_WORKSPACESINSTANCES_API
ThrottlingException(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
32 AWS_WORKSPACESINSTANCES_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
40 template <
typename MessageT = Aws::String>
42 m_messageHasBeenSet =
true;
43 m_message = std::forward<MessageT>(value);
45 template <
typename MessageT = Aws::String>
58 template <
typename ServiceCodeT = Aws::String>
60 m_serviceCodeHasBeenSet =
true;
61 m_serviceCode = std::forward<ServiceCodeT>(value);
63 template <
typename ServiceCodeT = Aws::String>
76 template <
typename QuotaCodeT = Aws::String>
78 m_quotaCodeHasBeenSet =
true;
79 m_quotaCode = std::forward<QuotaCodeT>(value);
81 template <
typename QuotaCodeT = Aws::String>
95 m_retryAfterSecondsHasBeenSet =
true;
96 m_retryAfterSeconds = value;
110 int64_t m_retryAfterSeconds{0};
111 bool m_messageHasBeenSet =
false;
112 bool m_serviceCodeHasBeenSet =
false;
113 bool m_quotaCodeHasBeenSet =
false;
114 bool m_retryAfterSecondsHasBeenSet =
false;
void SetRetryAfterSeconds(int64_t value)
AWS_WORKSPACESINSTANCES_API ThrottlingException(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetQuotaCode(QuotaCodeT &&value)
ThrottlingException & WithMessage(MessageT &&value)
int64_t GetRetryAfterSeconds() const
void SetServiceCode(ServiceCodeT &&value)
void SetMessage(MessageT &&value)
ThrottlingException & WithServiceCode(ServiceCodeT &&value)
const Aws::String & GetMessage() const
AWS_WORKSPACESINSTANCES_API ThrottlingException()=default
AWS_WORKSPACESINSTANCES_API ThrottlingException & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::String & GetQuotaCode() const
ThrottlingException & WithQuotaCode(QuotaCodeT &&value)
bool RetryAfterSecondsHasBeenSet() const
ThrottlingException & WithRetryAfterSeconds(int64_t value)
AWS_WORKSPACESINSTANCES_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
bool MessageHasBeenSet() const
bool QuotaCodeHasBeenSet() const
const Aws::String & GetServiceCode() const
bool ServiceCodeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String