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/BootModeValues.h>
12#include <aws/ec2/model/TpmSupportValues.h>
13#include <aws/ec2/model/ImdsSupportValues.h>
14#include <aws/ec2/model/ArchitectureValues.h>
15#include <aws/ec2/model/TagSpecification.h>
16#include <aws/ec2/model/BlockDeviceMapping.h>
59 template<
typename ImageLocationT = Aws::String>
60 void SetImageLocation(ImageLocationT&& value) { m_imageLocationHasBeenSet =
true; m_imageLocation = std::forward<ImageLocationT>(value); }
61 template<
typename ImageLocationT = Aws::String>
80 template<
typename BillingProductsT = Aws::Vector<Aws::String>>
81 void SetBillingProducts(BillingProductsT&& value) { m_billingProductsHasBeenSet =
true; m_billingProducts = std::forward<BillingProductsT>(value); }
82 template<
typename BillingProductsT = Aws::Vector<Aws::String>>
84 template<
typename BillingProductsT = Aws::String>
131 template<
typename UefiDataT = Aws::String>
132 void SetUefiData(UefiDataT&& value) { m_uefiDataHasBeenSet =
true; m_uefiData = std::forward<UefiDataT>(value); }
133 template<
typename UefiDataT = Aws::String>
166 template<
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
167 void SetTagSpecifications(TagSpecificationsT&& value) { m_tagSpecificationsHasBeenSet =
true; m_tagSpecifications = std::forward<TagSpecificationsT>(value); }
168 template<
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
170 template<
typename TagSpecificationsT = TagSpecification>
183 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
195 template<
typename NameT = Aws::String>
196 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
197 template<
typename NameT = Aws::String>
207 template<
typename DescriptionT = Aws::String>
208 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
209 template<
typename DescriptionT = Aws::String>
231 template<
typename KernelIdT = Aws::String>
232 void SetKernelId(KernelIdT&& value) { m_kernelIdHasBeenSet =
true; m_kernelId = std::forward<KernelIdT>(value); }
233 template<
typename KernelIdT = Aws::String>
243 template<
typename RamdiskIdT = Aws::String>
244 void SetRamdiskId(RamdiskIdT&& value) { m_ramdiskIdHasBeenSet =
true; m_ramdiskId = std::forward<RamdiskIdT>(value); }
245 template<
typename RamdiskIdT = Aws::String>
256 template<
typename RootDeviceNameT = Aws::String>
257 void SetRootDeviceName(RootDeviceNameT&& value) { m_rootDeviceNameHasBeenSet =
true; m_rootDeviceName = std::forward<RootDeviceNameT>(value); }
258 template<
typename RootDeviceNameT = Aws::String>
275 template<
typename BlockDeviceMappingsT = Aws::Vector<BlockDeviceMapping>>
276 void SetBlockDeviceMappings(BlockDeviceMappingsT&& value) { m_blockDeviceMappingsHasBeenSet =
true; m_blockDeviceMappings = std::forward<BlockDeviceMappingsT>(value); }
277 template<
typename BlockDeviceMappingsT = Aws::Vector<BlockDeviceMapping>>
279 template<
typename BlockDeviceMappingsT = BlockDeviceMapping>
290 template<
typename VirtualizationTypeT = Aws::String>
291 void SetVirtualizationType(VirtualizationTypeT&& value) { m_virtualizationTypeHasBeenSet =
true; m_virtualizationType = std::forward<VirtualizationTypeT>(value); }
292 template<
typename VirtualizationTypeT = Aws::String>
306 template<
typename SriovNetSupportT = Aws::String>
307 void SetSriovNetSupport(SriovNetSupportT&& value) { m_sriovNetSupportHasBeenSet =
true; m_sriovNetSupport = std::forward<SriovNetSupportT>(value); }
308 template<
typename SriovNetSupportT = Aws::String>
321 inline void SetEnaSupport(
bool value) { m_enaSupportHasBeenSet =
true; m_enaSupport = value; }
327 bool m_imageLocationHasBeenSet =
false;
330 bool m_billingProductsHasBeenSet =
false;
333 bool m_bootModeHasBeenSet =
false;
336 bool m_tpmSupportHasBeenSet =
false;
339 bool m_uefiDataHasBeenSet =
false;
342 bool m_imdsSupportHasBeenSet =
false;
345 bool m_tagSpecificationsHasBeenSet =
false;
347 bool m_dryRun{
false};
348 bool m_dryRunHasBeenSet =
false;
351 bool m_nameHasBeenSet =
false;
354 bool m_descriptionHasBeenSet =
false;
357 bool m_architectureHasBeenSet =
false;
360 bool m_kernelIdHasBeenSet =
false;
363 bool m_ramdiskIdHasBeenSet =
false;
366 bool m_rootDeviceNameHasBeenSet =
false;
369 bool m_blockDeviceMappingsHasBeenSet =
false;
372 bool m_virtualizationTypeHasBeenSet =
false;
375 bool m_sriovNetSupportHasBeenSet =
false;
377 bool m_enaSupport{
false};
378 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