7#include <aws/billing/Billing_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
45 template<
typename MessageT = Aws::String>
46 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
47 template<
typename MessageT = Aws::String>
57 template<
typename ResourceIdT = Aws::String>
58 void SetResourceId(ResourceIdT&& value) { m_resourceIdHasBeenSet =
true; m_resourceId = std::forward<ResourceIdT>(value); }
59 template<
typename ResourceIdT = Aws::String>
69 template<
typename ResourceTypeT = Aws::String>
70 void SetResourceType(ResourceTypeT&& value) { m_resourceTypeHasBeenSet =
true; m_resourceType = std::forward<ResourceTypeT>(value); }
71 template<
typename ResourceTypeT = Aws::String>
81 template<
typename ServiceCodeT = Aws::String>
82 void SetServiceCode(ServiceCodeT&& value) { m_serviceCodeHasBeenSet =
true; m_serviceCode = std::forward<ServiceCodeT>(value); }
83 template<
typename ServiceCodeT = Aws::String>
93 template<
typename QuotaCodeT = Aws::String>
94 void SetQuotaCode(QuotaCodeT&& value) { m_quotaCodeHasBeenSet =
true; m_quotaCode = std::forward<QuotaCodeT>(value); }
95 template<
typename QuotaCodeT = Aws::String>
101 bool m_messageHasBeenSet =
false;
104 bool m_resourceIdHasBeenSet =
false;
107 bool m_resourceTypeHasBeenSet =
false;
110 bool m_serviceCodeHasBeenSet =
false;
113 bool m_quotaCodeHasBeenSet =
false;
const Aws::String & GetResourceType() const
ServiceQuotaExceededException & WithResourceType(ResourceTypeT &&value)
void SetResourceType(ResourceTypeT &&value)
const Aws::String & GetMessage() const
bool ResourceTypeHasBeenSet() const
AWS_BILLING_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetServiceCode() const
ServiceQuotaExceededException & WithQuotaCode(QuotaCodeT &&value)
ServiceQuotaExceededException & WithResourceId(ResourceIdT &&value)
void SetQuotaCode(QuotaCodeT &&value)
void SetMessage(MessageT &&value)
AWS_BILLING_API ServiceQuotaExceededException(Aws::Utils::Json::JsonView jsonValue)
AWS_BILLING_API ServiceQuotaExceededException & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ResourceIdHasBeenSet() const
ServiceQuotaExceededException & WithMessage(MessageT &&value)
const Aws::String & GetQuotaCode() const
const Aws::String & GetResourceId() const
AWS_BILLING_API ServiceQuotaExceededException()=default
bool ServiceCodeHasBeenSet() const
ServiceQuotaExceededException & WithServiceCode(ServiceCodeT &&value)
void SetServiceCode(ServiceCodeT &&value)
bool MessageHasBeenSet() const
bool QuotaCodeHasBeenSet() const
void SetResourceId(ResourceIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue