7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
19namespace RedshiftServerless {
39 template <
typename CodeT = Aws::String>
41 m_codeHasBeenSet =
true;
42 m_code = std::forward<CodeT>(value);
44 template <
typename CodeT = Aws::String>
46 SetCode(std::forward<CodeT>(value));
55 template <
typename MessageT = Aws::String>
57 m_messageHasBeenSet =
true;
58 m_message = std::forward<MessageT>(value);
60 template <
typename MessageT = Aws::String>
70 bool m_codeHasBeenSet =
false;
71 bool m_messageHasBeenSet =
false;
void SetMessage(MessageT &&value)
AWS_REDSHIFTSERVERLESS_API ThrottlingException()=default
ThrottlingException & WithCode(CodeT &&value)
bool CodeHasBeenSet() const
ThrottlingException & WithMessage(MessageT &&value)
void SetCode(CodeT &&value)
const Aws::String & GetMessage() const
bool MessageHasBeenSet() const
AWS_REDSHIFTSERVERLESS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetCode() const
AWS_REDSHIFTSERVERLESS_API ThrottlingException(Aws::Utils::Json::JsonView jsonValue)
AWS_REDSHIFTSERVERLESS_API ThrottlingException & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue