7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/opensearchmemory/OpenSearchMemory_EXPORTS.h>
19namespace OpenSearchMemory {
41 template <
typename MessageT = Aws::String>
43 m_messageHasBeenSet =
true;
44 m_message = std::forward<MessageT>(value);
46 template <
typename MessageT = Aws::String>
60 template <
typename QuotaCodeT = Aws::String>
62 m_quotaCodeHasBeenSet =
true;
63 m_quotaCode = std::forward<QuotaCodeT>(value);
65 template <
typename QuotaCodeT = Aws::String>
78 template <
typename ServiceCodeT = Aws::String>
80 m_serviceCodeHasBeenSet =
true;
81 m_serviceCode = std::forward<ServiceCodeT>(value);
83 template <
typename ServiceCodeT = Aws::String>
95 bool m_messageHasBeenSet =
false;
96 bool m_quotaCodeHasBeenSet =
false;
97 bool m_serviceCodeHasBeenSet =
false;
bool QuotaCodeHasBeenSet() const
void SetMessage(MessageT &&value)
ServiceQuotaExceededException & WithMessage(MessageT &&value)
const Aws::String & GetQuotaCode() const
void SetServiceCode(ServiceCodeT &&value)
bool ServiceCodeHasBeenSet() const
ServiceQuotaExceededException & WithServiceCode(ServiceCodeT &&value)
AWS_OPENSEARCHMEMORY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_OPENSEARCHMEMORY_API ServiceQuotaExceededException(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHMEMORY_API ServiceQuotaExceededException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_OPENSEARCHMEMORY_API ServiceQuotaExceededException()=default
void SetQuotaCode(QuotaCodeT &&value)
bool MessageHasBeenSet() const
const Aws::String & GetServiceCode() const
const Aws::String & GetMessage() const
ServiceQuotaExceededException & WithQuotaCode(QuotaCodeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue