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>
10#include <aws/deadline/model/ServiceQuotaExceededExceptionReason.h>
42 template <
typename MessageT = Aws::String>
44 m_messageHasBeenSet =
true;
45 m_message = std::forward<MessageT>(value);
47 template <
typename MessageT = Aws::String>
61 m_reasonHasBeenSet =
true;
76 template <
typename ResourceTypeT = Aws::String>
78 m_resourceTypeHasBeenSet =
true;
79 m_resourceType = std::forward<ResourceTypeT>(value);
81 template <
typename ResourceTypeT = Aws::String>
94 template <
typename ServiceCodeT = Aws::String>
96 m_serviceCodeHasBeenSet =
true;
97 m_serviceCode = std::forward<ServiceCodeT>(value);
99 template <
typename ServiceCodeT = Aws::String>
112 template <
typename QuotaCodeT = Aws::String>
114 m_quotaCodeHasBeenSet =
true;
115 m_quotaCode = std::forward<QuotaCodeT>(value);
117 template <
typename QuotaCodeT = Aws::String>
130 template <
typename ResourceIdT = Aws::String>
132 m_resourceIdHasBeenSet =
true;
133 m_resourceId = std::forward<ResourceIdT>(value);
135 template <
typename ResourceIdT = Aws::String>
148 template <
typename ContextT = Aws::Map<Aws::String, Aws::String>>
150 m_contextHasBeenSet =
true;
151 m_context = std::forward<ContextT>(value);
153 template <
typename ContextT = Aws::Map<Aws::String, Aws::String>>
158 template <
typename ContextKeyT = Aws::String,
typename ContextValueT = Aws::String>
160 m_contextHasBeenSet =
true;
161 m_context.emplace(std::forward<ContextKeyT>(key), std::forward<ContextValueT>(value));
179 bool m_messageHasBeenSet =
false;
180 bool m_reasonHasBeenSet =
false;
181 bool m_resourceTypeHasBeenSet =
false;
182 bool m_serviceCodeHasBeenSet =
false;
183 bool m_quotaCodeHasBeenSet =
false;
184 bool m_resourceIdHasBeenSet =
false;
185 bool m_contextHasBeenSet =
false;
ServiceQuotaExceededException & AddContext(ContextKeyT &&key, ContextValueT &&value)
ServiceQuotaExceededException & WithResourceId(ResourceIdT &&value)
bool MessageHasBeenSet() const
bool ContextHasBeenSet() const
const Aws::String & GetQuotaCode() const
ServiceQuotaExceededExceptionReason GetReason() const
bool ServiceCodeHasBeenSet() const
bool ResourceIdHasBeenSet() const
void SetContext(ContextT &&value)
void SetServiceCode(ServiceCodeT &&value)
void SetResourceId(ResourceIdT &&value)
void SetMessage(MessageT &&value)
ServiceQuotaExceededException & WithReason(ServiceQuotaExceededExceptionReason value)
bool QuotaCodeHasBeenSet() const
const Aws::String & GetServiceCode() const
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DEADLINE_API ServiceQuotaExceededException()=default
const Aws::String & GetResourceId() const
bool ResourceTypeHasBeenSet() const
const Aws::String & GetMessage() const
AWS_DEADLINE_API ServiceQuotaExceededException(Aws::Utils::Json::JsonView jsonValue)
AWS_DEADLINE_API ServiceQuotaExceededException & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceQuotaExceededException & WithMessage(MessageT &&value)
const Aws::String & GetResourceType() const
void SetReason(ServiceQuotaExceededExceptionReason value)
ServiceQuotaExceededException & WithQuotaCode(QuotaCodeT &&value)
void SetQuotaCode(QuotaCodeT &&value)
ServiceQuotaExceededException & WithResourceType(ResourceTypeT &&value)
const Aws::Map< Aws::String, Aws::String > & GetContext() const
bool ReasonHasBeenSet() const
ServiceQuotaExceededException & WithContext(ContextT &&value)
void SetResourceType(ResourceTypeT &&value)
ServiceQuotaExceededException & WithServiceCode(ServiceCodeT &&value)
ServiceQuotaExceededExceptionReason
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