7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10#include <aws/ec2/model/ImportImageLicenseConfigurationResponse.h>
11#include <aws/ec2/model/ResponseMetadata.h>
12#include <aws/ec2/model/SnapshotDetail.h>
13#include <aws/ec2/model/Tag.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
39 template <
typename ArchitectureT = Aws::String>
41 m_architectureHasBeenSet =
true;
42 m_architecture = std::forward<ArchitectureT>(value);
44 template <
typename ArchitectureT = Aws::String>
56 template <
typename DescriptionT = Aws::String>
58 m_descriptionHasBeenSet =
true;
59 m_description = std::forward<DescriptionT>(value);
61 template <
typename DescriptionT = Aws::String>
74 m_encryptedHasBeenSet =
true;
88 template <
typename HypervisorT = Aws::String>
90 m_hypervisorHasBeenSet =
true;
91 m_hypervisor = std::forward<HypervisorT>(value);
93 template <
typename HypervisorT = Aws::String>
105 template <
typename ImageIdT = Aws::String>
107 m_imageIdHasBeenSet =
true;
108 m_imageId = std::forward<ImageIdT>(value);
110 template <
typename ImageIdT = Aws::String>
122 template <
typename ImportTaskIdT = Aws::String>
124 m_importTaskIdHasBeenSet =
true;
125 m_importTaskId = std::forward<ImportTaskIdT>(value);
127 template <
typename ImportTaskIdT = Aws::String>
140 template <
typename KmsKeyIdT = Aws::String>
142 m_kmsKeyIdHasBeenSet =
true;
143 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
145 template <
typename KmsKeyIdT = Aws::String>
157 template <
typename LicenseTypeT = Aws::String>
159 m_licenseTypeHasBeenSet =
true;
160 m_licenseType = std::forward<LicenseTypeT>(value);
162 template <
typename LicenseTypeT = Aws::String>
174 template <
typename PlatformT = Aws::String>
176 m_platformHasBeenSet =
true;
177 m_platform = std::forward<PlatformT>(value);
179 template <
typename PlatformT = Aws::String>
191 template <
typename ProgressT = Aws::String>
193 m_progressHasBeenSet =
true;
194 m_progress = std::forward<ProgressT>(value);
196 template <
typename ProgressT = Aws::String>
208 template <
typename SnapshotDetailsT = Aws::Vector<SnapshotDetail>>
210 m_snapshotDetailsHasBeenSet =
true;
211 m_snapshotDetails = std::forward<SnapshotDetailsT>(value);
213 template <
typename SnapshotDetailsT = Aws::Vector<SnapshotDetail>>
218 template <
typename SnapshotDetailsT = SnapshotDetail>
220 m_snapshotDetailsHasBeenSet =
true;
221 m_snapshotDetails.emplace_back(std::forward<SnapshotDetailsT>(value));
231 template <
typename StatusT = Aws::String>
233 m_statusHasBeenSet =
true;
234 m_status = std::forward<StatusT>(value);
236 template <
typename StatusT = Aws::String>
248 template <
typename StatusMessageT = Aws::String>
250 m_statusMessageHasBeenSet =
true;
251 m_statusMessage = std::forward<StatusMessageT>(value);
253 template <
typename StatusMessageT = Aws::String>
265 template <
typename LicenseSpecificationsT = Aws::Vector<ImportImageLicenseConfigurationResponse>>
267 m_licenseSpecificationsHasBeenSet =
true;
268 m_licenseSpecifications = std::forward<LicenseSpecificationsT>(value);
270 template <
typename LicenseSpecificationsT = Aws::Vector<ImportImageLicenseConfigurationResponse>>
275 template <
typename LicenseSpecificationsT = ImportImageLicenseConfigurationResponse>
277 m_licenseSpecificationsHasBeenSet =
true;
278 m_licenseSpecifications.emplace_back(std::forward<LicenseSpecificationsT>(value));
288 template <
typename TagsT = Aws::Vector<Tag>>
290 m_tagsHasBeenSet =
true;
291 m_tags = std::forward<TagsT>(value);
293 template <
typename TagsT = Aws::Vector<Tag>>
295 SetTags(std::forward<TagsT>(value));
298 template <
typename TagsT = Tag>
300 m_tagsHasBeenSet =
true;
301 m_tags.emplace_back(std::forward<TagsT>(value));
311 template <
typename UsageOperationT = Aws::String>
313 m_usageOperationHasBeenSet =
true;
314 m_usageOperation = std::forward<UsageOperationT>(value);
316 template <
typename UsageOperationT = Aws::String>
326 template <
typename ResponseMetadataT = ResponseMetadata>
328 m_responseMetadataHasBeenSet =
true;
329 m_responseMetadata = std::forward<ResponseMetadataT>(value);
331 template <
typename ResponseMetadataT = ResponseMetadata>
342 bool m_encrypted{
false};
370 ResponseMetadata m_responseMetadata;
371 bool m_architectureHasBeenSet =
false;
372 bool m_descriptionHasBeenSet =
false;
373 bool m_encryptedHasBeenSet =
false;
374 bool m_hypervisorHasBeenSet =
false;
375 bool m_imageIdHasBeenSet =
false;
376 bool m_importTaskIdHasBeenSet =
false;
377 bool m_kmsKeyIdHasBeenSet =
false;
378 bool m_licenseTypeHasBeenSet =
false;
379 bool m_platformHasBeenSet =
false;
380 bool m_progressHasBeenSet =
false;
381 bool m_snapshotDetailsHasBeenSet =
false;
382 bool m_statusHasBeenSet =
false;
383 bool m_statusMessageHasBeenSet =
false;
384 bool m_licenseSpecificationsHasBeenSet =
false;
385 bool m_tagsHasBeenSet =
false;
386 bool m_usageOperationHasBeenSet =
false;
387 bool m_responseMetadataHasBeenSet =
false;
ImportImageResponse & WithLicenseType(LicenseTypeT &&value)
ImportImageResponse & WithHypervisor(HypervisorT &&value)
const Aws::String & GetStatus() const
AWS_EC2_API ImportImageResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ImportImageResponse & WithLicenseSpecifications(LicenseSpecificationsT &&value)
ImportImageResponse & WithPlatform(PlatformT &&value)
const Aws::String & GetStatusMessage() const
ImportImageResponse & WithImageId(ImageIdT &&value)
const Aws::String & GetImportTaskId() const
void SetLicenseSpecifications(LicenseSpecificationsT &&value)
const Aws::Vector< Tag > & GetTags() const
void SetKmsKeyId(KmsKeyIdT &&value)
ImportImageResponse & WithStatusMessage(StatusMessageT &&value)
ImportImageResponse & AddSnapshotDetails(SnapshotDetailsT &&value)
void SetDescription(DescriptionT &&value)
void SetPlatform(PlatformT &&value)
ImportImageResponse & WithEncrypted(bool value)
void SetUsageOperation(UsageOperationT &&value)
ImportImageResponse & WithProgress(ProgressT &&value)
const Aws::String & GetKmsKeyId() const
void SetHypervisor(HypervisorT &&value)
const Aws::String & GetArchitecture() const
void SetImageId(ImageIdT &&value)
void SetStatus(StatusT &&value)
AWS_EC2_API ImportImageResponse()=default
void SetLicenseType(LicenseTypeT &&value)
void SetSnapshotDetails(SnapshotDetailsT &&value)
void SetResponseMetadata(ResponseMetadataT &&value)
ImportImageResponse & WithKmsKeyId(KmsKeyIdT &&value)
ImportImageResponse & WithUsageOperation(UsageOperationT &&value)
const Aws::String & GetHypervisor() const
ImportImageResponse & WithArchitecture(ArchitectureT &&value)
const Aws::String & GetImageId() const
AWS_EC2_API ImportImageResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
bool GetEncrypted() const
void SetStatusMessage(StatusMessageT &&value)
ImportImageResponse & WithDescription(DescriptionT &&value)
ImportImageResponse & WithTags(TagsT &&value)
void SetArchitecture(ArchitectureT &&value)
void SetEncrypted(bool value)
const Aws::String & GetProgress() const
ImportImageResponse & AddLicenseSpecifications(LicenseSpecificationsT &&value)
ImportImageResponse & WithImportTaskId(ImportTaskIdT &&value)
void SetProgress(ProgressT &&value)
const Aws::String & GetUsageOperation() const
const Aws::String & GetPlatform() const
const Aws::String & GetLicenseType() const
void SetTags(TagsT &&value)
ImportImageResponse & WithStatus(StatusT &&value)
const Aws::Vector< ImportImageLicenseConfigurationResponse > & GetLicenseSpecifications() const
const Aws::Vector< SnapshotDetail > & GetSnapshotDetails() const
ImportImageResponse & WithResponseMetadata(ResponseMetadataT &&value)
void SetImportTaskId(ImportTaskIdT &&value)
const Aws::String & GetDescription() const
ImportImageResponse & AddTags(TagsT &&value)
ImportImageResponse & WithSnapshotDetails(SnapshotDetailsT &&value)
const ResponseMetadata & GetResponseMetadata() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument