AWS SDK for C++  1.9.66
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 
642  inline const Aws::String& GetRamdiskId() const{ return m_ramdiskId; }
643 
654  inline bool RamdiskIdHasBeenSet() const { return m_ramdiskIdHasBeenSet; }
655 
666  inline void SetRamdiskId(const Aws::String& value) { m_ramdiskIdHasBeenSet = true; m_ramdiskId = value; }
667 
678  inline void SetRamdiskId(Aws::String&& value) { m_ramdiskIdHasBeenSet = true; m_ramdiskId = std::move(value); }
679 
690  inline void SetRamdiskId(const char* value) { m_ramdiskIdHasBeenSet = true; m_ramdiskId.assign(value); }
691 
702  inline RunInstancesRequest& WithRamdiskId(const Aws::String& value) { SetRamdiskId(value); return *this;}
703 
714  inline RunInstancesRequest& WithRamdiskId(Aws::String&& value) { SetRamdiskId(std::move(value)); return *this;}
715 
726  inline RunInstancesRequest& WithRamdiskId(const char* value) { SetRamdiskId(value); return *this;}
727 
728 
735  inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
736 
743  inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
744 
751  inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; }
752 
759  inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); }
760 
767  inline RunInstancesRequest& WithSecurityGroupIds(const Aws::Vector<Aws::String>& value) { SetSecurityGroupIds(value); return *this;}
768 
775  inline RunInstancesRequest& WithSecurityGroupIds(Aws::Vector<Aws::String>&& value) { SetSecurityGroupIds(std::move(value)); return *this;}
776 
783  inline RunInstancesRequest& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
784 
791  inline RunInstancesRequest& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; }
792 
799  inline RunInstancesRequest& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
800 
801 
808  inline const Aws::Vector<Aws::String>& GetSecurityGroups() const{ return m_securityGroups; }
809 
816  inline bool SecurityGroupsHasBeenSet() const { return m_securityGroupsHasBeenSet; }
817 
824  inline void SetSecurityGroups(const Aws::Vector<Aws::String>& value) { m_securityGroupsHasBeenSet = true; m_securityGroups = value; }
825 
832  inline void SetSecurityGroups(Aws::Vector<Aws::String>&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups = std::move(value); }
833 
840  inline RunInstancesRequest& WithSecurityGroups(const Aws::Vector<Aws::String>& value) { SetSecurityGroups(value); return *this;}
841 
848  inline RunInstancesRequest& WithSecurityGroups(Aws::Vector<Aws::String>&& value) { SetSecurityGroups(std::move(value)); return *this;}
849 
856  inline RunInstancesRequest& AddSecurityGroups(const Aws::String& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(value); return *this; }
857 
864  inline RunInstancesRequest& AddSecurityGroups(Aws::String&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(std::move(value)); return *this; }
865 
872  inline RunInstancesRequest& AddSecurityGroups(const char* value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(value); return *this; }
873 
874 
880  inline const Aws::String& GetSubnetId() const{ return m_subnetId; }
881 
887  inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; }
888 
894  inline void SetSubnetId(const Aws::String& value) { m_subnetIdHasBeenSet = true; m_subnetId = value; }
895 
901  inline void SetSubnetId(Aws::String&& value) { m_subnetIdHasBeenSet = true; m_subnetId = std::move(value); }
902 
908  inline void SetSubnetId(const char* value) { m_subnetIdHasBeenSet = true; m_subnetId.assign(value); }
909 
915  inline RunInstancesRequest& WithSubnetId(const Aws::String& value) { SetSubnetId(value); return *this;}
916 
922  inline RunInstancesRequest& WithSubnetId(Aws::String&& value) { SetSubnetId(std::move(value)); return *this;}
923 
929  inline RunInstancesRequest& WithSubnetId(const char* value) { SetSubnetId(value); return *this;}
930 
931 
941  inline const Aws::String& GetUserData() const{ return m_userData; }
942 
952  inline bool UserDataHasBeenSet() const { return m_userDataHasBeenSet; }
953 
963  inline void SetUserData(const Aws::String& value) { m_userDataHasBeenSet = true; m_userData = value; }
964 
974  inline void SetUserData(Aws::String&& value) { m_userDataHasBeenSet = true; m_userData = std::move(value); }
975 
985  inline void SetUserData(const char* value) { m_userDataHasBeenSet = true; m_userData.assign(value); }
986 
996  inline RunInstancesRequest& WithUserData(const Aws::String& value) { SetUserData(value); return *this;}
997 
1007  inline RunInstancesRequest& WithUserData(Aws::String&& value) { SetUserData(std::move(value)); return *this;}
1008 
1018  inline RunInstancesRequest& WithUserData(const char* value) { SetUserData(value); return *this;}
1019 
1020 
1024  inline const Aws::String& GetAdditionalInfo() const{ return m_additionalInfo; }
1025 
1029  inline bool AdditionalInfoHasBeenSet() const { return m_additionalInfoHasBeenSet; }
1030 
1034  inline void SetAdditionalInfo(const Aws::String& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo = value; }
1035 
1039  inline void SetAdditionalInfo(Aws::String&& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo = std::move(value); }
1040 
1044  inline void SetAdditionalInfo(const char* value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.assign(value); }
1045 
1049  inline RunInstancesRequest& WithAdditionalInfo(const Aws::String& value) { SetAdditionalInfo(value); return *this;}
1050 
1054  inline RunInstancesRequest& WithAdditionalInfo(Aws::String&& value) { SetAdditionalInfo(std::move(value)); return *this;}
1055 
1059  inline RunInstancesRequest& WithAdditionalInfo(const char* value) { SetAdditionalInfo(value); return *this;}
1060 
1061 
1069  inline const Aws::String& GetClientToken() const{ return m_clientToken; }
1070 
1078  inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
1079 
1087  inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
1088 
1096  inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
1097 
1105  inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
1106 
1114  inline RunInstancesRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
1115 
1123  inline RunInstancesRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
1124 
1132  inline RunInstancesRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
1133 
1134 
1144  inline bool GetDisableApiTermination() const{ return m_disableApiTermination; }
1145 
1155  inline bool DisableApiTerminationHasBeenSet() const { return m_disableApiTerminationHasBeenSet; }
1156 
1166  inline void SetDisableApiTermination(bool value) { m_disableApiTerminationHasBeenSet = true; m_disableApiTermination = value; }
1167 
1177  inline RunInstancesRequest& WithDisableApiTermination(bool value) { SetDisableApiTermination(value); return *this;}
1178 
1179 
1186  inline bool GetDryRun() const{ return m_dryRun; }
1187 
1194  inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
1195 
1202  inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
1203 
1210  inline RunInstancesRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
1211 
1212 
1221  inline bool GetEbsOptimized() const{ return m_ebsOptimized; }
1222 
1231  inline bool EbsOptimizedHasBeenSet() const { return m_ebsOptimizedHasBeenSet; }
1232 
1241  inline void SetEbsOptimized(bool value) { m_ebsOptimizedHasBeenSet = true; m_ebsOptimized = value; }
1242 
1251  inline RunInstancesRequest& WithEbsOptimized(bool value) { SetEbsOptimized(value); return *this;}
1252 
1253 
1257  inline const IamInstanceProfileSpecification& GetIamInstanceProfile() const{ return m_iamInstanceProfile; }
1258 
1262  inline bool IamInstanceProfileHasBeenSet() const { return m_iamInstanceProfileHasBeenSet; }
1263 
1267  inline void SetIamInstanceProfile(const IamInstanceProfileSpecification& value) { m_iamInstanceProfileHasBeenSet = true; m_iamInstanceProfile = value; }
1268 
1272  inline void SetIamInstanceProfile(IamInstanceProfileSpecification&& value) { m_iamInstanceProfileHasBeenSet = true; m_iamInstanceProfile = std::move(value); }
1273 
1277  inline RunInstancesRequest& WithIamInstanceProfile(const IamInstanceProfileSpecification& value) { SetIamInstanceProfile(value); return *this;}
1278 
1282  inline RunInstancesRequest& WithIamInstanceProfile(IamInstanceProfileSpecification&& value) { SetIamInstanceProfile(std::move(value)); return *this;}
1283 
1284 
1290  inline const ShutdownBehavior& GetInstanceInitiatedShutdownBehavior() const{ return m_instanceInitiatedShutdownBehavior; }
1291 
1297  inline bool InstanceInitiatedShutdownBehaviorHasBeenSet() const { return m_instanceInitiatedShutdownBehaviorHasBeenSet; }
1298 
1304  inline void SetInstanceInitiatedShutdownBehavior(const ShutdownBehavior& value) { m_instanceInitiatedShutdownBehaviorHasBeenSet = true; m_instanceInitiatedShutdownBehavior = value; }
1305 
1311  inline void SetInstanceInitiatedShutdownBehavior(ShutdownBehavior&& value) { m_instanceInitiatedShutdownBehaviorHasBeenSet = true; m_instanceInitiatedShutdownBehavior = std::move(value); }
1312 
1318  inline RunInstancesRequest& WithInstanceInitiatedShutdownBehavior(const ShutdownBehavior& value) { SetInstanceInitiatedShutdownBehavior(value); return *this;}
1319 
1325  inline RunInstancesRequest& WithInstanceInitiatedShutdownBehavior(ShutdownBehavior&& value) { SetInstanceInitiatedShutdownBehavior(std::move(value)); return *this;}
1326 
1327 
1333  inline const Aws::Vector<InstanceNetworkInterfaceSpecification>& GetNetworkInterfaces() const{ return m_networkInterfaces; }
1334 
1340  inline bool NetworkInterfacesHasBeenSet() const { return m_networkInterfacesHasBeenSet; }
1341 
1347  inline void SetNetworkInterfaces(const Aws::Vector<InstanceNetworkInterfaceSpecification>& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces = value; }
1348 
1354  inline void SetNetworkInterfaces(Aws::Vector<InstanceNetworkInterfaceSpecification>&& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces = std::move(value); }
1355 
1361  inline RunInstancesRequest& WithNetworkInterfaces(const Aws::Vector<InstanceNetworkInterfaceSpecification>& value) { SetNetworkInterfaces(value); return *this;}
1362 
1368  inline RunInstancesRequest& WithNetworkInterfaces(Aws::Vector<InstanceNetworkInterfaceSpecification>&& value) { SetNetworkInterfaces(std::move(value)); return *this;}
1369 
1375  inline RunInstancesRequest& AddNetworkInterfaces(const InstanceNetworkInterfaceSpecification& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces.push_back(value); return *this; }
1376 
1382  inline RunInstancesRequest& AddNetworkInterfaces(InstanceNetworkInterfaceSpecification&& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces.push_back(std::move(value)); return *this; }
1383 
1384 
1394  inline const Aws::String& GetPrivateIpAddress() const{ return m_privateIpAddress; }
1395 
1405  inline bool PrivateIpAddressHasBeenSet() const { return m_privateIpAddressHasBeenSet; }
1406 
1416  inline void SetPrivateIpAddress(const Aws::String& value) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress = value; }
1417 
1427  inline void SetPrivateIpAddress(Aws::String&& value) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress = std::move(value); }
1428 
1438  inline void SetPrivateIpAddress(const char* value) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress.assign(value); }
1439 
1449  inline RunInstancesRequest& WithPrivateIpAddress(const Aws::String& value) { SetPrivateIpAddress(value); return *this;}
1450 
1460  inline RunInstancesRequest& WithPrivateIpAddress(Aws::String&& value) { SetPrivateIpAddress(std::move(value)); return *this;}
1461 
1471  inline RunInstancesRequest& WithPrivateIpAddress(const char* value) { SetPrivateIpAddress(value); return *this;}
1472 
1473 
1481  inline const Aws::Vector<ElasticGpuSpecification>& GetElasticGpuSpecification() const{ return m_elasticGpuSpecification; }
1482 
1490  inline bool ElasticGpuSpecificationHasBeenSet() const { return m_elasticGpuSpecificationHasBeenSet; }
1491 
1499  inline void SetElasticGpuSpecification(const Aws::Vector<ElasticGpuSpecification>& value) { m_elasticGpuSpecificationHasBeenSet = true; m_elasticGpuSpecification = value; }
1500 
1508  inline void SetElasticGpuSpecification(Aws::Vector<ElasticGpuSpecification>&& value) { m_elasticGpuSpecificationHasBeenSet = true; m_elasticGpuSpecification = std::move(value); }
1509 
1517  inline RunInstancesRequest& WithElasticGpuSpecification(const Aws::Vector<ElasticGpuSpecification>& value) { SetElasticGpuSpecification(value); return *this;}
1518 
1526  inline RunInstancesRequest& WithElasticGpuSpecification(Aws::Vector<ElasticGpuSpecification>&& value) { SetElasticGpuSpecification(std::move(value)); return *this;}
1527 
1535  inline RunInstancesRequest& AddElasticGpuSpecification(const ElasticGpuSpecification& value) { m_elasticGpuSpecificationHasBeenSet = true; m_elasticGpuSpecification.push_back(value); return *this; }
1536 
1544  inline RunInstancesRequest& AddElasticGpuSpecification(ElasticGpuSpecification&& value) { m_elasticGpuSpecificationHasBeenSet = true; m_elasticGpuSpecification.push_back(std::move(value)); return *this; }
1545 
1546 
1553  inline const Aws::Vector<ElasticInferenceAccelerator>& GetElasticInferenceAccelerators() const{ return m_elasticInferenceAccelerators; }
1554 
1561  inline bool ElasticInferenceAcceleratorsHasBeenSet() const { return m_elasticInferenceAcceleratorsHasBeenSet; }
1562 
1569  inline void SetElasticInferenceAccelerators(const Aws::Vector<ElasticInferenceAccelerator>& value) { m_elasticInferenceAcceleratorsHasBeenSet = true; m_elasticInferenceAccelerators = value; }
1570 
1577  inline void SetElasticInferenceAccelerators(Aws::Vector<ElasticInferenceAccelerator>&& value) { m_elasticInferenceAcceleratorsHasBeenSet = true; m_elasticInferenceAccelerators = std::move(value); }
1578 
1585  inline RunInstancesRequest& WithElasticInferenceAccelerators(const Aws::Vector<ElasticInferenceAccelerator>& value) { SetElasticInferenceAccelerators(value); return *this;}
1586 
1593  inline RunInstancesRequest& WithElasticInferenceAccelerators(Aws::Vector<ElasticInferenceAccelerator>&& value) { SetElasticInferenceAccelerators(std::move(value)); return *this;}
1594 
1601  inline RunInstancesRequest& AddElasticInferenceAccelerators(const ElasticInferenceAccelerator& value) { m_elasticInferenceAcceleratorsHasBeenSet = true; m_elasticInferenceAccelerators.push_back(value); return *this; }
1602 
1609  inline RunInstancesRequest& AddElasticInferenceAccelerators(ElasticInferenceAccelerator&& value) { m_elasticInferenceAcceleratorsHasBeenSet = true; m_elasticInferenceAccelerators.push_back(std::move(value)); return *this; }
1610 
1611 
1619  inline const Aws::Vector<TagSpecification>& GetTagSpecifications() const{ return m_tagSpecifications; }
1620 
1628  inline bool TagSpecificationsHasBeenSet() const { return m_tagSpecificationsHasBeenSet; }
1629 
1637  inline void SetTagSpecifications(const Aws::Vector<TagSpecification>& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications = value; }
1638 
1646  inline void SetTagSpecifications(Aws::Vector<TagSpecification>&& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications = std::move(value); }
1647 
1655  inline RunInstancesRequest& WithTagSpecifications(const Aws::Vector<TagSpecification>& value) { SetTagSpecifications(value); return *this;}
1656 
1664  inline RunInstancesRequest& WithTagSpecifications(Aws::Vector<TagSpecification>&& value) { SetTagSpecifications(std::move(value)); return *this;}
1665 
1673  inline RunInstancesRequest& AddTagSpecifications(const TagSpecification& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications.push_back(value); return *this; }
1674 
1682  inline RunInstancesRequest& AddTagSpecifications(TagSpecification&& value) { m_tagSpecificationsHasBeenSet = true; m_tagSpecifications.push_back(std::move(value)); return *this; }
1683 
1684 
1691  inline const LaunchTemplateSpecification& GetLaunchTemplate() const{ return m_launchTemplate; }
1692 
1699  inline bool LaunchTemplateHasBeenSet() const { return m_launchTemplateHasBeenSet; }
1700 
1707  inline void SetLaunchTemplate(const LaunchTemplateSpecification& value) { m_launchTemplateHasBeenSet = true; m_launchTemplate = value; }
1708 
1715  inline void SetLaunchTemplate(LaunchTemplateSpecification&& value) { m_launchTemplateHasBeenSet = true; m_launchTemplate = std::move(value); }
1716 
1723  inline RunInstancesRequest& WithLaunchTemplate(const LaunchTemplateSpecification& value) { SetLaunchTemplate(value); return *this;}
1724 
1731  inline RunInstancesRequest& WithLaunchTemplate(LaunchTemplateSpecification&& value) { SetLaunchTemplate(std::move(value)); return *this;}
1732 
1733 
1740  inline const InstanceMarketOptionsRequest& GetInstanceMarketOptions() const{ return m_instanceMarketOptions; }
1741 
1748  inline bool InstanceMarketOptionsHasBeenSet() const { return m_instanceMarketOptionsHasBeenSet; }
1749 
1756  inline void SetInstanceMarketOptions(const InstanceMarketOptionsRequest& value) { m_instanceMarketOptionsHasBeenSet = true; m_instanceMarketOptions = value; }
1757 
1764  inline void SetInstanceMarketOptions(InstanceMarketOptionsRequest&& value) { m_instanceMarketOptionsHasBeenSet = true; m_instanceMarketOptions = std::move(value); }
1765 
1772  inline RunInstancesRequest& WithInstanceMarketOptions(const InstanceMarketOptionsRequest& value) { SetInstanceMarketOptions(value); return *this;}
1773 
1780  inline RunInstancesRequest& WithInstanceMarketOptions(InstanceMarketOptionsRequest&& value) { SetInstanceMarketOptions(std::move(value)); return *this;}
1781 
1782 
1794  inline const CreditSpecificationRequest& GetCreditSpecification() const{ return m_creditSpecification; }
1795 
1807  inline bool CreditSpecificationHasBeenSet() const { return m_creditSpecificationHasBeenSet; }
1808 
1820  inline void SetCreditSpecification(const CreditSpecificationRequest& value) { m_creditSpecificationHasBeenSet = true; m_creditSpecification = value; }
1821 
1833  inline void SetCreditSpecification(CreditSpecificationRequest&& value) { m_creditSpecificationHasBeenSet = true; m_creditSpecification = std::move(value); }
1834 
1846  inline RunInstancesRequest& WithCreditSpecification(const CreditSpecificationRequest& value) { SetCreditSpecification(value); return *this;}
1847 
1859  inline RunInstancesRequest& WithCreditSpecification(CreditSpecificationRequest&& value) { SetCreditSpecification(std::move(value)); return *this;}
1860 
1861 
1867  inline const CpuOptionsRequest& GetCpuOptions() const{ return m_cpuOptions; }
1868 
1874  inline bool CpuOptionsHasBeenSet() const { return m_cpuOptionsHasBeenSet; }
1875 
1881  inline void SetCpuOptions(const CpuOptionsRequest& value) { m_cpuOptionsHasBeenSet = true; m_cpuOptions = value; }
1882 
1888  inline void SetCpuOptions(CpuOptionsRequest&& value) { m_cpuOptionsHasBeenSet = true; m_cpuOptions = std::move(value); }
1889 
1895  inline RunInstancesRequest& WithCpuOptions(const CpuOptionsRequest& value) { SetCpuOptions(value); return *this;}
1896 
1902  inline RunInstancesRequest& WithCpuOptions(CpuOptionsRequest&& value) { SetCpuOptions(std::move(value)); return *this;}
1903 
1904 
1911  inline const CapacityReservationSpecification& GetCapacityReservationSpecification() const{ return m_capacityReservationSpecification; }
1912 
1919  inline bool CapacityReservationSpecificationHasBeenSet() const { return m_capacityReservationSpecificationHasBeenSet; }
1920 
1927  inline void SetCapacityReservationSpecification(const CapacityReservationSpecification& value) { m_capacityReservationSpecificationHasBeenSet = true; m_capacityReservationSpecification = value; }
1928 
1935  inline void SetCapacityReservationSpecification(CapacityReservationSpecification&& value) { m_capacityReservationSpecificationHasBeenSet = true; m_capacityReservationSpecification = std::move(value); }
1936 
1943  inline RunInstancesRequest& WithCapacityReservationSpecification(const CapacityReservationSpecification& value) { SetCapacityReservationSpecification(value); return *this;}
1944 
1951  inline RunInstancesRequest& WithCapacityReservationSpecification(CapacityReservationSpecification&& value) { SetCapacityReservationSpecification(std::move(value)); return *this;}
1952 
1953 
1961  inline const HibernationOptionsRequest& GetHibernationOptions() const{ return m_hibernationOptions; }
1962 
1970  inline bool HibernationOptionsHasBeenSet() const { return m_hibernationOptionsHasBeenSet; }
1971 
1979  inline void SetHibernationOptions(const HibernationOptionsRequest& value) { m_hibernationOptionsHasBeenSet = true; m_hibernationOptions = value; }
1980 
1988  inline void SetHibernationOptions(HibernationOptionsRequest&& value) { m_hibernationOptionsHasBeenSet = true; m_hibernationOptions = std::move(value); }
1989 
1997  inline RunInstancesRequest& WithHibernationOptions(const HibernationOptionsRequest& value) { SetHibernationOptions(value); return *this;}
1998 
2006  inline RunInstancesRequest& WithHibernationOptions(HibernationOptionsRequest&& value) { SetHibernationOptions(std::move(value)); return *this;}
2007 
2008 
2012  inline const Aws::Vector<LicenseConfigurationRequest>& GetLicenseSpecifications() const{ return m_licenseSpecifications; }
2013 
2017  inline bool LicenseSpecificationsHasBeenSet() const { return m_licenseSpecificationsHasBeenSet; }
2018 
2022  inline void SetLicenseSpecifications(const Aws::Vector<LicenseConfigurationRequest>& value) { m_licenseSpecificationsHasBeenSet = true; m_licenseSpecifications = value; }
2023 
2027  inline void SetLicenseSpecifications(Aws::Vector<LicenseConfigurationRequest>&& value) { m_licenseSpecificationsHasBeenSet = true; m_licenseSpecifications = std::move(value); }
2028 
2032  inline RunInstancesRequest& WithLicenseSpecifications(const Aws::Vector<LicenseConfigurationRequest>& value) { SetLicenseSpecifications(value); return *this;}
2033 
2037  inline RunInstancesRequest& WithLicenseSpecifications(Aws::Vector<LicenseConfigurationRequest>&& value) { SetLicenseSpecifications(std::move(value)); return *this;}
2038 
2042  inline RunInstancesRequest& AddLicenseSpecifications(const LicenseConfigurationRequest& value) { m_licenseSpecificationsHasBeenSet = true; m_licenseSpecifications.push_back(value); return *this; }
2043 
2047  inline RunInstancesRequest& AddLicenseSpecifications(LicenseConfigurationRequest&& value) { m_licenseSpecificationsHasBeenSet = true; m_licenseSpecifications.push_back(std::move(value)); return *this; }
2048 
2049 
2055  inline const InstanceMetadataOptionsRequest& GetMetadataOptions() const{ return m_metadataOptions; }
2056 
2062  inline bool MetadataOptionsHasBeenSet() const { return m_metadataOptionsHasBeenSet; }
2063 
2069  inline void SetMetadataOptions(const InstanceMetadataOptionsRequest& value) { m_metadataOptionsHasBeenSet = true; m_metadataOptions = value; }
2070 
2076  inline void SetMetadataOptions(InstanceMetadataOptionsRequest&& value) { m_metadataOptionsHasBeenSet = true; m_metadataOptions = std::move(value); }
2077 
2083  inline RunInstancesRequest& WithMetadataOptions(const InstanceMetadataOptionsRequest& value) { SetMetadataOptions(value); return *this;}
2084 
2090  inline RunInstancesRequest& WithMetadataOptions(InstanceMetadataOptionsRequest&& value) { SetMetadataOptions(std::move(value)); return *this;}
2091 
2092 
2101  inline const EnclaveOptionsRequest& GetEnclaveOptions() const{ return m_enclaveOptions; }
2102 
2111  inline bool EnclaveOptionsHasBeenSet() const { return m_enclaveOptionsHasBeenSet; }
2112 
2121  inline void SetEnclaveOptions(const EnclaveOptionsRequest& value) { m_enclaveOptionsHasBeenSet = true; m_enclaveOptions = value; }
2122 
2131  inline void SetEnclaveOptions(EnclaveOptionsRequest&& value) { m_enclaveOptionsHasBeenSet = true; m_enclaveOptions = std::move(value); }
2132 
2141  inline RunInstancesRequest& WithEnclaveOptions(const EnclaveOptionsRequest& value) { SetEnclaveOptions(value); return *this;}
2142 
2151  inline RunInstancesRequest& WithEnclaveOptions(EnclaveOptionsRequest&& value) { SetEnclaveOptions(std::move(value)); return *this;}
2152 
2153  private:
2154 
2155  Aws::Vector<BlockDeviceMapping> m_blockDeviceMappings;
2156  bool m_blockDeviceMappingsHasBeenSet;
2157 
2158  Aws::String m_imageId;
2159  bool m_imageIdHasBeenSet;
2160 
2161  InstanceType m_instanceType;
2162  bool m_instanceTypeHasBeenSet;
2163 
2164  int m_ipv6AddressCount;
2165  bool m_ipv6AddressCountHasBeenSet;
2166 
2167  Aws::Vector<InstanceIpv6Address> m_ipv6Addresses;
2168  bool m_ipv6AddressesHasBeenSet;
2169 
2170  Aws::String m_kernelId;
2171  bool m_kernelIdHasBeenSet;
2172 
2173  Aws::String m_keyName;
2174  bool m_keyNameHasBeenSet;
2175 
2176  int m_maxCount;
2177  bool m_maxCountHasBeenSet;
2178 
2179  int m_minCount;
2180  bool m_minCountHasBeenSet;
2181 
2182  RunInstancesMonitoringEnabled m_monitoring;
2183  bool m_monitoringHasBeenSet;
2184 
2185  Placement m_placement;
2186  bool m_placementHasBeenSet;
2187 
2188  Aws::String m_ramdiskId;
2189  bool m_ramdiskIdHasBeenSet;
2190 
2191  Aws::Vector<Aws::String> m_securityGroupIds;
2192  bool m_securityGroupIdsHasBeenSet;
2193 
2194  Aws::Vector<Aws::String> m_securityGroups;
2195  bool m_securityGroupsHasBeenSet;
2196 
2197  Aws::String m_subnetId;
2198  bool m_subnetIdHasBeenSet;
2199 
2200  Aws::String m_userData;
2201  bool m_userDataHasBeenSet;
2202 
2203  Aws::String m_additionalInfo;
2204  bool m_additionalInfoHasBeenSet;
2205 
2206  Aws::String m_clientToken;
2207  bool m_clientTokenHasBeenSet;
2208 
2209  bool m_disableApiTermination;
2210  bool m_disableApiTerminationHasBeenSet;
2211 
2212  bool m_dryRun;
2213  bool m_dryRunHasBeenSet;
2214 
2215  bool m_ebsOptimized;
2216  bool m_ebsOptimizedHasBeenSet;
2217 
2218  IamInstanceProfileSpecification m_iamInstanceProfile;
2219  bool m_iamInstanceProfileHasBeenSet;
2220 
2221  ShutdownBehavior m_instanceInitiatedShutdownBehavior;
2222  bool m_instanceInitiatedShutdownBehaviorHasBeenSet;
2223 
2225  bool m_networkInterfacesHasBeenSet;
2226 
2227  Aws::String m_privateIpAddress;
2228  bool m_privateIpAddressHasBeenSet;
2229 
2230  Aws::Vector<ElasticGpuSpecification> m_elasticGpuSpecification;
2231  bool m_elasticGpuSpecificationHasBeenSet;
2232 
2233  Aws::Vector<ElasticInferenceAccelerator> m_elasticInferenceAccelerators;
2234  bool m_elasticInferenceAcceleratorsHasBeenSet;
2235 
2236  Aws::Vector<TagSpecification> m_tagSpecifications;
2237  bool m_tagSpecificationsHasBeenSet;
2238 
2239  LaunchTemplateSpecification m_launchTemplate;
2240  bool m_launchTemplateHasBeenSet;
2241 
2242  InstanceMarketOptionsRequest m_instanceMarketOptions;
2243  bool m_instanceMarketOptionsHasBeenSet;
2244 
2245  CreditSpecificationRequest m_creditSpecification;
2246  bool m_creditSpecificationHasBeenSet;
2247 
2248  CpuOptionsRequest m_cpuOptions;
2249  bool m_cpuOptionsHasBeenSet;
2250 
2251  CapacityReservationSpecification m_capacityReservationSpecification;
2252  bool m_capacityReservationSpecificationHasBeenSet;
2253 
2254  HibernationOptionsRequest m_hibernationOptions;
2255  bool m_hibernationOptionsHasBeenSet;
2256 
2257  Aws::Vector<LicenseConfigurationRequest> m_licenseSpecifications;
2258  bool m_licenseSpecificationsHasBeenSet;
2259 
2260  InstanceMetadataOptionsRequest m_metadataOptions;
2261  bool m_metadataOptionsHasBeenSet;
2262 
2263  EnclaveOptionsRequest m_enclaveOptions;
2264  bool m_enclaveOptionsHasBeenSet;
2265  };
2266 
2267 } // namespace Model
2268 } // namespace EC2
2269 } // namespace Aws
Aws::EC2::Model::RunInstancesRequest::WithAdditionalInfo
RunInstancesRequest & WithAdditionalInfo(Aws::String &&value)
Definition: RunInstancesRequest.h:1054
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:735
Aws::EC2::Model::RunInstancesRequest::WithNetworkInterfaces
RunInstancesRequest & WithNetworkInterfaces(Aws::Vector< InstanceNetworkInterfaceSpecification > &&value)
Definition: RunInstancesRequest.h:1368
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:840
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:1655
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:690
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:2027
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:1646
Aws::Http::URI
Definition: URI.h:32
Aws::EC2::Model::RunInstancesRequest::WithInstanceInitiatedShutdownBehavior
RunInstancesRequest & WithInstanceInitiatedShutdownBehavior(const ShutdownBehavior &value)
Definition: RunInstancesRequest.h:1318
Aws::EC2::Model::RunInstancesRequest::CapacityReservationSpecificationHasBeenSet
bool CapacityReservationSpecificationHasBeenSet() const
Definition: RunInstancesRequest.h:1919
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:963
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:1794
Aws::EC2::Model::RunInstancesRequest::SetIamInstanceProfile
void SetIamInstanceProfile(const IamInstanceProfileSpecification &value)
Definition: RunInstancesRequest.h:1267
Aws::EC2::Model::RunInstancesRequest::WithInstanceInitiatedShutdownBehavior
RunInstancesRequest & WithInstanceInitiatedShutdownBehavior(ShutdownBehavior &&value)
Definition: RunInstancesRequest.h:1325
Aws::EC2::Model::RunInstancesRequest::MonitoringHasBeenSet
bool MonitoringHasBeenSet() const
Definition: RunInstancesRequest.h:578
Aws::EC2::Model::RunInstancesRequest::EbsOptimizedHasBeenSet
bool EbsOptimizedHasBeenSet() const
Definition: RunInstancesRequest.h:1231
Aws::EC2::Model::RunInstancesRequest::GetNetworkInterfaces
const Aws::Vector< InstanceNetworkInterfaceSpecification > & GetNetworkInterfaces() const
Definition: RunInstancesRequest.h:1333
Aws::EC2::Model::RunInstancesRequest::AddSecurityGroupIds
RunInstancesRequest & AddSecurityGroupIds(const char *value)
Definition: RunInstancesRequest.h:799
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:1544
Aws::EC2::Model::RunInstancesRequest::SetRamdiskId
void SetRamdiskId(const Aws::String &value)
Definition: RunInstancesRequest.h:666
Aws::EC2::Model::CapacityReservationSpecification
Definition: CapacityReservationSpecification.h:42
Aws::EC2::Model::RunInstancesRequest::GetHibernationOptions
const HibernationOptionsRequest & GetHibernationOptions() const
Definition: RunInstancesRequest.h:1961
Aws::EC2::Model::RunInstancesRequest::SetEnclaveOptions
void SetEnclaveOptions(const EnclaveOptionsRequest &value)
Definition: RunInstancesRequest.h:2121
BlockDeviceMapping.h
Aws::EC2::Model::RunInstancesRequest::WithAdditionalInfo
RunInstancesRequest & WithAdditionalInfo(const char *value)
Definition: RunInstancesRequest.h:1059
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:714
Aws::EC2::Model::RunInstancesRequest::SetAdditionalInfo
void SetAdditionalInfo(const Aws::String &value)
Definition: RunInstancesRequest.h:1034
Aws::EC2::Model::RunInstancesRequest::WithClientToken
RunInstancesRequest & WithClientToken(const char *value)
Definition: RunInstancesRequest.h:1132
Aws::EC2::Model::RunInstancesRequest::DryRunHasBeenSet
bool DryRunHasBeenSet() const
Definition: RunInstancesRequest.h:1194
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:1673
Aws::EC2::Model::RunInstancesRequest::GetElasticGpuSpecification
const Aws::Vector< ElasticGpuSpecification > & GetElasticGpuSpecification() const
Definition: RunInstancesRequest.h:1481
Aws::EC2::Model::RunInstancesRequest::GetSubnetId
const Aws::String & GetSubnetId() const
Definition: RunInstancesRequest.h:880
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:901
Aws::EC2::Model::RunInstancesRequest::SetElasticInferenceAccelerators
void SetElasticInferenceAccelerators(const Aws::Vector< ElasticInferenceAccelerator > &value)
Definition: RunInstancesRequest.h:1569
Aws::EC2::Model::RunInstancesRequest::SetNetworkInterfaces
void SetNetworkInterfaces(Aws::Vector< InstanceNetworkInterfaceSpecification > &&value)
Definition: RunInstancesRequest.h:1354
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:1347
Aws::EC2::Model::RunInstancesRequest::SetSecurityGroups
void SetSecurityGroups(const Aws::Vector< Aws::String > &value)
Definition: RunInstancesRequest.h:824
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:996
InstanceMetadataOptionsRequest.h
Aws::EC2::Model::RunInstancesRequest::WithEnclaveOptions
RunInstancesRequest & WithEnclaveOptions(const EnclaveOptionsRequest &value)
Definition: RunInstancesRequest.h:2141
Aws::EC2::Model::RunInstancesRequest::AddNetworkInterfaces
RunInstancesRequest & AddNetworkInterfaces(InstanceNetworkInterfaceSpecification &&value)
Definition: RunInstancesRequest.h:1382
Aws::EC2::Model::RunInstancesRequest::WithEnclaveOptions
RunInstancesRequest & WithEnclaveOptions(EnclaveOptionsRequest &&value)
Definition: RunInstancesRequest.h:2151
Aws::EC2::Model::RunInstancesRequest::WithLaunchTemplate
RunInstancesRequest & WithLaunchTemplate(const LaunchTemplateSpecification &value)
Definition: RunInstancesRequest.h:1723
Aws::EC2::Model::RunInstancesRequest::LicenseSpecificationsHasBeenSet
bool LicenseSpecificationsHasBeenSet() const
Definition: RunInstancesRequest.h:2017
Aws::EC2::Model::RunInstancesRequest::GetInstanceMarketOptions
const InstanceMarketOptionsRequest & GetInstanceMarketOptions() const
Definition: RunInstancesRequest.h:1740
Aws::EC2::Model::RunInstancesRequest::WithPrivateIpAddress
RunInstancesRequest & WithPrivateIpAddress(const Aws::String &value)
Definition: RunInstancesRequest.h:1449
Aws::EC2::Model::RunInstancesRequest::SetSecurityGroupIds
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
Definition: RunInstancesRequest.h:759
Aws::EC2::Model::RunInstancesRequest::WithLicenseSpecifications
RunInstancesRequest & WithLicenseSpecifications(const Aws::Vector< LicenseConfigurationRequest > &value)
Definition: RunInstancesRequest.h:2032
Aws::EC2::Model::RunInstancesRequest::AddLicenseSpecifications
RunInstancesRequest & AddLicenseSpecifications(const LicenseConfigurationRequest &value)
Definition: RunInstancesRequest.h:2042
Aws::EC2::Model::RunInstancesRequest::AddSecurityGroupIds
RunInstancesRequest & AddSecurityGroupIds(Aws::String &&value)
Definition: RunInstancesRequest.h:791
Aws::EC2::Model::RunInstancesRequest::WithCpuOptions
RunInstancesRequest & WithCpuOptions(CpuOptionsRequest &&value)
Definition: RunInstancesRequest.h:1902
ElasticInferenceAccelerator.h
Aws::EC2::Model::RunInstancesRequest::GetAdditionalInfo
const Aws::String & GetAdditionalInfo() const
Definition: RunInstancesRequest.h:1024
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:1177
Aws::EC2::Model::RunInstancesRequest::SetCpuOptions
void SetCpuOptions(const CpuOptionsRequest &value)
Definition: RunInstancesRequest.h:1881
Aws::EC2::Model::RunInstancesRequest::ElasticInferenceAcceleratorsHasBeenSet
bool ElasticInferenceAcceleratorsHasBeenSet() const
Definition: RunInstancesRequest.h:1561
Aws::EC2::Model::RunInstancesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EC2::Model::RunInstancesRequest::SecurityGroupsHasBeenSet
bool SecurityGroupsHasBeenSet() const
Definition: RunInstancesRequest.h:816
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:1049
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:1202
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:1577
Aws::EC2::Model::RunInstancesRequest::SetMetadataOptions
void SetMetadataOptions(const InstanceMetadataOptionsRequest &value)
Definition: RunInstancesRequest.h:2069
Aws::EC2::Model::RunInstancesRequest::SetCpuOptions
void SetCpuOptions(CpuOptionsRequest &&value)
Definition: RunInstancesRequest.h:1888
Aws::EC2::Model::InstanceNetworkInterfaceSpecification
Definition: InstanceNetworkInterfaceSpecification.h:37
Aws::EC2::Model::RunInstancesRequest::WithSubnetId
RunInstancesRequest & WithSubnetId(const Aws::String &value)
Definition: RunInstancesRequest.h:915
Aws::EC2::Model::RunInstancesRequest::WithSecurityGroups
RunInstancesRequest & WithSecurityGroups(Aws::Vector< Aws::String > &&value)
Definition: RunInstancesRequest.h:848
Aws::EC2::Model::RunInstancesRequest::WithSecurityGroupIds
RunInstancesRequest & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
Definition: RunInstancesRequest.h:775
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:2090
Aws::EC2::Model::RunInstancesRequest::RunInstancesRequest
RunInstancesRequest()
Aws::EC2::Model::RunInstancesRequest::HibernationOptionsHasBeenSet
bool HibernationOptionsHasBeenSet() const
Definition: RunInstancesRequest.h:1970
Aws::EC2::Model::RunInstancesRequest::SubnetIdHasBeenSet
bool SubnetIdHasBeenSet() const
Definition: RunInstancesRequest.h:887
Aws::EC2::Model::RunInstancesRequest::SetLicenseSpecifications
void SetLicenseSpecifications(const Aws::Vector< LicenseConfigurationRequest > &value)
Definition: RunInstancesRequest.h:2022
Aws::EC2::Model::RunInstancesRequest::WithIamInstanceProfile
RunInstancesRequest & WithIamInstanceProfile(const IamInstanceProfileSpecification &value)
Definition: RunInstancesRequest.h:1277
Aws::EC2::Model::RunInstancesRequest::SetSubnetId
void SetSubnetId(const char *value)
Definition: RunInstancesRequest.h:908
Aws::EC2::Model::RunInstancesRequest::SetClientToken
void SetClientToken(const Aws::String &value)
Definition: RunInstancesRequest.h:1087
Aws::EC2::Model::RunInstancesRequest::GetDryRun
bool GetDryRun() const
Definition: RunInstancesRequest.h:1186
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:1780
Aws::EC2::Model::RunInstancesRequest::AddSecurityGroups
RunInstancesRequest & AddSecurityGroups(const char *value)
Definition: RunInstancesRequest.h:872
Aws::EC2::Model::RunInstancesRequest::WithSecurityGroupIds
RunInstancesRequest & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
Definition: RunInstancesRequest.h:767
Aws::EC2::Model::RunInstancesRequest::WithDryRun
RunInstancesRequest & WithDryRun(bool value)
Definition: RunInstancesRequest.h:1210
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:1394
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:1257
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:1241
Aws::EC2::Model::RunInstancesRequest::UserDataHasBeenSet
bool UserDataHasBeenSet() const
Definition: RunInstancesRequest.h:952
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:2083
Aws::EC2::Model::RunInstancesRequest::AddSecurityGroups
RunInstancesRequest & AddSecurityGroups(const Aws::String &value)
Definition: RunInstancesRequest.h:856
Aws::EC2::Model::RunInstancesRequest::SetRamdiskId
void SetRamdiskId(Aws::String &&value)
Definition: RunInstancesRequest.h:678
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:1221
Aws::EC2::Model::RunInstancesRequest::WithPrivateIpAddress
RunInstancesRequest & WithPrivateIpAddress(Aws::String &&value)
Definition: RunInstancesRequest.h:1460
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:974
Aws::EC2::Model::RunInstancesRequest::ElasticGpuSpecificationHasBeenSet
bool ElasticGpuSpecificationHasBeenSet() const
Definition: RunInstancesRequest.h:1490
Aws::EC2::Model::RunInstancesRequest::PrivateIpAddressHasBeenSet
bool PrivateIpAddressHasBeenSet() const
Definition: RunInstancesRequest.h:1405
Aws::EC2::Model::RunInstancesRequest::WithElasticGpuSpecification
RunInstancesRequest & WithElasticGpuSpecification(Aws::Vector< ElasticGpuSpecification > &&value)
Definition: RunInstancesRequest.h:1526
Aws::EC2::Model::RunInstancesRequest::WithUserData
RunInstancesRequest & WithUserData(const char *value)
Definition: RunInstancesRequest.h:1018
Aws::EC2::Model::RunInstancesRequest::ImageIdHasBeenSet
bool ImageIdHasBeenSet() const
Definition: RunInstancesRequest.h:112
Aws::EC2::Model::RunInstancesRequest::CpuOptionsHasBeenSet
bool CpuOptionsHasBeenSet() const
Definition: RunInstancesRequest.h:1874
Aws::EC2::Model::RunInstancesRequest::NetworkInterfacesHasBeenSet
bool NetworkInterfacesHasBeenSet() const
Definition: RunInstancesRequest.h:1340
Aws::EC2::Model::RunInstancesRequest::SetHibernationOptions
void SetHibernationOptions(const HibernationOptionsRequest &value)
Definition: RunInstancesRequest.h:1979
Aws::EC2::Model::RunInstancesRequest::WithCapacityReservationSpecification
RunInstancesRequest & WithCapacityReservationSpecification(CapacityReservationSpecification &&value)
Definition: RunInstancesRequest.h:1951
Aws::EC2::Model::RunInstancesRequest::EnclaveOptionsHasBeenSet
bool EnclaveOptionsHasBeenSet() const
Definition: RunInstancesRequest.h:2111
Aws::EC2::Model::RunInstancesRequest::SetInstanceInitiatedShutdownBehavior
void SetInstanceInitiatedShutdownBehavior(ShutdownBehavior &&value)
Definition: RunInstancesRequest.h:1311
Aws::EC2::Model::RunInstancesRequest::TagSpecificationsHasBeenSet
bool TagSpecificationsHasBeenSet() const
Definition: RunInstancesRequest.h:1628
HibernationOptionsRequest.h
Aws::EC2::Model::RunInstancesRequest::GetInstanceInitiatedShutdownBehavior
const ShutdownBehavior & GetInstanceInitiatedShutdownBehavior() const
Definition: RunInstancesRequest.h:1290
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:1535
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:1272
Aws::EC2::Model::RunInstancesRequest::SetTagSpecifications
void SetTagSpecifications(const Aws::Vector< TagSpecification > &value)
Definition: RunInstancesRequest.h:1637
EC2Request.h
Aws::EC2::Model::RunInstancesRequest::WithClientToken
RunInstancesRequest & WithClientToken(const Aws::String &value)
Definition: RunInstancesRequest.h:1114
Aws::EC2::Model::RunInstancesRequest::WithCpuOptions
RunInstancesRequest & WithCpuOptions(const CpuOptionsRequest &value)
Definition: RunInstancesRequest.h:1895
Aws::EC2::Model::RunInstancesRequest::WithCapacityReservationSpecification
RunInstancesRequest & WithCapacityReservationSpecification(const CapacityReservationSpecification &value)
Definition: RunInstancesRequest.h:1943
Aws::EC2::Model::RunInstancesRequest::SetCapacityReservationSpecification
void SetCapacityReservationSpecification(CapacityReservationSpecification &&value)
Definition: RunInstancesRequest.h:1935
Aws::EC2::Model::RunInstancesRequest::SetElasticGpuSpecification
void SetElasticGpuSpecification(const Aws::Vector< ElasticGpuSpecification > &value)
Definition: RunInstancesRequest.h:1499
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:2055
ShutdownBehavior.h
Aws::EC2::Model::RunInstancesRequest::SecurityGroupIdsHasBeenSet
bool SecurityGroupIdsHasBeenSet() const
Definition: RunInstancesRequest.h:743
Aws::EC2::Model::ShutdownBehavior
ShutdownBehavior
Definition: ShutdownBehavior.h:17
Aws::EC2::Model::RunInstancesRequest::DisableApiTerminationHasBeenSet
bool DisableApiTerminationHasBeenSet() const
Definition: RunInstancesRequest.h:1155
Aws::EC2::Model::RunInstancesRequest::WithEbsOptimized
RunInstancesRequest & WithEbsOptimized(bool value)
Definition: RunInstancesRequest.h:1251
Aws::EC2::Model::RunInstancesRequest::SetCreditSpecification
void SetCreditSpecification(const CreditSpecificationRequest &value)
Definition: RunInstancesRequest.h:1820
Aws::EC2::Model::RunInstancesRequest::RamdiskIdHasBeenSet
bool RamdiskIdHasBeenSet() const
Definition: RunInstancesRequest.h:654
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:1731
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:1508
Aws::EC2::Model::RunInstancesRequest::WithHibernationOptions
RunInstancesRequest & WithHibernationOptions(const HibernationOptionsRequest &value)
Definition: RunInstancesRequest.h:1997
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:1867
AWSString.h
Aws::EC2::Model::RunInstancesRequest::SetUserData
void SetUserData(const char *value)
Definition: RunInstancesRequest.h:985
Aws::EC2::Model::RunInstancesRequest::AdditionalInfoHasBeenSet
bool AdditionalInfoHasBeenSet() const
Definition: RunInstancesRequest.h:1029
Aws::EC2::Model::RunInstancesRequest::SetInstanceMarketOptions
void SetInstanceMarketOptions(InstanceMarketOptionsRequest &&value)
Definition: RunInstancesRequest.h:1764
Aws::EC2::Model::RunInstancesRequest::SetLaunchTemplate
void SetLaunchTemplate(const LaunchTemplateSpecification &value)
Definition: RunInstancesRequest.h:1707
Aws::EC2::Model::RunInstancesRequest::WithHibernationOptions
RunInstancesRequest & WithHibernationOptions(HibernationOptionsRequest &&value)
Definition: RunInstancesRequest.h:2006
Aws::EC2::Model::RunInstancesRequest::SetCapacityReservationSpecification
void SetCapacityReservationSpecification(const CapacityReservationSpecification &value)
Definition: RunInstancesRequest.h:1927
Aws::EC2::Model::RunInstancesRequest::GetEnclaveOptions
const EnclaveOptionsRequest & GetEnclaveOptions() const
Definition: RunInstancesRequest.h:2101
Aws::EC2::Model::RunInstancesRequest::WithSubnetId
RunInstancesRequest & WithSubnetId(const char *value)
Definition: RunInstancesRequest.h:929
Aws::EC2::Model::RunInstancesRequest::AddNetworkInterfaces
RunInstancesRequest & AddNetworkInterfaces(const InstanceNetworkInterfaceSpecification &value)
Definition: RunInstancesRequest.h:1375
Aws::EC2::Model::RunInstancesRequest::AddTagSpecifications
RunInstancesRequest & AddTagSpecifications(TagSpecification &&value)
Definition: RunInstancesRequest.h:1682
Aws::EC2::Model::RunInstancesRequest::GetDisableApiTermination
bool GetDisableApiTermination() const
Definition: RunInstancesRequest.h:1144
Aws::EC2::Model::RunInstancesRequest::WithIamInstanceProfile
RunInstancesRequest & WithIamInstanceProfile(IamInstanceProfileSpecification &&value)
Definition: RunInstancesRequest.h:1282
Aws::EC2::Model::RunInstancesRequest::SetClientToken
void SetClientToken(Aws::String &&value)
Definition: RunInstancesRequest.h:1096
Aws::EC2::Model::RunInstancesRequest::AddElasticInferenceAccelerators
RunInstancesRequest & AddElasticInferenceAccelerators(ElasticInferenceAccelerator &&value)
Definition: RunInstancesRequest.h:1609
Aws::EC2::Model::RunInstancesRequest::InstanceInitiatedShutdownBehaviorHasBeenSet
bool InstanceInitiatedShutdownBehaviorHasBeenSet() const
Definition: RunInstancesRequest.h:1297
Aws::EC2::Model::RunInstancesRequest::SetSecurityGroups
void SetSecurityGroups(Aws::Vector< Aws::String > &&value)
Definition: RunInstancesRequest.h:832
Aws::EC2::Model::RunInstancesRequest::SetPrivateIpAddress
void SetPrivateIpAddress(const char *value)
Definition: RunInstancesRequest.h:1438
Aws::EC2::Model::RunInstancesRequest::WithPrivateIpAddress
RunInstancesRequest & WithPrivateIpAddress(const char *value)
Definition: RunInstancesRequest.h:1471
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:1517
Aws::EC2::Model::RunInstancesRequest::WithRamdiskId
RunInstancesRequest & WithRamdiskId(const char *value)
Definition: RunInstancesRequest.h:726
Aws::EC2::Model::RunInstancesRequest::ClientTokenHasBeenSet
bool ClientTokenHasBeenSet() const
Definition: RunInstancesRequest.h:1078
Aws::EC2::Model::RunInstancesRequest::SetInstanceInitiatedShutdownBehavior
void SetInstanceInitiatedShutdownBehavior(const ShutdownBehavior &value)
Definition: RunInstancesRequest.h:1304
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:1069
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:1416
Aws::EC2::Model::BlockDeviceMapping
Definition: BlockDeviceMapping.h:33
Aws::EC2::Model::RunInstancesRequest::GetTagSpecifications
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
Definition: RunInstancesRequest.h:1619
Aws::EC2::Model::RunInstancesRequest::GetCapacityReservationSpecification
const CapacityReservationSpecification & GetCapacityReservationSpecification() const
Definition: RunInstancesRequest.h:1911
InstanceIpv6Address.h
LaunchTemplateSpecification.h
Aws::EC2::Model::RunInstancesRequest::SetPrivateIpAddress
void SetPrivateIpAddress(Aws::String &&value)
Definition: RunInstancesRequest.h:1427
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:1601
Aws::EC2::Model::RunInstancesRequest::WithInstanceMarketOptions
RunInstancesRequest & WithInstanceMarketOptions(const InstanceMarketOptionsRequest &value)
Definition: RunInstancesRequest.h:1772
Aws::EC2::Model::RunInstancesRequest::SetInstanceMarketOptions
void SetInstanceMarketOptions(const InstanceMarketOptionsRequest &value)
Definition: RunInstancesRequest.h:1756
Aws::EC2::Model::RunInstancesRequest::WithCreditSpecification
RunInstancesRequest & WithCreditSpecification(const CreditSpecificationRequest &value)
Definition: RunInstancesRequest.h:1846
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::RunInstancesRequest::GetLaunchTemplate
const LaunchTemplateSpecification & GetLaunchTemplate() const
Definition: RunInstancesRequest.h:1691
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:1715
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:1699
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:1123
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:783
Aws::EC2::Model::RunInstancesRequest::CreditSpecificationHasBeenSet
bool CreditSpecificationHasBeenSet() const
Definition: RunInstancesRequest.h:1807
Aws::EC2::Model::RunInstancesRequest::WithElasticInferenceAccelerators
RunInstancesRequest & WithElasticInferenceAccelerators(const Aws::Vector< ElasticInferenceAccelerator > &value)
Definition: RunInstancesRequest.h:1585
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:2131
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:2047
Aws::EC2::EC2Request
Definition: EC2Request.h:17
Aws::EC2::Model::RunInstancesRequest::WithElasticInferenceAccelerators
RunInstancesRequest & WithElasticInferenceAccelerators(Aws::Vector< ElasticInferenceAccelerator > &&value)
Definition: RunInstancesRequest.h:1593
Aws::EC2::Model::RunInstancesRequest::SetClientToken
void SetClientToken(const char *value)
Definition: RunInstancesRequest.h:1105
Aws::EC2::Model::RunInstancesRequest::WithRamdiskId
RunInstancesRequest & WithRamdiskId(const Aws::String &value)
Definition: RunInstancesRequest.h:702
Aws::EC2::Model::RunInstancesRequest::SetHibernationOptions
void SetHibernationOptions(HibernationOptionsRequest &&value)
Definition: RunInstancesRequest.h:1988
Aws::EC2::Model::RunInstancesRequest::SetAdditionalInfo
void SetAdditionalInfo(const char *value)
Definition: RunInstancesRequest.h:1044
Aws::EC2::Model::RunInstancesRequest::GetElasticInferenceAccelerators
const Aws::Vector< ElasticInferenceAccelerator > & GetElasticInferenceAccelerators() const
Definition: RunInstancesRequest.h:1553
Aws::EC2::Model::RunInstancesRequest::SetAdditionalInfo
void SetAdditionalInfo(Aws::String &&value)
Definition: RunInstancesRequest.h:1039
Aws::EC2::Model::CpuOptionsRequest
Definition: CpuOptionsRequest.h:31
Aws::EC2::Model::RunInstancesRequest::SetMetadataOptions
void SetMetadataOptions(InstanceMetadataOptionsRequest &&value)
Definition: RunInstancesRequest.h:2076
Aws::EC2::Model::RunInstancesRequest::WithCreditSpecification
RunInstancesRequest & WithCreditSpecification(CreditSpecificationRequest &&value)
Definition: RunInstancesRequest.h:1859
Aws::EC2::Model::RunInstancesRequest::SetSubnetId
void SetSubnetId(const Aws::String &value)
Definition: RunInstancesRequest.h:894
Aws::EC2::Model::RunInstancesRequest::GetRamdiskId
const Aws::String & GetRamdiskId() const
Definition: RunInstancesRequest.h:642
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:922
EC2_EXPORTS.h
Aws::EC2::Model::RunInstancesRequest::MetadataOptionsHasBeenSet
bool MetadataOptionsHasBeenSet() const
Definition: RunInstancesRequest.h:2062
Aws::EC2::Model::InstanceType
InstanceType
Definition: InstanceType.h:17
Aws::EC2::Model::RunInstancesRequest::WithLicenseSpecifications
RunInstancesRequest & WithLicenseSpecifications(Aws::Vector< LicenseConfigurationRequest > &&value)
Definition: RunInstancesRequest.h:2037
Aws::EC2::Model::RunInstancesRequest::GetLicenseSpecifications
const Aws::Vector< LicenseConfigurationRequest > & GetLicenseSpecifications() const
Definition: RunInstancesRequest.h:2012
Aws::EC2::Model::RunInstancesRequest::IamInstanceProfileHasBeenSet
bool IamInstanceProfileHasBeenSet() const
Definition: RunInstancesRequest.h:1262
Aws::EC2::Model::RunInstancesRequest::AddSecurityGroups
RunInstancesRequest & AddSecurityGroups(Aws::String &&value)
Definition: RunInstancesRequest.h:864
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:751
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:1664
Aws::EC2::Model::RunInstancesRequest::WithUserData
RunInstancesRequest & WithUserData(Aws::String &&value)
Definition: RunInstancesRequest.h:1007
Aws::EC2::Model::RunInstancesRequest::WithNetworkInterfaces
RunInstancesRequest & WithNetworkInterfaces(const Aws::Vector< InstanceNetworkInterfaceSpecification > &value)
Definition: RunInstancesRequest.h:1361
Aws::EC2::Model::RunInstancesRequest::SetCreditSpecification
void SetCreditSpecification(CreditSpecificationRequest &&value)
Definition: RunInstancesRequest.h:1833
Aws::EC2::Model::RunInstancesRequest::GetSecurityGroups
const Aws::Vector< Aws::String > & GetSecurityGroups() const
Definition: RunInstancesRequest.h:808
Aws::EC2::Model::RunInstancesRequest::SetDisableApiTermination
void SetDisableApiTermination(bool value)
Definition: RunInstancesRequest.h:1166
Aws::EC2::Model::RunInstancesRequest::InstanceMarketOptionsHasBeenSet
bool InstanceMarketOptionsHasBeenSet() const
Definition: RunInstancesRequest.h:1748
Aws::EC2::Model::RunInstancesRequest::GetUserData
const Aws::String & GetUserData() const
Definition: RunInstancesRequest.h:941
Aws::EC2::Model::RunInstancesRequest::WithMonitoring
RunInstancesRequest & WithMonitoring(RunInstancesMonitoringEnabled &&value)
Definition: RunInstancesRequest.h:598