7#include <aws/security-ir/SecurityIR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
44 template<
typename MessageT = Aws::String>
45 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
46 template<
typename MessageT = Aws::String>
56 template<
typename ServiceCodeT = Aws::String>
57 void SetServiceCode(ServiceCodeT&& value) { m_serviceCodeHasBeenSet =
true; m_serviceCode = std::forward<ServiceCodeT>(value); }
58 template<
typename ServiceCodeT = Aws::String>
68 template<
typename QuotaCodeT = Aws::String>
69 void SetQuotaCode(QuotaCodeT&& value) { m_quotaCodeHasBeenSet =
true; m_quotaCode = std::forward<QuotaCodeT>(value); }
70 template<
typename QuotaCodeT = Aws::String>
81 inline void SetRetryAfterSeconds(
int value) { m_retryAfterSecondsHasBeenSet =
true; m_retryAfterSeconds = value; }
87 bool m_messageHasBeenSet =
false;
90 bool m_serviceCodeHasBeenSet =
false;
93 bool m_quotaCodeHasBeenSet =
false;
95 int m_retryAfterSeconds{0};
96 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