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
48 template<
typename MessageT = Aws::String>
49 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
50 template<
typename MessageT = Aws::String>
60 template<
typename ResourceIdT = Aws::String>
61 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet =
true; m_resourceId = std::forward<ResourceIdT>(value); }
62 template<
typename ResourceIdT = Aws::String>
82 template<
typename ServiceCodeT = Aws::String>
83 void SetServiceCode(ServiceCodeT&& value) { m_serviceCodeHasBeenSet =
true; m_serviceCode = std::forward<ServiceCodeT>(value); }
84 template<
typename ServiceCodeT = Aws::String>
94 template<
typename QuotaCodeT = Aws::String>
95 void SetQuotaCode(QuotaCodeT&& value) { m_quotaCodeHasBeenSet =
true; m_quotaCode = std::forward<QuotaCodeT>(value); }
96 template<
typename QuotaCodeT = Aws::String>
102 bool m_messageHasBeenSet =
false;
105 bool m_resourceIdHasBeenSet =
false;
108 bool m_resourceTypeHasBeenSet =
false;
111 bool m_serviceCodeHasBeenSet =
false;
114 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