7#include <aws/abuse-signal/AbuseSignal_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
19namespace AbuseSignal {
41 template <
typename MessageT = Aws::String>
43 m_messageHasBeenSet =
true;
44 m_message = std::forward<MessageT>(value);
46 template <
typename MessageT = Aws::String>
60 template <
typename ServiceCodeT = Aws::String>
62 m_serviceCodeHasBeenSet =
true;
63 m_serviceCode = std::forward<ServiceCodeT>(value);
65 template <
typename ServiceCodeT = Aws::String>
78 template <
typename QuotaCodeT = Aws::String>
80 m_quotaCodeHasBeenSet =
true;
81 m_quotaCode = std::forward<QuotaCodeT>(value);
83 template <
typename QuotaCodeT = Aws::String>
98 m_retryAfterSecondsHasBeenSet =
true;
99 m_retryAfterSeconds = value;
113 int m_retryAfterSeconds{0};
114 bool m_messageHasBeenSet =
false;
115 bool m_serviceCodeHasBeenSet =
false;
116 bool m_quotaCodeHasBeenSet =
false;
117 bool m_retryAfterSecondsHasBeenSet =
false;
ThrottlingException & WithMessage(MessageT &&value)
ThrottlingException & WithRetryAfterSeconds(int value)
bool MessageHasBeenSet() const
const Aws::String & GetMessage() const
int GetRetryAfterSeconds() const
void SetQuotaCode(QuotaCodeT &&value)
ThrottlingException & WithQuotaCode(QuotaCodeT &&value)
AWS_ABUSESIGNAL_API ThrottlingException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ABUSESIGNAL_API ThrottlingException()=default
void SetServiceCode(ServiceCodeT &&value)
bool ServiceCodeHasBeenSet() const
ThrottlingException & WithServiceCode(ServiceCodeT &&value)
void SetMessage(MessageT &&value)
bool RetryAfterSecondsHasBeenSet() const
const Aws::String & GetQuotaCode() const
bool QuotaCodeHasBeenSet() const
const Aws::String & GetServiceCode() const
void SetRetryAfterSeconds(int value)
AWS_ABUSESIGNAL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ABUSESIGNAL_API ThrottlingException(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue