7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/deadline/Deadline_EXPORTS.h>
39 template <
typename MessageT = Aws::String>
41 m_messageHasBeenSet =
true;
42 m_message = std::forward<MessageT>(value);
44 template <
typename MessageT = Aws::String>
57 template <
typename ServiceCodeT = Aws::String>
59 m_serviceCodeHasBeenSet =
true;
60 m_serviceCode = std::forward<ServiceCodeT>(value);
62 template <
typename ServiceCodeT = Aws::String>
75 template <
typename QuotaCodeT = Aws::String>
77 m_quotaCodeHasBeenSet =
true;
78 m_quotaCode = std::forward<QuotaCodeT>(value);
80 template <
typename QuotaCodeT = Aws::String>
94 m_retryAfterSecondsHasBeenSet =
true;
95 m_retryAfterSeconds = value;
109 template <
typename ContextT = Aws::Map<Aws::String, Aws::String>>
111 m_contextHasBeenSet =
true;
112 m_context = std::forward<ContextT>(value);
114 template <
typename ContextT = Aws::Map<Aws::String, Aws::String>>
119 template <
typename ContextKeyT = Aws::String,
typename ContextValueT = Aws::String>
121 m_contextHasBeenSet =
true;
122 m_context.emplace(std::forward<ContextKeyT>(key), std::forward<ContextValueT>(value));
133 int m_retryAfterSeconds{0};
136 bool m_messageHasBeenSet =
false;
137 bool m_serviceCodeHasBeenSet =
false;
138 bool m_quotaCodeHasBeenSet =
false;
139 bool m_retryAfterSecondsHasBeenSet =
false;
140 bool m_contextHasBeenSet =
false;
bool RetryAfterSecondsHasBeenSet() const
ThrottlingException & WithServiceCode(ServiceCodeT &&value)
void SetServiceCode(ServiceCodeT &&value)
ThrottlingException & WithQuotaCode(QuotaCodeT &&value)
ThrottlingException & AddContext(ContextKeyT &&key, ContextValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetContext() const
AWS_DEADLINE_API ThrottlingException(Aws::Utils::Json::JsonView jsonValue)
bool QuotaCodeHasBeenSet() const
AWS_DEADLINE_API ThrottlingException()=default
void SetQuotaCode(QuotaCodeT &&value)
bool ContextHasBeenSet() const
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
bool MessageHasBeenSet() const
AWS_DEADLINE_API ThrottlingException & operator=(Aws::Utils::Json::JsonView jsonValue)
int GetRetryAfterSeconds() const
const Aws::String & GetQuotaCode() const
void SetContext(ContextT &&value)
bool ServiceCodeHasBeenSet() const
ThrottlingException & WithMessage(MessageT &&value)
void SetMessage(MessageT &&value)
ThrottlingException & WithRetryAfterSeconds(int value)
const Aws::String & GetMessage() const
const Aws::String & GetServiceCode() const
void SetRetryAfterSeconds(int value)
ThrottlingException & WithContext(ContextT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue