7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/partnercentral-channel/PartnerCentralChannel_EXPORTS.h>
19namespace PartnerCentralChannel {
40 template <
typename MessageT = Aws::String>
42 m_messageHasBeenSet =
true;
43 m_message = std::forward<MessageT>(value);
45 template <
typename MessageT = Aws::String>
58 template <
typename ResourceIdT = Aws::String>
60 m_resourceIdHasBeenSet =
true;
61 m_resourceId = std::forward<ResourceIdT>(value);
63 template <
typename ResourceIdT = Aws::String>
76 template <
typename ResourceTypeT = Aws::String>
78 m_resourceTypeHasBeenSet =
true;
79 m_resourceType = std::forward<ResourceTypeT>(value);
81 template <
typename ResourceTypeT = Aws::String>
94 template <
typename QuotaCodeT = Aws::String>
96 m_quotaCodeHasBeenSet =
true;
97 m_quotaCode = std::forward<QuotaCodeT>(value);
99 template <
typename QuotaCodeT = Aws::String>
113 bool m_messageHasBeenSet =
false;
114 bool m_resourceIdHasBeenSet =
false;
115 bool m_resourceTypeHasBeenSet =
false;
116 bool m_quotaCodeHasBeenSet =
false;
ServiceQuotaExceededException & WithMessage(MessageT &&value)
bool QuotaCodeHasBeenSet() const
const Aws::String & GetResourceType() const
bool MessageHasBeenSet() const
AWS_PARTNERCENTRALCHANNEL_API ServiceQuotaExceededException(Aws::Utils::Json::JsonView jsonValue)
void SetResourceId(ResourceIdT &&value)
void SetQuotaCode(QuotaCodeT &&value)
ServiceQuotaExceededException & WithQuotaCode(QuotaCodeT &&value)
AWS_PARTNERCENTRALCHANNEL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PARTNERCENTRALCHANNEL_API ServiceQuotaExceededException()=default
const Aws::String & GetMessage() const
const Aws::String & GetQuotaCode() const
bool ResourceIdHasBeenSet() const
ServiceQuotaExceededException & WithResourceId(ResourceIdT &&value)
void SetResourceType(ResourceTypeT &&value)
bool ResourceTypeHasBeenSet() const
ServiceQuotaExceededException & WithResourceType(ResourceTypeT &&value)
AWS_PARTNERCENTRALCHANNEL_API ServiceQuotaExceededException & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetResourceId() const
void SetMessage(MessageT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue