7#include <aws/evidently/CloudWatchEvidently_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace CloudWatchEvidently
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 QuotaCodeT = Aws::String>
58 void SetQuotaCode(QuotaCodeT&& value) { m_quotaCodeHasBeenSet =
true; m_quotaCode = std::forward<QuotaCodeT>(value); }
59 template<
typename QuotaCodeT = Aws::String>
69 template<
typename ServiceCodeT = Aws::String>
70 void SetServiceCode(ServiceCodeT&& value) { m_serviceCodeHasBeenSet =
true; m_serviceCode = std::forward<ServiceCodeT>(value); }
71 template<
typename ServiceCodeT = Aws::String>
77 bool m_messageHasBeenSet =
false;
80 bool m_quotaCodeHasBeenSet =
false;
83 bool m_serviceCodeHasBeenSet =
false;
AWS_CLOUDWATCHEVIDENTLY_API ThrottlingException(Aws::Utils::Json::JsonView jsonValue)
ThrottlingException & WithMessage(MessageT &&value)
const Aws::String & GetMessage() const
const Aws::String & GetServiceCode() const
ThrottlingException & WithQuotaCode(QuotaCodeT &&value)
AWS_CLOUDWATCHEVIDENTLY_API ThrottlingException()=default
ThrottlingException & WithServiceCode(ServiceCodeT &&value)
AWS_CLOUDWATCHEVIDENTLY_API ThrottlingException & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetServiceCode(ServiceCodeT &&value)
const Aws::String & GetQuotaCode() const
void SetMessage(MessageT &&value)
bool QuotaCodeHasBeenSet() const
bool MessageHasBeenSet() const
AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetQuotaCode(QuotaCodeT &&value)
bool ServiceCodeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue