7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ec2/EC2Request.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/ArchitectureValues.h>
12#include <aws/ec2/model/BlockDeviceMapping.h>
13#include <aws/ec2/model/BootModeValues.h>
14#include <aws/ec2/model/ImdsSupportValues.h>
15#include <aws/ec2/model/TagSpecification.h>
16#include <aws/ec2/model/TpmSupportValues.h>
55 template <
typename ImageLocationT = Aws::String>
57 m_imageLocationHasBeenSet =
true;
58 m_imageLocation = std::forward<ImageLocationT>(value);
60 template <
typename ImageLocationT = Aws::String>
82 template <
typename BillingProductsT = Aws::Vector<Aws::String>>
84 m_billingProductsHasBeenSet =
true;
85 m_billingProducts = std::forward<BillingProductsT>(value);
87 template <
typename BillingProductsT = Aws::Vector<Aws::String>>
92 template <
typename BillingProductsT = Aws::String>
94 m_billingProductsHasBeenSet =
true;
95 m_billingProducts.emplace_back(std::forward<BillingProductsT>(value));
113 m_bootModeHasBeenSet =
true;
132 m_tpmSupportHasBeenSet =
true;
133 m_tpmSupport = value;
155 template <
typename UefiDataT = Aws::String>
157 m_uefiDataHasBeenSet =
true;
158 m_uefiData = std::forward<UefiDataT>(value);
160 template <
typename UefiDataT = Aws::String>
183 m_imdsSupportHasBeenSet =
true;
184 m_imdsSupport = value;
202 template <
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
204 m_tagSpecificationsHasBeenSet =
true;
205 m_tagSpecifications = std::forward<TagSpecificationsT>(value);
207 template <
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
212 template <
typename TagSpecificationsT = TagSpecification>
214 m_tagSpecificationsHasBeenSet =
true;
215 m_tagSpecifications.emplace_back(std::forward<TagSpecificationsT>(value));
230 m_dryRunHasBeenSet =
true;
247 template <
typename NameT = Aws::String>
249 m_nameHasBeenSet =
true;
250 m_name = std::forward<NameT>(value);
252 template <
typename NameT = Aws::String>
254 SetName(std::forward<NameT>(value));
265 template <
typename DescriptionT = Aws::String>
267 m_descriptionHasBeenSet =
true;
268 m_description = std::forward<DescriptionT>(value);
270 template <
typename DescriptionT = Aws::String>
286 m_architectureHasBeenSet =
true;
287 m_architecture = value;
301 template <
typename KernelIdT = Aws::String>
303 m_kernelIdHasBeenSet =
true;
304 m_kernelId = std::forward<KernelIdT>(value);
306 template <
typename KernelIdT = Aws::String>
319 template <
typename RamdiskIdT = Aws::String>
321 m_ramdiskIdHasBeenSet =
true;
322 m_ramdiskId = std::forward<RamdiskIdT>(value);
324 template <
typename RamdiskIdT = Aws::String>
338 template <
typename RootDeviceNameT = Aws::String>
340 m_rootDeviceNameHasBeenSet =
true;
341 m_rootDeviceName = std::forward<RootDeviceNameT>(value);
343 template <
typename RootDeviceNameT = Aws::String>
363 template <
typename BlockDeviceMappingsT = Aws::Vector<BlockDeviceMapping>>
365 m_blockDeviceMappingsHasBeenSet =
true;
366 m_blockDeviceMappings = std::forward<BlockDeviceMappingsT>(value);
368 template <
typename BlockDeviceMappingsT = Aws::Vector<BlockDeviceMapping>>
373 template <
typename BlockDeviceMappingsT = BlockDeviceMapping>
375 m_blockDeviceMappingsHasBeenSet =
true;
376 m_blockDeviceMappings.emplace_back(std::forward<BlockDeviceMappingsT>(value));
388 template <
typename VirtualizationTypeT = Aws::String>
390 m_virtualizationTypeHasBeenSet =
true;
391 m_virtualizationType = std::forward<VirtualizationTypeT>(value);
393 template <
typename VirtualizationTypeT = Aws::String>
410 template <
typename SriovNetSupportT = Aws::String>
412 m_sriovNetSupportHasBeenSet =
true;
413 m_sriovNetSupport = std::forward<SriovNetSupportT>(value);
415 template <
typename SriovNetSupportT = Aws::String>
432 m_enaSupportHasBeenSet =
true;
433 m_enaSupport = value;
455 bool m_dryRun{
false};
475 bool m_enaSupport{
false};
476 bool m_imageLocationHasBeenSet =
false;
477 bool m_billingProductsHasBeenSet =
false;
478 bool m_bootModeHasBeenSet =
false;
479 bool m_tpmSupportHasBeenSet =
false;
480 bool m_uefiDataHasBeenSet =
false;
481 bool m_imdsSupportHasBeenSet =
false;
482 bool m_tagSpecificationsHasBeenSet =
false;
483 bool m_dryRunHasBeenSet =
false;
484 bool m_nameHasBeenSet =
false;
485 bool m_descriptionHasBeenSet =
false;
486 bool m_architectureHasBeenSet =
false;
487 bool m_kernelIdHasBeenSet =
false;
488 bool m_ramdiskIdHasBeenSet =
false;
489 bool m_rootDeviceNameHasBeenSet =
false;
490 bool m_blockDeviceMappingsHasBeenSet =
false;
491 bool m_virtualizationTypeHasBeenSet =
false;
492 bool m_sriovNetSupportHasBeenSet =
false;
493 bool m_enaSupportHasBeenSet =
false;
void SetRamdiskId(RamdiskIdT &&value)
void SetBillingProducts(BillingProductsT &&value)
bool ArchitectureHasBeenSet() const
bool DryRunHasBeenSet() const
const Aws::Vector< Aws::String > & GetBillingProducts() const
RegisterImageRequest & AddBillingProducts(BillingProductsT &&value)
void SetDescription(DescriptionT &&value)
bool BlockDeviceMappingsHasBeenSet() const
RegisterImageRequest & WithSriovNetSupport(SriovNetSupportT &&value)
void SetBootMode(BootModeValues value)
void SetVirtualizationType(VirtualizationTypeT &&value)
RegisterImageRequest & WithDryRun(bool value)
bool EnaSupportHasBeenSet() const
const Aws::Vector< BlockDeviceMapping > & GetBlockDeviceMappings() const
ArchitectureValues GetArchitecture() const
const Aws::String & GetSriovNetSupport() const
bool BillingProductsHasBeenSet() const
void SetUefiData(UefiDataT &&value)
void SetBlockDeviceMappings(BlockDeviceMappingsT &&value)
RegisterImageRequest & WithBillingProducts(BillingProductsT &&value)
bool SriovNetSupportHasBeenSet() const
bool UefiDataHasBeenSet() const
bool RootDeviceNameHasBeenSet() const
RegisterImageRequest & WithRootDeviceName(RootDeviceNameT &&value)
const Aws::String & GetKernelId() const
bool NameHasBeenSet() const
RegisterImageRequest & AddTagSpecifications(TagSpecificationsT &&value)
bool KernelIdHasBeenSet() const
RegisterImageRequest & WithName(NameT &&value)
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
void SetRootDeviceName(RootDeviceNameT &&value)
RegisterImageRequest & WithTpmSupport(TpmSupportValues value)
const Aws::String & GetName() const
bool TpmSupportHasBeenSet() const
const Aws::String & GetRootDeviceName() const
BootModeValues GetBootMode() const
bool TagSpecificationsHasBeenSet() const
RegisterImageRequest & WithRamdiskId(RamdiskIdT &&value)
void SetEnaSupport(bool value)
RegisterImageRequest & WithVirtualizationType(VirtualizationTypeT &&value)
void SetDryRun(bool value)
const Aws::String & GetRamdiskId() const
void SetName(NameT &&value)
RegisterImageRequest & WithBootMode(BootModeValues value)
const Aws::String & GetVirtualizationType() const
RegisterImageRequest & WithTagSpecifications(TagSpecificationsT &&value)
TpmSupportValues GetTpmSupport() const
void SetImageLocation(ImageLocationT &&value)
RegisterImageRequest & WithKernelId(KernelIdT &&value)
virtual const char * GetServiceRequestName() const override
bool BootModeHasBeenSet() const
void SetSriovNetSupport(SriovNetSupportT &&value)
RegisterImageRequest & WithImageLocation(ImageLocationT &&value)
void SetKernelId(KernelIdT &&value)
void SetArchitecture(ArchitectureValues value)
void SetTpmSupport(TpmSupportValues value)
RegisterImageRequest & WithArchitecture(ArchitectureValues value)
void SetImdsSupport(ImdsSupportValues value)
bool ImageLocationHasBeenSet() const
bool ImdsSupportHasBeenSet() const
ImdsSupportValues GetImdsSupport() const
AWS_EC2_API RegisterImageRequest()=default
const Aws::String & GetUefiData() const
RegisterImageRequest & WithImdsSupport(ImdsSupportValues value)
bool GetEnaSupport() const
void SetTagSpecifications(TagSpecificationsT &&value)
RegisterImageRequest & WithBlockDeviceMappings(BlockDeviceMappingsT &&value)
RegisterImageRequest & AddBlockDeviceMappings(BlockDeviceMappingsT &&value)
bool RamdiskIdHasBeenSet() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
RegisterImageRequest & WithUefiData(UefiDataT &&value)
RegisterImageRequest & WithDescription(DescriptionT &&value)
bool DescriptionHasBeenSet() const
const Aws::String & GetImageLocation() const
const Aws::String & GetDescription() const
bool VirtualizationTypeHasBeenSet() const
AWS_EC2_API Aws::String SerializePayload() const override
RegisterImageRequest & WithEnaSupport(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector