7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mgn/Mgn_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>
55 template <
typename CodeT = Aws::String>
57 m_codeHasBeenSet =
true;
58 m_code = std::forward<CodeT>(value);
60 template <
typename CodeT = Aws::String>
62 SetCode(std::forward<CodeT>(value));
73 template <
typename ResourceIdT = Aws::String>
75 m_resourceIdHasBeenSet =
true;
76 m_resourceId = std::forward<ResourceIdT>(value);
78 template <
typename ResourceIdT = Aws::String>
91 template <
typename ResourceTypeT = Aws::String>
93 m_resourceTypeHasBeenSet =
true;
94 m_resourceType = std::forward<ResourceTypeT>(value);
96 template <
typename ResourceTypeT = Aws::String>
109 template <
typename ServiceCodeT = Aws::String>
111 m_serviceCodeHasBeenSet =
true;
112 m_serviceCode = std::forward<ServiceCodeT>(value);
114 template <
typename ServiceCodeT = Aws::String>
127 template <
typename QuotaCodeT = Aws::String>
129 m_quotaCodeHasBeenSet =
true;
130 m_quotaCode = std::forward<QuotaCodeT>(value);
132 template <
typename QuotaCodeT = Aws::String>
146 m_quotaValueHasBeenSet =
true;
147 m_quotaValue = value;
168 bool m_messageHasBeenSet =
false;
169 bool m_codeHasBeenSet =
false;
170 bool m_resourceIdHasBeenSet =
false;
171 bool m_resourceTypeHasBeenSet =
false;
172 bool m_serviceCodeHasBeenSet =
false;
173 bool m_quotaCodeHasBeenSet =
false;
174 bool m_quotaValueHasBeenSet =
false;
void SetQuotaCode(QuotaCodeT &&value)
AWS_MGN_API ServiceQuotaExceededException()=default
ServiceQuotaExceededException & WithQuotaValue(int value)
void SetMessage(MessageT &&value)
bool QuotaValueHasBeenSet() const
void SetServiceCode(ServiceCodeT &&value)
bool MessageHasBeenSet() const
const Aws::String & GetResourceId() const
bool CodeHasBeenSet() const
const Aws::String & GetServiceCode() const
void SetResourceId(ResourceIdT &&value)
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetQuotaCode() const
bool ResourceIdHasBeenSet() const
AWS_MGN_API ServiceQuotaExceededException & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetMessage() const
ServiceQuotaExceededException & WithResourceId(ResourceIdT &&value)
int GetQuotaValue() const
void SetCode(CodeT &&value)
void SetQuotaValue(int value)
bool QuotaCodeHasBeenSet() const
void SetResourceType(ResourceTypeT &&value)
ServiceQuotaExceededException & WithServiceCode(ServiceCodeT &&value)
bool ServiceCodeHasBeenSet() const
ServiceQuotaExceededException & WithQuotaCode(QuotaCodeT &&value)
ServiceQuotaExceededException & WithMessage(MessageT &&value)
const Aws::String & GetCode() const
ServiceQuotaExceededException & WithResourceType(ResourceTypeT &&value)
AWS_MGN_API ServiceQuotaExceededException(Aws::Utils::Json::JsonView jsonValue)
ServiceQuotaExceededException & WithCode(CodeT &&value)
const Aws::String & GetResourceType() const
bool ResourceTypeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue