7#include <aws/managedblockchain-query/ManagedBlockchainQuery_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/managedblockchain-query/model/ResourceType.h>
22namespace ManagedBlockchainQuery
50 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
64 inline void SetResourceId(
const char* value) { m_resourceIdHasBeenSet =
true; m_resourceId.assign(value); }
90 inline void SetServiceCode(
const char* value) { m_serviceCodeHasBeenSet =
true; m_serviceCode.assign(value); }
104 inline void SetQuotaCode(
const char* value) { m_quotaCodeHasBeenSet =
true; m_quotaCode.assign(value); }
112 bool m_messageHasBeenSet =
false;
115 bool m_resourceIdHasBeenSet =
false;
118 bool m_resourceTypeHasBeenSet =
false;
121 bool m_serviceCodeHasBeenSet =
false;
124 bool m_quotaCodeHasBeenSet =
false;
void SetQuotaCode(const char *value)
ServiceQuotaExceededException & WithQuotaCode(const char *value)
ServiceQuotaExceededException & WithServiceCode(Aws::String &&value)
AWS_MANAGEDBLOCKCHAINQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceQuotaExceededException & WithResourceId(const Aws::String &value)
AWS_MANAGEDBLOCKCHAINQUERY_API ServiceQuotaExceededException()
ServiceQuotaExceededException & WithResourceId(const char *value)
void SetQuotaCode(Aws::String &&value)
bool ResourceIdHasBeenSet() const
AWS_MANAGEDBLOCKCHAINQUERY_API ServiceQuotaExceededException & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetQuotaCode() const
void SetMessage(Aws::String &&value)
const Aws::String & GetMessage() const
void SetResourceType(ResourceType &&value)
void SetQuotaCode(const Aws::String &value)
bool ResourceTypeHasBeenSet() const
void SetResourceId(Aws::String &&value)
ServiceQuotaExceededException & WithServiceCode(const Aws::String &value)
ServiceQuotaExceededException & WithQuotaCode(const Aws::String &value)
bool QuotaCodeHasBeenSet() const
const ResourceType & GetResourceType() const
AWS_MANAGEDBLOCKCHAINQUERY_API ServiceQuotaExceededException(Aws::Utils::Json::JsonView jsonValue)
void SetResourceId(const Aws::String &value)
void SetMessage(const Aws::String &value)
void SetServiceCode(const char *value)
ServiceQuotaExceededException & WithMessage(Aws::String &&value)
void SetResourceType(const ResourceType &value)
bool ServiceCodeHasBeenSet() const
ServiceQuotaExceededException & WithMessage(const char *value)
bool MessageHasBeenSet() const
void SetServiceCode(Aws::String &&value)
void SetMessage(const char *value)
ServiceQuotaExceededException & WithQuotaCode(Aws::String &&value)
void SetResourceId(const char *value)
ServiceQuotaExceededException & WithServiceCode(const char *value)
const Aws::String & GetResourceId() const
ServiceQuotaExceededException & WithResourceType(ResourceType &&value)
void SetServiceCode(const Aws::String &value)
ServiceQuotaExceededException & WithResourceType(const ResourceType &value)
const Aws::String & GetServiceCode() const
ServiceQuotaExceededException & WithResourceId(Aws::String &&value)
ServiceQuotaExceededException & WithMessage(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue