7#include <aws/lookoutvision/LookoutforVision_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace LookoutforVision
45 template<
typename MessageT = Aws::String>
46 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
47 template<
typename MessageT = Aws::String>
57 template<
typename QuotaCodeT = Aws::String>
58 void SetQuotaCode(QuotaCodeT&& value) { m_quotaCodeHasBeenSet =
true; m_quotaCode = std::forward<QuotaCodeT>(value); }
59 template<
typename QuotaCodeT = Aws::String>
69 template<
typename ServiceCodeT = Aws::String>
70 void SetServiceCode(ServiceCodeT&& value) { m_serviceCodeHasBeenSet =
true; m_serviceCode = std::forward<ServiceCodeT>(value); }
71 template<
typename ServiceCodeT = Aws::String>
81 inline void SetRetryAfterSeconds(
int value) { m_retryAfterSecondsHasBeenSet =
true; m_retryAfterSeconds = value; }
87 bool m_messageHasBeenSet =
false;
90 bool m_quotaCodeHasBeenSet =
false;
93 bool m_serviceCodeHasBeenSet =
false;
95 int m_retryAfterSeconds{0};
96 bool m_retryAfterSecondsHasBeenSet =
false;
void SetServiceCode(ServiceCodeT &&value)
AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const
ThrottlingException & WithQuotaCode(QuotaCodeT &&value)
int GetRetryAfterSeconds() const
ThrottlingException & WithRetryAfterSeconds(int value)
bool QuotaCodeHasBeenSet() const
void SetRetryAfterSeconds(int value)
const Aws::String & GetQuotaCode() const
const Aws::String & GetServiceCode() const
AWS_LOOKOUTFORVISION_API ThrottlingException & operator=(Aws::Utils::Json::JsonView jsonValue)
bool MessageHasBeenSet() const
bool ServiceCodeHasBeenSet() const
AWS_LOOKOUTFORVISION_API ThrottlingException()=default
void SetMessage(MessageT &&value)
const Aws::String & GetMessage() const
bool RetryAfterSecondsHasBeenSet() const
void SetQuotaCode(QuotaCodeT &&value)
ThrottlingException & WithServiceCode(ServiceCodeT &&value)
AWS_LOOKOUTFORVISION_API ThrottlingException(Aws::Utils::Json::JsonView jsonValue)
ThrottlingException & WithMessage(MessageT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue