7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/ImportImageLicenseConfigurationResponse.h>
12#include <aws/ec2/model/ResponseMetadata.h>
13#include <aws/ec2/model/SnapshotDetail.h>
14#include <aws/ec2/model/Tag.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
40 template <
typename ArchitectureT = Aws::String>
42 m_architectureHasBeenSet =
true;
43 m_architecture = std::forward<ArchitectureT>(value);
45 template <
typename ArchitectureT = Aws::String>
57 template <
typename DescriptionT = Aws::String>
59 m_descriptionHasBeenSet =
true;
60 m_description = std::forward<DescriptionT>(value);
62 template <
typename DescriptionT = Aws::String>
75 m_encryptedHasBeenSet =
true;
89 template <
typename HypervisorT = Aws::String>
91 m_hypervisorHasBeenSet =
true;
92 m_hypervisor = std::forward<HypervisorT>(value);
94 template <
typename HypervisorT = Aws::String>
106 template <
typename ImageIdT = Aws::String>
108 m_imageIdHasBeenSet =
true;
109 m_imageId = std::forward<ImageIdT>(value);
111 template <
typename ImageIdT = Aws::String>
123 template <
typename ImportTaskIdT = Aws::String>
125 m_importTaskIdHasBeenSet =
true;
126 m_importTaskId = std::forward<ImportTaskIdT>(value);
128 template <
typename ImportTaskIdT = Aws::String>
141 template <
typename KmsKeyIdT = Aws::String>
143 m_kmsKeyIdHasBeenSet =
true;
144 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
146 template <
typename KmsKeyIdT = Aws::String>
158 template <
typename LicenseTypeT = Aws::String>
160 m_licenseTypeHasBeenSet =
true;
161 m_licenseType = std::forward<LicenseTypeT>(value);
163 template <
typename LicenseTypeT = Aws::String>
175 template <
typename PlatformT = Aws::String>
177 m_platformHasBeenSet =
true;
178 m_platform = std::forward<PlatformT>(value);
180 template <
typename PlatformT = Aws::String>
192 template <
typename ProgressT = Aws::String>
194 m_progressHasBeenSet =
true;
195 m_progress = std::forward<ProgressT>(value);
197 template <
typename ProgressT = Aws::String>
209 template <
typename SnapshotDetailsT = Aws::Vector<SnapshotDetail>>
211 m_snapshotDetailsHasBeenSet =
true;
212 m_snapshotDetails = std::forward<SnapshotDetailsT>(value);
214 template <
typename SnapshotDetailsT = Aws::Vector<SnapshotDetail>>
219 template <
typename SnapshotDetailsT = SnapshotDetail>
221 m_snapshotDetailsHasBeenSet =
true;
222 m_snapshotDetails.emplace_back(std::forward<SnapshotDetailsT>(value));
232 template <
typename StatusT = Aws::String>
234 m_statusHasBeenSet =
true;
235 m_status = std::forward<StatusT>(value);
237 template <
typename StatusT = Aws::String>
249 template <
typename StatusMessageT = Aws::String>
251 m_statusMessageHasBeenSet =
true;
252 m_statusMessage = std::forward<StatusMessageT>(value);
254 template <
typename StatusMessageT = Aws::String>
266 template <
typename LicenseSpecificationsT = Aws::Vector<ImportImageLicenseConfigurationResponse>>
268 m_licenseSpecificationsHasBeenSet =
true;
269 m_licenseSpecifications = std::forward<LicenseSpecificationsT>(value);
271 template <
typename LicenseSpecificationsT = Aws::Vector<ImportImageLicenseConfigurationResponse>>
276 template <
typename LicenseSpecificationsT = ImportImageLicenseConfigurationResponse>
278 m_licenseSpecificationsHasBeenSet =
true;
279 m_licenseSpecifications.emplace_back(std::forward<LicenseSpecificationsT>(value));
289 template <
typename TagsT = Aws::Vector<Tag>>
291 m_tagsHasBeenSet =
true;
292 m_tags = std::forward<TagsT>(value);
294 template <
typename TagsT = Aws::Vector<Tag>>
296 SetTags(std::forward<TagsT>(value));
299 template <
typename TagsT = Tag>
301 m_tagsHasBeenSet =
true;
302 m_tags.emplace_back(std::forward<TagsT>(value));
312 template <
typename UsageOperationT = Aws::String>
314 m_usageOperationHasBeenSet =
true;
315 m_usageOperation = std::forward<UsageOperationT>(value);
317 template <
typename UsageOperationT = Aws::String>
327 template <
typename ResponseMetadataT = ResponseMetadata>
329 m_responseMetadataHasBeenSet =
true;
330 m_responseMetadata = std::forward<ResponseMetadataT>(value);
332 template <
typename ResponseMetadataT = ResponseMetadata>
345 bool m_encrypted{
false};
373 ResponseMetadata m_responseMetadata;
375 bool m_architectureHasBeenSet =
false;
376 bool m_descriptionHasBeenSet =
false;
377 bool m_encryptedHasBeenSet =
false;
378 bool m_hypervisorHasBeenSet =
false;
379 bool m_imageIdHasBeenSet =
false;
380 bool m_importTaskIdHasBeenSet =
false;
381 bool m_kmsKeyIdHasBeenSet =
false;
382 bool m_licenseTypeHasBeenSet =
false;
383 bool m_platformHasBeenSet =
false;
384 bool m_progressHasBeenSet =
false;
385 bool m_snapshotDetailsHasBeenSet =
false;
386 bool m_statusHasBeenSet =
false;
387 bool m_statusMessageHasBeenSet =
false;
388 bool m_licenseSpecificationsHasBeenSet =
false;
389 bool m_tagsHasBeenSet =
false;
390 bool m_usageOperationHasBeenSet =
false;
391 bool m_responseMetadataHasBeenSet =
false;
ImportImageResponse & WithLicenseType(LicenseTypeT &&value)
ImportImageResponse & WithHypervisor(HypervisorT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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