7#include <aws/workspaces-instances/WorkspacesInstances_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace WorkspacesInstances
46 template<
typename MessageT = Aws::String>
47 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
48 template<
typename MessageT = Aws::String>
58 template<
typename ServiceCodeT = Aws::String>
59 void SetServiceCode(ServiceCodeT&& value) { m_serviceCodeHasBeenSet =
true; m_serviceCode = std::forward<ServiceCodeT>(value); }
60 template<
typename ServiceCodeT = Aws::String>
70 template<
typename QuotaCodeT = Aws::String>
71 void SetQuotaCode(QuotaCodeT&& value) { m_quotaCodeHasBeenSet =
true; m_quotaCode = std::forward<QuotaCodeT>(value); }
72 template<
typename QuotaCodeT = Aws::String>
82 inline void SetRetryAfterSeconds(
int value) { m_retryAfterSecondsHasBeenSet =
true; m_retryAfterSeconds = value; }
88 bool m_messageHasBeenSet =
false;
91 bool m_serviceCodeHasBeenSet =
false;
94 bool m_quotaCodeHasBeenSet =
false;
96 int m_retryAfterSeconds{0};
97 bool m_retryAfterSecondsHasBeenSet =
false;
AWS_WORKSPACESINSTANCES_API ThrottlingException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WORKSPACESINSTANCES_API ThrottlingException(Aws::Utils::Json::JsonView jsonValue)
void SetQuotaCode(QuotaCodeT &&value)
ThrottlingException & WithMessage(MessageT &&value)
ThrottlingException & WithRetryAfterSeconds(int value)
void SetServiceCode(ServiceCodeT &&value)
void SetMessage(MessageT &&value)
ThrottlingException & WithServiceCode(ServiceCodeT &&value)
const Aws::String & GetMessage() const
AWS_WORKSPACESINSTANCES_API ThrottlingException()=default
const Aws::String & GetQuotaCode() const
ThrottlingException & WithQuotaCode(QuotaCodeT &&value)
bool RetryAfterSecondsHasBeenSet() const
bool MessageHasBeenSet() const
bool QuotaCodeHasBeenSet() const
AWS_WORKSPACESINSTANCES_API Aws::Utils::Json::JsonValue Jsonize() const
int GetRetryAfterSeconds() const
const Aws::String & GetServiceCode() const
bool ServiceCodeHasBeenSet() const
void SetRetryAfterSeconds(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue