7#include <aws/managedblockchain-query/ManagedBlockchainQuery_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace ManagedBlockchainQuery
50 template<
typename MessageT = Aws::String>
51 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
52 template<
typename MessageT = Aws::String>
62 template<
typename ServiceCodeT = Aws::String>
63 void SetServiceCode(ServiceCodeT&& value) { m_serviceCodeHasBeenSet =
true; m_serviceCode = std::forward<ServiceCodeT>(value); }
64 template<
typename ServiceCodeT = Aws::String>
74 template<
typename QuotaCodeT = Aws::String>
75 void SetQuotaCode(QuotaCodeT&& value) { m_quotaCodeHasBeenSet =
true; m_quotaCode = std::forward<QuotaCodeT>(value); }
76 template<
typename QuotaCodeT = Aws::String>
86 inline void SetRetryAfterSeconds(
int value) { m_retryAfterSecondsHasBeenSet =
true; m_retryAfterSeconds = value; }
92 bool m_messageHasBeenSet =
false;
95 bool m_serviceCodeHasBeenSet =
false;
98 bool m_quotaCodeHasBeenSet =
false;
100 int m_retryAfterSeconds{0};
101 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