7#include <aws/greengrassv2/GreengrassV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
64 inline void SetQuotaCode(
const char* value) { m_quotaCodeHasBeenSet =
true; m_quotaCode.assign(value); }
80 inline void SetServiceCode(
const char* value) { m_serviceCodeHasBeenSet =
true; m_serviceCode.assign(value); }
92 inline void SetRetryAfterSeconds(
int value) { m_retryAfterSecondsHasBeenSet =
true; m_retryAfterSeconds = value; }
98 bool m_messageHasBeenSet =
false;
101 bool m_quotaCodeHasBeenSet =
false;
104 bool m_serviceCodeHasBeenSet =
false;
106 int m_retryAfterSeconds;
107 bool m_retryAfterSecondsHasBeenSet =
false;
const Aws::String & GetServiceCode() const
bool RetryAfterSecondsHasBeenSet() const
ThrottlingException & WithServiceCode(const Aws::String &value)
void SetMessage(Aws::String &&value)
void SetQuotaCode(const Aws::String &value)
ThrottlingException & WithMessage(const Aws::String &value)
bool MessageHasBeenSet() const
ThrottlingException & WithRetryAfterSeconds(int value)
AWS_GREENGRASSV2_API ThrottlingException()
ThrottlingException & WithQuotaCode(const Aws::String &value)
void SetQuotaCode(Aws::String &&value)
AWS_GREENGRASSV2_API ThrottlingException(Aws::Utils::Json::JsonView jsonValue)
ThrottlingException & WithQuotaCode(const char *value)
bool QuotaCodeHasBeenSet() const
ThrottlingException & WithMessage(const char *value)
void SetMessage(const char *value)
ThrottlingException & WithQuotaCode(Aws::String &&value)
ThrottlingException & WithServiceCode(const char *value)
void SetServiceCode(Aws::String &&value)
ThrottlingException & WithServiceCode(Aws::String &&value)
void SetRetryAfterSeconds(int value)
void SetServiceCode(const Aws::String &value)
AWS_GREENGRASSV2_API ThrottlingException & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetMessage() const
void SetQuotaCode(const char *value)
int GetRetryAfterSeconds() const
AWS_GREENGRASSV2_API Aws::Utils::Json::JsonValue Jsonize() const
bool ServiceCodeHasBeenSet() const
ThrottlingException & WithMessage(Aws::String &&value)
void SetServiceCode(const char *value)
const Aws::String & GetQuotaCode() const
void SetMessage(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue