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