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>
61 inline void SetImageLocation(
const char* value) { m_imageLocationHasBeenSet =
true; m_imageLocation.assign(value); }
137 inline void SetUefiData(
const char* value) { m_uefiDataHasBeenSet =
true; m_uefiData.assign(value); }
191 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
205 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
219 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
247 inline void SetKernelId(
const char* value) { m_kernelIdHasBeenSet =
true; m_kernelId.assign(value); }
261 inline void SetRamdiskId(
const char* value) { m_ramdiskIdHasBeenSet =
true; m_ramdiskId.assign(value); }
276 inline void SetRootDeviceName(
const char* value) { m_rootDeviceNameHasBeenSet =
true; m_rootDeviceName.assign(value); }
312 inline void SetVirtualizationType(
const char* value) { m_virtualizationTypeHasBeenSet =
true; m_virtualizationType.assign(value); }
330 inline void SetSriovNetSupport(
const char* value) { m_sriovNetSupportHasBeenSet =
true; m_sriovNetSupport.assign(value); }
345 inline void SetEnaSupport(
bool value) { m_enaSupportHasBeenSet =
true; m_enaSupport = value; }
351 bool m_imageLocationHasBeenSet =
false;
354 bool m_billingProductsHasBeenSet =
false;
357 bool m_bootModeHasBeenSet =
false;
360 bool m_tpmSupportHasBeenSet =
false;
363 bool m_uefiDataHasBeenSet =
false;
366 bool m_imdsSupportHasBeenSet =
false;
369 bool m_tagSpecificationsHasBeenSet =
false;
372 bool m_dryRunHasBeenSet =
false;
375 bool m_nameHasBeenSet =
false;
378 bool m_descriptionHasBeenSet =
false;
381 bool m_architectureHasBeenSet =
false;
384 bool m_kernelIdHasBeenSet =
false;
387 bool m_ramdiskIdHasBeenSet =
false;
390 bool m_rootDeviceNameHasBeenSet =
false;
393 bool m_blockDeviceMappingsHasBeenSet =
false;
396 bool m_virtualizationTypeHasBeenSet =
false;
399 bool m_sriovNetSupportHasBeenSet =
false;
402 bool m_enaSupportHasBeenSet =
false;
void SetSriovNetSupport(const char *value)
RegisterImageRequest & AddBillingProducts(Aws::String &&value)
RegisterImageRequest & WithBootMode(const BootModeValues &value)
void SetSriovNetSupport(const Aws::String &value)
RegisterImageRequest & WithDescription(const Aws::String &value)
void SetRootDeviceName(const Aws::String &value)
RegisterImageRequest & WithImageLocation(Aws::String &&value)
bool ArchitectureHasBeenSet() const
RegisterImageRequest & WithRootDeviceName(const Aws::String &value)
void SetImageLocation(Aws::String &&value)
void SetVirtualizationType(const char *value)
void SetImageLocation(const char *value)
void SetDescription(const Aws::String &value)
RegisterImageRequest & WithKernelId(const Aws::String &value)
RegisterImageRequest & WithName(Aws::String &&value)
bool DryRunHasBeenSet() const
const Aws::Vector< Aws::String > & GetBillingProducts() const
RegisterImageRequest & WithBootMode(BootModeValues &&value)
const TpmSupportValues & GetTpmSupport() const
void SetRootDeviceName(Aws::String &&value)
RegisterImageRequest & WithRootDeviceName(const char *value)
bool BlockDeviceMappingsHasBeenSet() const
RegisterImageRequest & WithSriovNetSupport(const Aws::String &value)
RegisterImageRequest & WithSriovNetSupport(Aws::String &&value)
void SetRamdiskId(Aws::String &&value)
RegisterImageRequest & WithImageLocation(const char *value)
RegisterImageRequest & WithDryRun(bool value)
RegisterImageRequest & AddBillingProducts(const char *value)
bool EnaSupportHasBeenSet() const
RegisterImageRequest & WithKernelId(const char *value)
RegisterImageRequest & AddBillingProducts(const Aws::String &value)
const Aws::Vector< BlockDeviceMapping > & GetBlockDeviceMappings() const
const Aws::String & GetSriovNetSupport() const
RegisterImageRequest & WithSriovNetSupport(const char *value)
bool BillingProductsHasBeenSet() const
RegisterImageRequest & WithBillingProducts(const Aws::Vector< Aws::String > &value)
void SetUefiData(Aws::String &&value)
RegisterImageRequest & WithImageLocation(const Aws::String &value)
void SetImdsSupport(ImdsSupportValues &&value)
void SetBlockDeviceMappings(Aws::Vector< BlockDeviceMapping > &&value)
bool SriovNetSupportHasBeenSet() const
RegisterImageRequest & AddTagSpecifications(TagSpecification &&value)
void SetSriovNetSupport(Aws::String &&value)
AWS_EC2_API RegisterImageRequest()
bool UefiDataHasBeenSet() const
bool RootDeviceNameHasBeenSet() const
const Aws::String & GetKernelId() const
RegisterImageRequest & WithArchitecture(ArchitectureValues &&value)
void SetRamdiskId(const char *value)
bool NameHasBeenSet() const
void SetRootDeviceName(const char *value)
RegisterImageRequest & WithRamdiskId(Aws::String &&value)
bool KernelIdHasBeenSet() const
RegisterImageRequest & WithRamdiskId(const char *value)
void SetTagSpecifications(Aws::Vector< TagSpecification > &&value)
void SetKernelId(Aws::String &&value)
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
RegisterImageRequest & WithBillingProducts(Aws::Vector< Aws::String > &&value)
void SetBlockDeviceMappings(const Aws::Vector< BlockDeviceMapping > &value)
RegisterImageRequest & WithTagSpecifications(Aws::Vector< TagSpecification > &&value)
RegisterImageRequest & WithName(const Aws::String &value)
RegisterImageRequest & WithImdsSupport(const ImdsSupportValues &value)
const Aws::String & GetName() const
bool TpmSupportHasBeenSet() const
const Aws::String & GetRootDeviceName() const
void SetVirtualizationType(Aws::String &&value)
bool TagSpecificationsHasBeenSet() const
void SetEnaSupport(bool value)
RegisterImageRequest & WithDescription(const char *value)
RegisterImageRequest & WithVirtualizationType(const Aws::String &value)
void SetDescription(Aws::String &&value)
RegisterImageRequest & WithTagSpecifications(const Aws::Vector< TagSpecification > &value)
RegisterImageRequest & WithImdsSupport(ImdsSupportValues &&value)
RegisterImageRequest & WithBlockDeviceMappings(const Aws::Vector< BlockDeviceMapping > &value)
void SetDryRun(bool value)
const Aws::String & GetRamdiskId() const
void SetTpmSupport(const TpmSupportValues &value)
RegisterImageRequest & WithRamdiskId(const Aws::String &value)
const Aws::String & GetVirtualizationType() const
RegisterImageRequest & WithKernelId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
RegisterImageRequest & WithUefiData(const Aws::String &value)
bool BootModeHasBeenSet() const
RegisterImageRequest & WithVirtualizationType(const char *value)
void SetName(const Aws::String &value)
RegisterImageRequest & AddBlockDeviceMappings(BlockDeviceMapping &&value)
void SetBillingProducts(Aws::Vector< Aws::String > &&value)
void SetBootMode(BootModeValues &&value)
void SetRamdiskId(const Aws::String &value)
bool ImageLocationHasBeenSet() const
void SetTagSpecifications(const Aws::Vector< TagSpecification > &value)
RegisterImageRequest & WithDescription(Aws::String &&value)
bool ImdsSupportHasBeenSet() const
void SetArchitecture(ArchitectureValues &&value)
RegisterImageRequest & WithBlockDeviceMappings(Aws::Vector< BlockDeviceMapping > &&value)
RegisterImageRequest & WithName(const char *value)
const Aws::String & GetUefiData() const
RegisterImageRequest & WithUefiData(Aws::String &&value)
void SetName(const char *value)
bool GetEnaSupport() const
void SetTpmSupport(TpmSupportValues &&value)
RegisterImageRequest & AddBlockDeviceMappings(const BlockDeviceMapping &value)
RegisterImageRequest & WithTpmSupport(TpmSupportValues &&value)
void SetDescription(const char *value)
void SetImageLocation(const Aws::String &value)
void SetImdsSupport(const ImdsSupportValues &value)
bool RamdiskIdHasBeenSet() const
const BootModeValues & GetBootMode() const
RegisterImageRequest & WithTpmSupport(const TpmSupportValues &value)
RegisterImageRequest & AddTagSpecifications(const TagSpecification &value)
RegisterImageRequest & WithVirtualizationType(Aws::String &&value)
void SetArchitecture(const ArchitectureValues &value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetUefiData(const Aws::String &value)
const ImdsSupportValues & GetImdsSupport() const
RegisterImageRequest & WithUefiData(const char *value)
void SetUefiData(const char *value)
void SetBootMode(const BootModeValues &value)
void SetVirtualizationType(const Aws::String &value)
void SetName(Aws::String &&value)
RegisterImageRequest & WithRootDeviceName(Aws::String &&value)
bool DescriptionHasBeenSet() const
RegisterImageRequest & WithArchitecture(const ArchitectureValues &value)
void SetBillingProducts(const Aws::Vector< Aws::String > &value)
const Aws::String & GetImageLocation() const
const Aws::String & GetDescription() const
void SetKernelId(const Aws::String &value)
bool VirtualizationTypeHasBeenSet() const
void SetKernelId(const char *value)
const ArchitectureValues & GetArchitecture() 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