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>
55 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
69 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
87 inline void SetEncrypted(
bool value) { m_encryptedHasBeenSet =
true; m_encrypted = value; }
112 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
126 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
140 inline void SetSourceImageId(
const char* value) { m_sourceImageIdHasBeenSet =
true; m_sourceImageId.assign(value); }
154 inline void SetSourceRegion(
const char* value) { m_sourceRegionHasBeenSet =
true; m_sourceRegion.assign(value); }
175 inline void SetDestinationOutpostArn(
const char* value) { m_destinationOutpostArnHasBeenSet =
true; m_destinationOutpostArn.assign(value); }
191 inline void SetCopyImageTags(
bool value) { m_copyImageTagsHasBeenSet =
true; m_copyImageTags = value; }
226 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
232 bool m_clientTokenHasBeenSet =
false;
235 bool m_descriptionHasBeenSet =
false;
238 bool m_encryptedHasBeenSet =
false;
241 bool m_kmsKeyIdHasBeenSet =
false;
244 bool m_nameHasBeenSet =
false;
247 bool m_sourceImageIdHasBeenSet =
false;
250 bool m_sourceRegionHasBeenSet =
false;
253 bool m_destinationOutpostArnHasBeenSet =
false;
255 bool m_copyImageTags;
256 bool m_copyImageTagsHasBeenSet =
false;
259 bool m_tagSpecificationsHasBeenSet =
false;
262 bool m_dryRunHasBeenSet =
false;
void SetDescription(const char *value)
CopyImageRequest & WithDryRun(bool value)
const Aws::String & GetKmsKeyId() const
void SetSourceRegion(const Aws::String &value)
CopyImageRequest & WithSourceImageId(const Aws::String &value)
CopyImageRequest & WithEncrypted(bool value)
bool DestinationOutpostArnHasBeenSet() const
bool EncryptedHasBeenSet() const
CopyImageRequest & WithSourceRegion(const char *value)
CopyImageRequest & WithSourceRegion(const Aws::String &value)
void SetClientToken(const char *value)
void SetSourceImageId(const char *value)
void SetTagSpecifications(const Aws::Vector< TagSpecification > &value)
void SetDescription(Aws::String &&value)
void SetDestinationOutpostArn(const Aws::String &value)
void SetTagSpecifications(Aws::Vector< TagSpecification > &&value)
CopyImageRequest & WithClientToken(Aws::String &&value)
bool DryRunHasBeenSet() const
bool SourceImageIdHasBeenSet() const
bool TagSpecificationsHasBeenSet() const
CopyImageRequest & WithName(Aws::String &&value)
void SetDestinationOutpostArn(Aws::String &&value)
bool DescriptionHasBeenSet() const
CopyImageRequest & WithCopyImageTags(bool value)
CopyImageRequest & WithClientToken(const char *value)
bool NameHasBeenSet() const
CopyImageRequest & AddTagSpecifications(TagSpecification &&value)
CopyImageRequest & WithDestinationOutpostArn(Aws::String &&value)
void SetClientToken(const Aws::String &value)
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
bool GetEncrypted() const
CopyImageRequest & WithName(const Aws::String &value)
void SetName(Aws::String &&value)
const Aws::String & GetSourceRegion() const
void SetSourceRegion(const char *value)
CopyImageRequest & WithSourceImageId(Aws::String &&value)
AWS_EC2_API CopyImageRequest()
virtual const char * GetServiceRequestName() const override
CopyImageRequest & WithName(const char *value)
const Aws::String & GetClientToken() const
void SetSourceImageId(Aws::String &&value)
CopyImageRequest & WithTagSpecifications(const Aws::Vector< TagSpecification > &value)
const Aws::String & GetSourceImageId() const
bool ClientTokenHasBeenSet() const
void SetKmsKeyId(const Aws::String &value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetName(const char *value)
void SetClientToken(Aws::String &&value)
void SetEncrypted(bool value)
bool KmsKeyIdHasBeenSet() const
void SetCopyImageTags(bool value)
CopyImageRequest & WithDestinationOutpostArn(const char *value)
bool SourceRegionHasBeenSet() const
void SetDestinationOutpostArn(const char *value)
bool GetCopyImageTags() const
CopyImageRequest & WithSourceImageId(const char *value)
void SetDescription(const Aws::String &value)
CopyImageRequest & WithTagSpecifications(Aws::Vector< TagSpecification > &&value)
CopyImageRequest & WithDestinationOutpostArn(const Aws::String &value)
CopyImageRequest & WithClientToken(const Aws::String &value)
void SetKmsKeyId(Aws::String &&value)
void SetDryRun(bool value)
void SetName(const Aws::String &value)
CopyImageRequest & WithSourceRegion(Aws::String &&value)
bool CopyImageTagsHasBeenSet() const
void SetSourceImageId(const Aws::String &value)
CopyImageRequest & WithKmsKeyId(const Aws::String &value)
const Aws::String & GetDescription() const
void SetKmsKeyId(const char *value)
CopyImageRequest & WithDescription(Aws::String &&value)
CopyImageRequest & WithKmsKeyId(const char *value)
CopyImageRequest & WithDescription(const Aws::String &value)
const Aws::String & GetName() const
const Aws::String & GetDestinationOutpostArn() const
void SetSourceRegion(Aws::String &&value)
CopyImageRequest & WithDescription(const char *value)
CopyImageRequest & WithKmsKeyId(Aws::String &&value)
AWS_EC2_API Aws::String SerializePayload() const override
CopyImageRequest & AddTagSpecifications(const TagSpecification &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector