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