AWS SDK for C++  1.9.19
AWS SDK for C++
RunInstancesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
8 #include <aws/ec2/EC2Request.h>
31 #include <utility>
32 #include <aws/core/utils/UUID.h>
33 
34 namespace Aws
35 {
36 namespace EC2
37 {
38 namespace Model
39 {
40 
44  {
45  public:
47 
48  // Service request name is the Operation name which will send this request out,
49  // each operation should has unique request name, so that we can get operation's name from this request.
50  // Note: this is not true for response, multiple operations may have the same response name,
51  // so we can not get operation's name from response.
52  inline virtual const char* GetServiceRequestName() const override { return "RunInstances"; }
53 
54  Aws::String SerializePayload() const override;
55 
56  protected:
57  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
58 
59  public:
60 
64  inline const Aws::Vector<BlockDeviceMapping>& GetBlockDeviceMappings() const{ return m_blockDeviceMappings; }
65 
69  inline bool BlockDeviceMappingsHasBeenSet() const { return m_blockDeviceMappingsHasBeenSet; }
70 
74  inline void SetBlockDeviceMappings(const Aws::Vector<BlockDeviceMapping>& value) { m_blockDeviceMappingsHasBeenSet = true; m_blockDeviceMappings = value; }
75 
79  inline void SetBlockDeviceMappings(Aws::Vector<BlockDeviceMapping>&& value) { m_blockDeviceMappingsHasBeenSet = true; m_blockDeviceMappings = std::move(value); }
80 
84  inline RunInstancesRequest& WithBlockDeviceMappings(const Aws::Vector<BlockDeviceMapping>& value) { SetBlockDeviceMappings(value); return *this;}
85 
89  inline RunInstancesRequest& WithBlockDeviceMappings(Aws::Vector<BlockDeviceMapping>&& value) { SetBlockDeviceMappings(std::move(value)); return *this;}
90 
94  inline RunInstancesRequest& AddBlockDeviceMappings(const BlockDeviceMapping& value) { m_blockDeviceMappingsHasBeenSet = true; m_blockDeviceMappings.push_back(value); return *this; }
95 
99  inline RunInstancesRequest& AddBlockDeviceMappings(BlockDeviceMapping&& value) { m_blockDeviceMappingsHasBeenSet = true; m_blockDeviceMappings.push_back(std::move(value)); return *this; }
100 
101 
106  inline const Aws::String& GetImageId() const{ return m_imageId; }
107 
112  inline bool ImageIdHasBeenSet() const { return m_imageIdHasBeenSet; }
113 
118  inline void SetImageId(const Aws::String& value) { m_imageIdHasBeenSet = true; m_imageId = value; }
119 
124  inline void SetImageId(Aws::String&& value) { m_imageIdHasBeenSet = true; m_imageId = std::move(value); }
125 
130  inline void SetImageId(const char* value) { m_imageIdHasBeenSet = true; m_imageId.assign(value); }
131 
136  inline RunInstancesRequest& WithImageId(const Aws::String& value) { SetImageId(value); return *this;}
137 
142  inline RunInstancesRequest& WithImageId(Aws::String&& value) { SetImageId(std::move(value)); return *this;}
143 
148  inline RunInstancesRequest& WithImageId(const char* value) { SetImageId(value); return *this;}
149 
150 
157  inline const InstanceType& GetInstanceType() const{ return m_instanceType; }
158 
165  inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
166 
173  inline void SetInstanceType(const InstanceType& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; }
174 
181  inline void SetInstanceType(InstanceType&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); }
182 
189  inline RunInstancesRequest& WithInstanceType(const InstanceType& value) { SetInstanceType(value); return *this;}
190 
197  inline RunInstancesRequest& WithInstanceType(InstanceType&& value) { SetInstanceType(std::move(value)); return *this;}
198 
199 
208  inline int GetIpv6AddressCount() const{ return m_ipv6AddressCount; }
209 
218  inline bool Ipv6AddressCountHasBeenSet() const { return m_ipv6AddressCountHasBeenSet; }
219 
228  inline void SetIpv6AddressCount(int value) { m_ipv6AddressCountHasBeenSet = true; m_ipv6AddressCount = value; }
229 
238  inline RunInstancesRequest& WithIpv6AddressCount(int value) { SetIpv6AddressCount(value); return *this;}
239 
240 
249  inline const Aws::Vector<InstanceIpv6Address>& GetIpv6Addresses() const{ return m_ipv6Addresses; }
250 
259  inline bool Ipv6AddressesHasBeenSet() const { return m_ipv6AddressesHasBeenSet; }
260 
269  inline void SetIpv6Addresses(const Aws::Vector<InstanceIpv6Address>& value) { m_ipv6AddressesHasBeenSet = true; m_ipv6Addresses = value; }
270 
279  inline void SetIpv6Addresses(Aws::Vector<InstanceIpv6Address>&& value) { m_ipv6AddressesHasBeenSet = true; m_ipv6Addresses = std::move(value); }
280 
289  inline RunInstancesRequest& WithIpv6Addresses(const Aws::Vector<InstanceIpv6Address>& value) { SetIpv6Addresses(value); return *this;}
290 
299  inline RunInstancesRequest& WithIpv6Addresses(Aws::Vector<InstanceIpv6Address>&& value) { SetIpv6Addresses(std::move(value)); return *this;}
300 
309  inline RunInstancesRequest& AddIpv6Addresses(const InstanceIpv6Address& value) { m_ipv6AddressesHasBeenSet = true; m_ipv6Addresses.push_back(value); return *this; }
310 
319  inline RunInstancesRequest& AddIpv6Addresses(InstanceIpv6Address&& value) { m_ipv6AddressesHasBeenSet = true; m_ipv6Addresses.push_back(std::move(value)); return *this; }
320 
321 
328  inline const Aws::String& GetKernelId() const{ return m_kernelId; }
329 
336  inline bool KernelIdHasBeenSet() const { return m_kernelIdHasBeenSet; }
337 
344  inline void SetKernelId(const Aws::String& value) { m_kernelIdHasBeenSet = true; m_kernelId = value; }
345 
352  inline void SetKernelId(Aws::String&& value) { m_kernelIdHasBeenSet = true; m_kernelId = std::move(value); }
353 
360  inline void SetKernelId(const char* value) { m_kernelIdHasBeenSet = true; m_kernelId.assign(value); }
361 
368  inline RunInstancesRequest& WithKernelId(const Aws::String& value) { SetKernelId(value); return *this;}
369 
376  inline RunInstancesRequest& WithKernelId(Aws::String&& value) { SetKernelId(std::move(value)); return *this;}
377 
384  inline RunInstancesRequest& WithKernelId(const char* value) { SetKernelId(value); return *this;}
385 
386 
396  inline const Aws::String& GetKeyName() const{ return m_keyName; }
397 
407  inline bool KeyNameHasBeenSet() const { return m_keyNameHasBeenSet; }
408 
418  inline void SetKeyName(const Aws::String& value) { m_keyNameHasBeenSet = true; m_keyName = value; }
419 
429  inline void SetKeyName(Aws::String&& value) { m_keyNameHasBeenSet = true; m_keyName = std::move(value); }
430 
440  inline void SetKeyName(const char* value) { m_keyNameHasBeenSet = true; m_keyName.assign(value); }
441 
451  inline RunInstancesRequest& WithKeyName(const Aws::String& value) { SetKeyName(value); return *this;}
452 
462  inline RunInstancesRequest& WithKeyName(Aws::String&& value) { SetKeyName(std::move(value)); return *this;}
463 
473  inline RunInstancesRequest& WithKeyName(const char* value) { SetKeyName(value); return *this;}
474 
475 
486  inline int GetMaxCount() const{ return m_maxCount; }
487 
498  inline bool MaxCountHasBeenSet() const { return m_maxCountHasBeenSet; }
499 
510  inline void SetMaxCount(int value) { m_maxCountHasBeenSet = true; m_maxCount = value; }
511 
522  inline RunInstancesRequest& WithMaxCount(int value) { SetMaxCount(value); return *this;}
523 
524 
534  inline int GetMinCount() const{ return m_minCount; }
535 
545  inline bool MinCountHasBeenSet() const { return m_minCountHasBeenSet; }
546 
556  inline void SetMinCount(int value) { m_minCountHasBeenSet = true; m_minCount = value; }
557 
567  inline RunInstancesRequest& WithMinCount(int value) { SetMinCount(value); return *this;}
568 
569 
573  inline const RunInstancesMonitoringEnabled& GetMonitoring() const{ return m_monitoring; }
574 
578  inline bool MonitoringHasBeenSet() const { return m_monitoringHasBeenSet; }
579 
583  inline void SetMonitoring(const RunInstancesMonitoringEnabled& value) { m_monitoringHasBeenSet = true; m_monitoring = value; }
584 
588  inline void SetMonitoring(RunInstancesMonitoringEnabled&& value) { m_monitoringHasBeenSet = true; m_monitoring = std::move(value); }
589 
593  inline RunInstancesRequest& WithMonitoring(const RunInstancesMonitoringEnabled& value) { SetMonitoring(value); return *this;}
594 
598  inline RunInstancesRequest& WithMonitoring(RunInstancesMonitoringEnabled&& value) { SetMonitoring(std::move(value)); return *this;}
599 
600 
604  inline const Placement& GetPlacement() const{ return m_placement; }
605 
609  inline bool PlacementHasBeenSet() const { return m_placementHasBeenSet; }
610 
614  inline void SetPlacement(const Placement& value) { m_placementHasBeenSet = true; m_placement = value; }
615 
619  inline void SetPlacement(Placement&& value) { m_placementHasBeenSet = true; m_placement = std::move(value); }
620 
624  inline RunInstancesRequest& WithPlacement(const Placement& value) { SetPlacement(value); return *this;}
625 
629  inline RunInstancesRequest& WithPlacement(Placement&& value) { SetPlacement(std::move(value)); return *this;}
630 
631 
641  inline const Aws::String& GetRamdiskId() const{ return m_ramdiskId; }
642 
652  inline bool RamdiskIdHasBeenSet() const { return m_ramdiskIdHasBeenSet; }
653 
663  inline void SetRamdiskId(const Aws::String& value) { m_ramdiskIdHasBeenSet = true; m_ramdiskId = value; }
664 
674  inline void SetRamdiskId(Aws::String&& value) { m_ramdiskIdHasBeenSet = true; m_ramdiskId = std::move(value); }
675 
685  inline void SetRamdiskId(const char* value) { m_ramdiskIdHasBeenSet = true; m_ramdiskId.assign(value); }
686 
696  inline RunInstancesRequest& WithRamdiskId(const Aws::String& value) { SetRamdiskId(value); return *this;}
697 
707  inline RunInstancesRequest& WithRamdiskId(Aws::String&& value) { SetRamdiskId(std::move(value)); return *this;}
708 
718  inline RunInstancesRequest& WithRamdiskId(const char* value) { SetRamdiskId(value); return *this;}
719 
720 
727  inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
728 
735  inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
736 
743  inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; }
744 
751  inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); }
752 
759  inline RunInstancesRequest& WithSecurityGroupIds(const Aws::Vector<Aws::String>& value) { SetSecurityGroupIds(value); return *this;}
760 
767  inline RunInstancesRequest& WithSecurityGroupIds(Aws::Vector<Aws::String>&& value) { SetSecurityGroupIds(std::move(value)); return *this;}
768 
775  inline RunInstancesRequest& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
776 
783  inline RunInstancesRequest& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; }
784 
791  inline RunInstancesRequest& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
792 
793 
800  inline const Aws::Vector<Aws::String>& GetSecurityGroups() const{ return m_securityGroups; }
801 
808  inline bool SecurityGroupsHasBeenSet() const { return m_securityGroupsHasBeenSet; }
809 
816  inline void SetSecurityGroups(const Aws::Vector<Aws::String>& value) { m_securityGroupsHasBeenSet = true; m_securityGroups = value; }
817 
824  inline void SetSecurityGroups(Aws::Vector<Aws::String>&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups = std::move(value); }
825 
832  inline RunInstancesRequest& WithSecurityGroups(const Aws::Vector<Aws::String>& value) { SetSecurityGroups(value); return *this;}
833 
840  inline RunInstancesRequest& WithSecurityGroups(Aws::Vector<Aws::String>&& value) { SetSecurityGroups(std::move(value)); return *this;}
841 
848  inline RunInstancesRequest& AddSecurityGroups(const Aws::String& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(value); return *this; }
849 
856  inline RunInstancesRequest& AddSecurityGroups(Aws::String&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(std::move(value)); return *this; }
857 
864  inline RunInstancesRequest& AddSecurityGroups(const char* value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(value); return *this; }
865 
866 
872  inline const Aws::String& GetSubnetId() const{ return m_subnetId; }
873 
879  inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; }
880 
886  inline void SetSubnetId(const Aws::String& value) { m_subnetIdHasBeenSet = true; m_subnetId = value; }
887 
893  inline void SetSubnetId(Aws::String&& value) { m_subnetIdHasBeenSet = true; m_subnetId = std::move(value); }
894 
900  inline void SetSubnetId(const char* value) { m_subnetIdHasBeenSet = true; m_subnetId.assign(value); }
901 
907  inline RunInstancesRequest& WithSubnetId(const Aws::String& value) { SetSubnetId(value); return *this;}
908 
914  inline RunInstancesRequest& WithSubnetId(Aws::String&& value) { SetSubnetId(std::move(value)); return *this;}
915 
921  inline RunInstancesRequest& WithSubnetId(const char* value) { SetSubnetId(value); return *this;}
922 
923 
933  inline const Aws::String& GetUserData() const{ return m_userData; }
934 
944  inline bool UserDataHasBeenSet() const { return m_userDataHasBeenSet; }
945 
955  inline void SetUserData(const Aws::String& value) { m_userDataHasBeenSet = true; m_userData = value; }
956 
966  inline void SetUserData(Aws::String&& value) { m_userDataHasBeenSet = true; m_userData = std::move(value); }
967 
977  inline void SetUserData(const char* value) { m_userDataHasBeenSet = true; m_userData.assign(value); }
978 
988  inline RunInstancesRequest& WithUserData(const Aws::String& value) { SetUserData(value); return *this;}
989 
999  inline RunInstancesRequest& WithUserData(Aws::String&& value) { SetUserData(std::move(value)); return *this;}
1000 
1010  inline RunInstancesRequest& WithUserData(const char* value) { SetUserData(value); return *this;}
1011 
1012 
1016  inline const Aws::String& GetAdditionalInfo() const{ return m_additionalInfo; }
1017 
1021  inline bool AdditionalInfoHasBeenSet() const { return m_additionalInfoHasBeenSet; }
1022 
1026  inline void SetAdditionalInfo(const Aws::String& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo = value; }
1027 
1031  inline void SetAdditionalInfo(Aws::String&& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo = std::move(value); }
1032 
1036  inline void SetAdditionalInfo(const char* value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.assign(value); }
1037 
1041  inline RunInstancesRequest& WithAdditionalInfo(const Aws::String& value) { SetAdditionalInfo(value); return *this;}
1042 
1046  inline RunInstancesRequest& WithAdditionalInfo(Aws::String&& value) { SetAdditionalInfo(std::move(value)); return *this;}
1047 
1051  inline RunInstancesRequest& WithAdditionalInfo(const char* value) { SetAdditionalInfo(value); return *this;}
1052 
1053 
1061  inline const Aws::String& GetClientToken() const{ return m_clientToken; }
1062 
1070  inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
1071 
1079  inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
1080 
1088  inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
1089 
1097  inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
1098 
1106  inline RunInstancesRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
1107 
1115  inline RunInstancesRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
1116 
1124  inline RunInstancesRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
1125 
1126 
1136  inline bool GetDisableApiTermination() const{ return m_disableApiTermination; }
1137 
1147  inline bool DisableApiTerminationHasBeenSet() const { return m_disableApiTerminationHasBeenSet; }
1148 
1158  inline void SetDisableApiTermination(bool value) { m_disableApiTerminationHasBeenSet = true; m_disableApiTermination = value; }
1159 
1169  inline RunInstancesRequest& WithDisableApiTermination(bool value) { SetDisableApiTermination(value); return *this;}
1170 
1171 
1178  inline bool GetDryRun() const{ return m_dryRun; }
1179 
1186  inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
1187 
1194  inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
1195 
1202  inline RunInstancesRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
1203 
1204 
1213  inline bool GetEbsOptimized() const{ return m_ebsOptimized; }
1214 
1223  inline bool EbsOptimizedHasBeenSet() const { return m_ebsOptimizedHasBeenSet; }
1224 
1233  inline void SetEbsOptimized(bool value) { m_ebsOptimizedHasBeenSet = true; m_ebsOptimized = value; }
1234 
1243  inline RunInstancesRequest& WithEbsOptimized(bool value) { SetEbsOptimized(value); return *this;}
1244 
1245 
1249  inline const IamInstanceProfileSpecification& GetIamInstanceProfile() const{ return m_iamInstanceProfile; }
1250 
1254  inline bool IamInstanceProfileHasBeenSet() const { return m_iamInstanceProfileHasBeenSet; }
1255 
1259  inline void SetIamInstanceProfile(const IamInstanceProfileSpecification& value) { m_iamInstanceProfileHasBeenSet = true; m_iamInstanceProfile = value; }
1260 
1264  inline void SetIamInstanceProfile(IamInstanceProfileSpecification&& value) { m_iamInstanceProfileHasBeenSet = true; m_iamInstanceProfile = std::move(value); }
1265 
1269  inline RunInstancesRequest& WithIamInstanceProfile(const IamInstanceProfileSpecification& value) { SetIamInstanceProfile(value); return *this;}
1270 
1274  inline RunInstancesRequest& WithIamInstanceProfile(IamInstanceProfileSpecification&& value) { SetIamInstanceProfile(std::move(value)); return *this;}
1275 
1276 
1282  inline const ShutdownBehavior& GetInstanceInitiatedShutdownBehavior() const{ return m_instanceInitiatedShutdownBehavior; }
1283 
1289  inline bool InstanceInitiatedShutdownBehaviorHasBeenSet() const { return m_instanceInitiatedShutdownBehaviorHasBeenSet; }
1290 
1296  inline void SetInstanceInitiatedShutdownBehavior(const ShutdownBehavior& value) { m_instanceInitiatedShutdownBehaviorHasBeenSet = true; m_instanceInitiatedShutdownBehavior = value; }
1297 
1303  inline void SetInstanceInitiatedShutdownBehavior(ShutdownBehavior&& value) { m_instanceInitiatedShutdownBehaviorHasBeenSet = true; m_instanceInitiatedShutdownBehavior = std::move(value); }
1304 
1310  inline RunInstancesRequest& WithInstanceInitiatedShutdownBehavior(const ShutdownBehavior& value) { SetInstanceInitiatedShutdownBehavior(value); return *this;}
1311 
1317  inline RunInstancesRequest& WithInstanceInitiatedShutdownBehavior(ShutdownBehavior&& value) { SetInstanceInitiatedShutdownBehavior(std::move(value)); return *this;}
1318 
1319 
1325  inline const Aws::Vector<InstanceNetworkInterfaceSpecification>& GetNetworkInterfaces() const{ return m_networkInterfaces; }
1326 
1332  inline bool NetworkInterfacesHasBeenSet() const { return m_networkInterfacesHasBeenSet; }
1333 
1339  inline void SetNetworkInterfaces(const Aws::Vector<InstanceNetworkInterfaceSpecification>& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces = value; }
1340 
1346  inline void SetNetworkInterfaces(Aws::Vector<InstanceNetworkInterfaceSpecification>&& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces = std::move(value); }
1347 
1353  inline RunInstancesRequest& WithNetworkInterfaces(const Aws::Vector<InstanceNetworkInterfaceSpecification>& value) { SetNetworkInterfaces(value); return *this;}
1354 
1360  inline RunInstancesRequest& WithNetworkInterfaces(Aws::Vector<InstanceNetworkInterfaceSpecification>&& value) { SetNetworkInterfaces(std::move(value)); return *this;}
1361 
1367  inline RunInstancesRequest& AddNetworkInterfaces(const InstanceNetworkInterfaceSpecification& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces.push_back(value); return *this; }
1368 
1374  inline RunInstancesRequest& AddNetworkInterfaces(InstanceNetworkInterfaceSpecification&& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces.push_back(std::move(value)); return *this; }
1375 
1376 
1386  inline const Aws::String& GetPrivateIpAddress() const{ return m_privateIpAddress; }
1387 
1397  inline bool PrivateIpAddressHasBeenSet() const { return m_privateIpAddressHasBeenSet; }
1398 
1408  inline void SetPrivateIpAddress(const Aws::String& value) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress = value; }
1409 
1419  inline void SetPrivateIpAddress(Aws::String&& value) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress = std::move(value); }
1420 
1430  inline void SetPrivateIpAddress(const char* value) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress.assign(value); }
1431 
1441  inline RunInstancesRequest& WithPrivateIpAddress(const Aws::String& value) { SetPrivateIpAddress(value); return *this;}
1442 
1452  inline RunInstancesRequest& WithPrivateIpAddress(Aws::String&& value) { SetPrivateIpAddress(std::move(value)); return *this;}
1453 
1463  inline RunInstancesRequest& WithPrivateIpAddress(const char* value) { SetPrivateIpAddress(value); return *this;}
1464 
1465 
1473  inline const Aws::Vector<ElasticGpuSpecification>& GetElasticGpuSpecification() const{ return m_elasticGpuSpecification; }
1474 
1482  inline bool ElasticGpuSpecificationHasBeenSet() const { return m_elasticGpuSpecificationHasBeenSet; }
1483 
1491  inline void SetElasticGpuSpecification(const Aws::Vector<ElasticGpuSpecification>& value) { m_elasticGpuSpecificationHasBeenSet = true; m_elasticGpuSpecification = value; }
1492 
1500  inline void SetElasticGpuSpecification(Aws::Vector<ElasticGpuSpecification>&& value) { m_elasticGpuSpecificationHasBeenSet = true; m_elasticGpuSpecification = std::move(value); }
1501 
1509  inline RunInstancesRequest& WithElasticGpuSpecification(const Aws::Vector<ElasticGpuSpecification>& value) { SetElasticGpuSpecification(value); return *this;}
1510 
1518  inline RunInstancesRequest& WithElasticGpuSpecification(Aws::Vector<ElasticGpuSpecification>&& value) { SetElasticGpuSpecification(std::move(value)); return *this;}
1519 
1527  inline RunInstancesRequest& AddElasticGpuSpecification(const ElasticGpuSpecification& value) { m_elasticGpuSpecificationHasBeenSet = true; m_elasticGpuSpecification.push_back(value); return *this; }
1528 
1536  inline RunInstancesRequest& AddElasticGpuSpecification(ElasticGpuSpecification&& value) { m_elasticGpuSpecificationHasBeenSet = true; m_elasticGpuSpecification.push_back(std::move(value)); return *this; }
1537 
1538 
1545  inline const Aws::Vector<ElasticInferenceAccelerator>& GetElasticInferenceAccelerators() const{ return m_elasticInferenceAccelerators; }
1546 
1553  inline bool ElasticInferenceAcceleratorsHasBeenSet() const { return m_elasticInferenceAcceleratorsHasBeenSet; }
1554 
1561  inline void SetElasticInferenceAccelerators(const Aws::Vector<ElasticInferenceAccelerator>& value) { m_elasticInferenceAcceleratorsHasBeenSet = true; m_elasticInferenceAccelerators = value; }
1562 
1569  inline void SetElasticInferenceAccelerators(Aws::Vector<ElasticInferenceAccelerator>&& value) { m_elasticInferenceAcceleratorsHasBeenSet = true; m_elasticInferenceAccelerators = std::move(value); }
1570 
1577  inline RunInstancesRequest& WithElasticInferenceAccelerators(const Aws::Vector<ElasticInferenceAccelerator>& value) { SetElasticInferenceAccelerators(value); return *this;}
1578 
1585  inline RunInstancesRequest& WithElasticInferenceAccelerators(Aws::Vector<ElasticInferenceAccelerator>&& value) { SetElasticInferenceAccelerators(std::move(value)); return *this;}
1586 
1593  inline RunInstancesRequest& AddElasticInferenceAccelerators(const ElasticInferenceAccelerator& value) { m_elasticInferenceAcceleratorsHasBeenSet = true; m_elasticInferenceAccelerators.push_back(value); return *this; }
1594 
1601  inline RunInstancesRequest& AddElasticInferenceAccelerators(ElasticInferenceAccelerator&& value) { m_elasticInferenceAcceleratorsHasBeenSet = true; m_elasticInferenceAccelerators.push_back(std::move(value)); return *this; }
1602 
1603 
1611  inline const Aws::Vector<TagSpecification>& GetTagSpecifications() const{ return m_tagSpecifications; }
1612 
1620  inline bool TagSpecificationsHasBeenSet() const { return m_tagSpecificationsHasBeenSet; }
1621 
1629  inline void SetTagSpecifications(const Aws::Vector<TagSpecification>& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications = value; }
1630 
1638  inline void SetTagSpecifications(Aws::Vector<TagSpecification>&& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications = std::move(value); }
1639 
1647  inline RunInstancesRequest& WithTagSpecifications(const Aws::Vector<TagSpecification>& value) { SetTagSpecifications(value); return *this;}
1648 
1656  inline RunInstancesRequest& WithTagSpecifications(Aws::Vector<TagSpecification>&& value) { SetTagSpecifications(std::move(value)); return *this;}
1657 
1665  inline RunInstancesRequest& AddTagSpecifications(const TagSpecification& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications.push_back(value); return *this; }
1666 
1674  inline RunInstancesRequest& AddTagSpecifications(TagSpecification&& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications.push_back(std::move(value)); return *this; }
1675 
1676 
1683  inline const LaunchTemplateSpecification& GetLaunchTemplate() const{ return m_launchTemplate; }
1684 
1691  inline bool LaunchTemplateHasBeenSet() const { return m_launchTemplateHasBeenSet; }
1692 
1699  inline void SetLaunchTemplate(const LaunchTemplateSpecification& value) { m_launchTemplateHasBeenSet = true; m_launchTemplate = value; }
1700 
1707  inline void SetLaunchTemplate(LaunchTemplateSpecification&& value) { m_launchTemplateHasBeenSet = true; m_launchTemplate = std::move(value); }
1708 
1715  inline RunInstancesRequest& WithLaunchTemplate(const LaunchTemplateSpecification& value) { SetLaunchTemplate(value); return *this;}
1716 
1723  inline RunInstancesRequest& WithLaunchTemplate(LaunchTemplateSpecification&& value) { SetLaunchTemplate(std::move(value)); return *this;}
1724 
1725 
1732  inline const InstanceMarketOptionsRequest& GetInstanceMarketOptions() const{ return m_instanceMarketOptions; }
1733 
1740  inline bool InstanceMarketOptionsHasBeenSet() const { return m_instanceMarketOptionsHasBeenSet; }
1741 
1748  inline void SetInstanceMarketOptions(const InstanceMarketOptionsRequest& value) { m_instanceMarketOptionsHasBeenSet = true; m_instanceMarketOptions = value; }
1749 
1756  inline void SetInstanceMarketOptions(InstanceMarketOptionsRequest&& value) { m_instanceMarketOptionsHasBeenSet = true; m_instanceMarketOptions = std::move(value); }
1757 
1764  inline RunInstancesRequest& WithInstanceMarketOptions(const InstanceMarketOptionsRequest& value) { SetInstanceMarketOptions(value); return *this;}
1765 
1772  inline RunInstancesRequest& WithInstanceMarketOptions(InstanceMarketOptionsRequest&& value) { SetInstanceMarketOptions(std::move(value)); return *this;}
1773 
1774 
1786  inline const CreditSpecificationRequest& GetCreditSpecification() const{ return m_creditSpecification; }
1787 
1799  inline bool CreditSpecificationHasBeenSet() const { return m_creditSpecificationHasBeenSet; }
1800 
1812  inline void SetCreditSpecification(const CreditSpecificationRequest& value) { m_creditSpecificationHasBeenSet = true; m_creditSpecification = value; }
1813 
1825  inline void SetCreditSpecification(CreditSpecificationRequest&& value) { m_creditSpecificationHasBeenSet = true; m_creditSpecification = std::move(value); }
1826 
1838  inline RunInstancesRequest& WithCreditSpecification(const CreditSpecificationRequest& value) { SetCreditSpecification(value); return *this;}
1839 
1851  inline RunInstancesRequest& WithCreditSpecification(CreditSpecificationRequest&& value) { SetCreditSpecification(std::move(value)); return *this;}
1852 
1853 
1859  inline const CpuOptionsRequest& GetCpuOptions() const{ return m_cpuOptions; }
1860 
1866  inline bool CpuOptionsHasBeenSet() const { return m_cpuOptionsHasBeenSet; }
1867 
1873  inline void SetCpuOptions(const CpuOptionsRequest& value) { m_cpuOptionsHasBeenSet = true; m_cpuOptions = value; }
1874 
1880  inline void SetCpuOptions(CpuOptionsRequest&& value) { m_cpuOptionsHasBeenSet = true; m_cpuOptions = std::move(value); }
1881 
1887  inline RunInstancesRequest& WithCpuOptions(const CpuOptionsRequest& value) { SetCpuOptions(value); return *this;}
1888 
1894  inline RunInstancesRequest& WithCpuOptions(CpuOptionsRequest&& value) { SetCpuOptions(std::move(value)); return *this;}
1895 
1896 
1903  inline const CapacityReservationSpecification& GetCapacityReservationSpecification() const{ return m_capacityReservationSpecification; }
1904 
1911  inline bool CapacityReservationSpecificationHasBeenSet() const { return m_capacityReservationSpecificationHasBeenSet; }
1912 
1919  inline void SetCapacityReservationSpecification(const CapacityReservationSpecification& value) { m_capacityReservationSpecificationHasBeenSet = true; m_capacityReservationSpecification = value; }
1920 
1927  inline void SetCapacityReservationSpecification(CapacityReservationSpecification&& value) { m_capacityReservationSpecificationHasBeenSet = true; m_capacityReservationSpecification = std::move(value); }
1928 
1935  inline RunInstancesRequest& WithCapacityReservationSpecification(const CapacityReservationSpecification& value) { SetCapacityReservationSpecification(value); return *this;}
1936 
1943  inline RunInstancesRequest& WithCapacityReservationSpecification(CapacityReservationSpecification&& value) { SetCapacityReservationSpecification(std::move(value)); return *this;}
1944 
1945 
1953  inline const HibernationOptionsRequest& GetHibernationOptions() const{ return m_hibernationOptions; }
1954 
1962  inline bool HibernationOptionsHasBeenSet() const { return m_hibernationOptionsHasBeenSet; }
1963 
1971  inline void SetHibernationOptions(const HibernationOptionsRequest& value) { m_hibernationOptionsHasBeenSet = true; m_hibernationOptions = value; }
1972 
1980  inline void SetHibernationOptions(HibernationOptionsRequest&& value) { m_hibernationOptionsHasBeenSet = true; m_hibernationOptions = std::move(value); }
1981 
1989  inline RunInstancesRequest& WithHibernationOptions(const HibernationOptionsRequest& value) { SetHibernationOptions(value); return *this;}
1990 
1998  inline RunInstancesRequest& WithHibernationOptions(HibernationOptionsRequest&& value) { SetHibernationOptions(std::move(value)); return *this;}
1999 
2000 
2004  inline const Aws::Vector<LicenseConfigurationRequest>& GetLicenseSpecifications() const{ return m_licenseSpecifications; }
2005 
2009  inline bool LicenseSpecificationsHasBeenSet() const { return m_licenseSpecificationsHasBeenSet; }
2010 
2014  inline void SetLicenseSpecifications(const Aws::Vector<LicenseConfigurationRequest>& value) { m_licenseSpecificationsHasBeenSet = true; m_licenseSpecifications = value; }
2015 
2019  inline void SetLicenseSpecifications(Aws::Vector<LicenseConfigurationRequest>&& value) { m_licenseSpecificationsHasBeenSet = true; m_licenseSpecifications = std::move(value); }
2020 
2024  inline RunInstancesRequest& WithLicenseSpecifications(const Aws::Vector<LicenseConfigurationRequest>& value) { SetLicenseSpecifications(value); return *this;}
2025 
2029  inline RunInstancesRequest& WithLicenseSpecifications(Aws::Vector<LicenseConfigurationRequest>&& value) { SetLicenseSpecifications(std::move(value)); return *this;}
2030 
2034  inline RunInstancesRequest& AddLicenseSpecifications(const LicenseConfigurationRequest& value) { m_licenseSpecificationsHasBeenSet = true; m_licenseSpecifications.push_back(value); return *this; }
2035 
2039  inline RunInstancesRequest& AddLicenseSpecifications(LicenseConfigurationRequest&& value) { m_licenseSpecificationsHasBeenSet = true; m_licenseSpecifications.push_back(std::move(value)); return *this; }
2040 
2041 
2047  inline const InstanceMetadataOptionsRequest& GetMetadataOptions() const{ return m_metadataOptions; }
2048 
2054  inline bool MetadataOptionsHasBeenSet() const { return m_metadataOptionsHasBeenSet; }
2055 
2061  inline void SetMetadataOptions(const InstanceMetadataOptionsRequest& value) { m_metadataOptionsHasBeenSet = true; m_metadataOptions = value; }
2062 
2068  inline void SetMetadataOptions(InstanceMetadataOptionsRequest&& value) { m_metadataOptionsHasBeenSet = true; m_metadataOptions = std::move(value); }
2069 
2075  inline RunInstancesRequest& WithMetadataOptions(const InstanceMetadataOptionsRequest& value) { SetMetadataOptions(value); return *this;}
2076 
2082  inline RunInstancesRequest& WithMetadataOptions(InstanceMetadataOptionsRequest&& value) { SetMetadataOptions(std::move(value)); return *this;}
2083 
2084 
2092  inline const EnclaveOptionsRequest& GetEnclaveOptions() const{ return m_enclaveOptions; }
2093 
2101  inline bool EnclaveOptionsHasBeenSet() const { return m_enclaveOptionsHasBeenSet; }
2102 
2110  inline void SetEnclaveOptions(const EnclaveOptionsRequest& value) { m_enclaveOptionsHasBeenSet = true; m_enclaveOptions = value; }
2111 
2119  inline void SetEnclaveOptions(EnclaveOptionsRequest&& value) { m_enclaveOptionsHasBeenSet = true; m_enclaveOptions = std::move(value); }
2120 
2128  inline RunInstancesRequest& WithEnclaveOptions(const EnclaveOptionsRequest& value) { SetEnclaveOptions(value); return *this;}
2129 
2137  inline RunInstancesRequest& WithEnclaveOptions(EnclaveOptionsRequest&& value) { SetEnclaveOptions(std::move(value)); return *this;}
2138 
2139  private:
2140 
2141  Aws::Vector<BlockDeviceMapping> m_blockDeviceMappings;
2142  bool m_blockDeviceMappingsHasBeenSet;
2143 
2144  Aws::String m_imageId;
2145  bool m_imageIdHasBeenSet;
2146 
2147  InstanceType m_instanceType;
2148  bool m_instanceTypeHasBeenSet;
2149 
2150  int m_ipv6AddressCount;
2151  bool m_ipv6AddressCountHasBeenSet;
2152 
2153  Aws::Vector<InstanceIpv6Address> m_ipv6Addresses;
2154  bool m_ipv6AddressesHasBeenSet;
2155 
2156  Aws::String m_kernelId;
2157  bool m_kernelIdHasBeenSet;
2158 
2159  Aws::String m_keyName;
2160  bool m_keyNameHasBeenSet;
2161 
2162  int m_maxCount;
2163  bool m_maxCountHasBeenSet;
2164 
2165  int m_minCount;
2166  bool m_minCountHasBeenSet;
2167 
2168  RunInstancesMonitoringEnabled m_monitoring;
2169  bool m_monitoringHasBeenSet;
2170 
2171  Placement m_placement;
2172  bool m_placementHasBeenSet;
2173 
2174  Aws::String m_ramdiskId;
2175  bool m_ramdiskIdHasBeenSet;
2176 
2177  Aws::Vector<Aws::String> m_securityGroupIds;
2178  bool m_securityGroupIdsHasBeenSet;
2179 
2180  Aws::Vector<Aws::String> m_securityGroups;
2181  bool m_securityGroupsHasBeenSet;
2182 
2183  Aws::String m_subnetId;
2184  bool m_subnetIdHasBeenSet;
2185 
2186  Aws::String m_userData;
2187  bool m_userDataHasBeenSet;
2188 
2189  Aws::String m_additionalInfo;
2190  bool m_additionalInfoHasBeenSet;
2191 
2192  Aws::String m_clientToken;
2193  bool m_clientTokenHasBeenSet;
2194 
2195  bool m_disableApiTermination;
2196  bool m_disableApiTerminationHasBeenSet;
2197 
2198  bool m_dryRun;
2199  bool m_dryRunHasBeenSet;
2200 
2201  bool m_ebsOptimized;
2202  bool m_ebsOptimizedHasBeenSet;
2203 
2204  IamInstanceProfileSpecification m_iamInstanceProfile;
2205  bool m_iamInstanceProfileHasBeenSet;
2206 
2207  ShutdownBehavior m_instanceInitiatedShutdownBehavior;
2208  bool m_instanceInitiatedShutdownBehaviorHasBeenSet;
2209 
2211  bool m_networkInterfacesHasBeenSet;
2212 
2213  Aws::String m_privateIpAddress;
2214  bool m_privateIpAddressHasBeenSet;
2215 
2216  Aws::Vector<ElasticGpuSpecification> m_elasticGpuSpecification;
2217  bool m_elasticGpuSpecificationHasBeenSet;
2218 
2219  Aws::Vector<ElasticInferenceAccelerator> m_elasticInferenceAccelerators;
2220  bool m_elasticInferenceAcceleratorsHasBeenSet;
2221 
2222  Aws::Vector<TagSpecification> m_tagSpecifications;
2223  bool m_tagSpecificationsHasBeenSet;
2224 
2225  LaunchTemplateSpecification m_launchTemplate;
2226  bool m_launchTemplateHasBeenSet;
2227 
2228  InstanceMarketOptionsRequest m_instanceMarketOptions;
2229  bool m_instanceMarketOptionsHasBeenSet;
2230 
2231  CreditSpecificationRequest m_creditSpecification;
2232  bool m_creditSpecificationHasBeenSet;
2233 
2234  CpuOptionsRequest m_cpuOptions;
2235  bool m_cpuOptionsHasBeenSet;
2236 
2237  CapacityReservationSpecification m_capacityReservationSpecification;
2238  bool m_capacityReservationSpecificationHasBeenSet;
2239 
2240  HibernationOptionsRequest m_hibernationOptions;
2241  bool m_hibernationOptionsHasBeenSet;
2242 
2243  Aws::Vector<LicenseConfigurationRequest> m_licenseSpecifications;
2244  bool m_licenseSpecificationsHasBeenSet;
2245 
2246  InstanceMetadataOptionsRequest m_metadataOptions;
2247  bool m_metadataOptionsHasBeenSet;
2248 
2249  EnclaveOptionsRequest m_enclaveOptions;
2250  bool m_enclaveOptionsHasBeenSet;
2251  };
2252 
2253 } // namespace Model
2254 } // namespace EC2
2255 } // namespace Aws
Aws::EC2::Model::RunInstancesRequest::WithAdditionalInfo
RunInstancesRequest & WithAdditionalInfo(Aws::String &&value)
Definition: RunInstancesRequest.h:1046
Aws::EC2::Model::RunInstancesRequest::GetIpv6Addresses
const Aws::Vector< InstanceIpv6Address > & GetIpv6Addresses() const
Definition: RunInstancesRequest.h:249
TagSpecification.h
Aws::EC2::Model::LicenseConfigurationRequest
Definition: LicenseConfigurationRequest.h:32
Aws::EC2::Model::RunInstancesRequest::GetSecurityGroupIds
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
Definition: RunInstancesRequest.h:727
Aws::EC2::Model::RunInstancesRequest::WithNetworkInterfaces
RunInstancesRequest & WithNetworkInterfaces(Aws::Vector< InstanceNetworkInterfaceSpecification > &&value)
Definition: RunInstancesRequest.h:1360
Aws::EC2::Model::RunInstancesRequest::GetImageId
const Aws::String & GetImageId() const
Definition: RunInstancesRequest.h:106
Aws::EC2::Model::RunInstancesRequest::WithKeyName
RunInstancesRequest & WithKeyName(const char *value)
Definition: RunInstancesRequest.h:473
Aws::EC2::Model::RunInstancesRequest::WithSecurityGroups
RunInstancesRequest & WithSecurityGroups(const Aws::Vector< Aws::String > &value)
Definition: RunInstancesRequest.h:832
Aws::EC2::Model::RunInstancesRequest::WithMaxCount
RunInstancesRequest & WithMaxCount(int value)
Definition: RunInstancesRequest.h:522
Aws::EC2::Model::RunInstancesRequest::WithTagSpecifications
RunInstancesRequest & WithTagSpecifications(const Aws::Vector< TagSpecification > &value)
Definition: RunInstancesRequest.h:1647
Aws::EC2::Model::RunInstancesRequest::GetMonitoring
const RunInstancesMonitoringEnabled & GetMonitoring() const
Definition: RunInstancesRequest.h:573
Aws::EC2::Model::RunInstancesRequest::SetKernelId
void SetKernelId(const Aws::String &value)
Definition: RunInstancesRequest.h:344
Aws::EC2::Model::RunInstancesRequest::SetRamdiskId
void SetRamdiskId(const char *value)
Definition: RunInstancesRequest.h:685
Aws::EC2::Model::RunInstancesRequest::GetIpv6AddressCount
int GetIpv6AddressCount() const
Definition: RunInstancesRequest.h:208
Aws::EC2::Model::RunInstancesRequest::SetLicenseSpecifications
void SetLicenseSpecifications(Aws::Vector< LicenseConfigurationRequest > &&value)
Definition: RunInstancesRequest.h:2019
Aws::EC2::Model::RunInstancesRequest::SetMinCount
void SetMinCount(int value)
Definition: RunInstancesRequest.h:556
Aws::EC2::Model::RunInstancesRequest::SetTagSpecifications
void SetTagSpecifications(Aws::Vector< TagSpecification > &&value)
Definition: RunInstancesRequest.h:1638
Aws::Http::URI
Definition: URI.h:32
Aws::EC2::Model::RunInstancesRequest::WithInstanceInitiatedShutdownBehavior
RunInstancesRequest & WithInstanceInitiatedShutdownBehavior(const ShutdownBehavior &value)
Definition: RunInstancesRequest.h:1310
Aws::EC2::Model::RunInstancesRequest::CapacityReservationSpecificationHasBeenSet
bool CapacityReservationSpecificationHasBeenSet() const
Definition: RunInstancesRequest.h:1911
InstanceNetworkInterfaceSpecification.h
Aws::EC2::Model::RunInstancesRequest::WithMinCount
RunInstancesRequest & WithMinCount(int value)
Definition: RunInstancesRequest.h:567
Aws::EC2::Model::InstanceMetadataOptionsRequest
Definition: InstanceMetadataOptionsRequest.h:33
Aws::EC2::Model::RunInstancesRequest::GetKernelId
const Aws::String & GetKernelId() const
Definition: RunInstancesRequest.h:328
Aws::EC2::Model::RunInstancesRequest::SetUserData
void SetUserData(const Aws::String &value)
Definition: RunInstancesRequest.h:955
Aws::EC2::Model::RunInstancesRequest::MaxCountHasBeenSet
bool MaxCountHasBeenSet() const
Definition: RunInstancesRequest.h:498
Aws::EC2::Model::Placement
Definition: Placement.h:33
Aws::EC2::Model::RunInstancesRequest::AddIpv6Addresses
RunInstancesRequest & AddIpv6Addresses(InstanceIpv6Address &&value)
Definition: RunInstancesRequest.h:319
Aws::EC2::Model::InstanceMarketOptionsRequest
Definition: InstanceMarketOptionsRequest.h:34
Aws::EC2::Model::RunInstancesRequest::SetBlockDeviceMappings
void SetBlockDeviceMappings(const Aws::Vector< BlockDeviceMapping > &value)
Definition: RunInstancesRequest.h:74
Aws::EC2::Model::RunInstancesRequest::GetCreditSpecification
const CreditSpecificationRequest & GetCreditSpecification() const
Definition: RunInstancesRequest.h:1786
Aws::EC2::Model::RunInstancesRequest::SetIamInstanceProfile
void SetIamInstanceProfile(const IamInstanceProfileSpecification &value)
Definition: RunInstancesRequest.h:1259
Aws::EC2::Model::RunInstancesRequest::WithInstanceInitiatedShutdownBehavior
RunInstancesRequest & WithInstanceInitiatedShutdownBehavior(ShutdownBehavior &&value)
Definition: RunInstancesRequest.h:1317
Aws::EC2::Model::RunInstancesRequest::MonitoringHasBeenSet
bool MonitoringHasBeenSet() const
Definition: RunInstancesRequest.h:578
Aws::EC2::Model::RunInstancesRequest::EbsOptimizedHasBeenSet
bool EbsOptimizedHasBeenSet() const
Definition: RunInstancesRequest.h:1223
Aws::EC2::Model::RunInstancesRequest::GetNetworkInterfaces
const Aws::Vector< InstanceNetworkInterfaceSpecification > & GetNetworkInterfaces() const
Definition: RunInstancesRequest.h:1325
Aws::EC2::Model::RunInstancesRequest::AddSecurityGroupIds
RunInstancesRequest & AddSecurityGroupIds(const char *value)
Definition: RunInstancesRequest.h:791
Aws::EC2::Model::RunInstancesRequest::Ipv6AddressCountHasBeenSet
bool Ipv6AddressCountHasBeenSet() const
Definition: RunInstancesRequest.h:218
Aws::EC2::Model::RunInstancesRequest::SetKeyName
void SetKeyName(Aws::String &&value)
Definition: RunInstancesRequest.h:429
Aws::EC2::Model::RunInstancesRequest::AddElasticGpuSpecification
RunInstancesRequest & AddElasticGpuSpecification(ElasticGpuSpecification &&value)
Definition: RunInstancesRequest.h:1536
Aws::EC2::Model::RunInstancesRequest::SetRamdiskId
void SetRamdiskId(const Aws::String &value)
Definition: RunInstancesRequest.h:663
Aws::EC2::Model::CapacityReservationSpecification
Definition: CapacityReservationSpecification.h:42
Aws::EC2::Model::RunInstancesRequest::GetHibernationOptions
const HibernationOptionsRequest & GetHibernationOptions() const
Definition: RunInstancesRequest.h:1953
Aws::EC2::Model::RunInstancesRequest::SetEnclaveOptions
void SetEnclaveOptions(const EnclaveOptionsRequest &value)
Definition: RunInstancesRequest.h:2110
BlockDeviceMapping.h
Aws::EC2::Model::RunInstancesRequest::WithAdditionalInfo
RunInstancesRequest & WithAdditionalInfo(const char *value)
Definition: RunInstancesRequest.h:1051
Aws::EC2::Model::RunInstancesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: RunInstancesRequest.h:52
Aws::EC2::Model::RunInstancesRequest::WithRamdiskId
RunInstancesRequest & WithRamdiskId(Aws::String &&value)
Definition: RunInstancesRequest.h:707
Aws::EC2::Model::RunInstancesRequest::SetAdditionalInfo
void SetAdditionalInfo(const Aws::String &value)
Definition: RunInstancesRequest.h:1026
Aws::EC2::Model::RunInstancesRequest::WithClientToken
RunInstancesRequest & WithClientToken(const char *value)
Definition: RunInstancesRequest.h:1124
Aws::EC2::Model::RunInstancesRequest::DryRunHasBeenSet
bool DryRunHasBeenSet() const
Definition: RunInstancesRequest.h:1186
Aws::EC2::Model::RunInstancesRequest::WithIpv6Addresses
RunInstancesRequest & WithIpv6Addresses(Aws::Vector< InstanceIpv6Address > &&value)
Definition: RunInstancesRequest.h:299
Aws::EC2::Model::RunInstancesRequest::AddTagSpecifications
RunInstancesRequest & AddTagSpecifications(const TagSpecification &value)
Definition: RunInstancesRequest.h:1665
Aws::EC2::Model::RunInstancesRequest::GetElasticGpuSpecification
const Aws::Vector< ElasticGpuSpecification > & GetElasticGpuSpecification() const
Definition: RunInstancesRequest.h:1473
Aws::EC2::Model::RunInstancesRequest::GetSubnetId
const Aws::String & GetSubnetId() const
Definition: RunInstancesRequest.h:872
Aws::EC2::Model::RunInstancesRequest::GetMinCount
int GetMinCount() const
Definition: RunInstancesRequest.h:534
Aws::EC2::Model::RunInstancesRequest::SetSubnetId
void SetSubnetId(Aws::String &&value)
Definition: RunInstancesRequest.h:893
Aws::EC2::Model::RunInstancesRequest::SetElasticInferenceAccelerators
void SetElasticInferenceAccelerators(const Aws::Vector< ElasticInferenceAccelerator > &value)
Definition: RunInstancesRequest.h:1561
Aws::EC2::Model::RunInstancesRequest::SetNetworkInterfaces
void SetNetworkInterfaces(Aws::Vector< InstanceNetworkInterfaceSpecification > &&value)
Definition: RunInstancesRequest.h:1346
CreditSpecificationRequest.h
Aws::EC2::Model::ElasticInferenceAccelerator
Definition: ElasticInferenceAccelerator.h:32
Aws::EC2::Model::RunInstancesRequest::SetNetworkInterfaces
void SetNetworkInterfaces(const Aws::Vector< InstanceNetworkInterfaceSpecification > &value)
Definition: RunInstancesRequest.h:1339
Aws::EC2::Model::RunInstancesRequest::SetSecurityGroups
void SetSecurityGroups(const Aws::Vector< Aws::String > &value)
Definition: RunInstancesRequest.h:816
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::HibernationOptionsRequest
Definition: HibernationOptionsRequest.h:36
Aws::EC2::Model::RunInstancesRequest::SetMaxCount
void SetMaxCount(int value)
Definition: RunInstancesRequest.h:510
Aws::EC2::Model::RunInstancesRequest::WithUserData
RunInstancesRequest & WithUserData(const Aws::String &value)
Definition: RunInstancesRequest.h:988
InstanceMetadataOptionsRequest.h
Aws::EC2::Model::RunInstancesRequest::WithEnclaveOptions
RunInstancesRequest & WithEnclaveOptions(const EnclaveOptionsRequest &value)
Definition: RunInstancesRequest.h:2128
Aws::EC2::Model::RunInstancesRequest::AddNetworkInterfaces
RunInstancesRequest & AddNetworkInterfaces(InstanceNetworkInterfaceSpecification &&value)
Definition: RunInstancesRequest.h:1374
Aws::EC2::Model::RunInstancesRequest::WithEnclaveOptions
RunInstancesRequest & WithEnclaveOptions(EnclaveOptionsRequest &&value)
Definition: RunInstancesRequest.h:2137
Aws::EC2::Model::RunInstancesRequest::WithLaunchTemplate
RunInstancesRequest & WithLaunchTemplate(const LaunchTemplateSpecification &value)
Definition: RunInstancesRequest.h:1715
Aws::EC2::Model::RunInstancesRequest::LicenseSpecificationsHasBeenSet
bool LicenseSpecificationsHasBeenSet() const
Definition: RunInstancesRequest.h:2009
Aws::EC2::Model::RunInstancesRequest::GetInstanceMarketOptions
const InstanceMarketOptionsRequest & GetInstanceMarketOptions() const
Definition: RunInstancesRequest.h:1732
Aws::EC2::Model::RunInstancesRequest::WithPrivateIpAddress
RunInstancesRequest & WithPrivateIpAddress(const Aws::String &value)
Definition: RunInstancesRequest.h:1441
Aws::EC2::Model::RunInstancesRequest::SetSecurityGroupIds
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
Definition: RunInstancesRequest.h:751
Aws::EC2::Model::RunInstancesRequest::WithLicenseSpecifications
RunInstancesRequest & WithLicenseSpecifications(const Aws::Vector< LicenseConfigurationRequest > &value)
Definition: RunInstancesRequest.h:2024
Aws::EC2::Model::RunInstancesRequest::AddLicenseSpecifications
RunInstancesRequest & AddLicenseSpecifications(const LicenseConfigurationRequest &value)
Definition: RunInstancesRequest.h:2034
Aws::EC2::Model::RunInstancesRequest::AddSecurityGroupIds
RunInstancesRequest & AddSecurityGroupIds(Aws::String &&value)
Definition: RunInstancesRequest.h:783
Aws::EC2::Model::RunInstancesRequest::WithCpuOptions
RunInstancesRequest & WithCpuOptions(CpuOptionsRequest &&value)
Definition: RunInstancesRequest.h:1894
ElasticInferenceAccelerator.h
Aws::EC2::Model::RunInstancesRequest::GetAdditionalInfo
const Aws::String & GetAdditionalInfo() const
Definition: RunInstancesRequest.h:1016
Aws::EC2::Model::RunInstancesRequest::AddBlockDeviceMappings
RunInstancesRequest & AddBlockDeviceMappings(BlockDeviceMapping &&value)
Definition: RunInstancesRequest.h:99
Aws::EC2::Model::RunInstancesRequest::WithDisableApiTermination
RunInstancesRequest & WithDisableApiTermination(bool value)
Definition: RunInstancesRequest.h:1169
Aws::EC2::Model::RunInstancesRequest::SetCpuOptions
void SetCpuOptions(const CpuOptionsRequest &value)
Definition: RunInstancesRequest.h:1873
Aws::EC2::Model::RunInstancesRequest::ElasticInferenceAcceleratorsHasBeenSet
bool ElasticInferenceAcceleratorsHasBeenSet() const
Definition: RunInstancesRequest.h:1553
Aws::EC2::Model::RunInstancesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EC2::Model::RunInstancesRequest::SecurityGroupsHasBeenSet
bool SecurityGroupsHasBeenSet() const
Definition: RunInstancesRequest.h:808
Aws::EC2::Model::RunInstancesRequest
Definition: RunInstancesRequest.h:44
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::RunInstancesRequest::SetKeyName
void SetKeyName(const Aws::String &value)
Definition: RunInstancesRequest.h:418
Aws::EC2::Model::RunInstancesRequest::SetKeyName
void SetKeyName(const char *value)
Definition: RunInstancesRequest.h:440
Aws::EC2::Model::RunInstancesRequest::SetKernelId
void SetKernelId(const char *value)
Definition: RunInstancesRequest.h:360
Aws::EC2::Model::RunInstancesRequest::WithAdditionalInfo
RunInstancesRequest & WithAdditionalInfo(const Aws::String &value)
Definition: RunInstancesRequest.h:1041
Aws::EC2::Model::CreditSpecificationRequest
Definition: CreditSpecificationRequest.h:33
Aws::EC2::Model::RunInstancesRequest::SetInstanceType
void SetInstanceType(InstanceType &&value)
Definition: RunInstancesRequest.h:181
Aws::EC2::Model::RunInstancesRequest::SetDryRun
void SetDryRun(bool value)
Definition: RunInstancesRequest.h:1194
Aws::EC2::Model::RunInstancesRequest::WithPlacement
RunInstancesRequest & WithPlacement(const Placement &value)
Definition: RunInstancesRequest.h:624
Aws::EC2::Model::RunInstancesRequest::SetElasticInferenceAccelerators
void SetElasticInferenceAccelerators(Aws::Vector< ElasticInferenceAccelerator > &&value)
Definition: RunInstancesRequest.h:1569
Aws::EC2::Model::RunInstancesRequest::SetMetadataOptions
void SetMetadataOptions(const InstanceMetadataOptionsRequest &value)
Definition: RunInstancesRequest.h:2061
Aws::EC2::Model::RunInstancesRequest::SetCpuOptions
void SetCpuOptions(CpuOptionsRequest &&value)
Definition: RunInstancesRequest.h:1880
Aws::EC2::Model::InstanceNetworkInterfaceSpecification
Definition: InstanceNetworkInterfaceSpecification.h:35
Aws::EC2::Model::RunInstancesRequest::WithSubnetId
RunInstancesRequest & WithSubnetId(const Aws::String &value)
Definition: RunInstancesRequest.h:907
Aws::EC2::Model::RunInstancesRequest::WithSecurityGroups
RunInstancesRequest & WithSecurityGroups(Aws::Vector< Aws::String > &&value)
Definition: RunInstancesRequest.h:840
Aws::EC2::Model::RunInstancesRequest::WithSecurityGroupIds
RunInstancesRequest & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
Definition: RunInstancesRequest.h:767
AWSVector.h
EnclaveOptionsRequest.h
Aws::EC2::Model::LaunchTemplateSpecification
Definition: LaunchTemplateSpecification.h:33
Aws::EC2::Model::RunInstancesRequest::GetKeyName
const Aws::String & GetKeyName() const
Definition: RunInstancesRequest.h:396
Aws::EC2::Model::RunInstancesRequest::WithMetadataOptions
RunInstancesRequest & WithMetadataOptions(InstanceMetadataOptionsRequest &&value)
Definition: RunInstancesRequest.h:2082
Aws::EC2::Model::RunInstancesRequest::RunInstancesRequest
RunInstancesRequest()
Aws::EC2::Model::RunInstancesRequest::HibernationOptionsHasBeenSet
bool HibernationOptionsHasBeenSet() const
Definition: RunInstancesRequest.h:1962
Aws::EC2::Model::RunInstancesRequest::SubnetIdHasBeenSet
bool SubnetIdHasBeenSet() const
Definition: RunInstancesRequest.h:879
Aws::EC2::Model::RunInstancesRequest::SetLicenseSpecifications
void SetLicenseSpecifications(const Aws::Vector< LicenseConfigurationRequest > &value)
Definition: RunInstancesRequest.h:2014
Aws::EC2::Model::RunInstancesRequest::WithIamInstanceProfile
RunInstancesRequest & WithIamInstanceProfile(const IamInstanceProfileSpecification &value)
Definition: RunInstancesRequest.h:1269
Aws::EC2::Model::RunInstancesRequest::SetSubnetId
void SetSubnetId(const char *value)
Definition: RunInstancesRequest.h:900
Aws::EC2::Model::RunInstancesRequest::SetClientToken
void SetClientToken(const Aws::String &value)
Definition: RunInstancesRequest.h:1079
Aws::EC2::Model::RunInstancesRequest::GetDryRun
bool GetDryRun() const
Definition: RunInstancesRequest.h:1178
InstanceMarketOptionsRequest.h
CapacityReservationSpecification.h
Aws::EC2::Model::RunInstancesRequest::Ipv6AddressesHasBeenSet
bool Ipv6AddressesHasBeenSet() const
Definition: RunInstancesRequest.h:259
Aws::EC2::Model::RunInstancesRequest::WithInstanceMarketOptions
RunInstancesRequest & WithInstanceMarketOptions(InstanceMarketOptionsRequest &&value)
Definition: RunInstancesRequest.h:1772
Aws::EC2::Model::RunInstancesRequest::AddSecurityGroups
RunInstancesRequest & AddSecurityGroups(const char *value)
Definition: RunInstancesRequest.h:864
Aws::EC2::Model::RunInstancesRequest::WithSecurityGroupIds
RunInstancesRequest & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
Definition: RunInstancesRequest.h:759
Aws::EC2::Model::RunInstancesRequest::WithDryRun
RunInstancesRequest & WithDryRun(bool value)
Definition: RunInstancesRequest.h:1202
Aws::EC2::Model::RunInstancesRequest::SetIpv6AddressCount
void SetIpv6AddressCount(int value)
Definition: RunInstancesRequest.h:228
Aws::EC2::Model::RunInstancesRequest::GetPrivateIpAddress
const Aws::String & GetPrivateIpAddress() const
Definition: RunInstancesRequest.h:1386
Aws::EC2::Model::RunInstancesRequest::SetMonitoring
void SetMonitoring(const RunInstancesMonitoringEnabled &value)
Definition: RunInstancesRequest.h:583
Aws::EC2::Model::RunInstancesRequest::GetIamInstanceProfile
const IamInstanceProfileSpecification & GetIamInstanceProfile() const
Definition: RunInstancesRequest.h:1249
Aws::EC2::Model::RunInstancesRequest::GetInstanceType
const InstanceType & GetInstanceType() const
Definition: RunInstancesRequest.h:157
Aws::EC2::Model::RunInstancesRequest::WithImageId
RunInstancesRequest & WithImageId(const Aws::String &value)
Definition: RunInstancesRequest.h:136
ElasticGpuSpecification.h
Aws::EC2::Model::RunInstancesRequest::SetEbsOptimized
void SetEbsOptimized(bool value)
Definition: RunInstancesRequest.h:1233
Aws::EC2::Model::RunInstancesRequest::UserDataHasBeenSet
bool UserDataHasBeenSet() const
Definition: RunInstancesRequest.h:944
Aws::EC2::Model::RunInstancesRequest::WithIpv6AddressCount
RunInstancesRequest & WithIpv6AddressCount(int value)
Definition: RunInstancesRequest.h:238
Aws::EC2::Model::RunInstancesRequest::WithMetadataOptions
RunInstancesRequest & WithMetadataOptions(const InstanceMetadataOptionsRequest &value)
Definition: RunInstancesRequest.h:2075
Aws::EC2::Model::RunInstancesRequest::AddSecurityGroups
RunInstancesRequest & AddSecurityGroups(const Aws::String &value)
Definition: RunInstancesRequest.h:848
Aws::EC2::Model::RunInstancesRequest::SetRamdiskId
void SetRamdiskId(Aws::String &&value)
Definition: RunInstancesRequest.h:674
Aws::EC2::Model::RunInstancesRequest::SetKernelId
void SetKernelId(Aws::String &&value)
Definition: RunInstancesRequest.h:352
Aws::EC2::Model::RunInstancesRequest::GetEbsOptimized
bool GetEbsOptimized() const
Definition: RunInstancesRequest.h:1213
Aws::EC2::Model::RunInstancesRequest::WithPrivateIpAddress
RunInstancesRequest & WithPrivateIpAddress(Aws::String &&value)
Definition: RunInstancesRequest.h:1452
Aws::EC2::Model::RunInstancesRequest::InstanceTypeHasBeenSet
bool InstanceTypeHasBeenSet() const
Definition: RunInstancesRequest.h:165
Aws::EC2::Model::RunInstancesRequest::WithBlockDeviceMappings
RunInstancesRequest & WithBlockDeviceMappings(const Aws::Vector< BlockDeviceMapping > &value)
Definition: RunInstancesRequest.h:84
Aws::EC2::Model::RunInstancesRequest::SetUserData
void SetUserData(Aws::String &&value)
Definition: RunInstancesRequest.h:966
Aws::EC2::Model::RunInstancesRequest::ElasticGpuSpecificationHasBeenSet
bool ElasticGpuSpecificationHasBeenSet() const
Definition: RunInstancesRequest.h:1482
Aws::EC2::Model::RunInstancesRequest::PrivateIpAddressHasBeenSet
bool PrivateIpAddressHasBeenSet() const
Definition: RunInstancesRequest.h:1397
Aws::EC2::Model::RunInstancesRequest::WithElasticGpuSpecification
RunInstancesRequest & WithElasticGpuSpecification(Aws::Vector< ElasticGpuSpecification > &&value)
Definition: RunInstancesRequest.h:1518
Aws::EC2::Model::RunInstancesRequest::WithUserData
RunInstancesRequest & WithUserData(const char *value)
Definition: RunInstancesRequest.h:1010
Aws::EC2::Model::RunInstancesRequest::ImageIdHasBeenSet
bool ImageIdHasBeenSet() const
Definition: RunInstancesRequest.h:112
Aws::EC2::Model::RunInstancesRequest::CpuOptionsHasBeenSet
bool CpuOptionsHasBeenSet() const
Definition: RunInstancesRequest.h:1866
Aws::EC2::Model::RunInstancesRequest::NetworkInterfacesHasBeenSet
bool NetworkInterfacesHasBeenSet() const
Definition: RunInstancesRequest.h:1332
Aws::EC2::Model::RunInstancesRequest::SetHibernationOptions
void SetHibernationOptions(const HibernationOptionsRequest &value)
Definition: RunInstancesRequest.h:1971
Aws::EC2::Model::RunInstancesRequest::WithCapacityReservationSpecification
RunInstancesRequest & WithCapacityReservationSpecification(CapacityReservationSpecification &&value)
Definition: RunInstancesRequest.h:1943
Aws::EC2::Model::RunInstancesRequest::EnclaveOptionsHasBeenSet
bool EnclaveOptionsHasBeenSet() const
Definition: RunInstancesRequest.h:2101
Aws::EC2::Model::RunInstancesRequest::SetInstanceInitiatedShutdownBehavior
void SetInstanceInitiatedShutdownBehavior(ShutdownBehavior &&value)
Definition: RunInstancesRequest.h:1303
Aws::EC2::Model::RunInstancesRequest::TagSpecificationsHasBeenSet
bool TagSpecificationsHasBeenSet() const
Definition: RunInstancesRequest.h:1620
HibernationOptionsRequest.h
Aws::EC2::Model::RunInstancesRequest::GetInstanceInitiatedShutdownBehavior
const ShutdownBehavior & GetInstanceInitiatedShutdownBehavior() const
Definition: RunInstancesRequest.h:1282
Aws::EC2::Model::RunInstancesRequest::WithMonitoring
RunInstancesRequest & WithMonitoring(const RunInstancesMonitoringEnabled &value)
Definition: RunInstancesRequest.h:593
CpuOptionsRequest.h
Aws::EC2::Model::RunInstancesRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::EC2::Model::RunInstancesRequest::WithImageId
RunInstancesRequest & WithImageId(const char *value)
Definition: RunInstancesRequest.h:148
IamInstanceProfileSpecification.h
Aws::EC2::Model::RunInstancesRequest::AddElasticGpuSpecification
RunInstancesRequest & AddElasticGpuSpecification(const ElasticGpuSpecification &value)
Definition: RunInstancesRequest.h:1527
Aws::EC2::Model::ElasticGpuSpecification
Definition: ElasticGpuSpecification.h:33
Aws::EC2::Model::RunInstancesRequest::GetPlacement
const Placement & GetPlacement() const
Definition: RunInstancesRequest.h:604
Aws::EC2::Model::RunInstancesRequest::SetIamInstanceProfile
void SetIamInstanceProfile(IamInstanceProfileSpecification &&value)
Definition: RunInstancesRequest.h:1264
Aws::EC2::Model::RunInstancesRequest::SetTagSpecifications
void SetTagSpecifications(const Aws::Vector< TagSpecification > &value)
Definition: RunInstancesRequest.h:1629
EC2Request.h
Aws::EC2::Model::RunInstancesRequest::WithClientToken
RunInstancesRequest & WithClientToken(const Aws::String &value)
Definition: RunInstancesRequest.h:1106
Aws::EC2::Model::RunInstancesRequest::WithCpuOptions
RunInstancesRequest & WithCpuOptions(const CpuOptionsRequest &value)
Definition: RunInstancesRequest.h:1887
Aws::EC2::Model::RunInstancesRequest::WithCapacityReservationSpecification
RunInstancesRequest & WithCapacityReservationSpecification(const CapacityReservationSpecification &value)
Definition: RunInstancesRequest.h:1935
Aws::EC2::Model::RunInstancesRequest::SetCapacityReservationSpecification
void SetCapacityReservationSpecification(CapacityReservationSpecification &&value)
Definition: RunInstancesRequest.h:1927
Aws::EC2::Model::RunInstancesRequest::SetElasticGpuSpecification
void SetElasticGpuSpecification(const Aws::Vector< ElasticGpuSpecification > &value)
Definition: RunInstancesRequest.h:1491
Aws::EC2::Model::RunInstancesRequest::SetImageId
void SetImageId(const Aws::String &value)
Definition: RunInstancesRequest.h:118
LicenseConfigurationRequest.h
Aws::EC2::Model::RunInstancesRequest::WithBlockDeviceMappings
RunInstancesRequest & WithBlockDeviceMappings(Aws::Vector< BlockDeviceMapping > &&value)
Definition: RunInstancesRequest.h:89
Aws::EC2::Model::RunInstancesRequest::GetMetadataOptions
const InstanceMetadataOptionsRequest & GetMetadataOptions() const
Definition: RunInstancesRequest.h:2047
ShutdownBehavior.h
Aws::EC2::Model::RunInstancesRequest::SecurityGroupIdsHasBeenSet
bool SecurityGroupIdsHasBeenSet() const
Definition: RunInstancesRequest.h:735
Aws::EC2::Model::ShutdownBehavior
ShutdownBehavior
Definition: ShutdownBehavior.h:17
Aws::EC2::Model::RunInstancesRequest::DisableApiTerminationHasBeenSet
bool DisableApiTerminationHasBeenSet() const
Definition: RunInstancesRequest.h:1147
Aws::EC2::Model::RunInstancesRequest::WithEbsOptimized
RunInstancesRequest & WithEbsOptimized(bool value)
Definition: RunInstancesRequest.h:1243
Aws::EC2::Model::RunInstancesRequest::SetCreditSpecification
void SetCreditSpecification(const CreditSpecificationRequest &value)
Definition: RunInstancesRequest.h:1812
Aws::EC2::Model::RunInstancesRequest::RamdiskIdHasBeenSet
bool RamdiskIdHasBeenSet() const
Definition: RunInstancesRequest.h:652
Placement.h
Aws::EC2::Model::RunInstancesMonitoringEnabled
Definition: RunInstancesMonitoringEnabled.h:30
Aws::EC2::Model::EnclaveOptionsRequest
Definition: EnclaveOptionsRequest.h:34
Aws::EC2::Model::RunInstancesRequest::WithLaunchTemplate
RunInstancesRequest & WithLaunchTemplate(LaunchTemplateSpecification &&value)
Definition: RunInstancesRequest.h:1723
Aws::EC2::Model::RunInstancesRequest::SetIpv6Addresses
void SetIpv6Addresses(Aws::Vector< InstanceIpv6Address > &&value)
Definition: RunInstancesRequest.h:279
Aws::EC2::Model::RunInstancesRequest::SetElasticGpuSpecification
void SetElasticGpuSpecification(Aws::Vector< ElasticGpuSpecification > &&value)
Definition: RunInstancesRequest.h:1500
Aws::EC2::Model::RunInstancesRequest::WithHibernationOptions
RunInstancesRequest & WithHibernationOptions(const HibernationOptionsRequest &value)
Definition: RunInstancesRequest.h:1989
Aws::EC2::Model::RunInstancesRequest::WithImageId
RunInstancesRequest & WithImageId(Aws::String &&value)
Definition: RunInstancesRequest.h:142
Aws::EC2::Model::InstanceIpv6Address
Definition: InstanceIpv6Address.h:32
Aws::EC2::Model::RunInstancesRequest::GetCpuOptions
const CpuOptionsRequest & GetCpuOptions() const
Definition: RunInstancesRequest.h:1859
AWSString.h
Aws::EC2::Model::RunInstancesRequest::SetUserData
void SetUserData(const char *value)
Definition: RunInstancesRequest.h:977
Aws::EC2::Model::RunInstancesRequest::AdditionalInfoHasBeenSet
bool AdditionalInfoHasBeenSet() const
Definition: RunInstancesRequest.h:1021
Aws::EC2::Model::RunInstancesRequest::SetInstanceMarketOptions
void SetInstanceMarketOptions(InstanceMarketOptionsRequest &&value)
Definition: RunInstancesRequest.h:1756
Aws::EC2::Model::RunInstancesRequest::SetLaunchTemplate
void SetLaunchTemplate(const LaunchTemplateSpecification &value)
Definition: RunInstancesRequest.h:1699
Aws::EC2::Model::RunInstancesRequest::WithHibernationOptions
RunInstancesRequest & WithHibernationOptions(HibernationOptionsRequest &&value)
Definition: RunInstancesRequest.h:1998
Aws::EC2::Model::RunInstancesRequest::SetCapacityReservationSpecification
void SetCapacityReservationSpecification(const CapacityReservationSpecification &value)
Definition: RunInstancesRequest.h:1919
Aws::EC2::Model::RunInstancesRequest::GetEnclaveOptions
const EnclaveOptionsRequest & GetEnclaveOptions() const
Definition: RunInstancesRequest.h:2092
Aws::EC2::Model::RunInstancesRequest::WithSubnetId
RunInstancesRequest & WithSubnetId(const char *value)
Definition: RunInstancesRequest.h:921
Aws::EC2::Model::RunInstancesRequest::AddNetworkInterfaces
RunInstancesRequest & AddNetworkInterfaces(const InstanceNetworkInterfaceSpecification &value)
Definition: RunInstancesRequest.h:1367
Aws::EC2::Model::RunInstancesRequest::AddTagSpecifications
RunInstancesRequest & AddTagSpecifications(TagSpecification &&value)
Definition: RunInstancesRequest.h:1674
Aws::EC2::Model::RunInstancesRequest::GetDisableApiTermination
bool GetDisableApiTermination() const
Definition: RunInstancesRequest.h:1136
Aws::EC2::Model::RunInstancesRequest::WithIamInstanceProfile
RunInstancesRequest & WithIamInstanceProfile(IamInstanceProfileSpecification &&value)
Definition: RunInstancesRequest.h:1274
Aws::EC2::Model::RunInstancesRequest::SetClientToken
void SetClientToken(Aws::String &&value)
Definition: RunInstancesRequest.h:1088
Aws::EC2::Model::RunInstancesRequest::AddElasticInferenceAccelerators
RunInstancesRequest & AddElasticInferenceAccelerators(ElasticInferenceAccelerator &&value)
Definition: RunInstancesRequest.h:1601
Aws::EC2::Model::RunInstancesRequest::InstanceInitiatedShutdownBehaviorHasBeenSet
bool InstanceInitiatedShutdownBehaviorHasBeenSet() const
Definition: RunInstancesRequest.h:1289
Aws::EC2::Model::RunInstancesRequest::SetSecurityGroups
void SetSecurityGroups(Aws::Vector< Aws::String > &&value)
Definition: RunInstancesRequest.h:824
Aws::EC2::Model::RunInstancesRequest::SetPrivateIpAddress
void SetPrivateIpAddress(const char *value)
Definition: RunInstancesRequest.h:1430
Aws::EC2::Model::RunInstancesRequest::WithPrivateIpAddress
RunInstancesRequest & WithPrivateIpAddress(const char *value)
Definition: RunInstancesRequest.h:1463
Aws::EC2::Model::RunInstancesRequest::WithInstanceType
RunInstancesRequest & WithInstanceType(const InstanceType &value)
Definition: RunInstancesRequest.h:189
Aws::EC2::Model::RunInstancesRequest::WithElasticGpuSpecification
RunInstancesRequest & WithElasticGpuSpecification(const Aws::Vector< ElasticGpuSpecification > &value)
Definition: RunInstancesRequest.h:1509
Aws::EC2::Model::RunInstancesRequest::WithRamdiskId
RunInstancesRequest & WithRamdiskId(const char *value)
Definition: RunInstancesRequest.h:718
Aws::EC2::Model::RunInstancesRequest::ClientTokenHasBeenSet
bool ClientTokenHasBeenSet() const
Definition: RunInstancesRequest.h:1070
Aws::EC2::Model::RunInstancesRequest::SetInstanceInitiatedShutdownBehavior
void SetInstanceInitiatedShutdownBehavior(const ShutdownBehavior &value)
Definition: RunInstancesRequest.h:1296
InstanceType.h
Aws::EC2::Model::RunInstancesRequest::SetIpv6Addresses
void SetIpv6Addresses(const Aws::Vector< InstanceIpv6Address > &value)
Definition: RunInstancesRequest.h:269
Aws::EC2::Model::RunInstancesRequest::PlacementHasBeenSet
bool PlacementHasBeenSet() const
Definition: RunInstancesRequest.h:609
Aws::EC2::Model::RunInstancesRequest::SetImageId
void SetImageId(Aws::String &&value)
Definition: RunInstancesRequest.h:124
Aws::EC2::Model::RunInstancesRequest::WithPlacement
RunInstancesRequest & WithPlacement(Placement &&value)
Definition: RunInstancesRequest.h:629
Aws::EC2::Model::RunInstancesRequest::GetClientToken
const Aws::String & GetClientToken() const
Definition: RunInstancesRequest.h:1061
Aws::EC2::Model::RunInstancesRequest::AddIpv6Addresses
RunInstancesRequest & AddIpv6Addresses(const InstanceIpv6Address &value)
Definition: RunInstancesRequest.h:309
Aws::EC2::Model::RunInstancesRequest::WithKernelId
RunInstancesRequest & WithKernelId(const char *value)
Definition: RunInstancesRequest.h:384
Aws::EC2::Model::RunInstancesRequest::KernelIdHasBeenSet
bool KernelIdHasBeenSet() const
Definition: RunInstancesRequest.h:336
Aws::EC2::Model::RunInstancesRequest::SetPrivateIpAddress
void SetPrivateIpAddress(const Aws::String &value)
Definition: RunInstancesRequest.h:1408
Aws::EC2::Model::BlockDeviceMapping
Definition: BlockDeviceMapping.h:33
Aws::EC2::Model::RunInstancesRequest::GetTagSpecifications
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
Definition: RunInstancesRequest.h:1611
Aws::EC2::Model::RunInstancesRequest::GetCapacityReservationSpecification
const CapacityReservationSpecification & GetCapacityReservationSpecification() const
Definition: RunInstancesRequest.h:1903
InstanceIpv6Address.h
LaunchTemplateSpecification.h
Aws::EC2::Model::RunInstancesRequest::SetPrivateIpAddress
void SetPrivateIpAddress(Aws::String &&value)
Definition: RunInstancesRequest.h:1419
Aws::EC2::Model::RunInstancesRequest::WithKernelId
RunInstancesRequest & WithKernelId(Aws::String &&value)
Definition: RunInstancesRequest.h:376
Aws::EC2::Model::RunInstancesRequest::AddElasticInferenceAccelerators
RunInstancesRequest & AddElasticInferenceAccelerators(const ElasticInferenceAccelerator &value)
Definition: RunInstancesRequest.h:1593
Aws::EC2::Model::RunInstancesRequest::WithInstanceMarketOptions
RunInstancesRequest & WithInstanceMarketOptions(const InstanceMarketOptionsRequest &value)
Definition: RunInstancesRequest.h:1764
Aws::EC2::Model::RunInstancesRequest::SetInstanceMarketOptions
void SetInstanceMarketOptions(const InstanceMarketOptionsRequest &value)
Definition: RunInstancesRequest.h:1748
Aws::EC2::Model::RunInstancesRequest::WithCreditSpecification
RunInstancesRequest & WithCreditSpecification(const CreditSpecificationRequest &value)
Definition: RunInstancesRequest.h:1838
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::RunInstancesRequest::GetLaunchTemplate
const LaunchTemplateSpecification & GetLaunchTemplate() const
Definition: RunInstancesRequest.h:1683
Aws::EC2::Model::RunInstancesRequest::WithKeyName
RunInstancesRequest & WithKeyName(const Aws::String &value)
Definition: RunInstancesRequest.h:451
Aws::EC2::Model::RunInstancesRequest::MinCountHasBeenSet
bool MinCountHasBeenSet() const
Definition: RunInstancesRequest.h:545
Aws::EC2::Model::RunInstancesRequest::SetPlacement
void SetPlacement(Placement &&value)
Definition: RunInstancesRequest.h:619
Aws::EC2::Model::RunInstancesRequest::SetLaunchTemplate
void SetLaunchTemplate(LaunchTemplateSpecification &&value)
Definition: RunInstancesRequest.h:1707
Aws::EC2::Model::RunInstancesRequest::SetImageId
void SetImageId(const char *value)
Definition: RunInstancesRequest.h:130
Aws::EC2::Model::RunInstancesRequest::LaunchTemplateHasBeenSet
bool LaunchTemplateHasBeenSet() const
Definition: RunInstancesRequest.h:1691
Aws::EC2::Model::RunInstancesRequest::AddBlockDeviceMappings
RunInstancesRequest & AddBlockDeviceMappings(const BlockDeviceMapping &value)
Definition: RunInstancesRequest.h:94
Aws::EC2::Model::RunInstancesRequest::WithClientToken
RunInstancesRequest & WithClientToken(Aws::String &&value)
Definition: RunInstancesRequest.h:1115
Aws::EC2::Model::IamInstanceProfileSpecification
Definition: IamInstanceProfileSpecification.h:32
Aws::EC2::Model::RunInstancesRequest::SetInstanceType
void SetInstanceType(const InstanceType &value)
Definition: RunInstancesRequest.h:173
Aws::EC2::Model::RunInstancesRequest::AddSecurityGroupIds
RunInstancesRequest & AddSecurityGroupIds(const Aws::String &value)
Definition: RunInstancesRequest.h:775
Aws::EC2::Model::RunInstancesRequest::CreditSpecificationHasBeenSet
bool CreditSpecificationHasBeenSet() const
Definition: RunInstancesRequest.h:1799
Aws::EC2::Model::RunInstancesRequest::WithElasticInferenceAccelerators
RunInstancesRequest & WithElasticInferenceAccelerators(const Aws::Vector< ElasticInferenceAccelerator > &value)
Definition: RunInstancesRequest.h:1577
Aws::EC2::Model::RunInstancesRequest::GetBlockDeviceMappings
const Aws::Vector< BlockDeviceMapping > & GetBlockDeviceMappings() const
Definition: RunInstancesRequest.h:64
Aws::EC2::Model::RunInstancesRequest::SetEnclaveOptions
void SetEnclaveOptions(EnclaveOptionsRequest &&value)
Definition: RunInstancesRequest.h:2119
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::RunInstancesRequest::KeyNameHasBeenSet
bool KeyNameHasBeenSet() const
Definition: RunInstancesRequest.h:407
Aws::EC2::Model::RunInstancesRequest::WithIpv6Addresses
RunInstancesRequest & WithIpv6Addresses(const Aws::Vector< InstanceIpv6Address > &value)
Definition: RunInstancesRequest.h:289
Aws::EC2::Model::RunInstancesRequest::GetMaxCount
int GetMaxCount() const
Definition: RunInstancesRequest.h:486
Aws::EC2::Model::RunInstancesRequest::SetMonitoring
void SetMonitoring(RunInstancesMonitoringEnabled &&value)
Definition: RunInstancesRequest.h:588
Aws::EC2::Model::RunInstancesRequest::AddLicenseSpecifications
RunInstancesRequest & AddLicenseSpecifications(LicenseConfigurationRequest &&value)
Definition: RunInstancesRequest.h:2039
Aws::EC2::EC2Request
Definition: EC2Request.h:17
Aws::EC2::Model::RunInstancesRequest::WithElasticInferenceAccelerators
RunInstancesRequest & WithElasticInferenceAccelerators(Aws::Vector< ElasticInferenceAccelerator > &&value)
Definition: RunInstancesRequest.h:1585
Aws::EC2::Model::RunInstancesRequest::SetClientToken
void SetClientToken(const char *value)
Definition: RunInstancesRequest.h:1097
Aws::EC2::Model::RunInstancesRequest::WithRamdiskId
RunInstancesRequest & WithRamdiskId(const Aws::String &value)
Definition: RunInstancesRequest.h:696
Aws::EC2::Model::RunInstancesRequest::SetHibernationOptions
void SetHibernationOptions(HibernationOptionsRequest &&value)
Definition: RunInstancesRequest.h:1980
Aws::EC2::Model::RunInstancesRequest::SetAdditionalInfo
void SetAdditionalInfo(const char *value)
Definition: RunInstancesRequest.h:1036
Aws::EC2::Model::RunInstancesRequest::GetElasticInferenceAccelerators
const Aws::Vector< ElasticInferenceAccelerator > & GetElasticInferenceAccelerators() const
Definition: RunInstancesRequest.h:1545
Aws::EC2::Model::RunInstancesRequest::SetAdditionalInfo
void SetAdditionalInfo(Aws::String &&value)
Definition: RunInstancesRequest.h:1031
Aws::EC2::Model::CpuOptionsRequest
Definition: CpuOptionsRequest.h:31
Aws::EC2::Model::RunInstancesRequest::SetMetadataOptions
void SetMetadataOptions(InstanceMetadataOptionsRequest &&value)
Definition: RunInstancesRequest.h:2068
Aws::EC2::Model::RunInstancesRequest::WithCreditSpecification
RunInstancesRequest & WithCreditSpecification(CreditSpecificationRequest &&value)
Definition: RunInstancesRequest.h:1851
Aws::EC2::Model::RunInstancesRequest::SetSubnetId
void SetSubnetId(const Aws::String &value)
Definition: RunInstancesRequest.h:886
Aws::EC2::Model::RunInstancesRequest::GetRamdiskId
const Aws::String & GetRamdiskId() const
Definition: RunInstancesRequest.h:641
Aws::EC2::Model::RunInstancesRequest::BlockDeviceMappingsHasBeenSet
bool BlockDeviceMappingsHasBeenSet() const
Definition: RunInstancesRequest.h:69
UUID.h
Aws::EC2::Model::TagSpecification
Definition: TagSpecification.h:35
Aws::EC2::Model::RunInstancesRequest::WithSubnetId
RunInstancesRequest & WithSubnetId(Aws::String &&value)
Definition: RunInstancesRequest.h:914
EC2_EXPORTS.h
Aws::EC2::Model::RunInstancesRequest::MetadataOptionsHasBeenSet
bool MetadataOptionsHasBeenSet() const
Definition: RunInstancesRequest.h:2054
Aws::EC2::Model::InstanceType
InstanceType
Definition: InstanceType.h:17
Aws::EC2::Model::RunInstancesRequest::WithLicenseSpecifications
RunInstancesRequest & WithLicenseSpecifications(Aws::Vector< LicenseConfigurationRequest > &&value)
Definition: RunInstancesRequest.h:2029
Aws::EC2::Model::RunInstancesRequest::GetLicenseSpecifications
const Aws::Vector< LicenseConfigurationRequest > & GetLicenseSpecifications() const
Definition: RunInstancesRequest.h:2004
Aws::EC2::Model::RunInstancesRequest::IamInstanceProfileHasBeenSet
bool IamInstanceProfileHasBeenSet() const
Definition: RunInstancesRequest.h:1254
Aws::EC2::Model::RunInstancesRequest::AddSecurityGroups
RunInstancesRequest & AddSecurityGroups(Aws::String &&value)
Definition: RunInstancesRequest.h:856
Aws::EC2::Model::RunInstancesRequest::SetPlacement
void SetPlacement(const Placement &value)
Definition: RunInstancesRequest.h:614
Aws::EC2::Model::RunInstancesRequest::WithKeyName
RunInstancesRequest & WithKeyName(Aws::String &&value)
Definition: RunInstancesRequest.h:462
RunInstancesMonitoringEnabled.h
Aws::EC2::Model::RunInstancesRequest::SetSecurityGroupIds
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
Definition: RunInstancesRequest.h:743
Aws::EC2::Model::RunInstancesRequest::WithInstanceType
RunInstancesRequest & WithInstanceType(InstanceType &&value)
Definition: RunInstancesRequest.h:197
Aws::EC2::Model::RunInstancesRequest::WithKernelId
RunInstancesRequest & WithKernelId(const Aws::String &value)
Definition: RunInstancesRequest.h:368
Aws::EC2::Model::RunInstancesRequest::SetBlockDeviceMappings
void SetBlockDeviceMappings(Aws::Vector< BlockDeviceMapping > &&value)
Definition: RunInstancesRequest.h:79
Aws::EC2::Model::RunInstancesRequest::WithTagSpecifications
RunInstancesRequest & WithTagSpecifications(Aws::Vector< TagSpecification > &&value)
Definition: RunInstancesRequest.h:1656
Aws::EC2::Model::RunInstancesRequest::WithUserData
RunInstancesRequest & WithUserData(Aws::String &&value)
Definition: RunInstancesRequest.h:999
Aws::EC2::Model::RunInstancesRequest::WithNetworkInterfaces
RunInstancesRequest & WithNetworkInterfaces(const Aws::Vector< InstanceNetworkInterfaceSpecification > &value)
Definition: RunInstancesRequest.h:1353
Aws::EC2::Model::RunInstancesRequest::SetCreditSpecification
void SetCreditSpecification(CreditSpecificationRequest &&value)
Definition: RunInstancesRequest.h:1825
Aws::EC2::Model::RunInstancesRequest::GetSecurityGroups
const Aws::Vector< Aws::String > & GetSecurityGroups() const
Definition: RunInstancesRequest.h:800
Aws::EC2::Model::RunInstancesRequest::SetDisableApiTermination
void SetDisableApiTermination(bool value)
Definition: RunInstancesRequest.h:1158
Aws::EC2::Model::RunInstancesRequest::InstanceMarketOptionsHasBeenSet
bool InstanceMarketOptionsHasBeenSet() const
Definition: RunInstancesRequest.h:1740
Aws::EC2::Model::RunInstancesRequest::GetUserData
const Aws::String & GetUserData() const
Definition: RunInstancesRequest.h:933
Aws::EC2::Model::RunInstancesRequest::WithMonitoring
RunInstancesRequest & WithMonitoring(RunInstancesMonitoringEnabled &&value)
Definition: RunInstancesRequest.h:598