7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/observabilityadmin/ObservabilityAdmin_EXPORTS.h>
19namespace ObservabilityAdmin {
39 template <
typename MessageT = Aws::String>
41 m_messageHasBeenSet =
true;
42 m_message = std::forward<MessageT>(value);
44 template <
typename MessageT = Aws::String>
57 template <
typename ResourceIdT = Aws::String>
59 m_resourceIdHasBeenSet =
true;
60 m_resourceId = std::forward<ResourceIdT>(value);
62 template <
typename ResourceIdT = Aws::String>
75 template <
typename ResourceTypeT = Aws::String>
77 m_resourceTypeHasBeenSet =
true;
78 m_resourceType = std::forward<ResourceTypeT>(value);
80 template <
typename ResourceTypeT = Aws::String>
93 template <
typename ServiceCodeT = Aws::String>
95 m_serviceCodeHasBeenSet =
true;
96 m_serviceCode = std::forward<ServiceCodeT>(value);
98 template <
typename ServiceCodeT = Aws::String>
111 template <
typename QuotaCodeT = Aws::String>
113 m_quotaCodeHasBeenSet =
true;
114 m_quotaCode = std::forward<QuotaCodeT>(value);
116 template <
typename QuotaCodeT = Aws::String>
129 template <
typename AmznErrorTypeT = Aws::String>
131 m_amznErrorTypeHasBeenSet =
true;
132 m_amznErrorType = std::forward<AmznErrorTypeT>(value);
134 template <
typename AmznErrorTypeT = Aws::String>
152 bool m_messageHasBeenSet =
false;
153 bool m_resourceIdHasBeenSet =
false;
154 bool m_resourceTypeHasBeenSet =
false;
155 bool m_serviceCodeHasBeenSet =
false;
156 bool m_quotaCodeHasBeenSet =
false;
157 bool m_amznErrorTypeHasBeenSet =
false;
const Aws::String & GetMessage() const
ServiceQuotaExceededException & WithAmznErrorType(AmznErrorTypeT &&value)
const Aws::String & GetResourceType() const
void SetResourceId(ResourceIdT &&value)
const Aws::String & GetQuotaCode() const
bool ServiceCodeHasBeenSet() const
bool ResourceTypeHasBeenSet() const
ServiceQuotaExceededException & WithResourceType(ResourceTypeT &&value)
bool MessageHasBeenSet() const
void SetAmznErrorType(AmznErrorTypeT &&value)
AWS_OBSERVABILITYADMIN_API ServiceQuotaExceededException()=default
void SetResourceType(ResourceTypeT &&value)
AWS_OBSERVABILITYADMIN_API Aws::Utils::Json::JsonValue Jsonize() const
bool AmznErrorTypeHasBeenSet() const
bool QuotaCodeHasBeenSet() const
ServiceQuotaExceededException & WithServiceCode(ServiceCodeT &&value)
bool ResourceIdHasBeenSet() const
const Aws::String & GetResourceId() const
void SetServiceCode(ServiceCodeT &&value)
ServiceQuotaExceededException & WithQuotaCode(QuotaCodeT &&value)
AWS_OBSERVABILITYADMIN_API ServiceQuotaExceededException(Aws::Utils::Json::JsonView jsonValue)
void SetQuotaCode(QuotaCodeT &&value)
const Aws::String & GetAmznErrorType() const
ServiceQuotaExceededException & WithResourceId(ResourceIdT &&value)
const Aws::String & GetServiceCode() const
AWS_OBSERVABILITYADMIN_API ServiceQuotaExceededException & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMessage(MessageT &&value)
ServiceQuotaExceededException & WithMessage(MessageT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue