7#include <aws/drs/Drs_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); }
87 inline void SetResourceId(
const char* value) { m_resourceIdHasBeenSet =
true; m_resourceId.assign(value); }
101 inline void SetResourceType(
const char* value) { m_resourceTypeHasBeenSet =
true; m_resourceType.assign(value); }
115 inline void SetServiceCode(
const char* value) { m_serviceCodeHasBeenSet =
true; m_serviceCode.assign(value); }
123 bool m_codeHasBeenSet =
false;
126 bool m_messageHasBeenSet =
false;
129 bool m_quotaCodeHasBeenSet =
false;
132 bool m_resourceIdHasBeenSet =
false;
135 bool m_resourceTypeHasBeenSet =
false;
138 bool m_serviceCodeHasBeenSet =
false;
ServiceQuotaExceededException & WithResourceType(const char *value)
const Aws::String & GetResourceType() const
bool MessageHasBeenSet() const
ServiceQuotaExceededException & WithResourceId(const Aws::String &value)
void SetServiceCode(Aws::String &&value)
bool ResourceTypeHasBeenSet() const
void SetMessage(Aws::String &&value)
bool QuotaCodeHasBeenSet() const
const Aws::String & GetServiceCode() const
void SetCode(Aws::String &&value)
ServiceQuotaExceededException & WithCode(const Aws::String &value)
ServiceQuotaExceededException & WithServiceCode(Aws::String &&value)
ServiceQuotaExceededException & WithMessage(const Aws::String &value)
bool ServiceCodeHasBeenSet() const
void SetCode(const Aws::String &value)
void SetQuotaCode(const char *value)
void SetResourceId(Aws::String &&value)
ServiceQuotaExceededException & WithResourceId(Aws::String &&value)
AWS_DRS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetResourceId(const char *value)
ServiceQuotaExceededException & WithServiceCode(const char *value)
ServiceQuotaExceededException & WithQuotaCode(const Aws::String &value)
void SetResourceType(Aws::String &&value)
AWS_DRS_API ServiceQuotaExceededException & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ResourceIdHasBeenSet() const
const Aws::String & GetQuotaCode() const
const Aws::String & GetMessage() const
AWS_DRS_API ServiceQuotaExceededException(Aws::Utils::Json::JsonView jsonValue)
ServiceQuotaExceededException & WithResourceType(Aws::String &&value)
void SetResourceId(const Aws::String &value)
const Aws::String & GetResourceId() const
ServiceQuotaExceededException & WithQuotaCode(Aws::String &&value)
ServiceQuotaExceededException & WithCode(Aws::String &&value)
void SetMessage(const char *value)
bool CodeHasBeenSet() const
ServiceQuotaExceededException & WithResourceType(const Aws::String &value)
void SetQuotaCode(Aws::String &&value)
ServiceQuotaExceededException & WithServiceCode(const Aws::String &value)
ServiceQuotaExceededException & WithResourceId(const char *value)
ServiceQuotaExceededException & WithMessage(Aws::String &&value)
void SetMessage(const Aws::String &value)
const Aws::String & GetCode() const
void SetResourceType(const Aws::String &value)
void SetServiceCode(const Aws::String &value)
AWS_DRS_API ServiceQuotaExceededException()
ServiceQuotaExceededException & WithQuotaCode(const char *value)
void SetQuotaCode(const Aws::String &value)
void SetServiceCode(const char *value)
void SetResourceType(const char *value)
void SetCode(const char *value)
ServiceQuotaExceededException & WithCode(const char *value)
ServiceQuotaExceededException & WithMessage(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue