7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/managedblockchain-query/ManagedBlockchainQuery_EXPORTS.h>
9#include <aws/managedblockchain-query/model/ResourceType.h>
20namespace ManagedBlockchainQuery {
42 template <
typename MessageT = Aws::String>
44 m_messageHasBeenSet =
true;
45 m_message = std::forward<MessageT>(value);
47 template <
typename MessageT = Aws::String>
60 template <
typename ResourceIdT = Aws::String>
62 m_resourceIdHasBeenSet =
true;
63 m_resourceId = std::forward<ResourceIdT>(value);
65 template <
typename ResourceIdT = Aws::String>
79 m_resourceTypeHasBeenSet =
true;
80 m_resourceType = value;
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>
133 bool m_messageHasBeenSet =
false;
134 bool m_resourceIdHasBeenSet =
false;
135 bool m_resourceTypeHasBeenSet =
false;
136 bool m_serviceCodeHasBeenSet =
false;
137 bool m_quotaCodeHasBeenSet =
false;
ServiceQuotaExceededException & WithResourceId(ResourceIdT &&value)
AWS_MANAGEDBLOCKCHAINQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetResourceId(ResourceIdT &&value)
void SetServiceCode(ServiceCodeT &&value)
bool ResourceIdHasBeenSet() const
AWS_MANAGEDBLOCKCHAINQUERY_API ServiceQuotaExceededException & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetQuotaCode() const
const Aws::String & GetMessage() const
AWS_MANAGEDBLOCKCHAINQUERY_API ServiceQuotaExceededException()=default
bool ResourceTypeHasBeenSet() const
ServiceQuotaExceededException & WithServiceCode(ServiceCodeT &&value)
void SetQuotaCode(QuotaCodeT &&value)
void SetMessage(MessageT &&value)
bool QuotaCodeHasBeenSet() const
AWS_MANAGEDBLOCKCHAINQUERY_API ServiceQuotaExceededException(Aws::Utils::Json::JsonView jsonValue)
ServiceQuotaExceededException & WithQuotaCode(QuotaCodeT &&value)
void SetResourceType(ResourceType value)
ServiceQuotaExceededException & WithResourceType(ResourceType value)
bool ServiceCodeHasBeenSet() const
ResourceType GetResourceType() const
bool MessageHasBeenSet() const
const Aws::String & GetResourceId() const
ServiceQuotaExceededException & WithMessage(MessageT &&value)
const Aws::String & GetServiceCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue