7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/rds/RDSRequest.h>
10#include <aws/rds/RDS_EXPORTS.h>
11#include <aws/rds/model/Tag.h>
60 template <
typename SourceDBSnapshotIdentifierT = Aws::String>
62 m_sourceDBSnapshotIdentifierHasBeenSet =
true;
63 m_sourceDBSnapshotIdentifier = std::forward<SourceDBSnapshotIdentifierT>(value);
65 template <
typename SourceDBSnapshotIdentifierT = Aws::String>
82 template <
typename TargetDBSnapshotIdentifierT = Aws::String>
84 m_targetDBSnapshotIdentifierHasBeenSet =
true;
85 m_targetDBSnapshotIdentifier = std::forward<TargetDBSnapshotIdentifierT>(value);
87 template <
typename TargetDBSnapshotIdentifierT = Aws::String>
114 template <
typename KmsKeyIdT = Aws::String>
116 m_kmsKeyIdHasBeenSet =
true;
117 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
119 template <
typename KmsKeyIdT = Aws::String>
130 template <
typename TagsT = Aws::Vector<Tag>>
132 m_tagsHasBeenSet =
true;
133 m_tags = std::forward<TagsT>(value);
135 template <
typename TagsT = Aws::Vector<Tag>>
137 SetTags(std::forward<TagsT>(value));
140 template <
typename TagsT = Tag>
142 m_tagsHasBeenSet =
true;
143 m_tags.emplace_back(std::forward<TagsT>(value));
156 m_copyTagsHasBeenSet =
true;
217 template <
typename PreSignedUrlT = Aws::String>
219 m_preSignedUrlHasBeenSet =
true;
220 m_preSignedUrl = std::forward<PreSignedUrlT>(value);
222 template <
typename PreSignedUrlT = Aws::String>
242 template <
typename OptionGroupNameT = Aws::String>
244 m_optionGroupNameHasBeenSet =
true;
245 m_optionGroupName = std::forward<OptionGroupNameT>(value);
247 template <
typename OptionGroupNameT = Aws::String>
261 template <
typename TargetCustomAvailabilityZoneT = Aws::String>
263 m_targetCustomAvailabilityZoneHasBeenSet =
true;
264 m_targetCustomAvailabilityZone = std::forward<TargetCustomAvailabilityZoneT>(value);
266 template <
typename TargetCustomAvailabilityZoneT = Aws::String>
282 template <
typename SnapshotTargetT = Aws::String>
284 m_snapshotTargetHasBeenSet =
true;
285 m_snapshotTarget = std::forward<SnapshotTargetT>(value);
287 template <
typename SnapshotTargetT = Aws::String>
304 m_copyOptionGroupHasBeenSet =
true;
305 m_copyOptionGroup = value;
321 template <
typename SnapshotAvailabilityZoneT = Aws::String>
323 m_snapshotAvailabilityZoneHasBeenSet =
true;
324 m_snapshotAvailabilityZone = std::forward<SnapshotAvailabilityZoneT>(value);
326 template <
typename SnapshotAvailabilityZoneT = Aws::String>
339 template <
typename SourceRegionT = Aws::String>
341 m_sourceRegionHasBeenSet =
true;
342 m_sourceRegion = std::forward<SourceRegionT>(value);
344 template <
typename SourceRegionT = Aws::String>
359 bool m_copyTags{
false};
369 bool m_copyOptionGroup{
false};
374 bool m_sourceDBSnapshotIdentifierHasBeenSet =
false;
375 bool m_targetDBSnapshotIdentifierHasBeenSet =
false;
376 bool m_kmsKeyIdHasBeenSet =
false;
377 bool m_tagsHasBeenSet =
false;
378 bool m_copyTagsHasBeenSet =
false;
379 bool m_preSignedUrlHasBeenSet =
false;
380 bool m_optionGroupNameHasBeenSet =
false;
381 bool m_targetCustomAvailabilityZoneHasBeenSet =
false;
382 bool m_snapshotTargetHasBeenSet =
false;
383 bool m_copyOptionGroupHasBeenSet =
false;
384 bool m_snapshotAvailabilityZoneHasBeenSet =
false;
385 bool m_sourceRegionHasBeenSet =
false;
bool SnapshotTargetHasBeenSet() const
void SetSourceRegion(SourceRegionT &&value)
CopyDBSnapshotRequest & WithOptionGroupName(OptionGroupNameT &&value)
bool TagsHasBeenSet() const
void SetTags(TagsT &&value)
CopyDBSnapshotRequest & WithSourceRegion(SourceRegionT &&value)
const Aws::String & GetSourceRegion() const
const Aws::String & GetPreSignedUrl() const
void SetKmsKeyId(KmsKeyIdT &&value)
CopyDBSnapshotRequest & WithPreSignedUrl(PreSignedUrlT &&value)
bool TargetDBSnapshotIdentifierHasBeenSet() const
const Aws::String & GetSnapshotAvailabilityZone() const
CopyDBSnapshotRequest & AddTags(TagsT &&value)
bool PreSignedUrlHasBeenSet() const
AWS_RDS_API Aws::String SerializePayload() const override
void SetPreSignedUrl(PreSignedUrlT &&value)
void SetCopyOptionGroup(bool value)
CopyDBSnapshotRequest & WithCopyTags(bool value)
CopyDBSnapshotRequest & WithTargetDBSnapshotIdentifier(TargetDBSnapshotIdentifierT &&value)
void SetTargetCustomAvailabilityZone(TargetCustomAvailabilityZoneT &&value)
const Aws::Vector< Tag > & GetTags() const
void SetTargetDBSnapshotIdentifier(TargetDBSnapshotIdentifierT &&value)
void SetSourceDBSnapshotIdentifier(SourceDBSnapshotIdentifierT &&value)
bool SnapshotAvailabilityZoneHasBeenSet() const
CopyDBSnapshotRequest & WithSnapshotTarget(SnapshotTargetT &&value)
bool TargetCustomAvailabilityZoneHasBeenSet() const
AWS_RDS_API CopyDBSnapshotRequest()=default
CopyDBSnapshotRequest & WithSourceDBSnapshotIdentifier(SourceDBSnapshotIdentifierT &&value)
void SetSnapshotTarget(SnapshotTargetT &&value)
CopyDBSnapshotRequest & WithKmsKeyId(KmsKeyIdT &&value)
CopyDBSnapshotRequest & WithSnapshotAvailabilityZone(SnapshotAvailabilityZoneT &&value)
const Aws::String & GetOptionGroupName() const
const Aws::String & GetSnapshotTarget() const
virtual const char * GetServiceRequestName() const override
CopyDBSnapshotRequest & WithTags(TagsT &&value)
const Aws::String & GetTargetCustomAvailabilityZone() const
const Aws::String & GetSourceDBSnapshotIdentifier() const
CopyDBSnapshotRequest & WithCopyOptionGroup(bool value)
bool OptionGroupNameHasBeenSet() const
bool GetCopyOptionGroup() const
bool SourceDBSnapshotIdentifierHasBeenSet() const
void SetSnapshotAvailabilityZone(SnapshotAvailabilityZoneT &&value)
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetOptionGroupName(OptionGroupNameT &&value)
const Aws::String & GetTargetDBSnapshotIdentifier() const
bool SourceRegionHasBeenSet() const
CopyDBSnapshotRequest & WithTargetCustomAvailabilityZone(TargetCustomAvailabilityZoneT &&value)
bool KmsKeyIdHasBeenSet() const
bool CopyTagsHasBeenSet() const
const Aws::String & GetKmsKeyId() const
bool CopyOptionGroupHasBeenSet() const
void SetCopyTags(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector