7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
47 inline void SetCode(
const char* value) { m_codeHasBeenSet =
true; m_code.assign(value); }
59 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
73 inline void SetQuotaCode(
const char* value) { m_quotaCodeHasBeenSet =
true; m_quotaCode.assign(value); }
85 inline void SetQuotaValue(
int value) { m_quotaValueHasBeenSet =
true; m_quotaValue = value; }
97 inline void SetResourceId(
const char* value) { m_resourceIdHasBeenSet =
true; m_resourceId.assign(value); }
111 inline void SetResourceType(
const char* value) { m_resourceTypeHasBeenSet =
true; m_resourceType.assign(value); }
125 inline void SetServiceCode(
const char* value) { m_serviceCodeHasBeenSet =
true; m_serviceCode.assign(value); }
133 bool m_codeHasBeenSet =
false;
136 bool m_messageHasBeenSet =
false;
139 bool m_quotaCodeHasBeenSet =
false;
142 bool m_quotaValueHasBeenSet =
false;
145 bool m_resourceIdHasBeenSet =
false;
148 bool m_resourceTypeHasBeenSet =
false;
151 bool m_serviceCodeHasBeenSet =
false;
void SetServiceCode(const Aws::String &value)
void SetResourceId(Aws::String &&value)
void SetQuotaCode(Aws::String &&value)
ServiceQuotaExceededException & WithResourceType(Aws::String &&value)
ServiceQuotaExceededException & WithQuotaValue(int value)
ServiceQuotaExceededException & WithResourceType(const Aws::String &value)
bool QuotaValueHasBeenSet() const
void SetQuotaCode(const Aws::String &value)
void SetResourceId(const char *value)
bool MessageHasBeenSet() const
ServiceQuotaExceededException & WithMessage(Aws::String &&value)
const Aws::String & GetResourceId() const
ServiceQuotaExceededException & WithResourceId(const Aws::String &value)
ServiceQuotaExceededException & WithServiceCode(Aws::String &&value)
bool CodeHasBeenSet() const
const Aws::String & GetServiceCode() const
ServiceQuotaExceededException & WithQuotaCode(const char *value)
ServiceQuotaExceededException & WithQuotaCode(const Aws::String &value)
void SetServiceCode(const char *value)
void SetResourceType(Aws::String &&value)
AWS_MGN_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceQuotaExceededException & WithMessage(const Aws::String &value)
void SetMessage(Aws::String &&value)
const Aws::String & GetQuotaCode() const
ServiceQuotaExceededException & WithCode(Aws::String &&value)
void SetQuotaCode(const char *value)
bool ResourceIdHasBeenSet() const
AWS_MGN_API ServiceQuotaExceededException & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetMessage() const
int GetQuotaValue() const
ServiceQuotaExceededException & WithCode(const char *value)
AWS_MGN_API ServiceQuotaExceededException()
ServiceQuotaExceededException & WithResourceId(Aws::String &&value)
ServiceQuotaExceededException & WithCode(const Aws::String &value)
ServiceQuotaExceededException & WithMessage(const char *value)
ServiceQuotaExceededException & WithQuotaCode(Aws::String &&value)
void SetServiceCode(Aws::String &&value)
void SetCode(const char *value)
void SetResourceType(const char *value)
ServiceQuotaExceededException & WithResourceId(const char *value)
void SetMessage(const Aws::String &value)
void SetQuotaValue(int value)
void SetCode(const Aws::String &value)
bool QuotaCodeHasBeenSet() const
void SetMessage(const char *value)
bool ServiceCodeHasBeenSet() const
void SetResourceType(const Aws::String &value)
const Aws::String & GetCode() const
ServiceQuotaExceededException & WithResourceType(const char *value)
AWS_MGN_API ServiceQuotaExceededException(Aws::Utils::Json::JsonView jsonValue)
ServiceQuotaExceededException & WithServiceCode(const char *value)
void SetResourceId(const Aws::String &value)
const Aws::String & GetResourceType() const
bool ResourceTypeHasBeenSet() const
void SetCode(Aws::String &&value)
ServiceQuotaExceededException & WithServiceCode(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue