7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/notifications/Notifications_EXPORTS.h>
19namespace Notifications {
38 template <
typename MessageT = Aws::String>
40 m_messageHasBeenSet =
true;
41 m_message = std::forward<MessageT>(value);
43 template <
typename MessageT = Aws::String>
56 template <
typename ServiceCodeT = Aws::String>
58 m_serviceCodeHasBeenSet =
true;
59 m_serviceCode = std::forward<ServiceCodeT>(value);
61 template <
typename ServiceCodeT = Aws::String>
74 template <
typename QuotaCodeT = Aws::String>
76 m_quotaCodeHasBeenSet =
true;
77 m_quotaCode = std::forward<QuotaCodeT>(value);
79 template <
typename QuotaCodeT = Aws::String>
93 m_retryAfterSecondsHasBeenSet =
true;
94 m_retryAfterSeconds = value;
108 int m_retryAfterSeconds{0};
109 bool m_messageHasBeenSet =
false;
110 bool m_serviceCodeHasBeenSet =
false;
111 bool m_quotaCodeHasBeenSet =
false;
112 bool m_retryAfterSecondsHasBeenSet =
false;
ThrottlingException & WithRetryAfterSeconds(int value)
bool ServiceCodeHasBeenSet() const
AWS_NOTIFICATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetServiceCode() const
void SetServiceCode(ServiceCodeT &&value)
AWS_NOTIFICATIONS_API ThrottlingException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_NOTIFICATIONS_API ThrottlingException(Aws::Utils::Json::JsonView jsonValue)
AWS_NOTIFICATIONS_API ThrottlingException()=default
ThrottlingException & WithMessage(MessageT &&value)
bool MessageHasBeenSet() const
void SetMessage(MessageT &&value)
const Aws::String & GetMessage() const
bool RetryAfterSecondsHasBeenSet() const
int GetRetryAfterSeconds() const
ThrottlingException & WithServiceCode(ServiceCodeT &&value)
bool QuotaCodeHasBeenSet() const
ThrottlingException & WithQuotaCode(QuotaCodeT &&value)
const Aws::String & GetQuotaCode() const
void SetQuotaCode(QuotaCodeT &&value)
void SetRetryAfterSeconds(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue