7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/security-ir/SecurityIR_EXPORTS.h>
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 int m_retryAfterSeconds{0};
111 bool m_messageHasBeenSet =
false;
112 bool m_serviceCodeHasBeenSet =
false;
113 bool m_quotaCodeHasBeenSet =
false;
114 bool m_retryAfterSecondsHasBeenSet =
false;
ThrottlingException & WithMessage(MessageT &&value)
void SetMessage(MessageT &&value)
ThrottlingException & WithServiceCode(ServiceCodeT &&value)
bool MessageHasBeenSet() const
const Aws::String & GetQuotaCode() const
ThrottlingException & WithQuotaCode(QuotaCodeT &&value)
AWS_SECURITYIR_API ThrottlingException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYIR_API Aws::Utils::Json::JsonValue Jsonize() const
ThrottlingException & WithRetryAfterSeconds(int value)
const Aws::String & GetServiceCode() const
int GetRetryAfterSeconds() const
const Aws::String & GetMessage() const
bool QuotaCodeHasBeenSet() const
bool ServiceCodeHasBeenSet() const
AWS_SECURITYIR_API ThrottlingException()=default
AWS_SECURITYIR_API ThrottlingException(Aws::Utils::Json::JsonView jsonValue)
bool RetryAfterSecondsHasBeenSet() const
void SetRetryAfterSeconds(int value)
void SetServiceCode(ServiceCodeT &&value)
void SetQuotaCode(QuotaCodeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue