7#include <aws/connectscheduling/ConnectScheduling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
19namespace ConnectScheduling {
39 template <
typename MessageT = Aws::String>
41 m_messageHasBeenSet =
true;
42 m_message = std::forward<MessageT>(value);
44 template <
typename MessageT = Aws::String>
58 template <
typename QuotaCodeT = Aws::String>
60 m_quotaCodeHasBeenSet =
true;
61 m_quotaCode = std::forward<QuotaCodeT>(value);
63 template <
typename QuotaCodeT = Aws::String>
76 template <
typename ServiceCodeT = Aws::String>
78 m_serviceCodeHasBeenSet =
true;
79 m_serviceCode = std::forward<ServiceCodeT>(value);
81 template <
typename ServiceCodeT = Aws::String>
95 m_retryAfterSecondsHasBeenSet =
true;
96 m_retryAfterSeconds = value;
110 int m_retryAfterSeconds{0};
111 bool m_messageHasBeenSet =
false;
112 bool m_quotaCodeHasBeenSet =
false;
113 bool m_serviceCodeHasBeenSet =
false;
114 bool m_retryAfterSecondsHasBeenSet =
false;
AWS_CONNECTSCHEDULING_API ThrottlingException(Aws::Utils::Json::JsonView jsonValue)
bool ServiceCodeHasBeenSet() const
ThrottlingException & WithRetryAfterSeconds(int value)
const Aws::String & GetMessage() const
AWS_CONNECTSCHEDULING_API ThrottlingException & operator=(Aws::Utils::Json::JsonView jsonValue)
ThrottlingException & WithQuotaCode(QuotaCodeT &&value)
bool QuotaCodeHasBeenSet() const
ThrottlingException & WithMessage(MessageT &&value)
const Aws::String & GetQuotaCode() const
AWS_CONNECTSCHEDULING_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMessage(MessageT &&value)
bool MessageHasBeenSet() const
void SetServiceCode(ServiceCodeT &&value)
bool RetryAfterSecondsHasBeenSet() const
ThrottlingException & WithServiceCode(ServiceCodeT &&value)
void SetRetryAfterSeconds(int value)
const Aws::String & GetServiceCode() const
void SetQuotaCode(QuotaCodeT &&value)
AWS_CONNECTSCHEDULING_API ThrottlingException()=default
int GetRetryAfterSeconds() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue