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