7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/partnercentral-account/PartnerCentralAccount_EXPORTS.h>
19namespace PartnerCentralAccount {
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 ServiceCodeT = Aws::String>
60 m_serviceCodeHasBeenSet =
true;
61 m_serviceCode = std::forward<ServiceCodeT>(value);
63 template <
typename ServiceCodeT = Aws::String>
76 template <
typename QuotaCodeT = Aws::String>
78 m_quotaCodeHasBeenSet =
true;
79 m_quotaCode = std::forward<QuotaCodeT>(value);
81 template <
typename QuotaCodeT = Aws::String>
93 bool m_messageHasBeenSet =
false;
94 bool m_serviceCodeHasBeenSet =
false;
95 bool m_quotaCodeHasBeenSet =
false;
void SetMessage(MessageT &&value)
ThrottlingException & WithMessage(MessageT &&value)
ThrottlingException & WithQuotaCode(QuotaCodeT &&value)
void SetQuotaCode(QuotaCodeT &&value)
bool QuotaCodeHasBeenSet() const
const Aws::String & GetMessage() const
ThrottlingException & WithServiceCode(ServiceCodeT &&value)
AWS_PARTNERCENTRALACCOUNT_API ThrottlingException(Aws::Utils::Json::JsonView jsonValue)
AWS_PARTNERCENTRALACCOUNT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PARTNERCENTRALACCOUNT_API ThrottlingException()=default
AWS_PARTNERCENTRALACCOUNT_API ThrottlingException & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetQuotaCode() const
bool ServiceCodeHasBeenSet() const
bool MessageHasBeenSet() const
void SetServiceCode(ServiceCodeT &&value)
const Aws::String & GetServiceCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue