7#include <aws/codeguru-security/CodeGuruSecurity_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
19namespace CodeGuruSecurity {
41 template <
typename ErrorCodeT = Aws::String>
43 m_errorCodeHasBeenSet =
true;
44 m_errorCode = std::forward<ErrorCodeT>(value);
46 template <
typename ErrorCodeT = Aws::String>
59 template <
typename MessageT = Aws::String>
61 m_messageHasBeenSet =
true;
62 m_message = std::forward<MessageT>(value);
64 template <
typename MessageT = Aws::String>
77 template <
typename ServiceCodeT = Aws::String>
79 m_serviceCodeHasBeenSet =
true;
80 m_serviceCode = std::forward<ServiceCodeT>(value);
82 template <
typename ServiceCodeT = 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_errorCodeHasBeenSet =
false;
115 bool m_messageHasBeenSet =
false;
116 bool m_serviceCodeHasBeenSet =
false;
117 bool m_quotaCodeHasBeenSet =
false;
void SetMessage(MessageT &&value)
const Aws::String & GetErrorCode() const
AWS_CODEGURUSECURITY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetErrorCode(ErrorCodeT &&value)
AWS_CODEGURUSECURITY_API ThrottlingException()=default
ThrottlingException & WithErrorCode(ErrorCodeT &&value)
bool QuotaCodeHasBeenSet() const
const Aws::String & GetQuotaCode() const
bool ServiceCodeHasBeenSet() const
void SetQuotaCode(QuotaCodeT &&value)
void SetServiceCode(ServiceCodeT &&value)
const Aws::String & GetServiceCode() const
bool MessageHasBeenSet() const
bool ErrorCodeHasBeenSet() const
AWS_CODEGURUSECURITY_API ThrottlingException & operator=(Aws::Utils::Json::JsonView jsonValue)
ThrottlingException & WithServiceCode(ServiceCodeT &&value)
ThrottlingException & WithMessage(MessageT &&value)
const Aws::String & GetMessage() const
ThrottlingException & WithQuotaCode(QuotaCodeT &&value)
AWS_CODEGURUSECURITY_API ThrottlingException(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue