7#include <aws/controltower/ControlTower_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
47 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
61 inline void SetQuotaCode(
const char* value) { m_quotaCodeHasBeenSet =
true; m_quotaCode.assign(value); }
73 inline void SetRetryAfterSeconds(
int value) { m_retryAfterSecondsHasBeenSet =
true; m_retryAfterSeconds = value; }
85 inline void SetServiceCode(
const char* value) { m_serviceCodeHasBeenSet =
true; m_serviceCode.assign(value); }
93 bool m_messageHasBeenSet =
false;
96 bool m_quotaCodeHasBeenSet =
false;
98 int m_retryAfterSeconds;
99 bool m_retryAfterSecondsHasBeenSet =
false;
102 bool m_serviceCodeHasBeenSet =
false;
void SetMessage(const char *value)
AWS_CONTROLTOWER_API ThrottlingException & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetQuotaCode() const
ThrottlingException & WithMessage(const Aws::String &value)
ThrottlingException & WithServiceCode(const char *value)
void SetServiceCode(const Aws::String &value)
bool ServiceCodeHasBeenSet() const
void SetQuotaCode(Aws::String &&value)
ThrottlingException & WithQuotaCode(Aws::String &&value)
AWS_CONTROLTOWER_API ThrottlingException(Aws::Utils::Json::JsonView jsonValue)
void SetRetryAfterSeconds(int value)
void SetMessage(Aws::String &&value)
ThrottlingException & WithQuotaCode(const Aws::String &value)
void SetServiceCode(const char *value)
bool QuotaCodeHasBeenSet() const
void SetMessage(const Aws::String &value)
ThrottlingException & WithMessage(const char *value)
bool MessageHasBeenSet() const
void SetServiceCode(Aws::String &&value)
ThrottlingException & WithMessage(Aws::String &&value)
ThrottlingException & WithServiceCode(Aws::String &&value)
const Aws::String & GetServiceCode() const
void SetQuotaCode(const char *value)
ThrottlingException & WithServiceCode(const Aws::String &value)
AWS_CONTROLTOWER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetMessage() const
void SetQuotaCode(const Aws::String &value)
bool RetryAfterSecondsHasBeenSet() const
int GetRetryAfterSeconds() const
AWS_CONTROLTOWER_API ThrottlingException()
ThrottlingException & WithRetryAfterSeconds(int value)
ThrottlingException & WithQuotaCode(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue