7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
44 template<
typename CodeT = Aws::String>
45 void SetCode(CodeT&& value) { m_codeHasBeenSet =
true; m_code = std::forward<CodeT>(value); }
46 template<
typename CodeT = Aws::String>
54 template<
typename MessageT = Aws::String>
55 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
56 template<
typename MessageT = Aws::String>
66 template<
typename CreatorRequestIdT = Aws::String>
67 void SetCreatorRequestId(CreatorRequestIdT&& value) { m_creatorRequestIdHasBeenSet =
true; m_creatorRequestId = std::forward<CreatorRequestIdT>(value); }
68 template<
typename CreatorRequestIdT = Aws::String>
78 template<
typename ArnT = Aws::String>
79 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
80 template<
typename ArnT = Aws::String>
90 template<
typename TypeT = Aws::String>
91 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
92 template<
typename TypeT = Aws::String>
102 template<
typename ContextT = Aws::String>
103 void SetContext(ContextT&& value) { m_contextHasBeenSet =
true; m_context = std::forward<ContextT>(value); }
104 template<
typename ContextT = Aws::String>
110 bool m_codeHasBeenSet =
false;
113 bool m_messageHasBeenSet =
false;
116 bool m_creatorRequestIdHasBeenSet =
false;
119 bool m_arnHasBeenSet =
false;
122 bool m_typeHasBeenSet =
false;
125 bool m_contextHasBeenSet =
false;
AlreadyExistsException & WithCode(CodeT &&value)
bool CreatorRequestIdHasBeenSet() const
void SetMessage(MessageT &&value)
AWS_BACKUP_API AlreadyExistsException & operator=(Aws::Utils::Json::JsonView jsonValue)
AlreadyExistsException & WithMessage(MessageT &&value)
bool ContextHasBeenSet() const
bool TypeHasBeenSet() const
AWS_BACKUP_API AlreadyExistsException()=default
const Aws::String & GetType() const
const Aws::String & GetArn() const
void SetCode(CodeT &&value)
bool CodeHasBeenSet() const
const Aws::String & GetMessage() const
void SetArn(ArnT &&value)
const Aws::String & GetCreatorRequestId() const
void SetType(TypeT &&value)
AWS_BACKUP_API AlreadyExistsException(Aws::Utils::Json::JsonView jsonValue)
AlreadyExistsException & WithArn(ArnT &&value)
AlreadyExistsException & WithContext(ContextT &&value)
AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const
bool MessageHasBeenSet() const
AlreadyExistsException & WithType(TypeT &&value)
const Aws::String & GetCode() const
const Aws::String & GetContext() const
void SetCreatorRequestId(CreatorRequestIdT &&value)
bool ArnHasBeenSet() const
AlreadyExistsException & WithCreatorRequestId(CreatorRequestIdT &&value)
void SetContext(ContextT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue