7#include <aws/amp/PrometheusService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace PrometheusService
47 template<
typename MessageT = Aws::String>
48 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
49 template<
typename MessageT = Aws::String>
59 template<
typename QuotaCodeT = Aws::String>
60 void SetQuotaCode(QuotaCodeT&& value) { m_quotaCodeHasBeenSet =
true; m_quotaCode = std::forward<QuotaCodeT>(value); }
61 template<
typename QuotaCodeT = Aws::String>
71 template<
typename ResourceIdT = Aws::String>
72 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet =
true; m_resourceId = std::forward<ResourceIdT>(value); }
73 template<
typename ResourceIdT = Aws::String>
83 template<
typename ResourceTypeT = Aws::String>
84 void SetResourceType(ResourceTypeT&& value) { m_resourceTypeHasBeenSet =
true; m_resourceType = std::forward<ResourceTypeT>(value); }
85 template<
typename ResourceTypeT = Aws::String>
95 template<
typename ServiceCodeT = Aws::String>
96 void SetServiceCode(ServiceCodeT&& value) { m_serviceCodeHasBeenSet =
true; m_serviceCode = std::forward<ServiceCodeT>(value); }
97 template<
typename ServiceCodeT = Aws::String>
103 bool m_messageHasBeenSet =
false;
106 bool m_quotaCodeHasBeenSet =
false;
109 bool m_resourceIdHasBeenSet =
false;
112 bool m_resourceTypeHasBeenSet =
false;
115 bool m_serviceCodeHasBeenSet =
false;
const Aws::String & GetMessage() const
void SetResourceType(ResourceTypeT &&value)
AWS_PROMETHEUSSERVICE_API ServiceQuotaExceededException(Aws::Utils::Json::JsonView jsonValue)
ServiceQuotaExceededException & WithMessage(MessageT &&value)
AWS_PROMETHEUSSERVICE_API ServiceQuotaExceededException()=default
AWS_PROMETHEUSSERVICE_API ServiceQuotaExceededException & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetResourceId() const
const Aws::String & GetResourceType() const
AWS_PROMETHEUSSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
bool ServiceCodeHasBeenSet() const
bool MessageHasBeenSet() const
bool ResourceIdHasBeenSet() const
ServiceQuotaExceededException & WithServiceCode(ServiceCodeT &&value)
void SetResourceId(ResourceIdT &&value)
void SetServiceCode(ServiceCodeT &&value)
const Aws::String & GetQuotaCode() const
void SetMessage(MessageT &&value)
ServiceQuotaExceededException & WithQuotaCode(QuotaCodeT &&value)
const Aws::String & GetServiceCode() const
void SetQuotaCode(QuotaCodeT &&value)
bool QuotaCodeHasBeenSet() const
ServiceQuotaExceededException & WithResourceType(ResourceTypeT &&value)
bool ResourceTypeHasBeenSet() const
ServiceQuotaExceededException & WithResourceId(ResourceIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue