7#include <aws/repostspace/Repostspace_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
44 template<
typename MessageT = Aws::String>
45 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
46 template<
typename MessageT = Aws::String>
56 template<
typename ServiceCodeT = Aws::String>
57 void SetServiceCode(ServiceCodeT&& value) { m_serviceCodeHasBeenSet =
true; m_serviceCode = std::forward<ServiceCodeT>(value); }
58 template<
typename ServiceCodeT = Aws::String>
68 template<
typename QuotaCodeT = Aws::String>
69 void SetQuotaCode(QuotaCodeT&& value) { m_quotaCodeHasBeenSet =
true; m_quotaCode = std::forward<QuotaCodeT>(value); }
70 template<
typename QuotaCodeT = Aws::String>
80 inline void SetRetryAfterSeconds(
int value) { m_retryAfterSecondsHasBeenSet =
true; m_retryAfterSeconds = value; }
86 bool m_messageHasBeenSet =
false;
89 bool m_serviceCodeHasBeenSet =
false;
92 bool m_quotaCodeHasBeenSet =
false;
94 int m_retryAfterSeconds{0};
95 bool m_retryAfterSecondsHasBeenSet =
false;
bool RetryAfterSecondsHasBeenSet() const
ThrottlingException & WithMessage(MessageT &&value)
bool MessageHasBeenSet() const
const Aws::String & GetServiceCode() const
AWS_REPOSTSPACE_API ThrottlingException & operator=(Aws::Utils::Json::JsonView jsonValue)
ThrottlingException & WithRetryAfterSeconds(int value)
AWS_REPOSTSPACE_API ThrottlingException(Aws::Utils::Json::JsonView jsonValue)
AWS_REPOSTSPACE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_REPOSTSPACE_API ThrottlingException()=default
void SetMessage(MessageT &&value)
const Aws::String & GetMessage() const
const Aws::String & GetQuotaCode() const
bool QuotaCodeHasBeenSet() const
ThrottlingException & WithQuotaCode(QuotaCodeT &&value)
ThrottlingException & WithServiceCode(ServiceCodeT &&value)
void SetQuotaCode(QuotaCodeT &&value)
int GetRetryAfterSeconds() const
bool ServiceCodeHasBeenSet() const
void SetRetryAfterSeconds(int value)
void SetServiceCode(ServiceCodeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue