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>
66 inline void SetSourceDBSnapshotIdentifier(
const char* value) { m_sourceDBSnapshotIdentifierHasBeenSet =
true; m_sourceDBSnapshotIdentifier.assign(value); }
84 inline void SetTargetDBSnapshotIdentifier(
const char* value) { m_targetDBSnapshotIdentifierHasBeenSet =
true; m_targetDBSnapshotIdentifier.assign(value); }
112 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
137 inline void SetCopyTags(
bool value) { m_copyTagsHasBeenSet =
true; m_copyTags = value; }
195 inline void SetPreSignedUrl(
const char* value) { m_preSignedUrlHasBeenSet =
true; m_preSignedUrl.assign(value); }
216 inline void SetOptionGroupName(
const char* value) { m_optionGroupNameHasBeenSet =
true; m_optionGroupName.assign(value); }
246 inline void SetCopyOptionGroup(
bool value) { m_copyOptionGroupHasBeenSet =
true; m_copyOptionGroup = value; }
258 inline void SetSourceRegion(
const char* value) { m_sourceRegionHasBeenSet =
true; m_sourceRegion.assign(value); }
266 bool m_sourceDBSnapshotIdentifierHasBeenSet =
false;
269 bool m_targetDBSnapshotIdentifierHasBeenSet =
false;
272 bool m_kmsKeyIdHasBeenSet =
false;
275 bool m_tagsHasBeenSet =
false;
278 bool m_copyTagsHasBeenSet =
false;
281 bool m_preSignedUrlHasBeenSet =
false;
284 bool m_optionGroupNameHasBeenSet =
false;
287 bool m_targetCustomAvailabilityZoneHasBeenSet =
false;
289 bool m_copyOptionGroup;
290 bool m_copyOptionGroupHasBeenSet =
false;
293 bool m_sourceRegionHasBeenSet =
false;
CopyDBSnapshotRequest & AddTags(const Tag &value)
CopyDBSnapshotRequest & WithTargetDBSnapshotIdentifier(Aws::String &&value)
void SetKmsKeyId(const char *value)
bool TagsHasBeenSet() const
CopyDBSnapshotRequest & WithTags(Aws::Vector< Tag > &&value)
const Aws::String & GetSourceRegion() const
CopyDBSnapshotRequest & WithOptionGroupName(Aws::String &&value)
CopyDBSnapshotRequest & WithKmsKeyId(const char *value)
void SetSourceRegion(Aws::String &&value)
const Aws::String & GetPreSignedUrl() const
bool TargetDBSnapshotIdentifierHasBeenSet() const
CopyDBSnapshotRequest & WithOptionGroupName(const char *value)
void SetTargetCustomAvailabilityZone(const char *value)
CopyDBSnapshotRequest & WithKmsKeyId(const Aws::String &value)
AWS_RDS_API CopyDBSnapshotRequest()
bool PreSignedUrlHasBeenSet() const
void SetTags(const Aws::Vector< Tag > &value)
void SetSourceRegion(const char *value)
AWS_RDS_API Aws::String SerializePayload() const override
CopyDBSnapshotRequest & WithTargetDBSnapshotIdentifier(const char *value)
CopyDBSnapshotRequest & WithTargetCustomAvailabilityZone(Aws::String &&value)
CopyDBSnapshotRequest & WithTargetDBSnapshotIdentifier(const Aws::String &value)
void SetPreSignedUrl(const char *value)
CopyDBSnapshotRequest & WithTargetCustomAvailabilityZone(const Aws::String &value)
void SetSourceRegion(const Aws::String &value)
void SetCopyOptionGroup(bool value)
CopyDBSnapshotRequest & WithCopyTags(bool value)
void SetPreSignedUrl(const Aws::String &value)
CopyDBSnapshotRequest & WithTags(const Aws::Vector< Tag > &value)
const Aws::Vector< Tag > & GetTags() const
void SetOptionGroupName(const Aws::String &value)
CopyDBSnapshotRequest & WithPreSignedUrl(const char *value)
CopyDBSnapshotRequest & WithSourceRegion(Aws::String &&value)
void SetOptionGroupName(Aws::String &&value)
bool TargetCustomAvailabilityZoneHasBeenSet() const
void SetOptionGroupName(const char *value)
CopyDBSnapshotRequest & WithPreSignedUrl(const Aws::String &value)
void SetPreSignedUrl(Aws::String &&value)
void SetKmsKeyId(const Aws::String &value)
void SetTargetDBSnapshotIdentifier(const char *value)
CopyDBSnapshotRequest & WithSourceRegion(const char *value)
const Aws::String & GetOptionGroupName() const
void SetTargetDBSnapshotIdentifier(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetSourceDBSnapshotIdentifier(const char *value)
CopyDBSnapshotRequest & WithSourceDBSnapshotIdentifier(Aws::String &&value)
CopyDBSnapshotRequest & WithOptionGroupName(const Aws::String &value)
CopyDBSnapshotRequest & WithSourceDBSnapshotIdentifier(const Aws::String &value)
void SetTargetDBSnapshotIdentifier(const Aws::String &value)
CopyDBSnapshotRequest & WithSourceDBSnapshotIdentifier(const char *value)
void SetTargetCustomAvailabilityZone(const Aws::String &value)
CopyDBSnapshotRequest & WithKmsKeyId(Aws::String &&value)
void SetTargetCustomAvailabilityZone(Aws::String &&value)
const Aws::String & GetTargetCustomAvailabilityZone() const
const Aws::String & GetSourceDBSnapshotIdentifier() const
CopyDBSnapshotRequest & WithCopyOptionGroup(bool value)
bool OptionGroupNameHasBeenSet() const
bool GetCopyOptionGroup() const
bool SourceDBSnapshotIdentifierHasBeenSet() const
CopyDBSnapshotRequest & AddTags(Tag &&value)
void SetTags(Aws::Vector< Tag > &&value)
void SetKmsKeyId(Aws::String &&value)
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetSourceDBSnapshotIdentifier(Aws::String &&value)
void SetSourceDBSnapshotIdentifier(const Aws::String &value)
CopyDBSnapshotRequest & WithSourceRegion(const Aws::String &value)
const Aws::String & GetTargetDBSnapshotIdentifier() const
CopyDBSnapshotRequest & WithPreSignedUrl(Aws::String &&value)
bool SourceRegionHasBeenSet() const
bool KmsKeyIdHasBeenSet() const
bool CopyTagsHasBeenSet() const
const Aws::String & GetKmsKeyId() const
CopyDBSnapshotRequest & WithTargetCustomAvailabilityZone(const char *value)
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