7#include <aws/dsql/DSQL_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
47 template<
typename MessageT = Aws::String>
48 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
49 template<
typename MessageT = Aws::String>
59 template<
typename ServiceCodeT = Aws::String>
60 void SetServiceCode(ServiceCodeT&& value) { m_serviceCodeHasBeenSet =
true; m_serviceCode = std::forward<ServiceCodeT>(value); }
61 template<
typename ServiceCodeT = Aws::String>
71 template<
typename QuotaCodeT = Aws::String>
72 void SetQuotaCode(QuotaCodeT&& value) { m_quotaCodeHasBeenSet =
true; m_quotaCode = std::forward<QuotaCodeT>(value); }
73 template<
typename QuotaCodeT = Aws::String>
83 inline void SetRetryAfterSeconds(
int value) { m_retryAfterSecondsHasBeenSet =
true; m_retryAfterSeconds = value; }
89 bool m_messageHasBeenSet =
false;
92 bool m_serviceCodeHasBeenSet =
false;
95 bool m_quotaCodeHasBeenSet =
false;
97 int m_retryAfterSeconds{0};
98 bool m_retryAfterSecondsHasBeenSet =
false;
const Aws::String & GetQuotaCode() const
void SetRetryAfterSeconds(int value)
const Aws::String & GetMessage() const
void SetQuotaCode(QuotaCodeT &&value)
AWS_DSQL_API ThrottlingException(Aws::Utils::Json::JsonView jsonValue)
ThrottlingException & WithServiceCode(ServiceCodeT &&value)
AWS_DSQL_API ThrottlingException()=default
void SetMessage(MessageT &&value)
ThrottlingException & WithQuotaCode(QuotaCodeT &&value)
bool MessageHasBeenSet() const
void SetServiceCode(ServiceCodeT &&value)
bool RetryAfterSecondsHasBeenSet() const
int GetRetryAfterSeconds() const
const Aws::String & GetServiceCode() const
AWS_DSQL_API Aws::Utils::Json::JsonValue Jsonize() const
ThrottlingException & WithMessage(MessageT &&value)
ThrottlingException & WithRetryAfterSeconds(int value)
bool QuotaCodeHasBeenSet() const
bool ServiceCodeHasBeenSet() const
AWS_DSQL_API ThrottlingException & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue