7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/EC2Request.h>
11#include <aws/ec2/EC2_EXPORTS.h>
12#include <aws/ec2/model/TagSpecification.h>
51 template <
typename ClientTokenT = Aws::String>
53 m_clientTokenHasBeenSet =
true;
54 m_clientToken = std::forward<ClientTokenT>(value);
56 template <
typename ClientTokenT = Aws::String>
69 template <
typename DescriptionT = Aws::String>
71 m_descriptionHasBeenSet =
true;
72 m_description = std::forward<DescriptionT>(value);
74 template <
typename DescriptionT = Aws::String>
94 m_encryptedHasBeenSet =
true;
122 template <
typename KmsKeyIdT = Aws::String>
124 m_kmsKeyIdHasBeenSet =
true;
125 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
127 template <
typename KmsKeyIdT = Aws::String>
140 template <
typename NameT = Aws::String>
142 m_nameHasBeenSet =
true;
143 m_name = std::forward<NameT>(value);
145 template <
typename NameT = Aws::String>
147 SetName(std::forward<NameT>(value));
158 template <
typename SourceImageIdT = Aws::String>
160 m_sourceImageIdHasBeenSet =
true;
161 m_sourceImageId = std::forward<SourceImageIdT>(value);
163 template <
typename SourceImageIdT = Aws::String>
176 template <
typename SourceRegionT = Aws::String>
178 m_sourceRegionHasBeenSet =
true;
179 m_sourceRegion = std::forward<SourceRegionT>(value);
181 template <
typename SourceRegionT = Aws::String>
203 template <
typename DestinationOutpostArnT = Aws::String>
205 m_destinationOutpostArnHasBeenSet =
true;
206 m_destinationOutpostArn = std::forward<DestinationOutpostArnT>(value);
208 template <
typename DestinationOutpostArnT = Aws::String>
226 m_copyImageTagsHasBeenSet =
true;
227 m_copyImageTags = value;
249 template <
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
251 m_tagSpecificationsHasBeenSet =
true;
252 m_tagSpecifications = std::forward<TagSpecificationsT>(value);
254 template <
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
259 template <
typename TagSpecificationsT = TagSpecification>
261 m_tagSpecificationsHasBeenSet =
true;
262 m_tagSpecifications.emplace_back(std::forward<TagSpecificationsT>(value));
284 m_snapshotCopyCompletionDurationMinutesHasBeenSet =
true;
285 m_snapshotCopyCompletionDurationMinutes = value;
303 template <
typename DestinationAvailabilityZoneT = Aws::String>
305 m_destinationAvailabilityZoneHasBeenSet =
true;
306 m_destinationAvailabilityZone = std::forward<DestinationAvailabilityZoneT>(value);
308 template <
typename DestinationAvailabilityZoneT = Aws::String>
325 template <
typename DestinationAvailabilityZoneIdT = Aws::String>
327 m_destinationAvailabilityZoneIdHasBeenSet =
true;
328 m_destinationAvailabilityZoneId = std::forward<DestinationAvailabilityZoneIdT>(value);
330 template <
typename DestinationAvailabilityZoneIdT = Aws::String>
347 m_dryRunHasBeenSet =
true;
360 bool m_encrypted{
false};
372 bool m_copyImageTags{
false};
376 long long m_snapshotCopyCompletionDurationMinutes{0};
382 bool m_dryRun{
false};
383 bool m_clientTokenHasBeenSet =
true;
384 bool m_descriptionHasBeenSet =
false;
385 bool m_encryptedHasBeenSet =
false;
386 bool m_kmsKeyIdHasBeenSet =
false;
387 bool m_nameHasBeenSet =
false;
388 bool m_sourceImageIdHasBeenSet =
false;
389 bool m_sourceRegionHasBeenSet =
false;
390 bool m_destinationOutpostArnHasBeenSet =
false;
391 bool m_copyImageTagsHasBeenSet =
false;
392 bool m_tagSpecificationsHasBeenSet =
false;
393 bool m_snapshotCopyCompletionDurationMinutesHasBeenSet =
false;
394 bool m_destinationAvailabilityZoneHasBeenSet =
false;
395 bool m_destinationAvailabilityZoneIdHasBeenSet =
false;
396 bool m_dryRunHasBeenSet =
false;
CopyImageRequest & WithDryRun(bool value)
const Aws::String & GetKmsKeyId() const
CopyImageRequest & AddTagSpecifications(TagSpecificationsT &&value)
CopyImageRequest & WithEncrypted(bool value)
bool DestinationOutpostArnHasBeenSet() const
bool EncryptedHasBeenSet() const
CopyImageRequest & WithName(NameT &&value)
const Aws::String & GetDestinationAvailabilityZone() const
bool DryRunHasBeenSet() const
bool SourceImageIdHasBeenSet() const
AWS_EC2_API CopyImageRequest()=default
bool TagSpecificationsHasBeenSet() const
CopyImageRequest & WithKmsKeyId(KmsKeyIdT &&value)
CopyImageRequest & WithSourceRegion(SourceRegionT &&value)
bool DescriptionHasBeenSet() const
CopyImageRequest & WithClientToken(ClientTokenT &&value)
void SetDescription(DescriptionT &&value)
CopyImageRequest & WithCopyImageTags(bool value)
bool NameHasBeenSet() const
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
bool GetEncrypted() const
const Aws::String & GetSourceRegion() const
virtual const char * GetServiceRequestName() const override
CopyImageRequest & WithSourceImageId(SourceImageIdT &&value)
void SetDestinationOutpostArn(DestinationOutpostArnT &&value)
void SetDestinationAvailabilityZoneId(DestinationAvailabilityZoneIdT &&value)
const Aws::String & GetClientToken() const
CopyImageRequest & WithTagSpecifications(TagSpecificationsT &&value)
CopyImageRequest & WithDescription(DescriptionT &&value)
const Aws::String & GetSourceImageId() const
bool ClientTokenHasBeenSet() const
void SetTagSpecifications(TagSpecificationsT &&value)
void SetSourceImageId(SourceImageIdT &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetEncrypted(bool value)
bool KmsKeyIdHasBeenSet() const
void SetSourceRegion(SourceRegionT &&value)
void SetCopyImageTags(bool value)
void SetKmsKeyId(KmsKeyIdT &&value)
bool SourceRegionHasBeenSet() const
long long GetSnapshotCopyCompletionDurationMinutes() const
bool GetCopyImageTags() const
void SetClientToken(ClientTokenT &&value)
void SetDryRun(bool value)
void SetName(NameT &&value)
bool CopyImageTagsHasBeenSet() const
const Aws::String & GetDestinationAvailabilityZoneId() const
const Aws::String & GetDescription() const
bool DestinationAvailabilityZoneHasBeenSet() const
bool DestinationAvailabilityZoneIdHasBeenSet() const
void SetDestinationAvailabilityZone(DestinationAvailabilityZoneT &&value)
void SetSnapshotCopyCompletionDurationMinutes(long long value)
CopyImageRequest & WithDestinationOutpostArn(DestinationOutpostArnT &&value)
bool SnapshotCopyCompletionDurationMinutesHasBeenSet() const
CopyImageRequest & WithDestinationAvailabilityZoneId(DestinationAvailabilityZoneIdT &&value)
const Aws::String & GetName() const
const Aws::String & GetDestinationOutpostArn() const
CopyImageRequest & WithDestinationAvailabilityZone(DestinationAvailabilityZoneT &&value)
AWS_EC2_API Aws::String SerializePayload() const override
CopyImageRequest & WithSnapshotCopyCompletionDurationMinutes(long long value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector