7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/managedblockchain-query/ManagedBlockchainQuery_EXPORTS.h>
19namespace ManagedBlockchainQuery {
44 template <
typename MessageT = Aws::String>
46 m_messageHasBeenSet =
true;
47 m_message = std::forward<MessageT>(value);
49 template <
typename MessageT = Aws::String>
62 template <
typename ServiceCodeT = Aws::String>
64 m_serviceCodeHasBeenSet =
true;
65 m_serviceCode = std::forward<ServiceCodeT>(value);
67 template <
typename ServiceCodeT = Aws::String>
80 template <
typename QuotaCodeT = Aws::String>
82 m_quotaCodeHasBeenSet =
true;
83 m_quotaCode = std::forward<QuotaCodeT>(value);
85 template <
typename QuotaCodeT = Aws::String>
99 m_retryAfterSecondsHasBeenSet =
true;
100 m_retryAfterSeconds = value;
114 int m_retryAfterSeconds{0};
115 bool m_messageHasBeenSet =
false;
116 bool m_serviceCodeHasBeenSet =
false;
117 bool m_quotaCodeHasBeenSet =
false;
118 bool m_retryAfterSecondsHasBeenSet =
false;
void SetQuotaCode(QuotaCodeT &&value)
ThrottlingException & WithServiceCode(ServiceCodeT &&value)
ThrottlingException & WithQuotaCode(QuotaCodeT &&value)
bool RetryAfterSecondsHasBeenSet() const
ThrottlingException & WithRetryAfterSeconds(int value)
ThrottlingException & WithMessage(MessageT &&value)
AWS_MANAGEDBLOCKCHAINQUERY_API ThrottlingException(Aws::Utils::Json::JsonView jsonValue)
bool QuotaCodeHasBeenSet() const
const Aws::String & GetMessage() const
const Aws::String & GetQuotaCode() const
int GetRetryAfterSeconds() const
void SetMessage(MessageT &&value)
const Aws::String & GetServiceCode() const
AWS_MANAGEDBLOCKCHAINQUERY_API ThrottlingException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MANAGEDBLOCKCHAINQUERY_API ThrottlingException()=default
bool MessageHasBeenSet() const
void SetRetryAfterSeconds(int value)
bool ServiceCodeHasBeenSet() const
AWS_MANAGEDBLOCKCHAINQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetServiceCode(ServiceCodeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue