7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/rds/RDSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/rds/model/Tag.h>
64 template<
typename SourceDBSnapshotIdentifierT = Aws::String>
65 void SetSourceDBSnapshotIdentifier(SourceDBSnapshotIdentifierT&& value) { m_sourceDBSnapshotIdentifierHasBeenSet =
true; m_sourceDBSnapshotIdentifier = std::forward<SourceDBSnapshotIdentifierT>(value); }
66 template<
typename SourceDBSnapshotIdentifierT = Aws::String>
80 template<
typename TargetDBSnapshotIdentifierT = Aws::String>
81 void SetTargetDBSnapshotIdentifier(TargetDBSnapshotIdentifierT&& value) { m_targetDBSnapshotIdentifierHasBeenSet =
true; m_targetDBSnapshotIdentifier = std::forward<TargetDBSnapshotIdentifierT>(value); }
82 template<
typename TargetDBSnapshotIdentifierT = Aws::String>
106 template<
typename KmsKeyIdT = Aws::String>
107 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
108 template<
typename KmsKeyIdT = Aws::String>
116 template<
typename TagsT = Aws::Vector<Tag>>
117 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
118 template<
typename TagsT = Aws::Vector<Tag>>
120 template<
typename TagsT = Tag>
131 inline void SetCopyTags(
bool value) { m_copyTagsHasBeenSet =
true; m_copyTags = value; }
187 template<
typename PreSignedUrlT = Aws::String>
188 void SetPreSignedUrl(PreSignedUrlT&& value) { m_preSignedUrlHasBeenSet =
true; m_preSignedUrl = std::forward<PreSignedUrlT>(value); }
189 template<
typename PreSignedUrlT = Aws::String>
206 template<
typename OptionGroupNameT = Aws::String>
207 void SetOptionGroupName(OptionGroupNameT&& value) { m_optionGroupNameHasBeenSet =
true; m_optionGroupName = std::forward<OptionGroupNameT>(value); }
208 template<
typename OptionGroupNameT = Aws::String>
219 template<
typename TargetCustomAvailabilityZoneT = Aws::String>
220 void SetTargetCustomAvailabilityZone(TargetCustomAvailabilityZoneT&& value) { m_targetCustomAvailabilityZoneHasBeenSet =
true; m_targetCustomAvailabilityZone = std::forward<TargetCustomAvailabilityZoneT>(value); }
221 template<
typename TargetCustomAvailabilityZoneT = Aws::String>
234 inline void SetCopyOptionGroup(
bool value) { m_copyOptionGroupHasBeenSet =
true; m_copyOptionGroup = value; }
246 template<
typename SnapshotAvailabilityZoneT = Aws::String>
247 void SetSnapshotAvailabilityZone(SnapshotAvailabilityZoneT&& value) { m_snapshotAvailabilityZoneHasBeenSet =
true; m_snapshotAvailabilityZone = std::forward<SnapshotAvailabilityZoneT>(value); }
248 template<
typename SnapshotAvailabilityZoneT = Aws::String>
261 template<
typename SnapshotTargetT = Aws::String>
262 void SetSnapshotTarget(SnapshotTargetT&& value) { m_snapshotTargetHasBeenSet =
true; m_snapshotTarget = std::forward<SnapshotTargetT>(value); }
263 template<
typename SnapshotTargetT = Aws::String>
273 template<
typename SourceRegionT = Aws::String>
274 void SetSourceRegion(SourceRegionT&& value) { m_sourceRegionHasBeenSet =
true; m_sourceRegion = std::forward<SourceRegionT>(value); }
275 template<
typename SourceRegionT = Aws::String>
281 bool m_sourceDBSnapshotIdentifierHasBeenSet =
false;
284 bool m_targetDBSnapshotIdentifierHasBeenSet =
false;
287 bool m_kmsKeyIdHasBeenSet =
false;
290 bool m_tagsHasBeenSet =
false;
292 bool m_copyTags{
false};
293 bool m_copyTagsHasBeenSet =
false;
296 bool m_preSignedUrlHasBeenSet =
false;
299 bool m_optionGroupNameHasBeenSet =
false;
302 bool m_targetCustomAvailabilityZoneHasBeenSet =
false;
304 bool m_copyOptionGroup{
false};
305 bool m_copyOptionGroupHasBeenSet =
false;
308 bool m_snapshotAvailabilityZoneHasBeenSet =
false;
311 bool m_snapshotTargetHasBeenSet =
false;
314 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