7#include <aws/schemas/Schemas_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
43 inline void SetCode(
const char* value) { m_codeHasBeenSet =
true; m_code.assign(value); }
57 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
65 bool m_codeHasBeenSet =
false;
68 bool m_messageHasBeenSet =
false;
AWS_SCHEMAS_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceUnavailableException & WithCode(Aws::String &&value)
void SetMessage(Aws::String &&value)
AWS_SCHEMAS_API ServiceUnavailableException & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceUnavailableException & WithMessage(const char *value)
void SetMessage(const char *value)
ServiceUnavailableException & WithMessage(Aws::String &&value)
bool CodeHasBeenSet() const
bool MessageHasBeenSet() const
void SetCode(const Aws::String &value)
ServiceUnavailableException & WithCode(const char *value)
AWS_SCHEMAS_API ServiceUnavailableException(Aws::Utils::Json::JsonView jsonValue)
ServiceUnavailableException & WithCode(const Aws::String &value)
AWS_SCHEMAS_API ServiceUnavailableException()
const Aws::String & GetMessage() const
const Aws::String & GetCode() const
void SetCode(const char *value)
void SetCode(Aws::String &&value)
ServiceUnavailableException & WithMessage(const Aws::String &value)
void SetMessage(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue