7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/partnercentral-benefits/PartnerCentralBenefits_EXPORTS.h>
19namespace PartnerCentralBenefits {
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 QuotaCodeT = Aws::String>
97 m_quotaCodeHasBeenSet =
true;
98 m_quotaCode = std::forward<QuotaCodeT>(value);
100 template <
typename QuotaCodeT = Aws::String>
114 bool m_messageHasBeenSet =
false;
115 bool m_resourceIdHasBeenSet =
false;
116 bool m_resourceTypeHasBeenSet =
false;
117 bool m_quotaCodeHasBeenSet =
false;
ServiceQuotaExceededException & WithMessage(MessageT &&value)
const Aws::String & GetMessage() const
ServiceQuotaExceededException & WithQuotaCode(QuotaCodeT &&value)
bool MessageHasBeenSet() const
bool ResourceTypeHasBeenSet() const
AWS_PARTNERCENTRALBENEFITS_API ServiceQuotaExceededException & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PARTNERCENTRALBENEFITS_API ServiceQuotaExceededException()=default
AWS_PARTNERCENTRALBENEFITS_API ServiceQuotaExceededException(Aws::Utils::Json::JsonView jsonValue)
AWS_PARTNERCENTRALBENEFITS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetResourceType(ResourceTypeT &&value)
bool ResourceIdHasBeenSet() const
ServiceQuotaExceededException & WithResourceType(ResourceTypeT &&value)
const Aws::String & GetResourceId() const
bool QuotaCodeHasBeenSet() const
ServiceQuotaExceededException & WithResourceId(ResourceIdT &&value)
const Aws::String & GetQuotaCode() const
void SetQuotaCode(QuotaCodeT &&value)
const Aws::String & GetResourceType() const
void SetMessage(MessageT &&value)
void SetResourceId(ResourceIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue