7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/fsx/FSxRequest.h>
11#include <aws/fsx/FSx_EXPORTS.h>
12#include <aws/fsx/model/Tag.h>
40 template <
typename ClientRequestTokenT = Aws::String>
42 m_clientRequestTokenHasBeenSet =
true;
43 m_clientRequestToken = std::forward<ClientRequestTokenT>(value);
45 template <
typename ClientRequestTokenT = Aws::String>
59 template <
typename SourceBackupIdT = Aws::String>
61 m_sourceBackupIdHasBeenSet =
true;
62 m_sourceBackupId = std::forward<SourceBackupIdT>(value);
64 template <
typename SourceBackupIdT = Aws::String>
81 template <
typename SourceRegionT = Aws::String>
83 m_sourceRegionHasBeenSet =
true;
84 m_sourceRegion = std::forward<SourceRegionT>(value);
86 template <
typename SourceRegionT = Aws::String>
97 template <
typename KmsKeyIdT = Aws::String>
99 m_kmsKeyIdHasBeenSet =
true;
100 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
102 template <
typename KmsKeyIdT = Aws::String>
123 m_copyTagsHasBeenSet =
true;
136 template <
typename TagsT = Aws::Vector<Tag>>
138 m_tagsHasBeenSet =
true;
139 m_tags = std::forward<TagsT>(value);
141 template <
typename TagsT = Aws::Vector<Tag>>
143 SetTags(std::forward<TagsT>(value));
146 template <
typename TagsT = Tag>
148 m_tagsHasBeenSet =
true;
149 m_tags.emplace_back(std::forward<TagsT>(value));
162 bool m_copyTags{
false};
165 bool m_clientRequestTokenHasBeenSet =
true;
166 bool m_sourceBackupIdHasBeenSet =
false;
167 bool m_sourceRegionHasBeenSet =
false;
168 bool m_kmsKeyIdHasBeenSet =
false;
169 bool m_copyTagsHasBeenSet =
false;
170 bool m_tagsHasBeenSet =
false;
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetKmsKeyId() const
const Aws::String & GetSourceBackupId() const
AWS_FSX_API CopyBackupRequest()=default
CopyBackupRequest & WithCopyTags(bool value)
void SetKmsKeyId(KmsKeyIdT &&value)
void SetClientRequestToken(ClientRequestTokenT &&value)
CopyBackupRequest & WithSourceBackupId(SourceBackupIdT &&value)
const Aws::String & GetSourceRegion() const
AWS_FSX_API Aws::String SerializePayload() const override
CopyBackupRequest & WithTags(TagsT &&value)
void SetSourceBackupId(SourceBackupIdT &&value)
void SetTags(TagsT &&value)
CopyBackupRequest & AddTags(TagsT &&value)
bool KmsKeyIdHasBeenSet() const
void SetSourceRegion(SourceRegionT &&value)
const Aws::String & GetClientRequestToken() const
virtual const char * GetServiceRequestName() const override
bool TagsHasBeenSet() const
bool ClientRequestTokenHasBeenSet() const
CopyBackupRequest & WithSourceRegion(SourceRegionT &&value)
bool CopyTagsHasBeenSet() const
void SetCopyTags(bool value)
bool SourceBackupIdHasBeenSet() const
CopyBackupRequest & WithClientRequestToken(ClientRequestTokenT &&value)
bool SourceRegionHasBeenSet() const
AWS_FSX_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CopyBackupRequest & WithKmsKeyId(KmsKeyIdT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector