7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
19namespace OpenSearchServerless {
41 template <
typename MessageT = Aws::String>
43 m_messageHasBeenSet =
true;
44 m_message = std::forward<MessageT>(value);
46 template <
typename MessageT = Aws::String>
59 template <
typename ResourceIdT = Aws::String>
61 m_resourceIdHasBeenSet =
true;
62 m_resourceId = std::forward<ResourceIdT>(value);
64 template <
typename ResourceIdT = Aws::String>
77 template <
typename ResourceTypeT = Aws::String>
79 m_resourceTypeHasBeenSet =
true;
80 m_resourceType = std::forward<ResourceTypeT>(value);
82 template <
typename ResourceTypeT = Aws::String>
95 template <
typename ServiceCodeT = Aws::String>
97 m_serviceCodeHasBeenSet =
true;
98 m_serviceCode = std::forward<ServiceCodeT>(value);
100 template <
typename ServiceCodeT = Aws::String>
113 template <
typename QuotaCodeT = Aws::String>
115 m_quotaCodeHasBeenSet =
true;
116 m_quotaCode = std::forward<QuotaCodeT>(value);
118 template <
typename QuotaCodeT = Aws::String>
134 bool m_messageHasBeenSet =
false;
135 bool m_resourceIdHasBeenSet =
false;
136 bool m_resourceTypeHasBeenSet =
false;
137 bool m_serviceCodeHasBeenSet =
false;
138 bool m_quotaCodeHasBeenSet =
false;
AWS_OPENSEARCHSERVERLESS_API ServiceQuotaExceededException(Aws::Utils::Json::JsonView jsonValue)
bool MessageHasBeenSet() const
ServiceQuotaExceededException & WithMessage(MessageT &&value)
const Aws::String & GetResourceType() const
bool ResourceTypeHasBeenSet() const
AWS_OPENSEARCHSERVERLESS_API ServiceQuotaExceededException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHSERVERLESS_API ServiceQuotaExceededException()=default
bool ResourceIdHasBeenSet() const
void SetResourceId(ResourceIdT &&value)
const Aws::String & GetResourceId() const
const Aws::String & GetServiceCode() const
bool ServiceCodeHasBeenSet() const
ServiceQuotaExceededException & WithResourceType(ResourceTypeT &&value)
ServiceQuotaExceededException & WithServiceCode(ServiceCodeT &&value)
void SetResourceType(ResourceTypeT &&value)
void SetServiceCode(ServiceCodeT &&value)
AWS_OPENSEARCHSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceQuotaExceededException & WithQuotaCode(QuotaCodeT &&value)
ServiceQuotaExceededException & WithResourceId(ResourceIdT &&value)
bool QuotaCodeHasBeenSet() const
void SetQuotaCode(QuotaCodeT &&value)
const Aws::String & GetQuotaCode() const
const Aws::String & GetMessage() const
void SetMessage(MessageT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue