7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
38 template <
typename CodeT = Aws::String>
40 m_codeHasBeenSet =
true;
41 m_code = std::forward<CodeT>(value);
43 template <
typename CodeT = Aws::String>
45 SetCode(std::forward<CodeT>(value));
54 template <
typename MessageT = Aws::String>
56 m_messageHasBeenSet =
true;
57 m_message = std::forward<MessageT>(value);
59 template <
typename MessageT = Aws::String>
72 template <
typename CreatorRequestIdT = Aws::String>
74 m_creatorRequestIdHasBeenSet =
true;
75 m_creatorRequestId = std::forward<CreatorRequestIdT>(value);
77 template <
typename CreatorRequestIdT = Aws::String>
90 template <
typename ArnT = Aws::String>
92 m_arnHasBeenSet =
true;
93 m_arn = std::forward<ArnT>(value);
95 template <
typename ArnT = Aws::String>
97 SetArn(std::forward<ArnT>(value));
108 template <
typename TypeT = Aws::String>
110 m_typeHasBeenSet =
true;
111 m_type = std::forward<TypeT>(value);
113 template <
typename TypeT = Aws::String>
115 SetType(std::forward<TypeT>(value));
126 template <
typename ContextT = Aws::String>
128 m_contextHasBeenSet =
true;
129 m_context = std::forward<ContextT>(value);
131 template <
typename ContextT = Aws::String>
149 bool m_codeHasBeenSet =
false;
150 bool m_messageHasBeenSet =
false;
151 bool m_creatorRequestIdHasBeenSet =
false;
152 bool m_arnHasBeenSet =
false;
153 bool m_typeHasBeenSet =
false;
154 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