7#include <aws/backup/BackupRequest.h>
8#include <aws/backup/Backup_EXPORTS.h>
9#include <aws/backup/model/RecoveryPointSelection.h>
10#include <aws/core/utils/UUID.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
40 template <
typename TitleT = Aws::String>
42 m_titleHasBeenSet =
true;
43 m_title = std::forward<TitleT>(value);
45 template <
typename TitleT = Aws::String>
47 SetTitle(std::forward<TitleT>(value));
58 template <
typename DescriptionT = Aws::String>
60 m_descriptionHasBeenSet =
true;
61 m_description = std::forward<DescriptionT>(value);
63 template <
typename DescriptionT = Aws::String>
78 template <
typename IdempotencyTokenT = Aws::String>
80 m_idempotencyTokenHasBeenSet =
true;
81 m_idempotencyToken = std::forward<IdempotencyTokenT>(value);
83 template <
typename IdempotencyTokenT = Aws::String>
97 template <
typename RecoveryPo
intSelectionT = RecoveryPo
intSelection>
99 m_recoveryPointSelectionHasBeenSet =
true;
100 m_recoveryPointSelection = std::forward<RecoveryPointSelectionT>(value);
102 template <
typename RecoveryPo
intSelectionT = RecoveryPo
intSelection>
117 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
119 m_tagsHasBeenSet =
true;
120 m_tags = std::forward<TagsT>(value);
122 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
124 SetTags(std::forward<TagsT>(value));
127 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
129 m_tagsHasBeenSet =
true;
130 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
141 RecoveryPointSelection m_recoveryPointSelection;
144 bool m_titleHasBeenSet =
false;
145 bool m_descriptionHasBeenSet =
false;
146 bool m_idempotencyTokenHasBeenSet =
true;
147 bool m_recoveryPointSelectionHasBeenSet =
false;
148 bool m_tagsHasBeenSet =
false;
const Aws::String & GetDescription() const
AWS_BACKUP_API CreateLegalHoldRequest()=default
CreateLegalHoldRequest & WithTitle(TitleT &&value)
virtual const char * GetServiceRequestName() const override
bool DescriptionHasBeenSet() const
bool TitleHasBeenSet() const
void SetTitle(TitleT &&value)
const Aws::String & GetTitle() const
CreateLegalHoldRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetRecoveryPointSelection(RecoveryPointSelectionT &&value)
bool RecoveryPointSelectionHasBeenSet() const
CreateLegalHoldRequest & WithIdempotencyToken(IdempotencyTokenT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetTags(TagsT &&value)
const RecoveryPointSelection & GetRecoveryPointSelection() const
AWS_BACKUP_API Aws::String SerializePayload() const override
void SetIdempotencyToken(IdempotencyTokenT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetIdempotencyToken() const
bool IdempotencyTokenHasBeenSet() const
CreateLegalHoldRequest & WithDescription(DescriptionT &&value)
CreateLegalHoldRequest & WithTags(TagsT &&value)
CreateLegalHoldRequest & WithRecoveryPointSelection(RecoveryPointSelectionT &&value)
bool TagsHasBeenSet() const
static Aws::Utils::UUID PseudoRandomUUID()
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String