7#include <aws/redshift-serverless/RedshiftServerless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace RedshiftServerless
45 template<
typename CodeT = Aws::String>
46 void SetCode(CodeT&& value) { m_codeHasBeenSet =
true; m_code = std::forward<CodeT>(value); }
47 template<
typename CodeT = Aws::String>
55 template<
typename MessageT = Aws::String>
56 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
57 template<
typename MessageT = Aws::String>
63 bool m_codeHasBeenSet =
false;
66 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