7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
46 inline void SetCode(
const char* value) { m_codeHasBeenSet =
true; m_code.assign(value); }
58 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
72 inline void SetCreatorRequestId(
const char* value) { m_creatorRequestIdHasBeenSet =
true; m_creatorRequestId.assign(value); }
85 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
86 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
100 inline void SetType(
const char* value) { m_typeHasBeenSet =
true; m_type.assign(value); }
114 inline void SetContext(
const char* value) { m_contextHasBeenSet =
true; m_context.assign(value); }
122 bool m_codeHasBeenSet =
false;
125 bool m_messageHasBeenSet =
false;
128 bool m_creatorRequestIdHasBeenSet =
false;
131 bool m_arnHasBeenSet =
false;
134 bool m_typeHasBeenSet =
false;
137 bool m_contextHasBeenSet =
false;
AlreadyExistsException & WithCreatorRequestId(const Aws::String &value)
bool CreatorRequestIdHasBeenSet() const
AlreadyExistsException & WithCode(Aws::String &&value)
void SetType(const Aws::String &value)
void SetType(const char *value)
void SetCode(const char *value)
AlreadyExistsException & WithContext(const char *value)
AWS_BACKUP_API AlreadyExistsException & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetArn(Aws::String &&value)
void SetCreatorRequestId(Aws::String &&value)
bool ContextHasBeenSet() const
bool TypeHasBeenSet() const
const Aws::String & GetType() const
void SetContext(const char *value)
AlreadyExistsException & WithCode(const Aws::String &value)
AlreadyExistsException & WithType(const char *value)
const Aws::String & GetArn() const
bool CodeHasBeenSet() const
AlreadyExistsException & WithType(Aws::String &&value)
void SetCreatorRequestId(const char *value)
const Aws::String & GetMessage() const
AlreadyExistsException & WithType(const Aws::String &value)
AlreadyExistsException & WithArn(Aws::String &&value)
void SetMessage(Aws::String &&value)
AlreadyExistsException & WithMessage(const Aws::String &value)
void SetType(Aws::String &&value)
AlreadyExistsException & WithContext(Aws::String &&value)
void SetContext(const Aws::String &value)
void SetCode(Aws::String &&value)
const Aws::String & GetCreatorRequestId() const
void SetContext(Aws::String &&value)
AWS_BACKUP_API AlreadyExistsException(Aws::Utils::Json::JsonView jsonValue)
AWS_BACKUP_API AlreadyExistsException()
AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const
AlreadyExistsException & WithMessage(Aws::String &&value)
void SetArn(const char *value)
AlreadyExistsException & WithMessage(const char *value)
bool MessageHasBeenSet() const
AlreadyExistsException & WithCode(const char *value)
AlreadyExistsException & WithArn(const char *value)
void SetArn(const Aws::String &value)
const Aws::String & GetCode() const
AlreadyExistsException & WithCreatorRequestId(Aws::String &&value)
const Aws::String & GetContext() const
void SetCreatorRequestId(const Aws::String &value)
void SetCode(const Aws::String &value)
void SetMessage(const Aws::String &value)
AlreadyExistsException & WithContext(const Aws::String &value)
void SetMessage(const char *value)
bool ArnHasBeenSet() const
AlreadyExistsException & WithCreatorRequestId(const char *value)
AlreadyExistsException & WithArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue