7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/model/TagSpecification.h>
49 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
71 inline void SetDestinationOutpostArn(
const char* value) { m_destinationOutpostArnHasBeenSet =
true; m_destinationOutpostArn.assign(value); }
92 inline void SetDestinationRegion(
const char* value) { m_destinationRegionHasBeenSet =
true; m_destinationRegion.assign(value); }
110 inline void SetEncrypted(
bool value) { m_encryptedHasBeenSet =
true; m_encrypted = value; }
134 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
163 inline void SetPresignedUrl(
const char* value) { m_presignedUrlHasBeenSet =
true; m_presignedUrl.assign(value); }
177 inline void SetSourceRegion(
const char* value) { m_sourceRegionHasBeenSet =
true; m_sourceRegion.assign(value); }
191 inline void SetSourceSnapshotId(
const char* value) { m_sourceSnapshotIdHasBeenSet =
true; m_sourceSnapshotId.assign(value); }
220 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
226 bool m_descriptionHasBeenSet =
false;
229 bool m_destinationOutpostArnHasBeenSet =
false;
232 bool m_destinationRegionHasBeenSet =
false;
235 bool m_encryptedHasBeenSet =
false;
238 bool m_kmsKeyIdHasBeenSet =
false;
241 bool m_presignedUrlHasBeenSet =
false;
244 bool m_sourceRegionHasBeenSet =
false;
247 bool m_sourceSnapshotIdHasBeenSet =
false;
250 bool m_tagSpecificationsHasBeenSet =
false;
253 bool m_dryRunHasBeenSet =
false;
void SetTagSpecifications(Aws::Vector< TagSpecification > &&value)
bool SourceSnapshotIdHasBeenSet() const
void SetDestinationRegion(const char *value)
void SetKmsKeyId(const Aws::String &value)
bool DestinationOutpostArnHasBeenSet() const
void SetPresignedUrl(const Aws::String &value)
CopySnapshotRequest & WithDestinationRegion(const char *value)
void SetTagSpecifications(const Aws::Vector< TagSpecification > &value)
void SetSourceRegion(Aws::String &&value)
void SetDestinationRegion(const Aws::String &value)
bool DestinationRegionHasBeenSet() const
const Aws::String & GetPresignedUrl() const
CopySnapshotRequest & WithDescription(const char *value)
bool DescriptionHasBeenSet() const
CopySnapshotRequest & WithSourceRegion(const Aws::String &value)
void SetSourceRegion(const char *value)
void SetDescription(const Aws::String &value)
bool EncryptedHasBeenSet() const
CopySnapshotRequest & WithSourceRegion(const char *value)
CopySnapshotRequest & AddTagSpecifications(TagSpecification &&value)
AWS_EC2_API CopySnapshotRequest()
CopySnapshotRequest & WithPresignedUrl(const Aws::String &value)
void SetKmsKeyId(const char *value)
void SetEncrypted(bool value)
CopySnapshotRequest & WithSourceSnapshotId(const Aws::String &value)
CopySnapshotRequest & WithDryRun(bool value)
CopySnapshotRequest & WithKmsKeyId(const char *value)
void SetDestinationOutpostArn(Aws::String &&value)
const Aws::String & GetSourceSnapshotId() const
CopySnapshotRequest & WithDescription(const Aws::String &value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetPresignedUrl(Aws::String &&value)
CopySnapshotRequest & AddTagSpecifications(const TagSpecification &value)
CopySnapshotRequest & WithDestinationOutpostArn(Aws::String &&value)
void SetDescription(const char *value)
void SetPresignedUrl(const char *value)
bool TagSpecificationsHasBeenSet() const
void SetSourceSnapshotId(const char *value)
CopySnapshotRequest & WithKmsKeyId(Aws::String &&value)
void SetDestinationOutpostArn(const Aws::String &value)
const Aws::String & GetSourceRegion() const
virtual const char * GetServiceRequestName() const override
void SetSourceRegion(const Aws::String &value)
CopySnapshotRequest & WithSourceRegion(Aws::String &&value)
AWS_EC2_API Aws::String SerializePayload() const override
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
void SetDestinationRegion(Aws::String &&value)
CopySnapshotRequest & WithPresignedUrl(Aws::String &&value)
void SetSourceSnapshotId(const Aws::String &value)
bool GetEncrypted() const
CopySnapshotRequest & WithDescription(Aws::String &&value)
bool SourceRegionHasBeenSet() const
CopySnapshotRequest & WithEncrypted(bool value)
CopySnapshotRequest & WithKmsKeyId(const Aws::String &value)
void SetDryRun(bool value)
const Aws::String & GetDescription() const
const Aws::String & GetDestinationRegion() const
CopySnapshotRequest & WithTagSpecifications(Aws::Vector< TagSpecification > &&value)
void SetDestinationOutpostArn(const char *value)
CopySnapshotRequest & WithDestinationRegion(const Aws::String &value)
bool DryRunHasBeenSet() const
CopySnapshotRequest & WithPresignedUrl(const char *value)
void SetKmsKeyId(Aws::String &&value)
CopySnapshotRequest & WithSourceSnapshotId(Aws::String &&value)
CopySnapshotRequest & WithSourceSnapshotId(const char *value)
CopySnapshotRequest & WithDestinationOutpostArn(const char *value)
void SetSourceSnapshotId(Aws::String &&value)
const Aws::String & GetKmsKeyId() const
bool PresignedUrlHasBeenSet() const
CopySnapshotRequest & WithTagSpecifications(const Aws::Vector< TagSpecification > &value)
bool KmsKeyIdHasBeenSet() const
CopySnapshotRequest & WithDestinationRegion(Aws::String &&value)
void SetDescription(Aws::String &&value)
CopySnapshotRequest & WithDestinationOutpostArn(const Aws::String &value)
const Aws::String & GetDestinationOutpostArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector