7#include <aws/codeguru-security/CodeGuruSecurity_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace CodeGuruSecurity
47 template<
typename ErrorCodeT = Aws::String>
48 void SetErrorCode(ErrorCodeT&& value) { m_errorCodeHasBeenSet =
true; m_errorCode = std::forward<ErrorCodeT>(value); }
49 template<
typename ErrorCodeT = Aws::String>
59 template<
typename MessageT = Aws::String>
60 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
61 template<
typename MessageT = Aws::String>
71 template<
typename QuotaCodeT = Aws::String>
72 void SetQuotaCode(QuotaCodeT&& value) { m_quotaCodeHasBeenSet =
true; m_quotaCode = std::forward<QuotaCodeT>(value); }
73 template<
typename QuotaCodeT = Aws::String>
83 template<
typename ServiceCodeT = Aws::String>
84 void SetServiceCode(ServiceCodeT&& value) { m_serviceCodeHasBeenSet =
true; m_serviceCode = std::forward<ServiceCodeT>(value); }
85 template<
typename ServiceCodeT = Aws::String>
91 bool m_errorCodeHasBeenSet =
false;
94 bool m_messageHasBeenSet =
false;
97 bool m_quotaCodeHasBeenSet =
false;
100 bool m_serviceCodeHasBeenSet =
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