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>
47 template<
typename DescriptionT = Aws::String>
48 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
49 template<
typename DescriptionT = Aws::String>
67 template<
typename DestinationOutpostArnT = Aws::String>
68 void SetDestinationOutpostArn(DestinationOutpostArnT&& value) { m_destinationOutpostArnHasBeenSet =
true; m_destinationOutpostArn = std::forward<DestinationOutpostArnT>(value); }
69 template<
typename DestinationOutpostArnT = Aws::String>
86 template<
typename DestinationRegionT = Aws::String>
87 void SetDestinationRegion(DestinationRegionT&& value) { m_destinationRegionHasBeenSet =
true; m_destinationRegion = std::forward<DestinationRegionT>(value); }
88 template<
typename DestinationRegionT = Aws::String>
104 inline void SetEncrypted(
bool value) { m_encryptedHasBeenSet =
true; m_encrypted = value; }
126 template<
typename KmsKeyIdT = Aws::String>
127 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
128 template<
typename KmsKeyIdT = Aws::String>
153 template<
typename Pre
signedUrlT = Aws::String>
154 void SetPresignedUrl(PresignedUrlT&& value) { m_presignedUrlHasBeenSet =
true; m_presignedUrl = std::forward<PresignedUrlT>(value); }
155 template<
typename Pre
signedUrlT = Aws::String>
165 template<
typename SourceRegionT = Aws::String>
166 void SetSourceRegion(SourceRegionT&& value) { m_sourceRegionHasBeenSet =
true; m_sourceRegion = std::forward<SourceRegionT>(value); }
167 template<
typename SourceRegionT = Aws::String>
177 template<
typename SourceSnapshotIdT = Aws::String>
178 void SetSourceSnapshotId(SourceSnapshotIdT&& value) { m_sourceSnapshotIdHasBeenSet =
true; m_sourceSnapshotId = std::forward<SourceSnapshotIdT>(value); }
179 template<
typename SourceSnapshotIdT = Aws::String>
189 template<
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
190 void SetTagSpecifications(TagSpecificationsT&& value) { m_tagSpecificationsHasBeenSet =
true; m_tagSpecifications = std::forward<TagSpecificationsT>(value); }
191 template<
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
193 template<
typename TagSpecificationsT = TagSpecification>
221 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
227 bool m_descriptionHasBeenSet =
false;
230 bool m_destinationOutpostArnHasBeenSet =
false;
233 bool m_destinationRegionHasBeenSet =
false;
235 bool m_encrypted{
false};
236 bool m_encryptedHasBeenSet =
false;
239 bool m_kmsKeyIdHasBeenSet =
false;
242 bool m_presignedUrlHasBeenSet =
false;
245 bool m_sourceRegionHasBeenSet =
false;
248 bool m_sourceSnapshotIdHasBeenSet =
false;
251 bool m_tagSpecificationsHasBeenSet =
false;
253 int m_completionDurationMinutes{0};
254 bool m_completionDurationMinutesHasBeenSet =
false;
256 bool m_dryRun{
false};
257 bool m_dryRunHasBeenSet =
false;
bool SourceSnapshotIdHasBeenSet() const
bool DestinationOutpostArnHasBeenSet() const
void SetDestinationOutpostArn(DestinationOutpostArnT &&value)
bool DestinationRegionHasBeenSet() const
const Aws::String & GetPresignedUrl() const
CopySnapshotRequest & AddTagSpecifications(TagSpecificationsT &&value)
bool DescriptionHasBeenSet() const
void SetDestinationRegion(DestinationRegionT &&value)
void SetSourceRegion(SourceRegionT &&value)
void SetPresignedUrl(PresignedUrlT &&value)
bool EncryptedHasBeenSet() const
void SetTagSpecifications(TagSpecificationsT &&value)
int GetCompletionDurationMinutes() const
CopySnapshotRequest & WithDescription(DescriptionT &&value)
void SetEncrypted(bool value)
AWS_EC2_API CopySnapshotRequest()=default
CopySnapshotRequest & WithDryRun(bool value)
CopySnapshotRequest & WithSourceRegion(SourceRegionT &&value)
CopySnapshotRequest & WithKmsKeyId(KmsKeyIdT &&value)
CopySnapshotRequest & WithDestinationOutpostArn(DestinationOutpostArnT &&value)
const Aws::String & GetSourceSnapshotId() const
CopySnapshotRequest & WithPresignedUrl(PresignedUrlT &&value)
bool CompletionDurationMinutesHasBeenSet() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetKmsKeyId(KmsKeyIdT &&value)
CopySnapshotRequest & WithDestinationRegion(DestinationRegionT &&value)
CopySnapshotRequest & WithSourceSnapshotId(SourceSnapshotIdT &&value)
bool TagSpecificationsHasBeenSet() const
const Aws::String & GetSourceRegion() const
virtual const char * GetServiceRequestName() const override
AWS_EC2_API Aws::String SerializePayload() const override
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
bool GetEncrypted() const
void SetCompletionDurationMinutes(int value)
bool SourceRegionHasBeenSet() const
void SetDescription(DescriptionT &&value)
CopySnapshotRequest & WithEncrypted(bool value)
void SetDryRun(bool value)
const Aws::String & GetDescription() const
const Aws::String & GetDestinationRegion() const
CopySnapshotRequest & WithCompletionDurationMinutes(int value)
bool DryRunHasBeenSet() const
const Aws::String & GetKmsKeyId() const
bool PresignedUrlHasBeenSet() const
bool KmsKeyIdHasBeenSet() const
void SetSourceSnapshotId(SourceSnapshotIdT &&value)
CopySnapshotRequest & WithTagSpecifications(TagSpecificationsT &&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