AWS SDK for C++  1.9.132
AWS SDK for C++
Instance.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
36 #include <aws/ec2/model/Tag.h>
38 #include <utility>
39 
40 namespace Aws
41 {
42 namespace Utils
43 {
44 namespace Xml
45 {
46  class XmlNode;
47 } // namespace Xml
48 } // namespace Utils
49 namespace EC2
50 {
51 namespace Model
52 {
53 
60  {
61  public:
65 
66  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
67  void OutputToStream(Aws::OStream& oStream, const char* location) const;
68 
69 
74  inline int GetAmiLaunchIndex() const{ return m_amiLaunchIndex; }
75 
80  inline bool AmiLaunchIndexHasBeenSet() const { return m_amiLaunchIndexHasBeenSet; }
81 
86  inline void SetAmiLaunchIndex(int value) { m_amiLaunchIndexHasBeenSet = true; m_amiLaunchIndex = value; }
87 
92  inline Instance& WithAmiLaunchIndex(int value) { SetAmiLaunchIndex(value); return *this;}
93 
94 
98  inline const Aws::String& GetImageId() const{ return m_imageId; }
99 
103  inline bool ImageIdHasBeenSet() const { return m_imageIdHasBeenSet; }
104 
108  inline void SetImageId(const Aws::String& value) { m_imageIdHasBeenSet = true; m_imageId = value; }
109 
113  inline void SetImageId(Aws::String&& value) { m_imageIdHasBeenSet = true; m_imageId = std::move(value); }
114 
118  inline void SetImageId(const char* value) { m_imageIdHasBeenSet = true; m_imageId.assign(value); }
119 
123  inline Instance& WithImageId(const Aws::String& value) { SetImageId(value); return *this;}
124 
128  inline Instance& WithImageId(Aws::String&& value) { SetImageId(std::move(value)); return *this;}
129 
133  inline Instance& WithImageId(const char* value) { SetImageId(value); return *this;}
134 
135 
139  inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
140 
144  inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
145 
149  inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
150 
154  inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
155 
159  inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
160 
164  inline Instance& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
165 
169  inline Instance& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
170 
174  inline Instance& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
175 
176 
180  inline const InstanceType& GetInstanceType() const{ return m_instanceType; }
181 
185  inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
186 
190  inline void SetInstanceType(const InstanceType& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; }
191 
195  inline void SetInstanceType(InstanceType&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); }
196 
200  inline Instance& WithInstanceType(const InstanceType& value) { SetInstanceType(value); return *this;}
201 
205  inline Instance& WithInstanceType(InstanceType&& value) { SetInstanceType(std::move(value)); return *this;}
206 
207 
211  inline const Aws::String& GetKernelId() const{ return m_kernelId; }
212 
216  inline bool KernelIdHasBeenSet() const { return m_kernelIdHasBeenSet; }
217 
221  inline void SetKernelId(const Aws::String& value) { m_kernelIdHasBeenSet = true; m_kernelId = value; }
222 
226  inline void SetKernelId(Aws::String&& value) { m_kernelIdHasBeenSet = true; m_kernelId = std::move(value); }
227 
231  inline void SetKernelId(const char* value) { m_kernelIdHasBeenSet = true; m_kernelId.assign(value); }
232 
236  inline Instance& WithKernelId(const Aws::String& value) { SetKernelId(value); return *this;}
237 
241  inline Instance& WithKernelId(Aws::String&& value) { SetKernelId(std::move(value)); return *this;}
242 
246  inline Instance& WithKernelId(const char* value) { SetKernelId(value); return *this;}
247 
248 
253  inline const Aws::String& GetKeyName() const{ return m_keyName; }
254 
259  inline bool KeyNameHasBeenSet() const { return m_keyNameHasBeenSet; }
260 
265  inline void SetKeyName(const Aws::String& value) { m_keyNameHasBeenSet = true; m_keyName = value; }
266 
271  inline void SetKeyName(Aws::String&& value) { m_keyNameHasBeenSet = true; m_keyName = std::move(value); }
272 
277  inline void SetKeyName(const char* value) { m_keyNameHasBeenSet = true; m_keyName.assign(value); }
278 
283  inline Instance& WithKeyName(const Aws::String& value) { SetKeyName(value); return *this;}
284 
289  inline Instance& WithKeyName(Aws::String&& value) { SetKeyName(std::move(value)); return *this;}
290 
295  inline Instance& WithKeyName(const char* value) { SetKeyName(value); return *this;}
296 
297 
301  inline const Aws::Utils::DateTime& GetLaunchTime() const{ return m_launchTime; }
302 
306  inline bool LaunchTimeHasBeenSet() const { return m_launchTimeHasBeenSet; }
307 
311  inline void SetLaunchTime(const Aws::Utils::DateTime& value) { m_launchTimeHasBeenSet = true; m_launchTime = value; }
312 
316  inline void SetLaunchTime(Aws::Utils::DateTime&& value) { m_launchTimeHasBeenSet = true; m_launchTime = std::move(value); }
317 
321  inline Instance& WithLaunchTime(const Aws::Utils::DateTime& value) { SetLaunchTime(value); return *this;}
322 
326  inline Instance& WithLaunchTime(Aws::Utils::DateTime&& value) { SetLaunchTime(std::move(value)); return *this;}
327 
328 
332  inline const Monitoring& GetMonitoring() const{ return m_monitoring; }
333 
337  inline bool MonitoringHasBeenSet() const { return m_monitoringHasBeenSet; }
338 
342  inline void SetMonitoring(const Monitoring& value) { m_monitoringHasBeenSet = true; m_monitoring = value; }
343 
347  inline void SetMonitoring(Monitoring&& value) { m_monitoringHasBeenSet = true; m_monitoring = std::move(value); }
348 
352  inline Instance& WithMonitoring(const Monitoring& value) { SetMonitoring(value); return *this;}
353 
357  inline Instance& WithMonitoring(Monitoring&& value) { SetMonitoring(std::move(value)); return *this;}
358 
359 
363  inline const Placement& GetPlacement() const{ return m_placement; }
364 
368  inline bool PlacementHasBeenSet() const { return m_placementHasBeenSet; }
369 
373  inline void SetPlacement(const Placement& value) { m_placementHasBeenSet = true; m_placement = value; }
374 
378  inline void SetPlacement(Placement&& value) { m_placementHasBeenSet = true; m_placement = std::move(value); }
379 
383  inline Instance& WithPlacement(const Placement& value) { SetPlacement(value); return *this;}
384 
388  inline Instance& WithPlacement(Placement&& value) { SetPlacement(std::move(value)); return *this;}
389 
390 
394  inline const PlatformValues& GetPlatform() const{ return m_platform; }
395 
399  inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; }
400 
404  inline void SetPlatform(const PlatformValues& value) { m_platformHasBeenSet = true; m_platform = value; }
405 
409  inline void SetPlatform(PlatformValues&& value) { m_platformHasBeenSet = true; m_platform = std::move(value); }
410 
414  inline Instance& WithPlatform(const PlatformValues& value) { SetPlatform(value); return *this;}
415 
419  inline Instance& WithPlatform(PlatformValues&& value) { SetPlatform(std::move(value)); return *this;}
420 
421 
431  inline const Aws::String& GetPrivateDnsName() const{ return m_privateDnsName; }
432 
442  inline bool PrivateDnsNameHasBeenSet() const { return m_privateDnsNameHasBeenSet; }
443 
453  inline void SetPrivateDnsName(const Aws::String& value) { m_privateDnsNameHasBeenSet = true; m_privateDnsName = value; }
454 
464  inline void SetPrivateDnsName(Aws::String&& value) { m_privateDnsNameHasBeenSet = true; m_privateDnsName = std::move(value); }
465 
475  inline void SetPrivateDnsName(const char* value) { m_privateDnsNameHasBeenSet = true; m_privateDnsName.assign(value); }
476 
486  inline Instance& WithPrivateDnsName(const Aws::String& value) { SetPrivateDnsName(value); return *this;}
487 
497  inline Instance& WithPrivateDnsName(Aws::String&& value) { SetPrivateDnsName(std::move(value)); return *this;}
498 
508  inline Instance& WithPrivateDnsName(const char* value) { SetPrivateDnsName(value); return *this;}
509 
510 
514  inline const Aws::String& GetPrivateIpAddress() const{ return m_privateIpAddress; }
515 
519  inline bool PrivateIpAddressHasBeenSet() const { return m_privateIpAddressHasBeenSet; }
520 
524  inline void SetPrivateIpAddress(const Aws::String& value) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress = value; }
525 
529  inline void SetPrivateIpAddress(Aws::String&& value) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress = std::move(value); }
530 
534  inline void SetPrivateIpAddress(const char* value) { m_privateIpAddressHasBeenSet = true; m_privateIpAddress.assign(value); }
535 
539  inline Instance& WithPrivateIpAddress(const Aws::String& value) { SetPrivateIpAddress(value); return *this;}
540 
544  inline Instance& WithPrivateIpAddress(Aws::String&& value) { SetPrivateIpAddress(std::move(value)); return *this;}
545 
549  inline Instance& WithPrivateIpAddress(const char* value) { SetPrivateIpAddress(value); return *this;}
550 
551 
555  inline const Aws::Vector<ProductCode>& GetProductCodes() const{ return m_productCodes; }
556 
560  inline bool ProductCodesHasBeenSet() const { return m_productCodesHasBeenSet; }
561 
565  inline void SetProductCodes(const Aws::Vector<ProductCode>& value) { m_productCodesHasBeenSet = true; m_productCodes = value; }
566 
570  inline void SetProductCodes(Aws::Vector<ProductCode>&& value) { m_productCodesHasBeenSet = true; m_productCodes = std::move(value); }
571 
575  inline Instance& WithProductCodes(const Aws::Vector<ProductCode>& value) { SetProductCodes(value); return *this;}
576 
580  inline Instance& WithProductCodes(Aws::Vector<ProductCode>&& value) { SetProductCodes(std::move(value)); return *this;}
581 
585  inline Instance& AddProductCodes(const ProductCode& value) { m_productCodesHasBeenSet = true; m_productCodes.push_back(value); return *this; }
586 
590  inline Instance& AddProductCodes(ProductCode&& value) { m_productCodesHasBeenSet = true; m_productCodes.push_back(std::move(value)); return *this; }
591 
592 
598  inline const Aws::String& GetPublicDnsName() const{ return m_publicDnsName; }
599 
605  inline bool PublicDnsNameHasBeenSet() const { return m_publicDnsNameHasBeenSet; }
606 
612  inline void SetPublicDnsName(const Aws::String& value) { m_publicDnsNameHasBeenSet = true; m_publicDnsName = value; }
613 
619  inline void SetPublicDnsName(Aws::String&& value) { m_publicDnsNameHasBeenSet = true; m_publicDnsName = std::move(value); }
620 
626  inline void SetPublicDnsName(const char* value) { m_publicDnsNameHasBeenSet = true; m_publicDnsName.assign(value); }
627 
633  inline Instance& WithPublicDnsName(const Aws::String& value) { SetPublicDnsName(value); return *this;}
634 
640  inline Instance& WithPublicDnsName(Aws::String&& value) { SetPublicDnsName(std::move(value)); return *this;}
641 
647  inline Instance& WithPublicDnsName(const char* value) { SetPublicDnsName(value); return *this;}
648 
649 
655  inline const Aws::String& GetPublicIpAddress() const{ return m_publicIpAddress; }
656 
662  inline bool PublicIpAddressHasBeenSet() const { return m_publicIpAddressHasBeenSet; }
663 
669  inline void SetPublicIpAddress(const Aws::String& value) { m_publicIpAddressHasBeenSet = true; m_publicIpAddress = value; }
670 
676  inline void SetPublicIpAddress(Aws::String&& value) { m_publicIpAddressHasBeenSet = true; m_publicIpAddress = std::move(value); }
677 
683  inline void SetPublicIpAddress(const char* value) { m_publicIpAddressHasBeenSet = true; m_publicIpAddress.assign(value); }
684 
690  inline Instance& WithPublicIpAddress(const Aws::String& value) { SetPublicIpAddress(value); return *this;}
691 
697  inline Instance& WithPublicIpAddress(Aws::String&& value) { SetPublicIpAddress(std::move(value)); return *this;}
698 
704  inline Instance& WithPublicIpAddress(const char* value) { SetPublicIpAddress(value); return *this;}
705 
706 
710  inline const Aws::String& GetRamdiskId() const{ return m_ramdiskId; }
711 
715  inline bool RamdiskIdHasBeenSet() const { return m_ramdiskIdHasBeenSet; }
716 
720  inline void SetRamdiskId(const Aws::String& value) { m_ramdiskIdHasBeenSet = true; m_ramdiskId = value; }
721 
725  inline void SetRamdiskId(Aws::String&& value) { m_ramdiskIdHasBeenSet = true; m_ramdiskId = std::move(value); }
726 
730  inline void SetRamdiskId(const char* value) { m_ramdiskIdHasBeenSet = true; m_ramdiskId.assign(value); }
731 
735  inline Instance& WithRamdiskId(const Aws::String& value) { SetRamdiskId(value); return *this;}
736 
740  inline Instance& WithRamdiskId(Aws::String&& value) { SetRamdiskId(std::move(value)); return *this;}
741 
745  inline Instance& WithRamdiskId(const char* value) { SetRamdiskId(value); return *this;}
746 
747 
751  inline const InstanceState& GetState() const{ return m_state; }
752 
756  inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
757 
761  inline void SetState(const InstanceState& value) { m_stateHasBeenSet = true; m_state = value; }
762 
766  inline void SetState(InstanceState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
767 
771  inline Instance& WithState(const InstanceState& value) { SetState(value); return *this;}
772 
776  inline Instance& WithState(InstanceState&& value) { SetState(std::move(value)); return *this;}
777 
778 
783  inline const Aws::String& GetStateTransitionReason() const{ return m_stateTransitionReason; }
784 
789  inline bool StateTransitionReasonHasBeenSet() const { return m_stateTransitionReasonHasBeenSet; }
790 
795  inline void SetStateTransitionReason(const Aws::String& value) { m_stateTransitionReasonHasBeenSet = true; m_stateTransitionReason = value; }
796 
801  inline void SetStateTransitionReason(Aws::String&& value) { m_stateTransitionReasonHasBeenSet = true; m_stateTransitionReason = std::move(value); }
802 
807  inline void SetStateTransitionReason(const char* value) { m_stateTransitionReasonHasBeenSet = true; m_stateTransitionReason.assign(value); }
808 
813  inline Instance& WithStateTransitionReason(const Aws::String& value) { SetStateTransitionReason(value); return *this;}
814 
819  inline Instance& WithStateTransitionReason(Aws::String&& value) { SetStateTransitionReason(std::move(value)); return *this;}
820 
825  inline Instance& WithStateTransitionReason(const char* value) { SetStateTransitionReason(value); return *this;}
826 
827 
831  inline const Aws::String& GetSubnetId() const{ return m_subnetId; }
832 
836  inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; }
837 
841  inline void SetSubnetId(const Aws::String& value) { m_subnetIdHasBeenSet = true; m_subnetId = value; }
842 
846  inline void SetSubnetId(Aws::String&& value) { m_subnetIdHasBeenSet = true; m_subnetId = std::move(value); }
847 
851  inline void SetSubnetId(const char* value) { m_subnetIdHasBeenSet = true; m_subnetId.assign(value); }
852 
856  inline Instance& WithSubnetId(const Aws::String& value) { SetSubnetId(value); return *this;}
857 
861  inline Instance& WithSubnetId(Aws::String&& value) { SetSubnetId(std::move(value)); return *this;}
862 
866  inline Instance& WithSubnetId(const char* value) { SetSubnetId(value); return *this;}
867 
868 
872  inline const Aws::String& GetVpcId() const{ return m_vpcId; }
873 
877  inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
878 
882  inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
883 
887  inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
888 
892  inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
893 
897  inline Instance& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
898 
902  inline Instance& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
903 
907  inline Instance& WithVpcId(const char* value) { SetVpcId(value); return *this;}
908 
909 
913  inline const ArchitectureValues& GetArchitecture() const{ return m_architecture; }
914 
918  inline bool ArchitectureHasBeenSet() const { return m_architectureHasBeenSet; }
919 
923  inline void SetArchitecture(const ArchitectureValues& value) { m_architectureHasBeenSet = true; m_architecture = value; }
924 
928  inline void SetArchitecture(ArchitectureValues&& value) { m_architectureHasBeenSet = true; m_architecture = std::move(value); }
929 
933  inline Instance& WithArchitecture(const ArchitectureValues& value) { SetArchitecture(value); return *this;}
934 
938  inline Instance& WithArchitecture(ArchitectureValues&& value) { SetArchitecture(std::move(value)); return *this;}
939 
940 
944  inline const Aws::Vector<InstanceBlockDeviceMapping>& GetBlockDeviceMappings() const{ return m_blockDeviceMappings; }
945 
949  inline bool BlockDeviceMappingsHasBeenSet() const { return m_blockDeviceMappingsHasBeenSet; }
950 
954  inline void SetBlockDeviceMappings(const Aws::Vector<InstanceBlockDeviceMapping>& value) { m_blockDeviceMappingsHasBeenSet = true; m_blockDeviceMappings = value; }
955 
959  inline void SetBlockDeviceMappings(Aws::Vector<InstanceBlockDeviceMapping>&& value) { m_blockDeviceMappingsHasBeenSet = true; m_blockDeviceMappings = std::move(value); }
960 
964  inline Instance& WithBlockDeviceMappings(const Aws::Vector<InstanceBlockDeviceMapping>& value) { SetBlockDeviceMappings(value); return *this;}
965 
969  inline Instance& WithBlockDeviceMappings(Aws::Vector<InstanceBlockDeviceMapping>&& value) { SetBlockDeviceMappings(std::move(value)); return *this;}
970 
974  inline Instance& AddBlockDeviceMappings(const InstanceBlockDeviceMapping& value) { m_blockDeviceMappingsHasBeenSet = true; m_blockDeviceMappings.push_back(value); return *this; }
975 
979  inline Instance& AddBlockDeviceMappings(InstanceBlockDeviceMapping&& value) { m_blockDeviceMappingsHasBeenSet = true; m_blockDeviceMappings.push_back(std::move(value)); return *this; }
980 
981 
986  inline const Aws::String& GetClientToken() const{ return m_clientToken; }
987 
992  inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
993 
998  inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
999 
1004  inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
1005 
1010  inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
1011 
1016  inline Instance& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
1017 
1022  inline Instance& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
1023 
1028  inline Instance& WithClientToken(const char* value) { SetClientToken(value); return *this;}
1029 
1030 
1038  inline bool GetEbsOptimized() const{ return m_ebsOptimized; }
1039 
1047  inline bool EbsOptimizedHasBeenSet() const { return m_ebsOptimizedHasBeenSet; }
1048 
1056  inline void SetEbsOptimized(bool value) { m_ebsOptimizedHasBeenSet = true; m_ebsOptimized = value; }
1057 
1065  inline Instance& WithEbsOptimized(bool value) { SetEbsOptimized(value); return *this;}
1066 
1067 
1071  inline bool GetEnaSupport() const{ return m_enaSupport; }
1072 
1076  inline bool EnaSupportHasBeenSet() const { return m_enaSupportHasBeenSet; }
1077 
1081  inline void SetEnaSupport(bool value) { m_enaSupportHasBeenSet = true; m_enaSupport = value; }
1082 
1086  inline Instance& WithEnaSupport(bool value) { SetEnaSupport(value); return *this;}
1087 
1088 
1093  inline const HypervisorType& GetHypervisor() const{ return m_hypervisor; }
1094 
1099  inline bool HypervisorHasBeenSet() const { return m_hypervisorHasBeenSet; }
1100 
1105  inline void SetHypervisor(const HypervisorType& value) { m_hypervisorHasBeenSet = true; m_hypervisor = value; }
1106 
1111  inline void SetHypervisor(HypervisorType&& value) { m_hypervisorHasBeenSet = true; m_hypervisor = std::move(value); }
1112 
1117  inline Instance& WithHypervisor(const HypervisorType& value) { SetHypervisor(value); return *this;}
1118 
1123  inline Instance& WithHypervisor(HypervisorType&& value) { SetHypervisor(std::move(value)); return *this;}
1124 
1125 
1129  inline const IamInstanceProfile& GetIamInstanceProfile() const{ return m_iamInstanceProfile; }
1130 
1134  inline bool IamInstanceProfileHasBeenSet() const { return m_iamInstanceProfileHasBeenSet; }
1135 
1139  inline void SetIamInstanceProfile(const IamInstanceProfile& value) { m_iamInstanceProfileHasBeenSet = true; m_iamInstanceProfile = value; }
1140 
1144  inline void SetIamInstanceProfile(IamInstanceProfile&& value) { m_iamInstanceProfileHasBeenSet = true; m_iamInstanceProfile = std::move(value); }
1145 
1149  inline Instance& WithIamInstanceProfile(const IamInstanceProfile& value) { SetIamInstanceProfile(value); return *this;}
1150 
1154  inline Instance& WithIamInstanceProfile(IamInstanceProfile&& value) { SetIamInstanceProfile(std::move(value)); return *this;}
1155 
1156 
1160  inline const InstanceLifecycleType& GetInstanceLifecycle() const{ return m_instanceLifecycle; }
1161 
1165  inline bool InstanceLifecycleHasBeenSet() const { return m_instanceLifecycleHasBeenSet; }
1166 
1170  inline void SetInstanceLifecycle(const InstanceLifecycleType& value) { m_instanceLifecycleHasBeenSet = true; m_instanceLifecycle = value; }
1171 
1175  inline void SetInstanceLifecycle(InstanceLifecycleType&& value) { m_instanceLifecycleHasBeenSet = true; m_instanceLifecycle = std::move(value); }
1176 
1180  inline Instance& WithInstanceLifecycle(const InstanceLifecycleType& value) { SetInstanceLifecycle(value); return *this;}
1181 
1185  inline Instance& WithInstanceLifecycle(InstanceLifecycleType&& value) { SetInstanceLifecycle(std::move(value)); return *this;}
1186 
1187 
1191  inline const Aws::Vector<ElasticGpuAssociation>& GetElasticGpuAssociations() const{ return m_elasticGpuAssociations; }
1192 
1196  inline bool ElasticGpuAssociationsHasBeenSet() const { return m_elasticGpuAssociationsHasBeenSet; }
1197 
1201  inline void SetElasticGpuAssociations(const Aws::Vector<ElasticGpuAssociation>& value) { m_elasticGpuAssociationsHasBeenSet = true; m_elasticGpuAssociations = value; }
1202 
1206  inline void SetElasticGpuAssociations(Aws::Vector<ElasticGpuAssociation>&& value) { m_elasticGpuAssociationsHasBeenSet = true; m_elasticGpuAssociations = std::move(value); }
1207 
1211  inline Instance& WithElasticGpuAssociations(const Aws::Vector<ElasticGpuAssociation>& value) { SetElasticGpuAssociations(value); return *this;}
1212 
1216  inline Instance& WithElasticGpuAssociations(Aws::Vector<ElasticGpuAssociation>&& value) { SetElasticGpuAssociations(std::move(value)); return *this;}
1217 
1221  inline Instance& AddElasticGpuAssociations(const ElasticGpuAssociation& value) { m_elasticGpuAssociationsHasBeenSet = true; m_elasticGpuAssociations.push_back(value); return *this; }
1222 
1226  inline Instance& AddElasticGpuAssociations(ElasticGpuAssociation&& value) { m_elasticGpuAssociationsHasBeenSet = true; m_elasticGpuAssociations.push_back(std::move(value)); return *this; }
1227 
1228 
1232  inline const Aws::Vector<ElasticInferenceAcceleratorAssociation>& GetElasticInferenceAcceleratorAssociations() const{ return m_elasticInferenceAcceleratorAssociations; }
1233 
1237  inline bool ElasticInferenceAcceleratorAssociationsHasBeenSet() const { return m_elasticInferenceAcceleratorAssociationsHasBeenSet; }
1238 
1242  inline void SetElasticInferenceAcceleratorAssociations(const Aws::Vector<ElasticInferenceAcceleratorAssociation>& value) { m_elasticInferenceAcceleratorAssociationsHasBeenSet = true; m_elasticInferenceAcceleratorAssociations = value; }
1243 
1247  inline void SetElasticInferenceAcceleratorAssociations(Aws::Vector<ElasticInferenceAcceleratorAssociation>&& value) { m_elasticInferenceAcceleratorAssociationsHasBeenSet = true; m_elasticInferenceAcceleratorAssociations = std::move(value); }
1248 
1252  inline Instance& WithElasticInferenceAcceleratorAssociations(const Aws::Vector<ElasticInferenceAcceleratorAssociation>& value) { SetElasticInferenceAcceleratorAssociations(value); return *this;}
1253 
1257  inline Instance& WithElasticInferenceAcceleratorAssociations(Aws::Vector<ElasticInferenceAcceleratorAssociation>&& value) { SetElasticInferenceAcceleratorAssociations(std::move(value)); return *this;}
1258 
1262  inline Instance& AddElasticInferenceAcceleratorAssociations(const ElasticInferenceAcceleratorAssociation& value) { m_elasticInferenceAcceleratorAssociationsHasBeenSet = true; m_elasticInferenceAcceleratorAssociations.push_back(value); return *this; }
1263 
1267  inline Instance& AddElasticInferenceAcceleratorAssociations(ElasticInferenceAcceleratorAssociation&& value) { m_elasticInferenceAcceleratorAssociationsHasBeenSet = true; m_elasticInferenceAcceleratorAssociations.push_back(std::move(value)); return *this; }
1268 
1269 
1273  inline const Aws::Vector<InstanceNetworkInterface>& GetNetworkInterfaces() const{ return m_networkInterfaces; }
1274 
1278  inline bool NetworkInterfacesHasBeenSet() const { return m_networkInterfacesHasBeenSet; }
1279 
1283  inline void SetNetworkInterfaces(const Aws::Vector<InstanceNetworkInterface>& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces = value; }
1284 
1288  inline void SetNetworkInterfaces(Aws::Vector<InstanceNetworkInterface>&& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces = std::move(value); }
1289 
1293  inline Instance& WithNetworkInterfaces(const Aws::Vector<InstanceNetworkInterface>& value) { SetNetworkInterfaces(value); return *this;}
1294 
1298  inline Instance& WithNetworkInterfaces(Aws::Vector<InstanceNetworkInterface>&& value) { SetNetworkInterfaces(std::move(value)); return *this;}
1299 
1303  inline Instance& AddNetworkInterfaces(const InstanceNetworkInterface& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces.push_back(value); return *this; }
1304 
1308  inline Instance& AddNetworkInterfaces(InstanceNetworkInterface&& value) { m_networkInterfacesHasBeenSet = true; m_networkInterfaces.push_back(std::move(value)); return *this; }
1309 
1310 
1314  inline const Aws::String& GetOutpostArn() const{ return m_outpostArn; }
1315 
1319  inline bool OutpostArnHasBeenSet() const { return m_outpostArnHasBeenSet; }
1320 
1324  inline void SetOutpostArn(const Aws::String& value) { m_outpostArnHasBeenSet = true; m_outpostArn = value; }
1325 
1329  inline void SetOutpostArn(Aws::String&& value) { m_outpostArnHasBeenSet = true; m_outpostArn = std::move(value); }
1330 
1334  inline void SetOutpostArn(const char* value) { m_outpostArnHasBeenSet = true; m_outpostArn.assign(value); }
1335 
1339  inline Instance& WithOutpostArn(const Aws::String& value) { SetOutpostArn(value); return *this;}
1340 
1344  inline Instance& WithOutpostArn(Aws::String&& value) { SetOutpostArn(std::move(value)); return *this;}
1345 
1349  inline Instance& WithOutpostArn(const char* value) { SetOutpostArn(value); return *this;}
1350 
1351 
1356  inline const Aws::String& GetRootDeviceName() const{ return m_rootDeviceName; }
1357 
1362  inline bool RootDeviceNameHasBeenSet() const { return m_rootDeviceNameHasBeenSet; }
1363 
1368  inline void SetRootDeviceName(const Aws::String& value) { m_rootDeviceNameHasBeenSet = true; m_rootDeviceName = value; }
1369 
1374  inline void SetRootDeviceName(Aws::String&& value) { m_rootDeviceNameHasBeenSet = true; m_rootDeviceName = std::move(value); }
1375 
1380  inline void SetRootDeviceName(const char* value) { m_rootDeviceNameHasBeenSet = true; m_rootDeviceName.assign(value); }
1381 
1386  inline Instance& WithRootDeviceName(const Aws::String& value) { SetRootDeviceName(value); return *this;}
1387 
1392  inline Instance& WithRootDeviceName(Aws::String&& value) { SetRootDeviceName(std::move(value)); return *this;}
1393 
1398  inline Instance& WithRootDeviceName(const char* value) { SetRootDeviceName(value); return *this;}
1399 
1400 
1405  inline const DeviceType& GetRootDeviceType() const{ return m_rootDeviceType; }
1406 
1411  inline bool RootDeviceTypeHasBeenSet() const { return m_rootDeviceTypeHasBeenSet; }
1412 
1417  inline void SetRootDeviceType(const DeviceType& value) { m_rootDeviceTypeHasBeenSet = true; m_rootDeviceType = value; }
1418 
1423  inline void SetRootDeviceType(DeviceType&& value) { m_rootDeviceTypeHasBeenSet = true; m_rootDeviceType = std::move(value); }
1424 
1429  inline Instance& WithRootDeviceType(const DeviceType& value) { SetRootDeviceType(value); return *this;}
1430 
1435  inline Instance& WithRootDeviceType(DeviceType&& value) { SetRootDeviceType(std::move(value)); return *this;}
1436 
1437 
1441  inline const Aws::Vector<GroupIdentifier>& GetSecurityGroups() const{ return m_securityGroups; }
1442 
1446  inline bool SecurityGroupsHasBeenSet() const { return m_securityGroupsHasBeenSet; }
1447 
1451  inline void SetSecurityGroups(const Aws::Vector<GroupIdentifier>& value) { m_securityGroupsHasBeenSet = true; m_securityGroups = value; }
1452 
1456  inline void SetSecurityGroups(Aws::Vector<GroupIdentifier>&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups = std::move(value); }
1457 
1461  inline Instance& WithSecurityGroups(const Aws::Vector<GroupIdentifier>& value) { SetSecurityGroups(value); return *this;}
1462 
1466  inline Instance& WithSecurityGroups(Aws::Vector<GroupIdentifier>&& value) { SetSecurityGroups(std::move(value)); return *this;}
1467 
1471  inline Instance& AddSecurityGroups(const GroupIdentifier& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(value); return *this; }
1472 
1476  inline Instance& AddSecurityGroups(GroupIdentifier&& value) { m_securityGroupsHasBeenSet = true; m_securityGroups.push_back(std::move(value)); return *this; }
1477 
1478 
1482  inline bool GetSourceDestCheck() const{ return m_sourceDestCheck; }
1483 
1487  inline bool SourceDestCheckHasBeenSet() const { return m_sourceDestCheckHasBeenSet; }
1488 
1492  inline void SetSourceDestCheck(bool value) { m_sourceDestCheckHasBeenSet = true; m_sourceDestCheck = value; }
1493 
1497  inline Instance& WithSourceDestCheck(bool value) { SetSourceDestCheck(value); return *this;}
1498 
1499 
1503  inline const Aws::String& GetSpotInstanceRequestId() const{ return m_spotInstanceRequestId; }
1504 
1508  inline bool SpotInstanceRequestIdHasBeenSet() const { return m_spotInstanceRequestIdHasBeenSet; }
1509 
1513  inline void SetSpotInstanceRequestId(const Aws::String& value) { m_spotInstanceRequestIdHasBeenSet = true; m_spotInstanceRequestId = value; }
1514 
1518  inline void SetSpotInstanceRequestId(Aws::String&& value) { m_spotInstanceRequestIdHasBeenSet = true; m_spotInstanceRequestId = std::move(value); }
1519 
1523  inline void SetSpotInstanceRequestId(const char* value) { m_spotInstanceRequestIdHasBeenSet = true; m_spotInstanceRequestId.assign(value); }
1524 
1528  inline Instance& WithSpotInstanceRequestId(const Aws::String& value) { SetSpotInstanceRequestId(value); return *this;}
1529 
1533  inline Instance& WithSpotInstanceRequestId(Aws::String&& value) { SetSpotInstanceRequestId(std::move(value)); return *this;}
1534 
1538  inline Instance& WithSpotInstanceRequestId(const char* value) { SetSpotInstanceRequestId(value); return *this;}
1539 
1540 
1545  inline const Aws::String& GetSriovNetSupport() const{ return m_sriovNetSupport; }
1546 
1551  inline bool SriovNetSupportHasBeenSet() const { return m_sriovNetSupportHasBeenSet; }
1552 
1557  inline void SetSriovNetSupport(const Aws::String& value) { m_sriovNetSupportHasBeenSet = true; m_sriovNetSupport = value; }
1558 
1563  inline void SetSriovNetSupport(Aws::String&& value) { m_sriovNetSupportHasBeenSet = true; m_sriovNetSupport = std::move(value); }
1564 
1569  inline void SetSriovNetSupport(const char* value) { m_sriovNetSupportHasBeenSet = true; m_sriovNetSupport.assign(value); }
1570 
1575  inline Instance& WithSriovNetSupport(const Aws::String& value) { SetSriovNetSupport(value); return *this;}
1576 
1581  inline Instance& WithSriovNetSupport(Aws::String&& value) { SetSriovNetSupport(std::move(value)); return *this;}
1582 
1587  inline Instance& WithSriovNetSupport(const char* value) { SetSriovNetSupport(value); return *this;}
1588 
1589 
1593  inline const StateReason& GetStateReason() const{ return m_stateReason; }
1594 
1598  inline bool StateReasonHasBeenSet() const { return m_stateReasonHasBeenSet; }
1599 
1603  inline void SetStateReason(const StateReason& value) { m_stateReasonHasBeenSet = true; m_stateReason = value; }
1604 
1608  inline void SetStateReason(StateReason&& value) { m_stateReasonHasBeenSet = true; m_stateReason = std::move(value); }
1609 
1613  inline Instance& WithStateReason(const StateReason& value) { SetStateReason(value); return *this;}
1614 
1618  inline Instance& WithStateReason(StateReason&& value) { SetStateReason(std::move(value)); return *this;}
1619 
1620 
1624  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
1625 
1629  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
1630 
1634  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
1635 
1639  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
1640 
1644  inline Instance& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
1645 
1649  inline Instance& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
1650 
1654  inline Instance& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
1655 
1659  inline Instance& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
1660 
1661 
1665  inline const VirtualizationType& GetVirtualizationType() const{ return m_virtualizationType; }
1666 
1670  inline bool VirtualizationTypeHasBeenSet() const { return m_virtualizationTypeHasBeenSet; }
1671 
1675  inline void SetVirtualizationType(const VirtualizationType& value) { m_virtualizationTypeHasBeenSet = true; m_virtualizationType = value; }
1676 
1680  inline void SetVirtualizationType(VirtualizationType&& value) { m_virtualizationTypeHasBeenSet = true; m_virtualizationType = std::move(value); }
1681 
1685  inline Instance& WithVirtualizationType(const VirtualizationType& value) { SetVirtualizationType(value); return *this;}
1686 
1690  inline Instance& WithVirtualizationType(VirtualizationType&& value) { SetVirtualizationType(std::move(value)); return *this;}
1691 
1692 
1696  inline const CpuOptions& GetCpuOptions() const{ return m_cpuOptions; }
1697 
1701  inline bool CpuOptionsHasBeenSet() const { return m_cpuOptionsHasBeenSet; }
1702 
1706  inline void SetCpuOptions(const CpuOptions& value) { m_cpuOptionsHasBeenSet = true; m_cpuOptions = value; }
1707 
1711  inline void SetCpuOptions(CpuOptions&& value) { m_cpuOptionsHasBeenSet = true; m_cpuOptions = std::move(value); }
1712 
1716  inline Instance& WithCpuOptions(const CpuOptions& value) { SetCpuOptions(value); return *this;}
1717 
1721  inline Instance& WithCpuOptions(CpuOptions&& value) { SetCpuOptions(std::move(value)); return *this;}
1722 
1723 
1727  inline const Aws::String& GetCapacityReservationId() const{ return m_capacityReservationId; }
1728 
1732  inline bool CapacityReservationIdHasBeenSet() const { return m_capacityReservationIdHasBeenSet; }
1733 
1737  inline void SetCapacityReservationId(const Aws::String& value) { m_capacityReservationIdHasBeenSet = true; m_capacityReservationId = value; }
1738 
1742  inline void SetCapacityReservationId(Aws::String&& value) { m_capacityReservationIdHasBeenSet = true; m_capacityReservationId = std::move(value); }
1743 
1747  inline void SetCapacityReservationId(const char* value) { m_capacityReservationIdHasBeenSet = true; m_capacityReservationId.assign(value); }
1748 
1752  inline Instance& WithCapacityReservationId(const Aws::String& value) { SetCapacityReservationId(value); return *this;}
1753 
1757  inline Instance& WithCapacityReservationId(Aws::String&& value) { SetCapacityReservationId(std::move(value)); return *this;}
1758 
1762  inline Instance& WithCapacityReservationId(const char* value) { SetCapacityReservationId(value); return *this;}
1763 
1764 
1768  inline const CapacityReservationSpecificationResponse& GetCapacityReservationSpecification() const{ return m_capacityReservationSpecification; }
1769 
1773  inline bool CapacityReservationSpecificationHasBeenSet() const { return m_capacityReservationSpecificationHasBeenSet; }
1774 
1778  inline void SetCapacityReservationSpecification(const CapacityReservationSpecificationResponse& value) { m_capacityReservationSpecificationHasBeenSet = true; m_capacityReservationSpecification = value; }
1779 
1783  inline void SetCapacityReservationSpecification(CapacityReservationSpecificationResponse&& value) { m_capacityReservationSpecificationHasBeenSet = true; m_capacityReservationSpecification = std::move(value); }
1784 
1788  inline Instance& WithCapacityReservationSpecification(const CapacityReservationSpecificationResponse& value) { SetCapacityReservationSpecification(value); return *this;}
1789 
1793  inline Instance& WithCapacityReservationSpecification(CapacityReservationSpecificationResponse&& value) { SetCapacityReservationSpecification(std::move(value)); return *this;}
1794 
1795 
1799  inline const HibernationOptions& GetHibernationOptions() const{ return m_hibernationOptions; }
1800 
1804  inline bool HibernationOptionsHasBeenSet() const { return m_hibernationOptionsHasBeenSet; }
1805 
1809  inline void SetHibernationOptions(const HibernationOptions& value) { m_hibernationOptionsHasBeenSet = true; m_hibernationOptions = value; }
1810 
1814  inline void SetHibernationOptions(HibernationOptions&& value) { m_hibernationOptionsHasBeenSet = true; m_hibernationOptions = std::move(value); }
1815 
1819  inline Instance& WithHibernationOptions(const HibernationOptions& value) { SetHibernationOptions(value); return *this;}
1820 
1824  inline Instance& WithHibernationOptions(HibernationOptions&& value) { SetHibernationOptions(std::move(value)); return *this;}
1825 
1826 
1830  inline const Aws::Vector<LicenseConfiguration>& GetLicenses() const{ return m_licenses; }
1831 
1835  inline bool LicensesHasBeenSet() const { return m_licensesHasBeenSet; }
1836 
1840  inline void SetLicenses(const Aws::Vector<LicenseConfiguration>& value) { m_licensesHasBeenSet = true; m_licenses = value; }
1841 
1845  inline void SetLicenses(Aws::Vector<LicenseConfiguration>&& value) { m_licensesHasBeenSet = true; m_licenses = std::move(value); }
1846 
1850  inline Instance& WithLicenses(const Aws::Vector<LicenseConfiguration>& value) { SetLicenses(value); return *this;}
1851 
1855  inline Instance& WithLicenses(Aws::Vector<LicenseConfiguration>&& value) { SetLicenses(std::move(value)); return *this;}
1856 
1860  inline Instance& AddLicenses(const LicenseConfiguration& value) { m_licensesHasBeenSet = true; m_licenses.push_back(value); return *this; }
1861 
1865  inline Instance& AddLicenses(LicenseConfiguration&& value) { m_licensesHasBeenSet = true; m_licenses.push_back(std::move(value)); return *this; }
1866 
1867 
1871  inline const InstanceMetadataOptionsResponse& GetMetadataOptions() const{ return m_metadataOptions; }
1872 
1876  inline bool MetadataOptionsHasBeenSet() const { return m_metadataOptionsHasBeenSet; }
1877 
1881  inline void SetMetadataOptions(const InstanceMetadataOptionsResponse& value) { m_metadataOptionsHasBeenSet = true; m_metadataOptions = value; }
1882 
1886  inline void SetMetadataOptions(InstanceMetadataOptionsResponse&& value) { m_metadataOptionsHasBeenSet = true; m_metadataOptions = std::move(value); }
1887 
1891  inline Instance& WithMetadataOptions(const InstanceMetadataOptionsResponse& value) { SetMetadataOptions(value); return *this;}
1892 
1896  inline Instance& WithMetadataOptions(InstanceMetadataOptionsResponse&& value) { SetMetadataOptions(std::move(value)); return *this;}
1897 
1898 
1903  inline const EnclaveOptions& GetEnclaveOptions() const{ return m_enclaveOptions; }
1904 
1909  inline bool EnclaveOptionsHasBeenSet() const { return m_enclaveOptionsHasBeenSet; }
1910 
1915  inline void SetEnclaveOptions(const EnclaveOptions& value) { m_enclaveOptionsHasBeenSet = true; m_enclaveOptions = value; }
1916 
1921  inline void SetEnclaveOptions(EnclaveOptions&& value) { m_enclaveOptionsHasBeenSet = true; m_enclaveOptions = std::move(value); }
1922 
1927  inline Instance& WithEnclaveOptions(const EnclaveOptions& value) { SetEnclaveOptions(value); return *this;}
1928 
1933  inline Instance& WithEnclaveOptions(EnclaveOptions&& value) { SetEnclaveOptions(std::move(value)); return *this;}
1934 
1935 
1941  inline const BootModeValues& GetBootMode() const{ return m_bootMode; }
1942 
1948  inline bool BootModeHasBeenSet() const { return m_bootModeHasBeenSet; }
1949 
1955  inline void SetBootMode(const BootModeValues& value) { m_bootModeHasBeenSet = true; m_bootMode = value; }
1956 
1962  inline void SetBootMode(BootModeValues&& value) { m_bootModeHasBeenSet = true; m_bootMode = std::move(value); }
1963 
1969  inline Instance& WithBootMode(const BootModeValues& value) { SetBootMode(value); return *this;}
1970 
1976  inline Instance& WithBootMode(BootModeValues&& value) { SetBootMode(std::move(value)); return *this;}
1977 
1978 
1984  inline const Aws::String& GetPlatformDetails() const{ return m_platformDetails; }
1985 
1991  inline bool PlatformDetailsHasBeenSet() const { return m_platformDetailsHasBeenSet; }
1992 
1998  inline void SetPlatformDetails(const Aws::String& value) { m_platformDetailsHasBeenSet = true; m_platformDetails = value; }
1999 
2005  inline void SetPlatformDetails(Aws::String&& value) { m_platformDetailsHasBeenSet = true; m_platformDetails = std::move(value); }
2006 
2012  inline void SetPlatformDetails(const char* value) { m_platformDetailsHasBeenSet = true; m_platformDetails.assign(value); }
2013 
2019  inline Instance& WithPlatformDetails(const Aws::String& value) { SetPlatformDetails(value); return *this;}
2020 
2026  inline Instance& WithPlatformDetails(Aws::String&& value) { SetPlatformDetails(std::move(value)); return *this;}
2027 
2033  inline Instance& WithPlatformDetails(const char* value) { SetPlatformDetails(value); return *this;}
2034 
2035 
2041  inline const Aws::String& GetUsageOperation() const{ return m_usageOperation; }
2042 
2048  inline bool UsageOperationHasBeenSet() const { return m_usageOperationHasBeenSet; }
2049 
2055  inline void SetUsageOperation(const Aws::String& value) { m_usageOperationHasBeenSet = true; m_usageOperation = value; }
2056 
2062  inline void SetUsageOperation(Aws::String&& value) { m_usageOperationHasBeenSet = true; m_usageOperation = std::move(value); }
2063 
2069  inline void SetUsageOperation(const char* value) { m_usageOperationHasBeenSet = true; m_usageOperation.assign(value); }
2070 
2076  inline Instance& WithUsageOperation(const Aws::String& value) { SetUsageOperation(value); return *this;}
2077 
2083  inline Instance& WithUsageOperation(Aws::String&& value) { SetUsageOperation(std::move(value)); return *this;}
2084 
2090  inline Instance& WithUsageOperation(const char* value) { SetUsageOperation(value); return *this;}
2091 
2092 
2096  inline const Aws::Utils::DateTime& GetUsageOperationUpdateTime() const{ return m_usageOperationUpdateTime; }
2097 
2101  inline bool UsageOperationUpdateTimeHasBeenSet() const { return m_usageOperationUpdateTimeHasBeenSet; }
2102 
2106  inline void SetUsageOperationUpdateTime(const Aws::Utils::DateTime& value) { m_usageOperationUpdateTimeHasBeenSet = true; m_usageOperationUpdateTime = value; }
2107 
2111  inline void SetUsageOperationUpdateTime(Aws::Utils::DateTime&& value) { m_usageOperationUpdateTimeHasBeenSet = true; m_usageOperationUpdateTime = std::move(value); }
2112 
2116  inline Instance& WithUsageOperationUpdateTime(const Aws::Utils::DateTime& value) { SetUsageOperationUpdateTime(value); return *this;}
2117 
2121  inline Instance& WithUsageOperationUpdateTime(Aws::Utils::DateTime&& value) { SetUsageOperationUpdateTime(std::move(value)); return *this;}
2122 
2123  private:
2124 
2125  int m_amiLaunchIndex;
2126  bool m_amiLaunchIndexHasBeenSet;
2127 
2128  Aws::String m_imageId;
2129  bool m_imageIdHasBeenSet;
2130 
2131  Aws::String m_instanceId;
2132  bool m_instanceIdHasBeenSet;
2133 
2134  InstanceType m_instanceType;
2135  bool m_instanceTypeHasBeenSet;
2136 
2137  Aws::String m_kernelId;
2138  bool m_kernelIdHasBeenSet;
2139 
2140  Aws::String m_keyName;
2141  bool m_keyNameHasBeenSet;
2142 
2143  Aws::Utils::DateTime m_launchTime;
2144  bool m_launchTimeHasBeenSet;
2145 
2146  Monitoring m_monitoring;
2147  bool m_monitoringHasBeenSet;
2148 
2149  Placement m_placement;
2150  bool m_placementHasBeenSet;
2151 
2152  PlatformValues m_platform;
2153  bool m_platformHasBeenSet;
2154 
2155  Aws::String m_privateDnsName;
2156  bool m_privateDnsNameHasBeenSet;
2157 
2158  Aws::String m_privateIpAddress;
2159  bool m_privateIpAddressHasBeenSet;
2160 
2161  Aws::Vector<ProductCode> m_productCodes;
2162  bool m_productCodesHasBeenSet;
2163 
2164  Aws::String m_publicDnsName;
2165  bool m_publicDnsNameHasBeenSet;
2166 
2167  Aws::String m_publicIpAddress;
2168  bool m_publicIpAddressHasBeenSet;
2169 
2170  Aws::String m_ramdiskId;
2171  bool m_ramdiskIdHasBeenSet;
2172 
2173  InstanceState m_state;
2174  bool m_stateHasBeenSet;
2175 
2176  Aws::String m_stateTransitionReason;
2177  bool m_stateTransitionReasonHasBeenSet;
2178 
2179  Aws::String m_subnetId;
2180  bool m_subnetIdHasBeenSet;
2181 
2182  Aws::String m_vpcId;
2183  bool m_vpcIdHasBeenSet;
2184 
2185  ArchitectureValues m_architecture;
2186  bool m_architectureHasBeenSet;
2187 
2188  Aws::Vector<InstanceBlockDeviceMapping> m_blockDeviceMappings;
2189  bool m_blockDeviceMappingsHasBeenSet;
2190 
2191  Aws::String m_clientToken;
2192  bool m_clientTokenHasBeenSet;
2193 
2194  bool m_ebsOptimized;
2195  bool m_ebsOptimizedHasBeenSet;
2196 
2197  bool m_enaSupport;
2198  bool m_enaSupportHasBeenSet;
2199 
2200  HypervisorType m_hypervisor;
2201  bool m_hypervisorHasBeenSet;
2202 
2203  IamInstanceProfile m_iamInstanceProfile;
2204  bool m_iamInstanceProfileHasBeenSet;
2205 
2206  InstanceLifecycleType m_instanceLifecycle;
2207  bool m_instanceLifecycleHasBeenSet;
2208 
2209  Aws::Vector<ElasticGpuAssociation> m_elasticGpuAssociations;
2210  bool m_elasticGpuAssociationsHasBeenSet;
2211 
2212  Aws::Vector<ElasticInferenceAcceleratorAssociation> m_elasticInferenceAcceleratorAssociations;
2213  bool m_elasticInferenceAcceleratorAssociationsHasBeenSet;
2214 
2215  Aws::Vector<InstanceNetworkInterface> m_networkInterfaces;
2216  bool m_networkInterfacesHasBeenSet;
2217 
2218  Aws::String m_outpostArn;
2219  bool m_outpostArnHasBeenSet;
2220 
2221  Aws::String m_rootDeviceName;
2222  bool m_rootDeviceNameHasBeenSet;
2223 
2224  DeviceType m_rootDeviceType;
2225  bool m_rootDeviceTypeHasBeenSet;
2226 
2227  Aws::Vector<GroupIdentifier> m_securityGroups;
2228  bool m_securityGroupsHasBeenSet;
2229 
2230  bool m_sourceDestCheck;
2231  bool m_sourceDestCheckHasBeenSet;
2232 
2233  Aws::String m_spotInstanceRequestId;
2234  bool m_spotInstanceRequestIdHasBeenSet;
2235 
2236  Aws::String m_sriovNetSupport;
2237  bool m_sriovNetSupportHasBeenSet;
2238 
2239  StateReason m_stateReason;
2240  bool m_stateReasonHasBeenSet;
2241 
2242  Aws::Vector<Tag> m_tags;
2243  bool m_tagsHasBeenSet;
2244 
2245  VirtualizationType m_virtualizationType;
2246  bool m_virtualizationTypeHasBeenSet;
2247 
2248  CpuOptions m_cpuOptions;
2249  bool m_cpuOptionsHasBeenSet;
2250 
2251  Aws::String m_capacityReservationId;
2252  bool m_capacityReservationIdHasBeenSet;
2253 
2254  CapacityReservationSpecificationResponse m_capacityReservationSpecification;
2255  bool m_capacityReservationSpecificationHasBeenSet;
2256 
2257  HibernationOptions m_hibernationOptions;
2258  bool m_hibernationOptionsHasBeenSet;
2259 
2261  bool m_licensesHasBeenSet;
2262 
2263  InstanceMetadataOptionsResponse m_metadataOptions;
2264  bool m_metadataOptionsHasBeenSet;
2265 
2266  EnclaveOptions m_enclaveOptions;
2267  bool m_enclaveOptionsHasBeenSet;
2268 
2269  BootModeValues m_bootMode;
2270  bool m_bootModeHasBeenSet;
2271 
2272  Aws::String m_platformDetails;
2273  bool m_platformDetailsHasBeenSet;
2274 
2275  Aws::String m_usageOperation;
2276  bool m_usageOperationHasBeenSet;
2277 
2278  Aws::Utils::DateTime m_usageOperationUpdateTime;
2279  bool m_usageOperationUpdateTimeHasBeenSet;
2280  };
2281 
2282 } // namespace Model
2283 } // namespace EC2
2284 } // namespace Aws
Aws::EC2::Model::Instance::WithEbsOptimized
Instance & WithEbsOptimized(bool value)
Definition: Instance.h:1065
Aws::EC2::Model::Instance::SetBlockDeviceMappings
void SetBlockDeviceMappings(const Aws::Vector< InstanceBlockDeviceMapping > &value)
Definition: Instance.h:954
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::EC2::Model::Instance::SetRootDeviceName
void SetRootDeviceName(const Aws::String &value)
Definition: Instance.h:1368
Aws::EC2::Model::Instance::SetCpuOptions
void SetCpuOptions(const CpuOptions &value)
Definition: Instance.h:1706
Aws::EC2::Model::Instance::SetSriovNetSupport
void SetSriovNetSupport(const Aws::String &value)
Definition: Instance.h:1557
Aws::EC2::Model::Instance::GetStateTransitionReason
const Aws::String & GetStateTransitionReason() const
Definition: Instance.h:783
Aws::EC2::Model::Instance::SetKernelId
void SetKernelId(Aws::String &&value)
Definition: Instance.h:226
Aws::EC2::Model::Instance::WithInstanceId
Instance & WithInstanceId(const char *value)
Definition: Instance.h:174
Aws::EC2::Model::Instance::SetStateReason
void SetStateReason(StateReason &&value)
Definition: Instance.h:1608
Aws::EC2::Model::Instance::PublicDnsNameHasBeenSet
bool PublicDnsNameHasBeenSet() const
Definition: Instance.h:605
Aws::EC2::Model::Instance::AddProductCodes
Instance & AddProductCodes(const ProductCode &value)
Definition: Instance.h:585
Aws::EC2::Model::Instance::InstanceTypeHasBeenSet
bool InstanceTypeHasBeenSet() const
Definition: Instance.h:185
Aws::EC2::Model::Instance::GetUsageOperationUpdateTime
const Aws::Utils::DateTime & GetUsageOperationUpdateTime() const
Definition: Instance.h:2096
Aws::EC2::Model::Instance::GetCapacityReservationId
const Aws::String & GetCapacityReservationId() const
Definition: Instance.h:1727
Aws::EC2::Model::Instance::AddLicenses
Instance & AddLicenses(const LicenseConfiguration &value)
Definition: Instance.h:1860
Aws::EC2::Model::Instance::WithSriovNetSupport
Instance & WithSriovNetSupport(Aws::String &&value)
Definition: Instance.h:1581
Aws::EC2::Model::Instance::GetEnaSupport
bool GetEnaSupport() const
Definition: Instance.h:1071
IamInstanceProfile.h
Aws::EC2::Model::Instance::WithInstanceLifecycle
Instance & WithInstanceLifecycle(const InstanceLifecycleType &value)
Definition: Instance.h:1180
Aws::EC2::Model::Instance::SetSubnetId
void SetSubnetId(const char *value)
Definition: Instance.h:851
Aws::EC2::Model::Instance::SetPublicDnsName
void SetPublicDnsName(const char *value)
Definition: Instance.h:626
Aws::EC2::Model::Instance::VpcIdHasBeenSet
bool VpcIdHasBeenSet() const
Definition: Instance.h:877
Aws::EC2::Model::Instance::GetSpotInstanceRequestId
const Aws::String & GetSpotInstanceRequestId() const
Definition: Instance.h:1503
Aws::EC2::Model::Instance::SetElasticGpuAssociations
void SetElasticGpuAssociations(Aws::Vector< ElasticGpuAssociation > &&value)
Definition: Instance.h:1206
Aws::EC2::Model::Instance::WithClientToken
Instance & WithClientToken(const Aws::String &value)
Definition: Instance.h:1016
Aws::EC2::Model::Instance::AddNetworkInterfaces
Instance & AddNetworkInterfaces(const InstanceNetworkInterface &value)
Definition: Instance.h:1303
Aws::EC2::Model::Instance::WithUsageOperation
Instance & WithUsageOperation(const Aws::String &value)
Definition: Instance.h:2076
Aws::EC2::Model::Instance::KernelIdHasBeenSet
bool KernelIdHasBeenSet() const
Definition: Instance.h:216
Aws::EC2::Model::Instance::SetPrivateIpAddress
void SetPrivateIpAddress(const char *value)
Definition: Instance.h:534
Aws::EC2::Model::Instance::BootModeHasBeenSet
bool BootModeHasBeenSet() const
Definition: Instance.h:1948
Aws::EC2::Model::Instance::WithRootDeviceName
Instance & WithRootDeviceName(Aws::String &&value)
Definition: Instance.h:1392
Aws::EC2::Model::Instance::SetHibernationOptions
void SetHibernationOptions(HibernationOptions &&value)
Definition: Instance.h:1814
Aws::EC2::Model::Instance::WithVpcId
Instance & WithVpcId(Aws::String &&value)
Definition: Instance.h:902
LicenseConfiguration.h
Aws::EC2::Model::Instance::WithMetadataOptions
Instance & WithMetadataOptions(InstanceMetadataOptionsResponse &&value)
Definition: Instance.h:1896
InstanceMetadataOptionsResponse.h
Aws::EC2::Model::DeviceType
DeviceType
Definition: DeviceType.h:17
Aws::EC2::Model::Instance::SetMonitoring
void SetMonitoring(const Monitoring &value)
Definition: Instance.h:342
Aws::EC2::Model::Instance::WithElasticInferenceAcceleratorAssociations
Instance & WithElasticInferenceAcceleratorAssociations(const Aws::Vector< ElasticInferenceAcceleratorAssociation > &value)
Definition: Instance.h:1252
Aws::EC2::Model::Instance::SetVpcId
void SetVpcId(const char *value)
Definition: Instance.h:892
Aws::EC2::Model::CpuOptions
Definition: CpuOptions.h:30
Aws::EC2::Model::Instance::WithCapacityReservationSpecification
Instance & WithCapacityReservationSpecification(CapacityReservationSpecificationResponse &&value)
Definition: Instance.h:1793
Aws::EC2::Model::Tag
Definition: Tag.h:32
Aws::EC2::Model::Instance::SetCapacityReservationId
void SetCapacityReservationId(Aws::String &&value)
Definition: Instance.h:1742
Aws::EC2::Model::Instance::WithKeyName
Instance & WithKeyName(Aws::String &&value)
Definition: Instance.h:289
Aws::EC2::Model::Placement
Definition: Placement.h:33
DeviceType.h
Aws::EC2::Model::Instance::SetSriovNetSupport
void SetSriovNetSupport(const char *value)
Definition: Instance.h:1569
Aws::EC2::Model::Instance::AddProductCodes
Instance & AddProductCodes(ProductCode &&value)
Definition: Instance.h:590
Aws::EC2::Model::Instance::WithVirtualizationType
Instance & WithVirtualizationType(VirtualizationType &&value)
Definition: Instance.h:1690
Aws::EC2::Model::Instance::SetPlacement
void SetPlacement(const Placement &value)
Definition: Instance.h:373
Aws::EC2::Model::Instance::WithProductCodes
Instance & WithProductCodes(const Aws::Vector< ProductCode > &value)
Definition: Instance.h:575
Aws::EC2::Model::Instance::SetVirtualizationType
void SetVirtualizationType(VirtualizationType &&value)
Definition: Instance.h:1680
Aws::EC2::Model::Monitoring
Definition: Monitoring.h:32
Aws::EC2::Model::Instance::AddElasticGpuAssociations
Instance & AddElasticGpuAssociations(const ElasticGpuAssociation &value)
Definition: Instance.h:1221
Aws::EC2::Model::Instance::RootDeviceTypeHasBeenSet
bool RootDeviceTypeHasBeenSet() const
Definition: Instance.h:1411
Aws::EC2::Model::Instance::AddElasticGpuAssociations
Instance & AddElasticGpuAssociations(ElasticGpuAssociation &&value)
Definition: Instance.h:1226
Aws::EC2::Model::Instance::GetPlatformDetails
const Aws::String & GetPlatformDetails() const
Definition: Instance.h:1984
Aws::EC2::Model::Instance::WithHypervisor
Instance & WithHypervisor(const HypervisorType &value)
Definition: Instance.h:1117
Aws::EC2::Model::Instance::WithCapacityReservationId
Instance & WithCapacityReservationId(const char *value)
Definition: Instance.h:1762
Aws::EC2::Model::Instance::SetMetadataOptions
void SetMetadataOptions(const InstanceMetadataOptionsResponse &value)
Definition: Instance.h:1881
Aws::EC2::Model::Instance::SetClientToken
void SetClientToken(const char *value)
Definition: Instance.h:1010
Aws::EC2::Model::Instance::SetPlatformDetails
void SetPlatformDetails(Aws::String &&value)
Definition: Instance.h:2005
Aws::EC2::Model::ProductCode
Definition: ProductCode.h:33
Aws::EC2::Model::Instance::SetBootMode
void SetBootMode(BootModeValues &&value)
Definition: Instance.h:1962
Aws::EC2::Model::Instance::WithPublicIpAddress
Instance & WithPublicIpAddress(const char *value)
Definition: Instance.h:704
Aws::EC2::Model::Instance::WithUsageOperation
Instance & WithUsageOperation(const char *value)
Definition: Instance.h:2090
Aws::EC2::Model::Instance::RootDeviceNameHasBeenSet
bool RootDeviceNameHasBeenSet() const
Definition: Instance.h:1362
Aws::EC2::Model::Instance::WithStateTransitionReason
Instance & WithStateTransitionReason(Aws::String &&value)
Definition: Instance.h:819
Aws::EC2::Model::Instance::WithPlatform
Instance & WithPlatform(const PlatformValues &value)
Definition: Instance.h:414
Aws::EC2::Model::Instance::GetMetadataOptions
const InstanceMetadataOptionsResponse & GetMetadataOptions() const
Definition: Instance.h:1871
BootModeValues.h
Aws::EC2::Model::Instance::WithArchitecture
Instance & WithArchitecture(const ArchitectureValues &value)
Definition: Instance.h:933
Aws::EC2::Model::Instance::WithKernelId
Instance & WithKernelId(const Aws::String &value)
Definition: Instance.h:236
Aws::EC2::Model::Instance::SetSpotInstanceRequestId
void SetSpotInstanceRequestId(const Aws::String &value)
Definition: Instance.h:1513
Aws::EC2::Model::Instance::SetVpcId
void SetVpcId(const Aws::String &value)
Definition: Instance.h:882
Aws::EC2::Model::Instance::WithImageId
Instance & WithImageId(const Aws::String &value)
Definition: Instance.h:123
Aws::EC2::Model::Instance::WithPublicDnsName
Instance & WithPublicDnsName(Aws::String &&value)
Definition: Instance.h:640
CpuOptions.h
Aws::EC2::Model::Instance::GetMonitoring
const Monitoring & GetMonitoring() const
Definition: Instance.h:332
Aws::EC2::Model::ArchitectureValues
ArchitectureValues
Definition: ArchitectureValues.h:17
DateTime.h
ProductCode.h
Aws::EC2::Model::Instance::SetEnclaveOptions
void SetEnclaveOptions(const EnclaveOptions &value)
Definition: Instance.h:1915
Aws::EC2::Model::Instance::SetSpotInstanceRequestId
void SetSpotInstanceRequestId(Aws::String &&value)
Definition: Instance.h:1518
Aws::EC2::Model::Instance::WithElasticInferenceAcceleratorAssociations
Instance & WithElasticInferenceAcceleratorAssociations(Aws::Vector< ElasticInferenceAcceleratorAssociation > &&value)
Definition: Instance.h:1257
Aws::EC2::Model::Instance::WithLicenses
Instance & WithLicenses(Aws::Vector< LicenseConfiguration > &&value)
Definition: Instance.h:1855
Aws::EC2::Model::Instance::SetPublicIpAddress
void SetPublicIpAddress(const Aws::String &value)
Definition: Instance.h:669
Aws::EC2::Model::Instance::WithPlacement
Instance & WithPlacement(Placement &&value)
Definition: Instance.h:388
Aws::EC2::Model::Instance::GetEbsOptimized
bool GetEbsOptimized() const
Definition: Instance.h:1038
Aws::EC2::Model::Instance::SetKeyName
void SetKeyName(const Aws::String &value)
Definition: Instance.h:265
GroupIdentifier.h
Aws::EC2::Model::Instance::AmiLaunchIndexHasBeenSet
bool AmiLaunchIndexHasBeenSet() const
Definition: Instance.h:80
Aws::EC2::Model::Instance::SetInstanceId
void SetInstanceId(const char *value)
Definition: Instance.h:159
Aws::EC2::Model::Instance::WithLaunchTime
Instance & WithLaunchTime(const Aws::Utils::DateTime &value)
Definition: Instance.h:321
Aws::EC2::Model::Instance::PlatformDetailsHasBeenSet
bool PlatformDetailsHasBeenSet() const
Definition: Instance.h:1991
Aws::EC2::Model::Instance::AddBlockDeviceMappings
Instance & AddBlockDeviceMappings(InstanceBlockDeviceMapping &&value)
Definition: Instance.h:979
Aws::EC2::Model::Instance::SetStateTransitionReason
void SetStateTransitionReason(Aws::String &&value)
Definition: Instance.h:801
Aws::EC2::Model::Instance::SetSecurityGroups
void SetSecurityGroups(const Aws::Vector< GroupIdentifier > &value)
Definition: Instance.h:1451
Aws::EC2::Model::Instance::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: Instance.h:1629
Aws::EC2::Model::Instance::SetAmiLaunchIndex
void SetAmiLaunchIndex(int value)
Definition: Instance.h:86
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::Instance::WithImageId
Instance & WithImageId(const char *value)
Definition: Instance.h:133
Aws::EC2::Model::Instance::WithRamdiskId
Instance & WithRamdiskId(const Aws::String &value)
Definition: Instance.h:735
Aws::EC2::Model::Instance::WithSpotInstanceRequestId
Instance & WithSpotInstanceRequestId(Aws::String &&value)
Definition: Instance.h:1533
Aws::EC2::Model::Instance::SetLaunchTime
void SetLaunchTime(Aws::Utils::DateTime &&value)
Definition: Instance.h:316
Aws::EC2::Model::Instance::MetadataOptionsHasBeenSet
bool MetadataOptionsHasBeenSet() const
Definition: Instance.h:1876
Aws::EC2::Model::Instance::SetRootDeviceType
void SetRootDeviceType(const DeviceType &value)
Definition: Instance.h:1417
Aws::EC2::Model::Instance::SetKeyName
void SetKeyName(Aws::String &&value)
Definition: Instance.h:271
Aws::EC2::Model::Instance::GetRamdiskId
const Aws::String & GetRamdiskId() const
Definition: Instance.h:710
Aws::EC2::Model::Instance::WithMonitoring
Instance & WithMonitoring(Monitoring &&value)
Definition: Instance.h:357
Aws::EC2::Model::Instance::StateReasonHasBeenSet
bool StateReasonHasBeenSet() const
Definition: Instance.h:1598
Aws::EC2::Model::Instance::LaunchTimeHasBeenSet
bool LaunchTimeHasBeenSet() const
Definition: Instance.h:306
Aws::EC2::Model::Instance::SetNetworkInterfaces
void SetNetworkInterfaces(const Aws::Vector< InstanceNetworkInterface > &value)
Definition: Instance.h:1283
Aws::EC2::Model::Instance::WithKernelId
Instance & WithKernelId(const char *value)
Definition: Instance.h:246
Aws::EC2::Model::Instance::GetInstanceId
const Aws::String & GetInstanceId() const
Definition: Instance.h:139
Aws::EC2::Model::Instance::SetPlatformDetails
void SetPlatformDetails(const Aws::String &value)
Definition: Instance.h:1998
Aws::EC2::Model::Instance::SetOutpostArn
void SetOutpostArn(const Aws::String &value)
Definition: Instance.h:1324
Aws::EC2::Model::Instance::SetKeyName
void SetKeyName(const char *value)
Definition: Instance.h:277
Aws::EC2::Model::Instance::WithPrivateDnsName
Instance & WithPrivateDnsName(const char *value)
Definition: Instance.h:508
Aws::EC2::Model::Instance::SetCapacityReservationSpecification
void SetCapacityReservationSpecification(CapacityReservationSpecificationResponse &&value)
Definition: Instance.h:1783
Aws::EC2::Model::Instance::SetNetworkInterfaces
void SetNetworkInterfaces(Aws::Vector< InstanceNetworkInterface > &&value)
Definition: Instance.h:1288
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::Instance::SetMonitoring
void SetMonitoring(Monitoring &&value)
Definition: Instance.h:347
Aws::EC2::Model::Instance::Instance
Instance(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::PlatformValues
PlatformValues
Definition: PlatformValues.h:17
Aws::EC2::Model::Instance::SetState
void SetState(InstanceState &&value)
Definition: Instance.h:766
Monitoring.h
Aws::EC2::Model::Instance::WithTags
Instance & WithTags(Aws::Vector< Tag > &&value)
Definition: Instance.h:1649
Aws::EC2::Model::Instance::WithLaunchTime
Instance & WithLaunchTime(Aws::Utils::DateTime &&value)
Definition: Instance.h:326
Aws::EC2::Model::Instance::GetState
const InstanceState & GetState() const
Definition: Instance.h:751
Aws::EC2::Model::Instance::SetUsageOperation
void SetUsageOperation(const char *value)
Definition: Instance.h:2069
Aws::EC2::Model::Instance::SetState
void SetState(const InstanceState &value)
Definition: Instance.h:761
Aws::EC2::Model::Instance::SetBootMode
void SetBootMode(const BootModeValues &value)
Definition: Instance.h:1955
InstanceBlockDeviceMapping.h
AWSStreamFwd.h
Aws::EC2::Model::Instance::GetAmiLaunchIndex
int GetAmiLaunchIndex() const
Definition: Instance.h:74
Aws::EC2::Model::Instance::SetUsageOperationUpdateTime
void SetUsageOperationUpdateTime(Aws::Utils::DateTime &&value)
Definition: Instance.h:2111
Aws::EC2::Model::Instance::MonitoringHasBeenSet
bool MonitoringHasBeenSet() const
Definition: Instance.h:337
Aws::EC2::Model::Instance::AddLicenses
Instance & AddLicenses(LicenseConfiguration &&value)
Definition: Instance.h:1865
Aws::EC2::Model::Instance::SetInstanceId
void SetInstanceId(Aws::String &&value)
Definition: Instance.h:154
ElasticGpuAssociation.h
Aws::EC2::Model::Instance::SetPrivateDnsName
void SetPrivateDnsName(const Aws::String &value)
Definition: Instance.h:453
Aws::EC2::Model::Instance::WithSpotInstanceRequestId
Instance & WithSpotInstanceRequestId(const Aws::String &value)
Definition: Instance.h:1528
AWSVector.h
Tag.h
Aws::EC2::Model::Instance::SetPrivateDnsName
void SetPrivateDnsName(const char *value)
Definition: Instance.h:475
Aws::EC2::Model::InstanceState
Definition: InstanceState.h:32
Aws::EC2::Model::Instance::WithCapacityReservationSpecification
Instance & WithCapacityReservationSpecification(const CapacityReservationSpecificationResponse &value)
Definition: Instance.h:1788
Aws::EC2::Model::Instance::SetInstanceId
void SetInstanceId(const Aws::String &value)
Definition: Instance.h:149
Aws::EC2::Model::Instance::SetRamdiskId
void SetRamdiskId(const Aws::String &value)
Definition: Instance.h:720
Aws::EC2::Model::Instance::WithInstanceType
Instance & WithInstanceType(InstanceType &&value)
Definition: Instance.h:205
Aws::EC2::Model::Instance::WithPrivateIpAddress
Instance & WithPrivateIpAddress(const Aws::String &value)
Definition: Instance.h:539
Aws::EC2::Model::Instance::PrivateDnsNameHasBeenSet
bool PrivateDnsNameHasBeenSet() const
Definition: Instance.h:442
Aws::EC2::Model::Instance::GetRootDeviceName
const Aws::String & GetRootDeviceName() const
Definition: Instance.h:1356
Aws::EC2::Model::Instance::AddBlockDeviceMappings
Instance & AddBlockDeviceMappings(const InstanceBlockDeviceMapping &value)
Definition: Instance.h:974
Aws::EC2::Model::Instance::GetBlockDeviceMappings
const Aws::Vector< InstanceBlockDeviceMapping > & GetBlockDeviceMappings() const
Definition: Instance.h:944
Aws::EC2::Model::Instance::WithOutpostArn
Instance & WithOutpostArn(const char *value)
Definition: Instance.h:1349
Aws::EC2::Model::Instance::RamdiskIdHasBeenSet
bool RamdiskIdHasBeenSet() const
Definition: Instance.h:715
Aws::EC2::Model::Instance::ElasticGpuAssociationsHasBeenSet
bool ElasticGpuAssociationsHasBeenSet() const
Definition: Instance.h:1196
Aws::EC2::Model::Instance::VirtualizationTypeHasBeenSet
bool VirtualizationTypeHasBeenSet() const
Definition: Instance.h:1670
Aws::EC2::Model::Instance::WithUsageOperationUpdateTime
Instance & WithUsageOperationUpdateTime(Aws::Utils::DateTime &&value)
Definition: Instance.h:2121
Aws::EC2::Model::Instance::WithSubnetId
Instance & WithSubnetId(const Aws::String &value)
Definition: Instance.h:856
Aws::EC2::Model::Instance::WithRamdiskId
Instance & WithRamdiskId(const char *value)
Definition: Instance.h:745
Aws::EC2::Model::Instance::WithRootDeviceType
Instance & WithRootDeviceType(DeviceType &&value)
Definition: Instance.h:1435
Aws::EC2::Model::Instance::HibernationOptionsHasBeenSet
bool HibernationOptionsHasBeenSet() const
Definition: Instance.h:1804
Aws::EC2::Model::Instance::SetLaunchTime
void SetLaunchTime(const Aws::Utils::DateTime &value)
Definition: Instance.h:311
Aws::EC2::Model::ElasticGpuAssociation
Definition: ElasticGpuAssociation.h:33
Aws::EC2::Model::Instance::SetImageId
void SetImageId(const char *value)
Definition: Instance.h:118
Aws::EC2::Model::Instance::SetPublicDnsName
void SetPublicDnsName(Aws::String &&value)
Definition: Instance.h:619
Aws::EC2::Model::Instance::WithEnclaveOptions
Instance & WithEnclaveOptions(EnclaveOptions &&value)
Definition: Instance.h:1933
Aws::EC2::Model::Instance::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: Instance.h:1634
Aws::EC2::Model::Instance::GetOutpostArn
const Aws::String & GetOutpostArn() const
Definition: Instance.h:1314
Aws::EC2::Model::Instance::SetPlacement
void SetPlacement(Placement &&value)
Definition: Instance.h:378
Aws::EC2::Model::Instance::WithState
Instance & WithState(InstanceState &&value)
Definition: Instance.h:776
InstanceLifecycleType.h
InstanceNetworkInterface.h
Aws::EC2::Model::Instance::EbsOptimizedHasBeenSet
bool EbsOptimizedHasBeenSet() const
Definition: Instance.h:1047
Aws::EC2::Model::Instance::WithStateTransitionReason
Instance & WithStateTransitionReason(const char *value)
Definition: Instance.h:825
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::Instance::WithHibernationOptions
Instance & WithHibernationOptions(HibernationOptions &&value)
Definition: Instance.h:1824
Aws::EC2::Model::Instance::WithOutpostArn
Instance & WithOutpostArn(const Aws::String &value)
Definition: Instance.h:1339
Aws::EC2::Model::HibernationOptions
Definition: HibernationOptions.h:36
Aws::EC2::Model::Instance::InstanceLifecycleHasBeenSet
bool InstanceLifecycleHasBeenSet() const
Definition: Instance.h:1165
Aws::EC2::Model::Instance::SetSubnetId
void SetSubnetId(Aws::String &&value)
Definition: Instance.h:846
Aws::EC2::Model::Instance::ArchitectureHasBeenSet
bool ArchitectureHasBeenSet() const
Definition: Instance.h:918
Aws::EC2::Model::Instance::WithMetadataOptions
Instance & WithMetadataOptions(const InstanceMetadataOptionsResponse &value)
Definition: Instance.h:1891
Aws::EC2::Model::Instance::IamInstanceProfileHasBeenSet
bool IamInstanceProfileHasBeenSet() const
Definition: Instance.h:1134
Aws::EC2::Model::Instance::GetHypervisor
const HypervisorType & GetHypervisor() const
Definition: Instance.h:1093
Aws::EC2::Model::Instance::SetCpuOptions
void SetCpuOptions(CpuOptions &&value)
Definition: Instance.h:1711
Aws::EC2::Model::Instance::GetEnclaveOptions
const EnclaveOptions & GetEnclaveOptions() const
Definition: Instance.h:1903
Aws::EC2::Model::Instance::SecurityGroupsHasBeenSet
bool SecurityGroupsHasBeenSet() const
Definition: Instance.h:1446
Aws::EC2::Model::Instance::GetPrivateIpAddress
const Aws::String & GetPrivateIpAddress() const
Definition: Instance.h:514
Aws::EC2::Model::Instance::SriovNetSupportHasBeenSet
bool SriovNetSupportHasBeenSet() const
Definition: Instance.h:1551
Aws::EC2::Model::Instance::WithElasticGpuAssociations
Instance & WithElasticGpuAssociations(Aws::Vector< ElasticGpuAssociation > &&value)
Definition: Instance.h:1216
Aws::EC2::Model::Instance::WithInstanceType
Instance & WithInstanceType(const InstanceType &value)
Definition: Instance.h:200
Aws::EC2::Model::Instance::WithPublicIpAddress
Instance & WithPublicIpAddress(const Aws::String &value)
Definition: Instance.h:690
Aws::EC2::Model::Instance::GetCapacityReservationSpecification
const CapacityReservationSpecificationResponse & GetCapacityReservationSpecification() const
Definition: Instance.h:1768
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::Instance::SpotInstanceRequestIdHasBeenSet
bool SpotInstanceRequestIdHasBeenSet() const
Definition: Instance.h:1508
Aws::EC2::Model::Instance::WithInstanceId
Instance & WithInstanceId(Aws::String &&value)
Definition: Instance.h:169
Aws::EC2::Model::Instance::GetRootDeviceType
const DeviceType & GetRootDeviceType() const
Definition: Instance.h:1405
StateReason.h
Aws::EC2::Model::Instance::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::EC2::Model::Instance::GetBootMode
const BootModeValues & GetBootMode() const
Definition: Instance.h:1941
Aws::EC2::Model::Instance::SetMetadataOptions
void SetMetadataOptions(InstanceMetadataOptionsResponse &&value)
Definition: Instance.h:1886
Aws::EC2::Model::Instance::SetCapacityReservationId
void SetCapacityReservationId(const char *value)
Definition: Instance.h:1747
Aws::EC2::Model::Instance::SetInstanceLifecycle
void SetInstanceLifecycle(const InstanceLifecycleType &value)
Definition: Instance.h:1170
Aws::EC2::Model::Instance::SetVirtualizationType
void SetVirtualizationType(const VirtualizationType &value)
Definition: Instance.h:1675
Aws::EC2::Model::Instance::WithOutpostArn
Instance & WithOutpostArn(Aws::String &&value)
Definition: Instance.h:1344
Aws::EC2::Model::Instance::GetImageId
const Aws::String & GetImageId() const
Definition: Instance.h:98
Aws::EC2::Model::Instance::WithUsageOperation
Instance & WithUsageOperation(Aws::String &&value)
Definition: Instance.h:2083
Aws::EC2::Model::Instance::SetOutpostArn
void SetOutpostArn(Aws::String &&value)
Definition: Instance.h:1329
Aws::EC2::Model::InstanceMetadataOptionsResponse
Definition: InstanceMetadataOptionsResponse.h:35
Aws::EC2::Model::Instance::GetUsageOperation
const Aws::String & GetUsageOperation() const
Definition: Instance.h:2041
Aws::EC2::Model::Instance::GetLaunchTime
const Aws::Utils::DateTime & GetLaunchTime() const
Definition: Instance.h:301
Aws::EC2::Model::Instance::operator=
Instance & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::Instance::AddElasticInferenceAcceleratorAssociations
Instance & AddElasticInferenceAcceleratorAssociations(ElasticInferenceAcceleratorAssociation &&value)
Definition: Instance.h:1267
Aws::EC2::Model::Instance::AddTags
Instance & AddTags(Tag &&value)
Definition: Instance.h:1659
Aws::EC2::Model::Instance::GetNetworkInterfaces
const Aws::Vector< InstanceNetworkInterface > & GetNetworkInterfaces() const
Definition: Instance.h:1273
Aws::EC2::Model::Instance::SetPublicDnsName
void SetPublicDnsName(const Aws::String &value)
Definition: Instance.h:612
Aws::EC2::Model::Instance::SetClientToken
void SetClientToken(Aws::String &&value)
Definition: Instance.h:1004
Aws::EC2::Model::Instance::WithKeyName
Instance & WithKeyName(const char *value)
Definition: Instance.h:295
Aws::EC2::Model::Instance::WithKeyName
Instance & WithKeyName(const Aws::String &value)
Definition: Instance.h:283
Aws::EC2::Model::Instance::SetBlockDeviceMappings
void SetBlockDeviceMappings(Aws::Vector< InstanceBlockDeviceMapping > &&value)
Definition: Instance.h:959
PlatformValues.h
Aws::EC2::Model::Instance::AddElasticInferenceAcceleratorAssociations
Instance & AddElasticInferenceAcceleratorAssociations(const ElasticInferenceAcceleratorAssociation &value)
Definition: Instance.h:1262
Aws::EC2::Model::Instance::GetElasticInferenceAcceleratorAssociations
const Aws::Vector< ElasticInferenceAcceleratorAssociation > & GetElasticInferenceAcceleratorAssociations() const
Definition: Instance.h:1232
Aws::EC2::Model::Instance::SetInstanceType
void SetInstanceType(InstanceType &&value)
Definition: Instance.h:195
Aws::EC2::Model::Instance::WithEnaSupport
Instance & WithEnaSupport(bool value)
Definition: Instance.h:1086
Aws::EC2::Model::Instance::StateTransitionReasonHasBeenSet
bool StateTransitionReasonHasBeenSet() const
Definition: Instance.h:789
Aws::EC2::Model::Instance::SetPublicIpAddress
void SetPublicIpAddress(const char *value)
Definition: Instance.h:683
Aws::EC2::Model::Instance::WithSriovNetSupport
Instance & WithSriovNetSupport(const Aws::String &value)
Definition: Instance.h:1575
Aws::EC2::Model::Instance::SetUsageOperation
void SetUsageOperation(const Aws::String &value)
Definition: Instance.h:2055
Aws::EC2::Model::Instance::WithRootDeviceType
Instance & WithRootDeviceType(const DeviceType &value)
Definition: Instance.h:1429
HypervisorType.h
Aws::EC2::Model::Instance::WithMonitoring
Instance & WithMonitoring(const Monitoring &value)
Definition: Instance.h:352
Aws::EC2::Model::Instance::GetLicenses
const Aws::Vector< LicenseConfiguration > & GetLicenses() const
Definition: Instance.h:1830
Aws::EC2::Model::Instance::WithProductCodes
Instance & WithProductCodes(Aws::Vector< ProductCode > &&value)
Definition: Instance.h:580
Aws::EC2::Model::Instance::WithVirtualizationType
Instance & WithVirtualizationType(const VirtualizationType &value)
Definition: Instance.h:1685
Aws::EC2::Model::Instance::SetUsageOperationUpdateTime
void SetUsageOperationUpdateTime(const Aws::Utils::DateTime &value)
Definition: Instance.h:2106
ArchitectureValues.h
Aws::EC2::Model::Instance::AddSecurityGroups
Instance & AddSecurityGroups(GroupIdentifier &&value)
Definition: Instance.h:1476
Placement.h
Aws::EC2::Model::Instance::StateHasBeenSet
bool StateHasBeenSet() const
Definition: Instance.h:756
Aws::EC2::Model::Instance::WithBootMode
Instance & WithBootMode(BootModeValues &&value)
Definition: Instance.h:1976
Aws::EC2::Model::Instance::WithVpcId
Instance & WithVpcId(const Aws::String &value)
Definition: Instance.h:897
Aws::EC2::Model::Instance::WithCpuOptions
Instance & WithCpuOptions(const CpuOptions &value)
Definition: Instance.h:1716
Aws::EC2::Model::Instance::SetIamInstanceProfile
void SetIamInstanceProfile(const IamInstanceProfile &value)
Definition: Instance.h:1139
Aws::EC2::Model::Instance::SetProductCodes
void SetProductCodes(Aws::Vector< ProductCode > &&value)
Definition: Instance.h:570
Aws::EC2::Model::Instance::WithPrivateDnsName
Instance & WithPrivateDnsName(Aws::String &&value)
Definition: Instance.h:497
Aws::EC2::Model::Instance::WithPlacement
Instance & WithPlacement(const Placement &value)
Definition: Instance.h:383
Aws::EC2::Model::Instance::EnaSupportHasBeenSet
bool EnaSupportHasBeenSet() const
Definition: Instance.h:1076
Aws::EC2::Model::Instance::WithNetworkInterfaces
Instance & WithNetworkInterfaces(Aws::Vector< InstanceNetworkInterface > &&value)
Definition: Instance.h:1298
Aws::EC2::Model::Instance::WithCapacityReservationId
Instance & WithCapacityReservationId(Aws::String &&value)
Definition: Instance.h:1757
VirtualizationType.h
Aws::EC2::Model::ElasticInferenceAcceleratorAssociation
Definition: ElasticInferenceAcceleratorAssociation.h:34
Aws::EC2::Model::Instance::AddTags
Instance & AddTags(const Tag &value)
Definition: Instance.h:1654
Aws::EC2::Model::Instance::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: Instance.h:1624
Aws::EC2::Model::Instance::SetArchitecture
void SetArchitecture(ArchitectureValues &&value)
Definition: Instance.h:928
Aws::EC2::Model::Instance::SetHypervisor
void SetHypervisor(HypervisorType &&value)
Definition: Instance.h:1111
Aws::EC2::Model::Instance::KeyNameHasBeenSet
bool KeyNameHasBeenSet() const
Definition: Instance.h:259
Aws::EC2::Model::Instance::ClientTokenHasBeenSet
bool ClientTokenHasBeenSet() const
Definition: Instance.h:992
Aws::EC2::Model::CapacityReservationSpecificationResponse
Definition: CapacityReservationSpecificationResponse.h:40
Aws::EC2::Model::Instance::WithRootDeviceName
Instance & WithRootDeviceName(const char *value)
Definition: Instance.h:1398
Aws::EC2::Model::Instance::SetCapacityReservationId
void SetCapacityReservationId(const Aws::String &value)
Definition: Instance.h:1737
AWSString.h
Aws::EC2::Model::Instance::SetPlatform
void SetPlatform(PlatformValues &&value)
Definition: Instance.h:409
Aws::EC2::Model::Instance::BlockDeviceMappingsHasBeenSet
bool BlockDeviceMappingsHasBeenSet() const
Definition: Instance.h:949
Aws::EC2::Model::Instance::WithPublicIpAddress
Instance & WithPublicIpAddress(Aws::String &&value)
Definition: Instance.h:697
Aws::EC2::Model::Instance::WithSpotInstanceRequestId
Instance & WithSpotInstanceRequestId(const char *value)
Definition: Instance.h:1538
Aws::EC2::Model::Instance::WithAmiLaunchIndex
Instance & WithAmiLaunchIndex(int value)
Definition: Instance.h:92
Aws::EC2::Model::Instance::UsageOperationUpdateTimeHasBeenSet
bool UsageOperationUpdateTimeHasBeenSet() const
Definition: Instance.h:2101
Aws::EC2::Model::Instance::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: Instance.h:1639
Aws::EC2::Model::GroupIdentifier
Definition: GroupIdentifier.h:32
Aws::EC2::Model::Instance::GetInstanceType
const InstanceType & GetInstanceType() const
Definition: Instance.h:180
Aws::EC2::Model::Instance::SetRamdiskId
void SetRamdiskId(const char *value)
Definition: Instance.h:730
Aws::EC2::Model::Instance::WithPublicDnsName
Instance & WithPublicDnsName(const char *value)
Definition: Instance.h:647
Aws::EC2::Model::Instance::PrivateIpAddressHasBeenSet
bool PrivateIpAddressHasBeenSet() const
Definition: Instance.h:519
Aws::EC2::Model::Instance::GetSriovNetSupport
const Aws::String & GetSriovNetSupport() const
Definition: Instance.h:1545
Aws::EC2::Model::Instance::ProductCodesHasBeenSet
bool ProductCodesHasBeenSet() const
Definition: Instance.h:560
Aws::EC2::Model::BootModeValues
BootModeValues
Definition: BootModeValues.h:17
Aws::EC2::Model::Instance::PublicIpAddressHasBeenSet
bool PublicIpAddressHasBeenSet() const
Definition: Instance.h:662
Aws::EC2::Model::Instance::WithPlatformDetails
Instance & WithPlatformDetails(Aws::String &&value)
Definition: Instance.h:2026
EnclaveOptions.h
Aws::EC2::Model::Instance::GetPlatform
const PlatformValues & GetPlatform() const
Definition: Instance.h:394
Aws::EC2::Model::Instance
Definition: Instance.h:60
Aws::EC2::Model::Instance::GetPrivateDnsName
const Aws::String & GetPrivateDnsName() const
Definition: Instance.h:431
Aws::EC2::Model::Instance::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::EC2::Model::Instance::GetPublicDnsName
const Aws::String & GetPublicDnsName() const
Definition: Instance.h:598
Aws::EC2::Model::Instance::WithPublicDnsName
Instance & WithPublicDnsName(const Aws::String &value)
Definition: Instance.h:633
Aws::EC2::Model::Instance::SetRootDeviceName
void SetRootDeviceName(const char *value)
Definition: Instance.h:1380
Aws::EC2::Model::Instance::SetRootDeviceName
void SetRootDeviceName(Aws::String &&value)
Definition: Instance.h:1374
Aws::EC2::Model::Instance::WithCapacityReservationId
Instance & WithCapacityReservationId(const Aws::String &value)
Definition: Instance.h:1752
Aws::EC2::Model::Instance::WithTags
Instance & WithTags(const Aws::Vector< Tag > &value)
Definition: Instance.h:1644
Aws::EC2::Model::Instance::SetPrivateIpAddress
void SetPrivateIpAddress(Aws::String &&value)
Definition: Instance.h:529
Aws::EC2::Model::Instance::Instance
Instance()
Aws::EC2::Model::Instance::UsageOperationHasBeenSet
bool UsageOperationHasBeenSet() const
Definition: Instance.h:2048
Aws::EC2::Model::Instance::SetStateTransitionReason
void SetStateTransitionReason(const Aws::String &value)
Definition: Instance.h:795
Aws::EC2::Model::Instance::SetImageId
void SetImageId(const Aws::String &value)
Definition: Instance.h:108
Aws::EC2::Model::Instance::GetVpcId
const Aws::String & GetVpcId() const
Definition: Instance.h:872
Aws::EC2::Model::Instance::WithStateReason
Instance & WithStateReason(const StateReason &value)
Definition: Instance.h:1613
Aws::EC2::Model::Instance::GetProductCodes
const Aws::Vector< ProductCode > & GetProductCodes() const
Definition: Instance.h:555
InstanceType.h
Aws::EC2::Model::Instance::SetArchitecture
void SetArchitecture(const ArchitectureValues &value)
Definition: Instance.h:923
Aws::EC2::Model::Instance::CpuOptionsHasBeenSet
bool CpuOptionsHasBeenSet() const
Definition: Instance.h:1701
Aws::EC2::Model::Instance::WithPlatform
Instance & WithPlatform(PlatformValues &&value)
Definition: Instance.h:419
Aws::EC2::Model::Instance::WithIamInstanceProfile
Instance & WithIamInstanceProfile(IamInstanceProfile &&value)
Definition: Instance.h:1154
Aws::EC2::Model::Instance::WithStateReason
Instance & WithStateReason(StateReason &&value)
Definition: Instance.h:1618
Aws::EC2::Model::Instance::SetLicenses
void SetLicenses(Aws::Vector< LicenseConfiguration > &&value)
Definition: Instance.h:1845
Aws::EC2::Model::Instance::SetEbsOptimized
void SetEbsOptimized(bool value)
Definition: Instance.h:1056
ElasticInferenceAcceleratorAssociation.h
Aws::EC2::Model::Instance::SetInstanceLifecycle
void SetInstanceLifecycle(InstanceLifecycleType &&value)
Definition: Instance.h:1175
Aws::EC2::Model::Instance::WithPlatformDetails
Instance & WithPlatformDetails(const Aws::String &value)
Definition: Instance.h:2019
Aws::EC2::Model::VirtualizationType
VirtualizationType
Definition: VirtualizationType.h:17
Aws::EC2::Model::Instance::OutpostArnHasBeenSet
bool OutpostArnHasBeenSet() const
Definition: Instance.h:1319
Aws::EC2::Model::Instance::SetElasticInferenceAcceleratorAssociations
void SetElasticInferenceAcceleratorAssociations(const Aws::Vector< ElasticInferenceAcceleratorAssociation > &value)
Definition: Instance.h:1242
Aws::EC2::Model::Instance::GetSubnetId
const Aws::String & GetSubnetId() const
Definition: Instance.h:831
Aws::EC2::Model::Instance::CapacityReservationIdHasBeenSet
bool CapacityReservationIdHasBeenSet() const
Definition: Instance.h:1732
Aws::EC2::Model::Instance::WithClientToken
Instance & WithClientToken(Aws::String &&value)
Definition: Instance.h:1022
Aws::EC2::Model::Instance::WithBlockDeviceMappings
Instance & WithBlockDeviceMappings(Aws::Vector< InstanceBlockDeviceMapping > &&value)
Definition: Instance.h:969
Aws::EC2::Model::Instance::HypervisorHasBeenSet
bool HypervisorHasBeenSet() const
Definition: Instance.h:1099
Aws::EC2::Model::Instance::SetImageId
void SetImageId(Aws::String &&value)
Definition: Instance.h:113
Aws::EC2::Model::EnclaveOptions
Definition: EnclaveOptions.h:31
Aws::EC2::Model::InstanceBlockDeviceMapping
Definition: InstanceBlockDeviceMapping.h:33
Aws::EC2::Model::Instance::SetLicenses
void SetLicenses(const Aws::Vector< LicenseConfiguration > &value)
Definition: Instance.h:1840
Aws::EC2::Model::Instance::WithSubnetId
Instance & WithSubnetId(const char *value)
Definition: Instance.h:866
Aws::EC2::Model::Instance::WithPlatformDetails
Instance & WithPlatformDetails(const char *value)
Definition: Instance.h:2033
Aws::EC2::Model::Instance::WithSecurityGroups
Instance & WithSecurityGroups(Aws::Vector< GroupIdentifier > &&value)
Definition: Instance.h:1466
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::Instance::GetArchitecture
const ArchitectureValues & GetArchitecture() const
Definition: Instance.h:913
Aws::EC2::Model::Instance::InstanceIdHasBeenSet
bool InstanceIdHasBeenSet() const
Definition: Instance.h:144
Aws::EC2::Model::Instance::SetSourceDestCheck
void SetSourceDestCheck(bool value)
Definition: Instance.h:1492
Aws::EC2::Model::Instance::SetKernelId
void SetKernelId(const Aws::String &value)
Definition: Instance.h:221
Aws::EC2::Model::Instance::SourceDestCheckHasBeenSet
bool SourceDestCheckHasBeenSet() const
Definition: Instance.h:1487
Aws::EC2::Model::Instance::WithIamInstanceProfile
Instance & WithIamInstanceProfile(const IamInstanceProfile &value)
Definition: Instance.h:1149
Aws::EC2::Model::LicenseConfiguration
Definition: LicenseConfiguration.h:32
Aws::EC2::Model::Instance::SetEnclaveOptions
void SetEnclaveOptions(EnclaveOptions &&value)
Definition: Instance.h:1921
Aws::EC2::Model::Instance::WithBootMode
Instance & WithBootMode(const BootModeValues &value)
Definition: Instance.h:1969
Aws::EC2::Model::Instance::WithSubnetId
Instance & WithSubnetId(Aws::String &&value)
Definition: Instance.h:861
Aws::EC2::Model::Instance::SetSriovNetSupport
void SetSriovNetSupport(Aws::String &&value)
Definition: Instance.h:1563
Aws::EC2::Model::Instance::WithSourceDestCheck
Instance & WithSourceDestCheck(bool value)
Definition: Instance.h:1497
Aws::EC2::Model::Instance::PlacementHasBeenSet
bool PlacementHasBeenSet() const
Definition: Instance.h:368
Aws::EC2::Model::Instance::GetInstanceLifecycle
const InstanceLifecycleType & GetInstanceLifecycle() const
Definition: Instance.h:1160
Aws::EC2::Model::Instance::SetPlatform
void SetPlatform(const PlatformValues &value)
Definition: Instance.h:404
Aws::EC2::Model::Instance::WithCpuOptions
Instance & WithCpuOptions(CpuOptions &&value)
Definition: Instance.h:1721
InstanceState.h
Aws::EC2::Model::Instance::WithHypervisor
Instance & WithHypervisor(HypervisorType &&value)
Definition: Instance.h:1123
Aws::EC2::Model::InstanceNetworkInterface
Definition: InstanceNetworkInterface.h:41
Aws::EC2::Model::Instance::WithPrivateIpAddress
Instance & WithPrivateIpAddress(Aws::String &&value)
Definition: Instance.h:544
Aws::EC2::Model::Instance::WithNetworkInterfaces
Instance & WithNetworkInterfaces(const Aws::Vector< InstanceNetworkInterface > &value)
Definition: Instance.h:1293
Aws::EC2::Model::Instance::WithVpcId
Instance & WithVpcId(const char *value)
Definition: Instance.h:907
Aws::EC2::Model::Instance::LicensesHasBeenSet
bool LicensesHasBeenSet() const
Definition: Instance.h:1835
Aws::EC2::Model::Instance::WithInstanceId
Instance & WithInstanceId(const Aws::String &value)
Definition: Instance.h:164
Aws::EC2::Model::Instance::WithSecurityGroups
Instance & WithSecurityGroups(const Aws::Vector< GroupIdentifier > &value)
Definition: Instance.h:1461
Aws::EC2::Model::Instance::SetKernelId
void SetKernelId(const char *value)
Definition: Instance.h:231
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::Instance::SetHibernationOptions
void SetHibernationOptions(const HibernationOptions &value)
Definition: Instance.h:1809
Aws::EC2::Model::InstanceLifecycleType
InstanceLifecycleType
Definition: InstanceLifecycleType.h:17
Aws::EC2::Model::Instance::GetCpuOptions
const CpuOptions & GetCpuOptions() const
Definition: Instance.h:1696
Aws::EC2::Model::StateReason
Definition: StateReason.h:32
index
int index
Definition: cJSON.h:181
Aws::EC2::Model::Instance::SetSecurityGroups
void SetSecurityGroups(Aws::Vector< GroupIdentifier > &&value)
Definition: Instance.h:1456
Aws::EC2::Model::Instance::SetRootDeviceType
void SetRootDeviceType(DeviceType &&value)
Definition: Instance.h:1423
Aws::EC2::Model::Instance::GetElasticGpuAssociations
const Aws::Vector< ElasticGpuAssociation > & GetElasticGpuAssociations() const
Definition: Instance.h:1191
Aws::EC2::Model::Instance::SetIamInstanceProfile
void SetIamInstanceProfile(IamInstanceProfile &&value)
Definition: Instance.h:1144
HibernationOptions.h
Aws::EC2::Model::Instance::SetUsageOperation
void SetUsageOperation(Aws::String &&value)
Definition: Instance.h:2062
Aws::EC2::Model::Instance::SetStateReason
void SetStateReason(const StateReason &value)
Definition: Instance.h:1603
Aws::EC2::Model::Instance::SetPrivateDnsName
void SetPrivateDnsName(Aws::String &&value)
Definition: Instance.h:464
Aws::EC2::Model::Instance::GetKernelId
const Aws::String & GetKernelId() const
Definition: Instance.h:211
Aws::EC2::Model::Instance::SetSubnetId
void SetSubnetId(const Aws::String &value)
Definition: Instance.h:841
Aws::EC2::Model::Instance::NetworkInterfacesHasBeenSet
bool NetworkInterfacesHasBeenSet() const
Definition: Instance.h:1278
Aws::EC2::Model::Instance::GetStateReason
const StateReason & GetStateReason() const
Definition: Instance.h:1593
Aws::EC2::Model::Instance::SetCapacityReservationSpecification
void SetCapacityReservationSpecification(const CapacityReservationSpecificationResponse &value)
Definition: Instance.h:1778
Aws::EC2::Model::Instance::WithClientToken
Instance & WithClientToken(const char *value)
Definition: Instance.h:1028
Aws::EC2::Model::Instance::PlatformHasBeenSet
bool PlatformHasBeenSet() const
Definition: Instance.h:399
Aws::EC2::Model::Instance::WithSriovNetSupport
Instance & WithSriovNetSupport(const char *value)
Definition: Instance.h:1587
Aws::EC2::Model::Instance::WithHibernationOptions
Instance & WithHibernationOptions(const HibernationOptions &value)
Definition: Instance.h:1819
Aws::EC2::Model::Instance::GetIamInstanceProfile
const IamInstanceProfile & GetIamInstanceProfile() const
Definition: Instance.h:1129
Aws::EC2::Model::Instance::SetClientToken
void SetClientToken(const Aws::String &value)
Definition: Instance.h:998
Aws::EC2::Model::Instance::WithRamdiskId
Instance & WithRamdiskId(Aws::String &&value)
Definition: Instance.h:740
Aws::EC2::Model::Instance::GetSourceDestCheck
bool GetSourceDestCheck() const
Definition: Instance.h:1482
Aws::EC2::Model::Instance::WithImageId
Instance & WithImageId(Aws::String &&value)
Definition: Instance.h:128
Aws::EC2::Model::Instance::SetInstanceType
void SetInstanceType(const InstanceType &value)
Definition: Instance.h:190
Aws::EC2::Model::Instance::SetRamdiskId
void SetRamdiskId(Aws::String &&value)
Definition: Instance.h:725
Aws::EC2::Model::Instance::SetElasticInferenceAcceleratorAssociations
void SetElasticInferenceAcceleratorAssociations(Aws::Vector< ElasticInferenceAcceleratorAssociation > &&value)
Definition: Instance.h:1247
Aws::EC2::Model::IamInstanceProfile
Definition: IamInstanceProfile.h:32
Aws::EC2::Model::Instance::WithInstanceLifecycle
Instance & WithInstanceLifecycle(InstanceLifecycleType &&value)
Definition: Instance.h:1185
Aws::EC2::Model::Instance::WithElasticGpuAssociations
Instance & WithElasticGpuAssociations(const Aws::Vector< ElasticGpuAssociation > &value)
Definition: Instance.h:1211
Aws::EC2::Model::Instance::WithLicenses
Instance & WithLicenses(const Aws::Vector< LicenseConfiguration > &value)
Definition: Instance.h:1850
Aws::EC2::Model::Instance::SetSpotInstanceRequestId
void SetSpotInstanceRequestId(const char *value)
Definition: Instance.h:1523
Aws::EC2::Model::Instance::GetKeyName
const Aws::String & GetKeyName() const
Definition: Instance.h:253
Aws::EC2::Model::Instance::ElasticInferenceAcceleratorAssociationsHasBeenSet
bool ElasticInferenceAcceleratorAssociationsHasBeenSet() const
Definition: Instance.h:1237
Aws::EC2::Model::Instance::SetElasticGpuAssociations
void SetElasticGpuAssociations(const Aws::Vector< ElasticGpuAssociation > &value)
Definition: Instance.h:1201
EC2_EXPORTS.h
Aws::EC2::Model::Instance::WithRootDeviceName
Instance & WithRootDeviceName(const Aws::String &value)
Definition: Instance.h:1386
Aws::EC2::Model::Instance::SetVpcId
void SetVpcId(Aws::String &&value)
Definition: Instance.h:887
Aws::EC2::Model::Instance::GetClientToken
const Aws::String & GetClientToken() const
Definition: Instance.h:986
Aws::EC2::Model::Instance::AddNetworkInterfaces
Instance & AddNetworkInterfaces(InstanceNetworkInterface &&value)
Definition: Instance.h:1308
Aws::EC2::Model::InstanceType
InstanceType
Definition: InstanceType.h:17
Aws::EC2::Model::Instance::SetOutpostArn
void SetOutpostArn(const char *value)
Definition: Instance.h:1334
Aws::EC2::Model::Instance::WithBlockDeviceMappings
Instance & WithBlockDeviceMappings(const Aws::Vector< InstanceBlockDeviceMapping > &value)
Definition: Instance.h:964
Aws::EC2::Model::Instance::SetHypervisor
void SetHypervisor(const HypervisorType &value)
Definition: Instance.h:1105
Aws::EC2::Model::Instance::WithEnclaveOptions
Instance & WithEnclaveOptions(const EnclaveOptions &value)
Definition: Instance.h:1927
Aws::EC2::Model::Instance::GetPublicIpAddress
const Aws::String & GetPublicIpAddress() const
Definition: Instance.h:655
Aws::EC2::Model::Instance::SetPlatformDetails
void SetPlatformDetails(const char *value)
Definition: Instance.h:2012
Aws::EC2::Model::Instance::ImageIdHasBeenSet
bool ImageIdHasBeenSet() const
Definition: Instance.h:103
Aws::EC2::Model::Instance::WithStateTransitionReason
Instance & WithStateTransitionReason(const Aws::String &value)
Definition: Instance.h:813
Aws::EC2::Model::Instance::WithPrivateIpAddress
Instance & WithPrivateIpAddress(const char *value)
Definition: Instance.h:549
Aws::EC2::Model::Instance::WithArchitecture
Instance & WithArchitecture(ArchitectureValues &&value)
Definition: Instance.h:938
Aws::EC2::Model::Instance::SetEnaSupport
void SetEnaSupport(bool value)
Definition: Instance.h:1081
Aws::EC2::Model::Instance::SetPrivateIpAddress
void SetPrivateIpAddress(const Aws::String &value)
Definition: Instance.h:524
Aws::EC2::Model::Instance::WithPrivateDnsName
Instance & WithPrivateDnsName(const Aws::String &value)
Definition: Instance.h:486
Aws::EC2::Model::Instance::GetVirtualizationType
const VirtualizationType & GetVirtualizationType() const
Definition: Instance.h:1665
Aws::EC2::Model::Instance::GetSecurityGroups
const Aws::Vector< GroupIdentifier > & GetSecurityGroups() const
Definition: Instance.h:1441
Aws::EC2::Model::Instance::SetPublicIpAddress
void SetPublicIpAddress(Aws::String &&value)
Definition: Instance.h:676
Aws::EC2::Model::Instance::WithUsageOperationUpdateTime
Instance & WithUsageOperationUpdateTime(const Aws::Utils::DateTime &value)
Definition: Instance.h:2116
Aws::EC2::Model::Instance::WithState
Instance & WithState(const InstanceState &value)
Definition: Instance.h:771
Aws::EC2::Model::HypervisorType
HypervisorType
Definition: HypervisorType.h:17
Aws::EC2::Model::Instance::GetPlacement
const Placement & GetPlacement() const
Definition: Instance.h:363
Aws::EC2::Model::Instance::CapacityReservationSpecificationHasBeenSet
bool CapacityReservationSpecificationHasBeenSet() const
Definition: Instance.h:1773
Aws::EC2::Model::Instance::GetHibernationOptions
const HibernationOptions & GetHibernationOptions() const
Definition: Instance.h:1799
CapacityReservationSpecificationResponse.h
Aws::EC2::Model::Instance::SetStateTransitionReason
void SetStateTransitionReason(const char *value)
Definition: Instance.h:807
Aws::EC2::Model::Instance::SetProductCodes
void SetProductCodes(const Aws::Vector< ProductCode > &value)
Definition: Instance.h:565
Aws::EC2::Model::Instance::SubnetIdHasBeenSet
bool SubnetIdHasBeenSet() const
Definition: Instance.h:836
Aws::EC2::Model::Instance::AddSecurityGroups
Instance & AddSecurityGroups(const GroupIdentifier &value)
Definition: Instance.h:1471
Aws::EC2::Model::Instance::EnclaveOptionsHasBeenSet
bool EnclaveOptionsHasBeenSet() const
Definition: Instance.h:1909
Aws::EC2::Model::Instance::WithKernelId
Instance & WithKernelId(Aws::String &&value)
Definition: Instance.h:241