7#include <aws/core/utils/memory/stl/AWSStreamFwd.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/BootModeValues.h>
12#include <aws/ec2/model/ImportImageLicenseConfigurationResponse.h>
13#include <aws/ec2/model/SnapshotDetail.h>
14#include <aws/ec2/model/Tag.h>
48 template <
typename ArchitectureT = Aws::String>
50 m_architectureHasBeenSet =
true;
51 m_architecture = std::forward<ArchitectureT>(value);
53 template <
typename ArchitectureT = Aws::String>
66 template <
typename DescriptionT = Aws::String>
68 m_descriptionHasBeenSet =
true;
69 m_description = std::forward<DescriptionT>(value);
71 template <
typename DescriptionT = Aws::String>
85 m_encryptedHasBeenSet =
true;
101 template <
typename HypervisorT = Aws::String>
103 m_hypervisorHasBeenSet =
true;
104 m_hypervisor = std::forward<HypervisorT>(value);
106 template <
typename HypervisorT = Aws::String>
119 template <
typename ImageIdT = Aws::String>
121 m_imageIdHasBeenSet =
true;
122 m_imageId = std::forward<ImageIdT>(value);
124 template <
typename ImageIdT = Aws::String>
137 template <
typename ImportTaskIdT = Aws::String>
139 m_importTaskIdHasBeenSet =
true;
140 m_importTaskId = std::forward<ImportTaskIdT>(value);
142 template <
typename ImportTaskIdT = Aws::String>
156 template <
typename KmsKeyIdT = Aws::String>
158 m_kmsKeyIdHasBeenSet =
true;
159 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
161 template <
typename KmsKeyIdT = Aws::String>
174 template <
typename LicenseTypeT = Aws::String>
176 m_licenseTypeHasBeenSet =
true;
177 m_licenseType = std::forward<LicenseTypeT>(value);
179 template <
typename LicenseTypeT = Aws::String>
192 template <
typename PlatformT = Aws::String>
194 m_platformHasBeenSet =
true;
195 m_platform = std::forward<PlatformT>(value);
197 template <
typename PlatformT = Aws::String>
210 template <
typename ProgressT = Aws::String>
212 m_progressHasBeenSet =
true;
213 m_progress = std::forward<ProgressT>(value);
215 template <
typename ProgressT = Aws::String>
228 template <
typename SnapshotDetailsT = Aws::Vector<SnapshotDetail>>
230 m_snapshotDetailsHasBeenSet =
true;
231 m_snapshotDetails = std::forward<SnapshotDetailsT>(value);
233 template <
typename SnapshotDetailsT = Aws::Vector<SnapshotDetail>>
238 template <
typename SnapshotDetailsT = SnapshotDetail>
240 m_snapshotDetailsHasBeenSet =
true;
241 m_snapshotDetails.emplace_back(std::forward<SnapshotDetailsT>(value));
252 template <
typename StatusT = Aws::String>
254 m_statusHasBeenSet =
true;
255 m_status = std::forward<StatusT>(value);
257 template <
typename StatusT = Aws::String>
270 template <
typename StatusMessageT = Aws::String>
272 m_statusMessageHasBeenSet =
true;
273 m_statusMessage = std::forward<StatusMessageT>(value);
275 template <
typename StatusMessageT = Aws::String>
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));
313 template <
typename LicenseSpecificationsT = Aws::Vector<ImportImageLicenseConfigurationResponse>>
315 m_licenseSpecificationsHasBeenSet =
true;
316 m_licenseSpecifications = std::forward<LicenseSpecificationsT>(value);
318 template <
typename LicenseSpecificationsT = Aws::Vector<ImportImageLicenseConfigurationResponse>>
323 template <
typename LicenseSpecificationsT = ImportImageLicenseConfigurationResponse>
325 m_licenseSpecificationsHasBeenSet =
true;
326 m_licenseSpecifications.emplace_back(std::forward<LicenseSpecificationsT>(value));
337 template <
typename UsageOperationT = Aws::String>
339 m_usageOperationHasBeenSet =
true;
340 m_usageOperation = std::forward<UsageOperationT>(value);
342 template <
typename UsageOperationT = Aws::String>
356 m_bootModeHasBeenSet =
true;
369 bool m_encrypted{
false};
398 bool m_architectureHasBeenSet =
false;
399 bool m_descriptionHasBeenSet =
false;
400 bool m_encryptedHasBeenSet =
false;
401 bool m_hypervisorHasBeenSet =
false;
402 bool m_imageIdHasBeenSet =
false;
403 bool m_importTaskIdHasBeenSet =
false;
404 bool m_kmsKeyIdHasBeenSet =
false;
405 bool m_licenseTypeHasBeenSet =
false;
406 bool m_platformHasBeenSet =
false;
407 bool m_progressHasBeenSet =
false;
408 bool m_snapshotDetailsHasBeenSet =
false;
409 bool m_statusHasBeenSet =
false;
410 bool m_statusMessageHasBeenSet =
false;
411 bool m_tagsHasBeenSet =
false;
412 bool m_licenseSpecificationsHasBeenSet =
false;
413 bool m_usageOperationHasBeenSet =
false;
414 bool m_bootModeHasBeenSet =
false;
void SetLicenseType(LicenseTypeT &&value)
void SetProgress(ProgressT &&value)
const Aws::Vector< Tag > & GetTags() const
bool KmsKeyIdHasBeenSet() const
ImportImageTask & WithImportTaskId(ImportTaskIdT &&value)
ImportImageTask & WithBootMode(BootModeValues value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool SnapshotDetailsHasBeenSet() const
ImportImageTask & WithKmsKeyId(KmsKeyIdT &&value)
bool LicenseTypeHasBeenSet() const
bool UsageOperationHasBeenSet() const
ImportImageTask & WithDescription(DescriptionT &&value)
const Aws::Vector< SnapshotDetail > & GetSnapshotDetails() const
bool GetEncrypted() const
ImportImageTask & WithStatus(StatusT &&value)
const Aws::String & GetHypervisor() const
ImportImageTask & WithLicenseSpecifications(LicenseSpecificationsT &&value)
ImportImageTask & WithProgress(ProgressT &&value)
const Aws::String & GetImageId() const
void SetImageId(ImageIdT &&value)
bool TagsHasBeenSet() const
AWS_EC2_API ImportImageTask()=default
ImportImageTask & WithArchitecture(ArchitectureT &&value)
bool ImportTaskIdHasBeenSet() const
ImportImageTask & AddLicenseSpecifications(LicenseSpecificationsT &&value)
BootModeValues GetBootMode() const
bool ArchitectureHasBeenSet() const
const Aws::String & GetProgress() const
bool BootModeHasBeenSet() const
bool LicenseSpecificationsHasBeenSet() const
ImportImageTask & AddTags(TagsT &&value)
AWS_EC2_API ImportImageTask(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetHypervisor(HypervisorT &&value)
void SetImportTaskId(ImportTaskIdT &&value)
void SetTags(TagsT &&value)
bool PlatformHasBeenSet() const
const Aws::String & GetStatusMessage() const
bool StatusHasBeenSet() const
void SetPlatform(PlatformT &&value)
ImportImageTask & AddSnapshotDetails(SnapshotDetailsT &&value)
bool DescriptionHasBeenSet() const
void SetStatus(StatusT &&value)
const Aws::String & GetStatus() const
bool EncryptedHasBeenSet() const
ImportImageTask & WithSnapshotDetails(SnapshotDetailsT &&value)
const Aws::String & GetLicenseType() const
void SetUsageOperation(UsageOperationT &&value)
const Aws::String & GetImportTaskId() const
void SetBootMode(BootModeValues value)
void SetLicenseSpecifications(LicenseSpecificationsT &&value)
AWS_EC2_API ImportImageTask & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetPlatform() const
bool HypervisorHasBeenSet() const
ImportImageTask & WithEncrypted(bool value)
bool ImageIdHasBeenSet() const
ImportImageTask & WithImageId(ImageIdT &&value)
void SetSnapshotDetails(SnapshotDetailsT &&value)
ImportImageTask & WithPlatform(PlatformT &&value)
bool StatusMessageHasBeenSet() const
void SetArchitecture(ArchitectureT &&value)
void SetKmsKeyId(KmsKeyIdT &&value)
const Aws::String & GetDescription() const
ImportImageTask & WithUsageOperation(UsageOperationT &&value)
const Aws::String & GetArchitecture() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ImportImageTask & WithTags(TagsT &&value)
ImportImageTask & WithHypervisor(HypervisorT &&value)
void SetStatusMessage(StatusMessageT &&value)
const Aws::String & GetUsageOperation() const
ImportImageTask & WithLicenseType(LicenseTypeT &&value)
const Aws::String & GetKmsKeyId() const
void SetDescription(DescriptionT &&value)
void SetEncrypted(bool value)
bool ProgressHasBeenSet() const
const Aws::Vector< ImportImageLicenseConfigurationResponse > & GetLicenseSpecifications() const
ImportImageTask & WithStatusMessage(StatusMessageT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream