7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
47 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
61 inline void SetServiceCode(
const char* value) { m_serviceCodeHasBeenSet =
true; m_serviceCode.assign(value); }
75 inline void SetQuotaCode(
const char* value) { m_quotaCodeHasBeenSet =
true; m_quotaCode.assign(value); }
87 inline void SetRetryAfterSeconds(
int value) { m_retryAfterSecondsHasBeenSet =
true; m_retryAfterSeconds = value; }
112 bool m_messageHasBeenSet =
false;
115 bool m_serviceCodeHasBeenSet =
false;
118 bool m_quotaCodeHasBeenSet =
false;
120 int m_retryAfterSeconds;
121 bool m_retryAfterSecondsHasBeenSet =
false;
124 bool m_contextHasBeenSet =
false;
ThrottlingException & WithMessage(const Aws::String &value)
ThrottlingException & WithQuotaCode(const Aws::String &value)
bool RetryAfterSecondsHasBeenSet() const
ThrottlingException & AddContext(const Aws::String &key, const Aws::String &value)
ThrottlingException & AddContext(const Aws::String &key, Aws::String &&value)
ThrottlingException & WithContext(Aws::Map< Aws::String, Aws::String > &&value)
void SetServiceCode(const char *value)
void SetContext(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetContext() const
AWS_DEADLINE_API ThrottlingException(Aws::Utils::Json::JsonView jsonValue)
void SetQuotaCode(const Aws::String &value)
ThrottlingException & WithMessage(const char *value)
bool QuotaCodeHasBeenSet() const
ThrottlingException & AddContext(const char *key, Aws::String &&value)
ThrottlingException & WithMessage(Aws::String &&value)
void SetQuotaCode(Aws::String &&value)
ThrottlingException & WithQuotaCode(const char *value)
void SetMessage(const Aws::String &value)
ThrottlingException & WithQuotaCode(Aws::String &&value)
ThrottlingException & WithServiceCode(Aws::String &&value)
ThrottlingException & AddContext(Aws::String &&key, Aws::String &&value)
bool ContextHasBeenSet() const
ThrottlingException & WithServiceCode(const Aws::String &value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
bool MessageHasBeenSet() const
AWS_DEADLINE_API ThrottlingException & operator=(Aws::Utils::Json::JsonView jsonValue)
int GetRetryAfterSeconds() const
const Aws::String & GetQuotaCode() const
ThrottlingException & WithContext(const Aws::Map< Aws::String, Aws::String > &value)
bool ServiceCodeHasBeenSet() const
ThrottlingException & AddContext(Aws::String &&key, const char *value)
ThrottlingException & AddContext(Aws::String &&key, const Aws::String &value)
void SetMessage(const char *value)
void SetMessage(Aws::String &&value)
void SetContext(Aws::Map< Aws::String, Aws::String > &&value)
ThrottlingException & WithRetryAfterSeconds(int value)
const Aws::String & GetMessage() const
const Aws::String & GetServiceCode() const
void SetRetryAfterSeconds(int value)
AWS_DEADLINE_API ThrottlingException()
void SetQuotaCode(const char *value)
ThrottlingException & AddContext(const char *key, const char *value)
void SetServiceCode(const Aws::String &value)
void SetServiceCode(Aws::String &&value)
ThrottlingException & WithServiceCode(const char *value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue