7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
47 inline void SetCode(
const char* value) { m_codeHasBeenSet =
true; m_code.assign(value); }
59 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
73 inline void SetType(
const char* value) { m_typeHasBeenSet =
true; m_type.assign(value); }
87 inline void SetContext(
const char* value) { m_contextHasBeenSet =
true; m_context.assign(value); }
95 bool m_codeHasBeenSet =
false;
98 bool m_messageHasBeenSet =
false;
101 bool m_typeHasBeenSet =
false;
104 bool m_contextHasBeenSet =
false;
void SetContext(const char *value)
ServiceUnavailableException & WithCode(const Aws::String &value)
void SetCode(const Aws::String &value)
void SetType(const Aws::String &value)
void SetMessage(const Aws::String &value)
void SetCode(Aws::String &&value)
ServiceUnavailableException & WithType(Aws::String &&value)
bool TypeHasBeenSet() const
ServiceUnavailableException & WithMessage(const Aws::String &value)
void SetMessage(const char *value)
const Aws::String & GetMessage() const
ServiceUnavailableException & WithContext(Aws::String &&value)
bool MessageHasBeenSet() const
ServiceUnavailableException & WithType(const char *value)
AWS_BACKUP_API ServiceUnavailableException & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetContext(const Aws::String &value)
void SetType(const char *value)
AWS_BACKUP_API ServiceUnavailableException(Aws::Utils::Json::JsonView jsonValue)
ServiceUnavailableException & WithMessage(const char *value)
void SetCode(const char *value)
ServiceUnavailableException & WithType(const Aws::String &value)
bool CodeHasBeenSet() const
ServiceUnavailableException & WithCode(const char *value)
bool ContextHasBeenSet() const
ServiceUnavailableException & WithContext(const Aws::String &value)
ServiceUnavailableException & WithMessage(Aws::String &&value)
void SetContext(Aws::String &&value)
const Aws::String & GetCode() const
AWS_BACKUP_API ServiceUnavailableException()
ServiceUnavailableException & WithContext(const char *value)
const Aws::String & GetType() const
AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMessage(Aws::String &&value)
void SetType(Aws::String &&value)
ServiceUnavailableException & WithCode(Aws::String &&value)
const Aws::String & GetContext() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue