7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/ec2/model/InstanceType.h>
12#include <aws/ec2/model/RunInstancesMonitoringEnabled.h>
13#include <aws/ec2/model/Placement.h>
14#include <aws/ec2/model/LaunchTemplateSpecification.h>
15#include <aws/ec2/model/InstanceMarketOptionsRequest.h>
16#include <aws/ec2/model/CreditSpecificationRequest.h>
17#include <aws/ec2/model/CpuOptionsRequest.h>
18#include <aws/ec2/model/CapacityReservationSpecification.h>
19#include <aws/ec2/model/HibernationOptionsRequest.h>
20#include <aws/ec2/model/InstanceMetadataOptionsRequest.h>
21#include <aws/ec2/model/EnclaveOptionsRequest.h>
22#include <aws/ec2/model/PrivateDnsNameOptionsRequest.h>
23#include <aws/ec2/model/InstanceMaintenanceOptionsRequest.h>
24#include <aws/ec2/model/InstanceNetworkPerformanceOptionsRequest.h>
25#include <aws/ec2/model/OperatorRequest.h>
26#include <aws/ec2/model/ShutdownBehavior.h>
27#include <aws/ec2/model/IamInstanceProfileSpecification.h>
28#include <aws/ec2/model/BlockDeviceMapping.h>
29#include <aws/ec2/model/InstanceIpv6Address.h>
30#include <aws/ec2/model/TagSpecification.h>
31#include <aws/ec2/model/LicenseConfigurationRequest.h>
32#include <aws/ec2/model/InstanceNetworkInterfaceSpecification.h>
34#include <aws/core/utils/UUID.h>
72 template<
typename BlockDeviceMappingsT = Aws::Vector<BlockDeviceMapping>>
73 void SetBlockDeviceMappings(BlockDeviceMappingsT&& value) { m_blockDeviceMappingsHasBeenSet =
true; m_blockDeviceMappings = std::forward<BlockDeviceMappingsT>(value); }
74 template<
typename BlockDeviceMappingsT = Aws::Vector<BlockDeviceMapping>>
76 template<
typename BlockDeviceMappingsT = BlockDeviceMapping>
87 template<
typename ImageIdT = Aws::String>
88 void SetImageId(ImageIdT&& value) { m_imageIdHasBeenSet =
true; m_imageId = std::forward<ImageIdT>(value); }
89 template<
typename ImageIdT = Aws::String>
116 inline void SetIpv6AddressCount(
int value) { m_ipv6AddressCountHasBeenSet =
true; m_ipv6AddressCount = value; }
130 template<
typename Ipv6AddressesT = Aws::Vector<InstanceIpv6Address>>
131 void SetIpv6Addresses(Ipv6AddressesT&& value) { m_ipv6AddressesHasBeenSet =
true; m_ipv6Addresses = std::forward<Ipv6AddressesT>(value); }
132 template<
typename Ipv6AddressesT = Aws::Vector<InstanceIpv6Address>>
134 template<
typename Ipv6AddressesT = InstanceIpv6Address>
147 template<
typename KernelIdT = Aws::String>
148 void SetKernelId(KernelIdT&& value) { m_kernelIdHasBeenSet =
true; m_kernelId = std::forward<KernelIdT>(value); }
149 template<
typename KernelIdT = Aws::String>
163 template<
typename KeyNameT = Aws::String>
164 void SetKeyName(KeyNameT&& value) { m_keyNameHasBeenSet =
true; m_keyName = std::forward<KeyNameT>(value); }
165 template<
typename KeyNameT = Aws::String>
181 inline void SetMaxCount(
int value) { m_maxCountHasBeenSet =
true; m_maxCount = value; }
197 inline void SetMinCount(
int value) { m_minCountHasBeenSet =
true; m_minCount = value; }
207 template<
typename MonitoringT = RunInstancesMonitoringEnabled>
208 void SetMonitoring(MonitoringT&& value) { m_monitoringHasBeenSet =
true; m_monitoring = std::forward<MonitoringT>(value); }
209 template<
typename MonitoringT = RunInstancesMonitoringEnabled>
219 template<
typename PlacementT = Placement>
220 void SetPlacement(PlacementT&& value) { m_placementHasBeenSet =
true; m_placement = std::forward<PlacementT>(value); }
221 template<
typename PlacementT = Placement>
238 template<
typename RamdiskIdT = Aws::String>
239 void SetRamdiskId(RamdiskIdT&& value) { m_ramdiskIdHasBeenSet =
true; m_ramdiskId = std::forward<RamdiskIdT>(value); }
240 template<
typename RamdiskIdT = Aws::String>
252 template<
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
253 void SetSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet =
true; m_securityGroupIds = std::forward<SecurityGroupIdsT>(value); }
254 template<
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
256 template<
typename SecurityGroupIdsT = Aws::String>
269 template<
typename SecurityGroupsT = Aws::Vector<Aws::String>>
270 void SetSecurityGroups(SecurityGroupsT&& value) { m_securityGroupsHasBeenSet =
true; m_securityGroups = std::forward<SecurityGroupsT>(value); }
271 template<
typename SecurityGroupsT = Aws::Vector<Aws::String>>
273 template<
typename SecurityGroupsT = Aws::String>
285 template<
typename SubnetIdT = Aws::String>
286 void SetSubnetId(SubnetIdT&& value) { m_subnetIdHasBeenSet =
true; m_subnetId = std::forward<SubnetIdT>(value); }
287 template<
typename SubnetIdT = Aws::String>
301 template<
typename UserDataT = Aws::String>
302 void SetUserData(UserDataT&& value) { m_userDataHasBeenSet =
true; m_userData = std::forward<UserDataT>(value); }
303 template<
typename UserDataT = Aws::String>
318 template<
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
319 void SetTagSpecifications(TagSpecificationsT&& value) { m_tagSpecificationsHasBeenSet =
true; m_tagSpecifications = std::forward<TagSpecificationsT>(value); }
320 template<
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
322 template<
typename TagSpecificationsT = TagSpecification>
334 template<
typename LaunchTemplateT = LaunchTemplateSpecification>
335 void SetLaunchTemplate(LaunchTemplateT&& value) { m_launchTemplateHasBeenSet =
true; m_launchTemplate = std::forward<LaunchTemplateT>(value); }
336 template<
typename LaunchTemplateT = LaunchTemplateSpecification>
349 template<
typename InstanceMarketOptionsT = InstanceMarketOptionsRequest>
350 void SetInstanceMarketOptions(InstanceMarketOptionsT&& value) { m_instanceMarketOptionsHasBeenSet =
true; m_instanceMarketOptions = std::forward<InstanceMarketOptionsT>(value); }
351 template<
typename InstanceMarketOptionsT = InstanceMarketOptionsRequest>
370 template<
typename CreditSpecificationT = CreditSpecificationRequest>
371 void SetCreditSpecification(CreditSpecificationT&& value) { m_creditSpecificationHasBeenSet =
true; m_creditSpecification = std::forward<CreditSpecificationT>(value); }
372 template<
typename CreditSpecificationT = CreditSpecificationRequest>
384 template<
typename CpuOptionsT = CpuOptionsRequest>
385 void SetCpuOptions(CpuOptionsT&& value) { m_cpuOptionsHasBeenSet =
true; m_cpuOptions = std::forward<CpuOptionsT>(value); }
386 template<
typename CpuOptionsT = CpuOptionsRequest>
400 template<
typename CapacityReservationSpecificationT = CapacityReservationSpecification>
401 void SetCapacityReservationSpecification(CapacityReservationSpecificationT&& value) { m_capacityReservationSpecificationHasBeenSet =
true; m_capacityReservationSpecification = std::forward<CapacityReservationSpecificationT>(value); }
402 template<
typename CapacityReservationSpecificationT = CapacityReservationSpecification>
419 template<
typename HibernationOptionsT = HibernationOptionsRequest>
420 void SetHibernationOptions(HibernationOptionsT&& value) { m_hibernationOptionsHasBeenSet =
true; m_hibernationOptions = std::forward<HibernationOptionsT>(value); }
421 template<
typename HibernationOptionsT = HibernationOptionsRequest>
431 template<
typename LicenseSpecificationsT = Aws::Vector<LicenseConfigurationRequest>>
432 void SetLicenseSpecifications(LicenseSpecificationsT&& value) { m_licenseSpecificationsHasBeenSet =
true; m_licenseSpecifications = std::forward<LicenseSpecificationsT>(value); }
433 template<
typename LicenseSpecificationsT = Aws::Vector<LicenseConfigurationRequest>>
435 template<
typename LicenseSpecificationsT = LicenseConfigurationRequest>
447 template<
typename MetadataOptionsT = InstanceMetadataOptionsRequest>
448 void SetMetadataOptions(MetadataOptionsT&& value) { m_metadataOptionsHasBeenSet =
true; m_metadataOptions = std::forward<MetadataOptionsT>(value); }
449 template<
typename MetadataOptionsT = InstanceMetadataOptionsRequest>
463 template<
typename EnclaveOptionsT = EnclaveOptionsRequest>
464 void SetEnclaveOptions(EnclaveOptionsT&& value) { m_enclaveOptionsHasBeenSet =
true; m_enclaveOptions = std::forward<EnclaveOptionsT>(value); }
465 template<
typename EnclaveOptionsT = EnclaveOptionsRequest>
477 template<
typename PrivateDnsNameOptionsT = PrivateDnsNameOptionsRequest>
478 void SetPrivateDnsNameOptions(PrivateDnsNameOptionsT&& value) { m_privateDnsNameOptionsHasBeenSet =
true; m_privateDnsNameOptions = std::forward<PrivateDnsNameOptionsT>(value); }
479 template<
typename PrivateDnsNameOptionsT = PrivateDnsNameOptionsRequest>
489 template<
typename Ma
intenanceOptionsT = InstanceMa
intenanceOptionsRequest>
490 void SetMaintenanceOptions(MaintenanceOptionsT&& value) { m_maintenanceOptionsHasBeenSet =
true; m_maintenanceOptions = std::forward<MaintenanceOptionsT>(value); }
491 template<
typename Ma
intenanceOptionsT = InstanceMa
intenanceOptionsRequest>
504 inline void SetDisableApiStop(
bool value) { m_disableApiStopHasBeenSet =
true; m_disableApiStop = value; }
526 inline void SetEnablePrimaryIpv6(
bool value) { m_enablePrimaryIpv6HasBeenSet =
true; m_enablePrimaryIpv6 = value; }
536 template<
typename NetworkPerformanceOptionsT = InstanceNetworkPerformanceOptionsRequest>
537 void SetNetworkPerformanceOptions(NetworkPerformanceOptionsT&& value) { m_networkPerformanceOptionsHasBeenSet =
true; m_networkPerformanceOptions = std::forward<NetworkPerformanceOptionsT>(value); }
538 template<
typename NetworkPerformanceOptionsT = InstanceNetworkPerformanceOptionsRequest>
548 template<
typename OperatorT = OperatorRequest>
549 void SetOperator(OperatorT&& value) { m_operatorHasBeenSet =
true; m_operator = std::forward<OperatorT>(value); }
550 template<
typename OperatorT = OperatorRequest>
563 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
605 template<
typename PrivateIpAddressT = Aws::String>
606 void SetPrivateIpAddress(PrivateIpAddressT&& value) { m_privateIpAddressHasBeenSet =
true; m_privateIpAddress = std::forward<PrivateIpAddressT>(value); }
607 template<
typename PrivateIpAddressT = Aws::String>
622 template<
typename ClientTokenT = Aws::String>
623 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet =
true; m_clientToken = std::forward<ClientTokenT>(value); }
624 template<
typename ClientTokenT = Aws::String>
634 template<
typename AdditionalInfoT = Aws::String>
635 void SetAdditionalInfo(AdditionalInfoT&& value) { m_additionalInfoHasBeenSet =
true; m_additionalInfo = std::forward<AdditionalInfoT>(value); }
636 template<
typename AdditionalInfoT = Aws::String>
646 template<
typename NetworkInterfacesT = Aws::Vector<InstanceNetworkInterfaceSpecification>>
647 void SetNetworkInterfaces(NetworkInterfacesT&& value) { m_networkInterfacesHasBeenSet =
true; m_networkInterfaces = std::forward<NetworkInterfacesT>(value); }
648 template<
typename NetworkInterfacesT = Aws::Vector<InstanceNetworkInterfaceSpecification>>
650 template<
typename NetworkInterfacesT = InstanceNetworkInterfaceSpecification>
660 template<
typename IamInstanceProfileT = IamInstanceProfileSpecification>
661 void SetIamInstanceProfile(IamInstanceProfileT&& value) { m_iamInstanceProfileHasBeenSet =
true; m_iamInstanceProfile = std::forward<IamInstanceProfileT>(value); }
662 template<
typename IamInstanceProfileT = IamInstanceProfileSpecification>
677 inline void SetEbsOptimized(
bool value) { m_ebsOptimizedHasBeenSet =
true; m_ebsOptimized = value; }
683 bool m_blockDeviceMappingsHasBeenSet =
false;
686 bool m_imageIdHasBeenSet =
false;
689 bool m_instanceTypeHasBeenSet =
false;
691 int m_ipv6AddressCount{0};
692 bool m_ipv6AddressCountHasBeenSet =
false;
695 bool m_ipv6AddressesHasBeenSet =
false;
698 bool m_kernelIdHasBeenSet =
false;
701 bool m_keyNameHasBeenSet =
false;
704 bool m_maxCountHasBeenSet =
false;
707 bool m_minCountHasBeenSet =
false;
709 RunInstancesMonitoringEnabled m_monitoring;
710 bool m_monitoringHasBeenSet =
false;
712 Placement m_placement;
713 bool m_placementHasBeenSet =
false;
716 bool m_ramdiskIdHasBeenSet =
false;
719 bool m_securityGroupIdsHasBeenSet =
false;
722 bool m_securityGroupsHasBeenSet =
false;
725 bool m_subnetIdHasBeenSet =
false;
728 bool m_userDataHasBeenSet =
false;
731 bool m_tagSpecificationsHasBeenSet =
false;
733 LaunchTemplateSpecification m_launchTemplate;
734 bool m_launchTemplateHasBeenSet =
false;
736 InstanceMarketOptionsRequest m_instanceMarketOptions;
737 bool m_instanceMarketOptionsHasBeenSet =
false;
739 CreditSpecificationRequest m_creditSpecification;
740 bool m_creditSpecificationHasBeenSet =
false;
742 CpuOptionsRequest m_cpuOptions;
743 bool m_cpuOptionsHasBeenSet =
false;
745 CapacityReservationSpecification m_capacityReservationSpecification;
746 bool m_capacityReservationSpecificationHasBeenSet =
false;
748 HibernationOptionsRequest m_hibernationOptions;
749 bool m_hibernationOptionsHasBeenSet =
false;
752 bool m_licenseSpecificationsHasBeenSet =
false;
754 InstanceMetadataOptionsRequest m_metadataOptions;
755 bool m_metadataOptionsHasBeenSet =
false;
757 EnclaveOptionsRequest m_enclaveOptions;
758 bool m_enclaveOptionsHasBeenSet =
false;
760 PrivateDnsNameOptionsRequest m_privateDnsNameOptions;
761 bool m_privateDnsNameOptionsHasBeenSet =
false;
763 InstanceMaintenanceOptionsRequest m_maintenanceOptions;
764 bool m_maintenanceOptionsHasBeenSet =
false;
766 bool m_disableApiStop{
false};
767 bool m_disableApiStopHasBeenSet =
false;
769 bool m_enablePrimaryIpv6{
false};
770 bool m_enablePrimaryIpv6HasBeenSet =
false;
772 InstanceNetworkPerformanceOptionsRequest m_networkPerformanceOptions;
773 bool m_networkPerformanceOptionsHasBeenSet =
false;
775 OperatorRequest m_operator;
776 bool m_operatorHasBeenSet =
false;
778 bool m_dryRun{
false};
779 bool m_dryRunHasBeenSet =
false;
781 bool m_disableApiTermination{
false};
782 bool m_disableApiTerminationHasBeenSet =
false;
785 bool m_instanceInitiatedShutdownBehaviorHasBeenSet =
false;
788 bool m_privateIpAddressHasBeenSet =
false;
791 bool m_clientTokenHasBeenSet =
true;
794 bool m_additionalInfoHasBeenSet =
false;
797 bool m_networkInterfacesHasBeenSet =
false;
799 IamInstanceProfileSpecification m_iamInstanceProfile;
800 bool m_iamInstanceProfileHasBeenSet =
false;
802 bool m_ebsOptimized{
false};
803 bool m_ebsOptimizedHasBeenSet =
false;
const Aws::Vector< LicenseConfigurationRequest > & GetLicenseSpecifications() const
const Aws::String & GetKeyName() const
RunInstancesRequest & WithInstanceType(InstanceType value)
RunInstancesRequest & WithAdditionalInfo(AdditionalInfoT &&value)
bool GetDisableApiStop() const
RunInstancesRequest & WithRamdiskId(RamdiskIdT &&value)
RunInstancesRequest & WithPrivateIpAddress(PrivateIpAddressT &&value)
bool DisableApiTerminationHasBeenSet() const
void SetClientToken(ClientTokenT &&value)
const PrivateDnsNameOptionsRequest & GetPrivateDnsNameOptions() const
bool NetworkPerformanceOptionsHasBeenSet() const
bool MaxCountHasBeenSet() const
bool SecurityGroupsHasBeenSet() const
bool OperatorHasBeenSet() const
RunInstancesRequest & WithImageId(ImageIdT &&value)
RunInstancesRequest & WithPrivateDnsNameOptions(PrivateDnsNameOptionsT &&value)
const CreditSpecificationRequest & GetCreditSpecification() const
const Aws::Vector< InstanceIpv6Address > & GetIpv6Addresses() const
const InstanceMaintenanceOptionsRequest & GetMaintenanceOptions() const
bool EbsOptimizedHasBeenSet() const
bool MonitoringHasBeenSet() const
RunInstancesRequest & WithMinCount(int value)
bool DryRunHasBeenSet() const
RunInstancesRequest & WithDryRun(bool value)
RunInstancesRequest & WithMaintenanceOptions(MaintenanceOptionsT &&value)
const IamInstanceProfileSpecification & GetIamInstanceProfile() const
bool MaintenanceOptionsHasBeenSet() const
void SetIpv6AddressCount(int value)
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
bool AdditionalInfoHasBeenSet() const
void SetCapacityReservationSpecification(CapacityReservationSpecificationT &&value)
void SetSecurityGroups(SecurityGroupsT &&value)
bool CreditSpecificationHasBeenSet() const
void SetDryRun(bool value)
void SetHibernationOptions(HibernationOptionsT &&value)
const OperatorRequest & GetOperator() const
RunInstancesRequest & WithMonitoring(MonitoringT &&value)
bool PlacementHasBeenSet() const
RunInstancesRequest & AddSecurityGroupIds(SecurityGroupIdsT &&value)
const Aws::Vector< Aws::String > & GetSecurityGroups() const
RunInstancesRequest & WithCreditSpecification(CreditSpecificationT &&value)
bool GetEnablePrimaryIpv6() const
void SetLicenseSpecifications(LicenseSpecificationsT &&value)
const RunInstancesMonitoringEnabled & GetMonitoring() const
bool UserDataHasBeenSet() const
bool LaunchTemplateHasBeenSet() const
bool RamdiskIdHasBeenSet() const
int GetIpv6AddressCount() const
void SetDisableApiStop(bool value)
RunInstancesRequest & WithNetworkInterfaces(NetworkInterfacesT &&value)
void SetOperator(OperatorT &&value)
void SetCreditSpecification(CreditSpecificationT &&value)
bool BlockDeviceMappingsHasBeenSet() const
RunInstancesRequest & AddBlockDeviceMappings(BlockDeviceMappingsT &&value)
void SetPrivateIpAddress(PrivateIpAddressT &&value)
void SetInstanceInitiatedShutdownBehavior(ShutdownBehavior value)
RunInstancesRequest & WithSecurityGroups(SecurityGroupsT &&value)
RunInstancesRequest & WithCpuOptions(CpuOptionsT &&value)
void SetEnclaveOptions(EnclaveOptionsT &&value)
RunInstancesRequest & WithUserData(UserDataT &&value)
RunInstancesRequest & WithEbsOptimized(bool value)
bool LicenseSpecificationsHasBeenSet() const
bool GetEbsOptimized() const
bool TagSpecificationsHasBeenSet() const
AWS_EC2_API RunInstancesRequest()=default
const InstanceMetadataOptionsRequest & GetMetadataOptions() const
void SetUserData(UserDataT &&value)
bool IamInstanceProfileHasBeenSet() const
void SetCpuOptions(CpuOptionsT &&value)
const Aws::String & GetClientToken() const
const Aws::String & GetUserData() const
void SetSubnetId(SubnetIdT &&value)
void SetEnablePrimaryIpv6(bool value)
RunInstancesRequest & WithMetadataOptions(MetadataOptionsT &&value)
virtual const char * GetServiceRequestName() const override
bool HibernationOptionsHasBeenSet() const
const Aws::String & GetPrivateIpAddress() const
void SetIamInstanceProfile(IamInstanceProfileT &&value)
void SetMaxCount(int value)
bool InstanceInitiatedShutdownBehaviorHasBeenSet() const
bool InstanceMarketOptionsHasBeenSet() const
bool SubnetIdHasBeenSet() const
RunInstancesRequest & WithLicenseSpecifications(LicenseSpecificationsT &&value)
RunInstancesRequest & WithDisableApiStop(bool value)
void SetLaunchTemplate(LaunchTemplateT &&value)
const CpuOptionsRequest & GetCpuOptions() const
RunInstancesRequest & WithIpv6AddressCount(int value)
void SetSecurityGroupIds(SecurityGroupIdsT &&value)
bool CpuOptionsHasBeenSet() const
RunInstancesRequest & WithCapacityReservationSpecification(CapacityReservationSpecificationT &&value)
const Aws::String & GetAdditionalInfo() const
const CapacityReservationSpecification & GetCapacityReservationSpecification() const
void SetBlockDeviceMappings(BlockDeviceMappingsT &&value)
RunInstancesRequest & WithLaunchTemplate(LaunchTemplateT &&value)
RunInstancesRequest & WithSecurityGroupIds(SecurityGroupIdsT &&value)
RunInstancesRequest & WithSubnetId(SubnetIdT &&value)
void SetNetworkPerformanceOptions(NetworkPerformanceOptionsT &&value)
RunInstancesRequest & WithEnclaveOptions(EnclaveOptionsT &&value)
void SetDisableApiTermination(bool value)
RunInstancesRequest & WithInstanceMarketOptions(InstanceMarketOptionsT &&value)
bool InstanceTypeHasBeenSet() const
RunInstancesRequest & WithKeyName(KeyNameT &&value)
bool PrivateDnsNameOptionsHasBeenSet() const
RunInstancesRequest & AddIpv6Addresses(Ipv6AddressesT &&value)
void SetKeyName(KeyNameT &&value)
RunInstancesRequest & AddLicenseSpecifications(LicenseSpecificationsT &&value)
void SetTagSpecifications(TagSpecificationsT &&value)
void SetMinCount(int value)
RunInstancesRequest & WithOperator(OperatorT &&value)
RunInstancesRequest & AddSecurityGroups(SecurityGroupsT &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
RunInstancesRequest & WithPlacement(PlacementT &&value)
RunInstancesRequest & AddTagSpecifications(TagSpecificationsT &&value)
void SetMaintenanceOptions(MaintenanceOptionsT &&value)
bool EnclaveOptionsHasBeenSet() const
const Aws::String & GetImageId() const
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
bool KeyNameHasBeenSet() const
bool DisableApiStopHasBeenSet() const
bool NetworkInterfacesHasBeenSet() const
RunInstancesRequest & WithDisableApiTermination(bool value)
RunInstancesRequest & WithBlockDeviceMappings(BlockDeviceMappingsT &&value)
bool MetadataOptionsHasBeenSet() const
InstanceType GetInstanceType() const
bool ClientTokenHasBeenSet() const
bool SecurityGroupIdsHasBeenSet() const
bool GetDisableApiTermination() const
const InstanceNetworkPerformanceOptionsRequest & GetNetworkPerformanceOptions() const
const Aws::Vector< BlockDeviceMapping > & GetBlockDeviceMappings() const
RunInstancesRequest & WithHibernationOptions(HibernationOptionsT &&value)
ShutdownBehavior GetInstanceInitiatedShutdownBehavior() const
const InstanceMarketOptionsRequest & GetInstanceMarketOptions() const
RunInstancesRequest & WithIamInstanceProfile(IamInstanceProfileT &&value)
const Aws::String & GetRamdiskId() const
RunInstancesRequest & WithKernelId(KernelIdT &&value)
const EnclaveOptionsRequest & GetEnclaveOptions() const
bool EnablePrimaryIpv6HasBeenSet() const
bool MinCountHasBeenSet() const
void SetMetadataOptions(MetadataOptionsT &&value)
const Aws::String & GetKernelId() const
void SetRamdiskId(RamdiskIdT &&value)
void SetAdditionalInfo(AdditionalInfoT &&value)
RunInstancesRequest & AddNetworkInterfaces(NetworkInterfacesT &&value)
RunInstancesRequest & WithEnablePrimaryIpv6(bool value)
void SetMonitoring(MonitoringT &&value)
bool ImageIdHasBeenSet() const
const LaunchTemplateSpecification & GetLaunchTemplate() const
bool PrivateIpAddressHasBeenSet() const
const Placement & GetPlacement() const
const Aws::String & GetSubnetId() const
void SetNetworkInterfaces(NetworkInterfacesT &&value)
void SetKernelId(KernelIdT &&value)
bool Ipv6AddressCountHasBeenSet() const
bool KernelIdHasBeenSet() const
RunInstancesRequest & WithIpv6Addresses(Ipv6AddressesT &&value)
void SetImageId(ImageIdT &&value)
const Aws::Vector< InstanceNetworkInterfaceSpecification > & GetNetworkInterfaces() const
bool Ipv6AddressesHasBeenSet() const
RunInstancesRequest & WithInstanceInitiatedShutdownBehavior(ShutdownBehavior value)
void SetEbsOptimized(bool value)
void SetInstanceMarketOptions(InstanceMarketOptionsT &&value)
void SetInstanceType(InstanceType value)
void SetPrivateDnsNameOptions(PrivateDnsNameOptionsT &&value)
void SetIpv6Addresses(Ipv6AddressesT &&value)
AWS_EC2_API Aws::String SerializePayload() const override
void SetPlacement(PlacementT &&value)
RunInstancesRequest & WithTagSpecifications(TagSpecificationsT &&value)
bool CapacityReservationSpecificationHasBeenSet() const
RunInstancesRequest & WithClientToken(ClientTokenT &&value)
RunInstancesRequest & WithMaxCount(int value)
RunInstancesRequest & WithNetworkPerformanceOptions(NetworkPerformanceOptionsT &&value)
const HibernationOptionsRequest & GetHibernationOptions() const
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector