7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/fsx/FSxRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/fsx/model/Tag.h>
13#include <aws/core/utils/UUID.h>
44 template<
typename ClientRequestTokenT = Aws::String>
45 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet =
true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
46 template<
typename ClientRequestTokenT = Aws::String>
57 template<
typename SourceBackupIdT = Aws::String>
58 void SetSourceBackupId(SourceBackupIdT&& value) { m_sourceBackupIdHasBeenSet =
true; m_sourceBackupId = std::forward<SourceBackupIdT>(value); }
59 template<
typename SourceBackupIdT = Aws::String>
73 template<
typename SourceRegionT = Aws::String>
74 void SetSourceRegion(SourceRegionT&& value) { m_sourceRegionHasBeenSet =
true; m_sourceRegion = std::forward<SourceRegionT>(value); }
75 template<
typename SourceRegionT = Aws::String>
83 template<
typename KmsKeyIdT = Aws::String>
84 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
85 template<
typename KmsKeyIdT = Aws::String>
102 inline void SetCopyTags(
bool value) { m_copyTagsHasBeenSet =
true; m_copyTags = value; }
110 template<
typename TagsT = Aws::Vector<Tag>>
111 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
112 template<
typename TagsT = Aws::Vector<Tag>>
114 template<
typename TagsT = Tag>
115 CopyBackupRequest&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
120 bool m_clientRequestTokenHasBeenSet =
true;
123 bool m_sourceBackupIdHasBeenSet =
false;
126 bool m_sourceRegionHasBeenSet =
false;
129 bool m_kmsKeyIdHasBeenSet =
false;
131 bool m_copyTags{
false};
132 bool m_copyTagsHasBeenSet =
false;
135 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