AWS SDK for C++  1.8.77
AWS SDK for C++
Public Member Functions | List of all members
Aws::EC2::Model::Instance Class Reference

#include <Instance.h>

Public Member Functions

 Instance ()
 
 Instance (const Aws::Utils::Xml::XmlNode &xmlNode)
 
Instanceoperator= (const Aws::Utils::Xml::XmlNode &xmlNode)
 
void OutputToStream (Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
 
void OutputToStream (Aws::OStream &oStream, const char *location) const
 
int GetAmiLaunchIndex () const
 
bool AmiLaunchIndexHasBeenSet () const
 
void SetAmiLaunchIndex (int value)
 
InstanceWithAmiLaunchIndex (int value)
 
const Aws::StringGetImageId () const
 
bool ImageIdHasBeenSet () const
 
void SetImageId (const Aws::String &value)
 
void SetImageId (Aws::String &&value)
 
void SetImageId (const char *value)
 
InstanceWithImageId (const Aws::String &value)
 
InstanceWithImageId (Aws::String &&value)
 
InstanceWithImageId (const char *value)
 
const Aws::StringGetInstanceId () const
 
bool InstanceIdHasBeenSet () const
 
void SetInstanceId (const Aws::String &value)
 
void SetInstanceId (Aws::String &&value)
 
void SetInstanceId (const char *value)
 
InstanceWithInstanceId (const Aws::String &value)
 
InstanceWithInstanceId (Aws::String &&value)
 
InstanceWithInstanceId (const char *value)
 
const InstanceTypeGetInstanceType () const
 
bool InstanceTypeHasBeenSet () const
 
void SetInstanceType (const InstanceType &value)
 
void SetInstanceType (InstanceType &&value)
 
InstanceWithInstanceType (const InstanceType &value)
 
InstanceWithInstanceType (InstanceType &&value)
 
const Aws::StringGetKernelId () const
 
bool KernelIdHasBeenSet () const
 
void SetKernelId (const Aws::String &value)
 
void SetKernelId (Aws::String &&value)
 
void SetKernelId (const char *value)
 
InstanceWithKernelId (const Aws::String &value)
 
InstanceWithKernelId (Aws::String &&value)
 
InstanceWithKernelId (const char *value)
 
const Aws::StringGetKeyName () const
 
bool KeyNameHasBeenSet () const
 
void SetKeyName (const Aws::String &value)
 
void SetKeyName (Aws::String &&value)
 
void SetKeyName (const char *value)
 
InstanceWithKeyName (const Aws::String &value)
 
InstanceWithKeyName (Aws::String &&value)
 
InstanceWithKeyName (const char *value)
 
const Aws::Utils::DateTimeGetLaunchTime () const
 
bool LaunchTimeHasBeenSet () const
 
void SetLaunchTime (const Aws::Utils::DateTime &value)
 
void SetLaunchTime (Aws::Utils::DateTime &&value)
 
InstanceWithLaunchTime (const Aws::Utils::DateTime &value)
 
InstanceWithLaunchTime (Aws::Utils::DateTime &&value)
 
const MonitoringGetMonitoring () const
 
bool MonitoringHasBeenSet () const
 
void SetMonitoring (const Monitoring &value)
 
void SetMonitoring (Monitoring &&value)
 
InstanceWithMonitoring (const Monitoring &value)
 
InstanceWithMonitoring (Monitoring &&value)
 
const PlacementGetPlacement () const
 
bool PlacementHasBeenSet () const
 
void SetPlacement (const Placement &value)
 
void SetPlacement (Placement &&value)
 
InstanceWithPlacement (const Placement &value)
 
InstanceWithPlacement (Placement &&value)
 
const PlatformValuesGetPlatform () const
 
bool PlatformHasBeenSet () const
 
void SetPlatform (const PlatformValues &value)
 
void SetPlatform (PlatformValues &&value)
 
InstanceWithPlatform (const PlatformValues &value)
 
InstanceWithPlatform (PlatformValues &&value)
 
const Aws::StringGetPrivateDnsName () const
 
bool PrivateDnsNameHasBeenSet () const
 
void SetPrivateDnsName (const Aws::String &value)
 
void SetPrivateDnsName (Aws::String &&value)
 
void SetPrivateDnsName (const char *value)
 
InstanceWithPrivateDnsName (const Aws::String &value)
 
InstanceWithPrivateDnsName (Aws::String &&value)
 
InstanceWithPrivateDnsName (const char *value)
 
const Aws::StringGetPrivateIpAddress () const
 
bool PrivateIpAddressHasBeenSet () const
 
void SetPrivateIpAddress (const Aws::String &value)
 
void SetPrivateIpAddress (Aws::String &&value)
 
void SetPrivateIpAddress (const char *value)
 
InstanceWithPrivateIpAddress (const Aws::String &value)
 
InstanceWithPrivateIpAddress (Aws::String &&value)
 
InstanceWithPrivateIpAddress (const char *value)
 
const Aws::Vector< ProductCode > & GetProductCodes () const
 
bool ProductCodesHasBeenSet () const
 
void SetProductCodes (const Aws::Vector< ProductCode > &value)
 
void SetProductCodes (Aws::Vector< ProductCode > &&value)
 
InstanceWithProductCodes (const Aws::Vector< ProductCode > &value)
 
InstanceWithProductCodes (Aws::Vector< ProductCode > &&value)
 
InstanceAddProductCodes (const ProductCode &value)
 
InstanceAddProductCodes (ProductCode &&value)
 
const Aws::StringGetPublicDnsName () const
 
bool PublicDnsNameHasBeenSet () const
 
void SetPublicDnsName (const Aws::String &value)
 
void SetPublicDnsName (Aws::String &&value)
 
void SetPublicDnsName (const char *value)
 
InstanceWithPublicDnsName (const Aws::String &value)
 
InstanceWithPublicDnsName (Aws::String &&value)
 
InstanceWithPublicDnsName (const char *value)
 
const Aws::StringGetPublicIpAddress () const
 
bool PublicIpAddressHasBeenSet () const
 
void SetPublicIpAddress (const Aws::String &value)
 
void SetPublicIpAddress (Aws::String &&value)
 
void SetPublicIpAddress (const char *value)
 
InstanceWithPublicIpAddress (const Aws::String &value)
 
InstanceWithPublicIpAddress (Aws::String &&value)
 
InstanceWithPublicIpAddress (const char *value)
 
const Aws::StringGetRamdiskId () const
 
bool RamdiskIdHasBeenSet () const
 
void SetRamdiskId (const Aws::String &value)
 
void SetRamdiskId (Aws::String &&value)
 
void SetRamdiskId (const char *value)
 
InstanceWithRamdiskId (const Aws::String &value)
 
InstanceWithRamdiskId (Aws::String &&value)
 
InstanceWithRamdiskId (const char *value)
 
const InstanceStateGetState () const
 
bool StateHasBeenSet () const
 
void SetState (const InstanceState &value)
 
void SetState (InstanceState &&value)
 
InstanceWithState (const InstanceState &value)
 
InstanceWithState (InstanceState &&value)
 
const Aws::StringGetStateTransitionReason () const
 
bool StateTransitionReasonHasBeenSet () const
 
void SetStateTransitionReason (const Aws::String &value)
 
void SetStateTransitionReason (Aws::String &&value)
 
void SetStateTransitionReason (const char *value)
 
InstanceWithStateTransitionReason (const Aws::String &value)
 
InstanceWithStateTransitionReason (Aws::String &&value)
 
InstanceWithStateTransitionReason (const char *value)
 
const Aws::StringGetSubnetId () const
 
bool SubnetIdHasBeenSet () const
 
void SetSubnetId (const Aws::String &value)
 
void SetSubnetId (Aws::String &&value)
 
void SetSubnetId (const char *value)
 
InstanceWithSubnetId (const Aws::String &value)
 
InstanceWithSubnetId (Aws::String &&value)
 
InstanceWithSubnetId (const char *value)
 
const Aws::StringGetVpcId () const
 
bool VpcIdHasBeenSet () const
 
void SetVpcId (const Aws::String &value)
 
void SetVpcId (Aws::String &&value)
 
void SetVpcId (const char *value)
 
InstanceWithVpcId (const Aws::String &value)
 
InstanceWithVpcId (Aws::String &&value)
 
InstanceWithVpcId (const char *value)
 
const ArchitectureValuesGetArchitecture () const
 
bool ArchitectureHasBeenSet () const
 
void SetArchitecture (const ArchitectureValues &value)
 
void SetArchitecture (ArchitectureValues &&value)
 
InstanceWithArchitecture (const ArchitectureValues &value)
 
InstanceWithArchitecture (ArchitectureValues &&value)
 
const Aws::Vector< InstanceBlockDeviceMapping > & GetBlockDeviceMappings () const
 
bool BlockDeviceMappingsHasBeenSet () const
 
void SetBlockDeviceMappings (const Aws::Vector< InstanceBlockDeviceMapping > &value)
 
void SetBlockDeviceMappings (Aws::Vector< InstanceBlockDeviceMapping > &&value)
 
InstanceWithBlockDeviceMappings (const Aws::Vector< InstanceBlockDeviceMapping > &value)
 
InstanceWithBlockDeviceMappings (Aws::Vector< InstanceBlockDeviceMapping > &&value)
 
InstanceAddBlockDeviceMappings (const InstanceBlockDeviceMapping &value)
 
InstanceAddBlockDeviceMappings (InstanceBlockDeviceMapping &&value)
 
const Aws::StringGetClientToken () const
 
bool ClientTokenHasBeenSet () const
 
void SetClientToken (const Aws::String &value)
 
void SetClientToken (Aws::String &&value)
 
void SetClientToken (const char *value)
 
InstanceWithClientToken (const Aws::String &value)
 
InstanceWithClientToken (Aws::String &&value)
 
InstanceWithClientToken (const char *value)
 
bool GetEbsOptimized () const
 
bool EbsOptimizedHasBeenSet () const
 
void SetEbsOptimized (bool value)
 
InstanceWithEbsOptimized (bool value)
 
bool GetEnaSupport () const
 
bool EnaSupportHasBeenSet () const
 
void SetEnaSupport (bool value)
 
InstanceWithEnaSupport (bool value)
 
const HypervisorTypeGetHypervisor () const
 
bool HypervisorHasBeenSet () const
 
void SetHypervisor (const HypervisorType &value)
 
void SetHypervisor (HypervisorType &&value)
 
InstanceWithHypervisor (const HypervisorType &value)
 
InstanceWithHypervisor (HypervisorType &&value)
 
const IamInstanceProfileGetIamInstanceProfile () const
 
bool IamInstanceProfileHasBeenSet () const
 
void SetIamInstanceProfile (const IamInstanceProfile &value)
 
void SetIamInstanceProfile (IamInstanceProfile &&value)
 
InstanceWithIamInstanceProfile (const IamInstanceProfile &value)
 
InstanceWithIamInstanceProfile (IamInstanceProfile &&value)
 
const InstanceLifecycleTypeGetInstanceLifecycle () const
 
bool InstanceLifecycleHasBeenSet () const
 
void SetInstanceLifecycle (const InstanceLifecycleType &value)
 
void SetInstanceLifecycle (InstanceLifecycleType &&value)
 
InstanceWithInstanceLifecycle (const InstanceLifecycleType &value)
 
InstanceWithInstanceLifecycle (InstanceLifecycleType &&value)
 
const Aws::Vector< ElasticGpuAssociation > & GetElasticGpuAssociations () const
 
bool ElasticGpuAssociationsHasBeenSet () const
 
void SetElasticGpuAssociations (const Aws::Vector< ElasticGpuAssociation > &value)
 
void SetElasticGpuAssociations (Aws::Vector< ElasticGpuAssociation > &&value)
 
InstanceWithElasticGpuAssociations (const Aws::Vector< ElasticGpuAssociation > &value)
 
InstanceWithElasticGpuAssociations (Aws::Vector< ElasticGpuAssociation > &&value)
 
InstanceAddElasticGpuAssociations (const ElasticGpuAssociation &value)
 
InstanceAddElasticGpuAssociations (ElasticGpuAssociation &&value)
 
const Aws::Vector< ElasticInferenceAcceleratorAssociation > & GetElasticInferenceAcceleratorAssociations () const
 
bool ElasticInferenceAcceleratorAssociationsHasBeenSet () const
 
void SetElasticInferenceAcceleratorAssociations (const Aws::Vector< ElasticInferenceAcceleratorAssociation > &value)
 
void SetElasticInferenceAcceleratorAssociations (Aws::Vector< ElasticInferenceAcceleratorAssociation > &&value)
 
InstanceWithElasticInferenceAcceleratorAssociations (const Aws::Vector< ElasticInferenceAcceleratorAssociation > &value)
 
InstanceWithElasticInferenceAcceleratorAssociations (Aws::Vector< ElasticInferenceAcceleratorAssociation > &&value)
 
InstanceAddElasticInferenceAcceleratorAssociations (const ElasticInferenceAcceleratorAssociation &value)
 
InstanceAddElasticInferenceAcceleratorAssociations (ElasticInferenceAcceleratorAssociation &&value)
 
const Aws::Vector< InstanceNetworkInterface > & GetNetworkInterfaces () const
 
bool NetworkInterfacesHasBeenSet () const
 
void SetNetworkInterfaces (const Aws::Vector< InstanceNetworkInterface > &value)
 
void SetNetworkInterfaces (Aws::Vector< InstanceNetworkInterface > &&value)
 
InstanceWithNetworkInterfaces (const Aws::Vector< InstanceNetworkInterface > &value)
 
InstanceWithNetworkInterfaces (Aws::Vector< InstanceNetworkInterface > &&value)
 
InstanceAddNetworkInterfaces (const InstanceNetworkInterface &value)
 
InstanceAddNetworkInterfaces (InstanceNetworkInterface &&value)
 
const Aws::StringGetOutpostArn () const
 
bool OutpostArnHasBeenSet () const
 
void SetOutpostArn (const Aws::String &value)
 
void SetOutpostArn (Aws::String &&value)
 
void SetOutpostArn (const char *value)
 
InstanceWithOutpostArn (const Aws::String &value)
 
InstanceWithOutpostArn (Aws::String &&value)
 
InstanceWithOutpostArn (const char *value)
 
const Aws::StringGetRootDeviceName () const
 
bool RootDeviceNameHasBeenSet () const
 
void SetRootDeviceName (const Aws::String &value)
 
void SetRootDeviceName (Aws::String &&value)
 
void SetRootDeviceName (const char *value)
 
InstanceWithRootDeviceName (const Aws::String &value)
 
InstanceWithRootDeviceName (Aws::String &&value)
 
InstanceWithRootDeviceName (const char *value)
 
const DeviceTypeGetRootDeviceType () const
 
bool RootDeviceTypeHasBeenSet () const
 
void SetRootDeviceType (const DeviceType &value)
 
void SetRootDeviceType (DeviceType &&value)
 
InstanceWithRootDeviceType (const DeviceType &value)
 
InstanceWithRootDeviceType (DeviceType &&value)
 
const Aws::Vector< GroupIdentifier > & GetSecurityGroups () const
 
bool SecurityGroupsHasBeenSet () const
 
void SetSecurityGroups (const Aws::Vector< GroupIdentifier > &value)
 
void SetSecurityGroups (Aws::Vector< GroupIdentifier > &&value)
 
InstanceWithSecurityGroups (const Aws::Vector< GroupIdentifier > &value)
 
InstanceWithSecurityGroups (Aws::Vector< GroupIdentifier > &&value)
 
InstanceAddSecurityGroups (const GroupIdentifier &value)
 
InstanceAddSecurityGroups (GroupIdentifier &&value)
 
bool GetSourceDestCheck () const
 
bool SourceDestCheckHasBeenSet () const
 
void SetSourceDestCheck (bool value)
 
InstanceWithSourceDestCheck (bool value)
 
const Aws::StringGetSpotInstanceRequestId () const
 
bool SpotInstanceRequestIdHasBeenSet () const
 
void SetSpotInstanceRequestId (const Aws::String &value)
 
void SetSpotInstanceRequestId (Aws::String &&value)
 
void SetSpotInstanceRequestId (const char *value)
 
InstanceWithSpotInstanceRequestId (const Aws::String &value)
 
InstanceWithSpotInstanceRequestId (Aws::String &&value)
 
InstanceWithSpotInstanceRequestId (const char *value)
 
const Aws::StringGetSriovNetSupport () const
 
bool SriovNetSupportHasBeenSet () const
 
void SetSriovNetSupport (const Aws::String &value)
 
void SetSriovNetSupport (Aws::String &&value)
 
void SetSriovNetSupport (const char *value)
 
InstanceWithSriovNetSupport (const Aws::String &value)
 
InstanceWithSriovNetSupport (Aws::String &&value)
 
InstanceWithSriovNetSupport (const char *value)
 
const StateReasonGetStateReason () const
 
bool StateReasonHasBeenSet () const
 
void SetStateReason (const StateReason &value)
 
void SetStateReason (StateReason &&value)
 
InstanceWithStateReason (const StateReason &value)
 
InstanceWithStateReason (StateReason &&value)
 
const Aws::Vector< Tag > & GetTags () const
 
bool TagsHasBeenSet () const
 
void SetTags (const Aws::Vector< Tag > &value)
 
void SetTags (Aws::Vector< Tag > &&value)
 
InstanceWithTags (const Aws::Vector< Tag > &value)
 
InstanceWithTags (Aws::Vector< Tag > &&value)
 
InstanceAddTags (const Tag &value)
 
InstanceAddTags (Tag &&value)
 
const VirtualizationTypeGetVirtualizationType () const
 
bool VirtualizationTypeHasBeenSet () const
 
void SetVirtualizationType (const VirtualizationType &value)
 
void SetVirtualizationType (VirtualizationType &&value)
 
InstanceWithVirtualizationType (const VirtualizationType &value)
 
InstanceWithVirtualizationType (VirtualizationType &&value)
 
const CpuOptionsGetCpuOptions () const
 
bool CpuOptionsHasBeenSet () const
 
void SetCpuOptions (const CpuOptions &value)
 
void SetCpuOptions (CpuOptions &&value)
 
InstanceWithCpuOptions (const CpuOptions &value)
 
InstanceWithCpuOptions (CpuOptions &&value)
 
const Aws::StringGetCapacityReservationId () const
 
bool CapacityReservationIdHasBeenSet () const
 
void SetCapacityReservationId (const Aws::String &value)
 
void SetCapacityReservationId (Aws::String &&value)
 
void SetCapacityReservationId (const char *value)
 
InstanceWithCapacityReservationId (const Aws::String &value)
 
InstanceWithCapacityReservationId (Aws::String &&value)
 
InstanceWithCapacityReservationId (const char *value)
 
const CapacityReservationSpecificationResponseGetCapacityReservationSpecification () const
 
bool CapacityReservationSpecificationHasBeenSet () const
 
void SetCapacityReservationSpecification (const CapacityReservationSpecificationResponse &value)
 
void SetCapacityReservationSpecification (CapacityReservationSpecificationResponse &&value)
 
InstanceWithCapacityReservationSpecification (const CapacityReservationSpecificationResponse &value)
 
InstanceWithCapacityReservationSpecification (CapacityReservationSpecificationResponse &&value)
 
const HibernationOptionsGetHibernationOptions () const
 
bool HibernationOptionsHasBeenSet () const
 
void SetHibernationOptions (const HibernationOptions &value)
 
void SetHibernationOptions (HibernationOptions &&value)
 
InstanceWithHibernationOptions (const HibernationOptions &value)
 
InstanceWithHibernationOptions (HibernationOptions &&value)
 
const Aws::Vector< LicenseConfiguration > & GetLicenses () const
 
bool LicensesHasBeenSet () const
 
void SetLicenses (const Aws::Vector< LicenseConfiguration > &value)
 
void SetLicenses (Aws::Vector< LicenseConfiguration > &&value)
 
InstanceWithLicenses (const Aws::Vector< LicenseConfiguration > &value)
 
InstanceWithLicenses (Aws::Vector< LicenseConfiguration > &&value)
 
InstanceAddLicenses (const LicenseConfiguration &value)
 
InstanceAddLicenses (LicenseConfiguration &&value)
 
const InstanceMetadataOptionsResponseGetMetadataOptions () const
 
bool MetadataOptionsHasBeenSet () const
 
void SetMetadataOptions (const InstanceMetadataOptionsResponse &value)
 
void SetMetadataOptions (InstanceMetadataOptionsResponse &&value)
 
InstanceWithMetadataOptions (const InstanceMetadataOptionsResponse &value)
 
InstanceWithMetadataOptions (InstanceMetadataOptionsResponse &&value)
 
const EnclaveOptionsGetEnclaveOptions () const
 
bool EnclaveOptionsHasBeenSet () const
 
void SetEnclaveOptions (const EnclaveOptions &value)
 
void SetEnclaveOptions (EnclaveOptions &&value)
 
InstanceWithEnclaveOptions (const EnclaveOptions &value)
 
InstanceWithEnclaveOptions (EnclaveOptions &&value)
 

Detailed Description

Describes an instance.

See Also:

AWS API Reference

Definition at line 58 of file Instance.h.

Constructor & Destructor Documentation

◆ Instance() [1/2]

Aws::EC2::Model::Instance::Instance ( )

◆ Instance() [2/2]

Aws::EC2::Model::Instance::Instance ( const Aws::Utils::Xml::XmlNode xmlNode)

Member Function Documentation

◆ AddBlockDeviceMappings() [1/2]

Instance& Aws::EC2::Model::Instance::AddBlockDeviceMappings ( const InstanceBlockDeviceMapping value)
inline

Any block device mapping entries for the instance.

Definition at line 973 of file Instance.h.

◆ AddBlockDeviceMappings() [2/2]

Instance& Aws::EC2::Model::Instance::AddBlockDeviceMappings ( InstanceBlockDeviceMapping &&  value)
inline

Any block device mapping entries for the instance.

Definition at line 978 of file Instance.h.

◆ AddElasticGpuAssociations() [1/2]

Instance& Aws::EC2::Model::Instance::AddElasticGpuAssociations ( const ElasticGpuAssociation value)
inline

The Elastic GPU associated with the instance.

Definition at line 1220 of file Instance.h.

◆ AddElasticGpuAssociations() [2/2]

Instance& Aws::EC2::Model::Instance::AddElasticGpuAssociations ( ElasticGpuAssociation &&  value)
inline

The Elastic GPU associated with the instance.

Definition at line 1225 of file Instance.h.

◆ AddElasticInferenceAcceleratorAssociations() [1/2]

Instance& Aws::EC2::Model::Instance::AddElasticInferenceAcceleratorAssociations ( const ElasticInferenceAcceleratorAssociation value)
inline

The elastic inference accelerator associated with the instance.

Definition at line 1261 of file Instance.h.

◆ AddElasticInferenceAcceleratorAssociations() [2/2]

Instance& Aws::EC2::Model::Instance::AddElasticInferenceAcceleratorAssociations ( ElasticInferenceAcceleratorAssociation &&  value)
inline

The elastic inference accelerator associated with the instance.

Definition at line 1266 of file Instance.h.

◆ AddLicenses() [1/2]

Instance& Aws::EC2::Model::Instance::AddLicenses ( const LicenseConfiguration value)
inline

The license configurations.

Definition at line 1883 of file Instance.h.

◆ AddLicenses() [2/2]

Instance& Aws::EC2::Model::Instance::AddLicenses ( LicenseConfiguration &&  value)
inline

The license configurations.

Definition at line 1888 of file Instance.h.

◆ AddNetworkInterfaces() [1/2]

Instance& Aws::EC2::Model::Instance::AddNetworkInterfaces ( const InstanceNetworkInterface value)
inline

[EC2-VPC] The network interfaces for the instance.

Definition at line 1302 of file Instance.h.

◆ AddNetworkInterfaces() [2/2]

Instance& Aws::EC2::Model::Instance::AddNetworkInterfaces ( InstanceNetworkInterface &&  value)
inline

[EC2-VPC] The network interfaces for the instance.

Definition at line 1307 of file Instance.h.

◆ AddProductCodes() [1/2]

Instance& Aws::EC2::Model::Instance::AddProductCodes ( const ProductCode value)
inline

The product codes attached to this instance, if applicable.

Definition at line 584 of file Instance.h.

◆ AddProductCodes() [2/2]

Instance& Aws::EC2::Model::Instance::AddProductCodes ( ProductCode &&  value)
inline

The product codes attached to this instance, if applicable.

Definition at line 589 of file Instance.h.

◆ AddSecurityGroups() [1/2]

Instance& Aws::EC2::Model::Instance::AddSecurityGroups ( const GroupIdentifier value)
inline

The security groups for the instance.

Definition at line 1470 of file Instance.h.

◆ AddSecurityGroups() [2/2]

Instance& Aws::EC2::Model::Instance::AddSecurityGroups ( GroupIdentifier &&  value)
inline

The security groups for the instance.

Definition at line 1475 of file Instance.h.

◆ AddTags() [1/2]

Instance& Aws::EC2::Model::Instance::AddTags ( const Tag value)
inline

Any tags assigned to the instance.

Definition at line 1677 of file Instance.h.

◆ AddTags() [2/2]

Instance& Aws::EC2::Model::Instance::AddTags ( Tag &&  value)
inline

Any tags assigned to the instance.

Definition at line 1682 of file Instance.h.

◆ AmiLaunchIndexHasBeenSet()

bool Aws::EC2::Model::Instance::AmiLaunchIndexHasBeenSet ( ) const
inline

The AMI launch index, which can be used to find this instance in the launch group.

Definition at line 79 of file Instance.h.

◆ ArchitectureHasBeenSet()

bool Aws::EC2::Model::Instance::ArchitectureHasBeenSet ( ) const
inline

The architecture of the image.

Definition at line 917 of file Instance.h.

◆ BlockDeviceMappingsHasBeenSet()

bool Aws::EC2::Model::Instance::BlockDeviceMappingsHasBeenSet ( ) const
inline

Any block device mapping entries for the instance.

Definition at line 948 of file Instance.h.

◆ CapacityReservationIdHasBeenSet()

bool Aws::EC2::Model::Instance::CapacityReservationIdHasBeenSet ( ) const
inline

The ID of the Capacity Reservation.

Definition at line 1755 of file Instance.h.

◆ CapacityReservationSpecificationHasBeenSet()

bool Aws::EC2::Model::Instance::CapacityReservationSpecificationHasBeenSet ( ) const
inline

Information about the Capacity Reservation targeting option.

Definition at line 1796 of file Instance.h.

◆ ClientTokenHasBeenSet()

bool Aws::EC2::Model::Instance::ClientTokenHasBeenSet ( ) const
inline

The idempotency token you provided when you launched the instance, if applicable.

Definition at line 991 of file Instance.h.

◆ CpuOptionsHasBeenSet()

bool Aws::EC2::Model::Instance::CpuOptionsHasBeenSet ( ) const
inline

The CPU options for the instance.

Definition at line 1724 of file Instance.h.

◆ EbsOptimizedHasBeenSet()

bool Aws::EC2::Model::Instance::EbsOptimizedHasBeenSet ( ) const
inline

Indicates whether the instance is optimized for Amazon EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.

Definition at line 1046 of file Instance.h.

◆ ElasticGpuAssociationsHasBeenSet()

bool Aws::EC2::Model::Instance::ElasticGpuAssociationsHasBeenSet ( ) const
inline

The Elastic GPU associated with the instance.

Definition at line 1195 of file Instance.h.

◆ ElasticInferenceAcceleratorAssociationsHasBeenSet()

bool Aws::EC2::Model::Instance::ElasticInferenceAcceleratorAssociationsHasBeenSet ( ) const
inline

The elastic inference accelerator associated with the instance.

Definition at line 1236 of file Instance.h.

◆ EnaSupportHasBeenSet()

bool Aws::EC2::Model::Instance::EnaSupportHasBeenSet ( ) const
inline

Specifies whether enhanced networking with ENA is enabled.

Definition at line 1075 of file Instance.h.

◆ EnclaveOptionsHasBeenSet()

bool Aws::EC2::Model::Instance::EnclaveOptionsHasBeenSet ( ) const
inline

Indicates whether the instance is enabled for AWS Nitro Enclaves.

Definition at line 1930 of file Instance.h.

◆ GetAmiLaunchIndex()

int Aws::EC2::Model::Instance::GetAmiLaunchIndex ( ) const
inline

The AMI launch index, which can be used to find this instance in the launch group.

Definition at line 73 of file Instance.h.

◆ GetArchitecture()

const ArchitectureValues& Aws::EC2::Model::Instance::GetArchitecture ( ) const
inline

The architecture of the image.

Definition at line 912 of file Instance.h.

◆ GetBlockDeviceMappings()

const Aws::Vector<InstanceBlockDeviceMapping>& Aws::EC2::Model::Instance::GetBlockDeviceMappings ( ) const
inline

Any block device mapping entries for the instance.

Definition at line 943 of file Instance.h.

◆ GetCapacityReservationId()

const Aws::String& Aws::EC2::Model::Instance::GetCapacityReservationId ( ) const
inline

The ID of the Capacity Reservation.

Definition at line 1750 of file Instance.h.

◆ GetCapacityReservationSpecification()

const CapacityReservationSpecificationResponse& Aws::EC2::Model::Instance::GetCapacityReservationSpecification ( ) const
inline

Information about the Capacity Reservation targeting option.

Definition at line 1791 of file Instance.h.

◆ GetClientToken()

const Aws::String& Aws::EC2::Model::Instance::GetClientToken ( ) const
inline

The idempotency token you provided when you launched the instance, if applicable.

Definition at line 985 of file Instance.h.

◆ GetCpuOptions()

const CpuOptions& Aws::EC2::Model::Instance::GetCpuOptions ( ) const
inline

The CPU options for the instance.

Definition at line 1719 of file Instance.h.

◆ GetEbsOptimized()

bool Aws::EC2::Model::Instance::GetEbsOptimized ( ) const
inline

Indicates whether the instance is optimized for Amazon EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.

Definition at line 1037 of file Instance.h.

◆ GetElasticGpuAssociations()

const Aws::Vector<ElasticGpuAssociation>& Aws::EC2::Model::Instance::GetElasticGpuAssociations ( ) const
inline

The Elastic GPU associated with the instance.

Definition at line 1190 of file Instance.h.

◆ GetElasticInferenceAcceleratorAssociations()

const Aws::Vector<ElasticInferenceAcceleratorAssociation>& Aws::EC2::Model::Instance::GetElasticInferenceAcceleratorAssociations ( ) const
inline

The elastic inference accelerator associated with the instance.

Definition at line 1231 of file Instance.h.

◆ GetEnaSupport()

bool Aws::EC2::Model::Instance::GetEnaSupport ( ) const
inline

Specifies whether enhanced networking with ENA is enabled.

Definition at line 1070 of file Instance.h.

◆ GetEnclaveOptions()

const EnclaveOptions& Aws::EC2::Model::Instance::GetEnclaveOptions ( ) const
inline

Indicates whether the instance is enabled for AWS Nitro Enclaves.

Definition at line 1925 of file Instance.h.

◆ GetHibernationOptions()

const HibernationOptions& Aws::EC2::Model::Instance::GetHibernationOptions ( ) const
inline

Indicates whether the instance is enabled for hibernation.

Definition at line 1822 of file Instance.h.

◆ GetHypervisor()

const HypervisorType& Aws::EC2::Model::Instance::GetHypervisor ( ) const
inline

The hypervisor type of the instance. The value xen is used for both Xen and Nitro hypervisors.

Definition at line 1092 of file Instance.h.

◆ GetIamInstanceProfile()

const IamInstanceProfile& Aws::EC2::Model::Instance::GetIamInstanceProfile ( ) const
inline

The IAM instance profile associated with the instance, if applicable.

Definition at line 1128 of file Instance.h.

◆ GetImageId()

const Aws::String& Aws::EC2::Model::Instance::GetImageId ( ) const
inline

The ID of the AMI used to launch the instance.

Definition at line 97 of file Instance.h.

◆ GetInstanceId()

const Aws::String& Aws::EC2::Model::Instance::GetInstanceId ( ) const
inline

The ID of the instance.

Definition at line 138 of file Instance.h.

◆ GetInstanceLifecycle()

const InstanceLifecycleType& Aws::EC2::Model::Instance::GetInstanceLifecycle ( ) const
inline

Indicates whether this is a Spot Instance or a Scheduled Instance.

Definition at line 1159 of file Instance.h.

◆ GetInstanceType()

const InstanceType& Aws::EC2::Model::Instance::GetInstanceType ( ) const
inline

The instance type.

Definition at line 179 of file Instance.h.

◆ GetKernelId()

const Aws::String& Aws::EC2::Model::Instance::GetKernelId ( ) const
inline

The kernel associated with this instance, if applicable.

Definition at line 210 of file Instance.h.

◆ GetKeyName()

const Aws::String& Aws::EC2::Model::Instance::GetKeyName ( ) const
inline

The name of the key pair, if this instance was launched with an associated key pair.

Definition at line 252 of file Instance.h.

◆ GetLaunchTime()

const Aws::Utils::DateTime& Aws::EC2::Model::Instance::GetLaunchTime ( ) const
inline

The time the instance was launched.

Definition at line 300 of file Instance.h.

◆ GetLicenses()

const Aws::Vector<LicenseConfiguration>& Aws::EC2::Model::Instance::GetLicenses ( ) const
inline

The license configurations.

Definition at line 1853 of file Instance.h.

◆ GetMetadataOptions()

const InstanceMetadataOptionsResponse& Aws::EC2::Model::Instance::GetMetadataOptions ( ) const
inline

The metadata options for the instance.

Definition at line 1894 of file Instance.h.

◆ GetMonitoring()

const Monitoring& Aws::EC2::Model::Instance::GetMonitoring ( ) const
inline

The monitoring for the instance.

Definition at line 331 of file Instance.h.

◆ GetNetworkInterfaces()

const Aws::Vector<InstanceNetworkInterface>& Aws::EC2::Model::Instance::GetNetworkInterfaces ( ) const
inline

[EC2-VPC] The network interfaces for the instance.

Definition at line 1272 of file Instance.h.

◆ GetOutpostArn()

const Aws::String& Aws::EC2::Model::Instance::GetOutpostArn ( ) const
inline

The Amazon Resource Name (ARN) of the Outpost.

Definition at line 1313 of file Instance.h.

◆ GetPlacement()

const Placement& Aws::EC2::Model::Instance::GetPlacement ( ) const
inline

The location where the instance launched, if applicable.

Definition at line 362 of file Instance.h.

◆ GetPlatform()

const PlatformValues& Aws::EC2::Model::Instance::GetPlatform ( ) const
inline

The value is Windows for Windows instances; otherwise blank.

Definition at line 393 of file Instance.h.

◆ GetPrivateDnsName()

const Aws::String& Aws::EC2::Model::Instance::GetPrivateDnsName ( ) const
inline

(IPv4 only) The private DNS hostname name assigned to the instance. This DNS hostname can only be used inside the Amazon EC2 network. This name is not available until the instance enters the running state.

[EC2-VPC] The Amazon-provided DNS server resolves Amazon-provided private DNS hostnames if you've enabled DNS resolution and DNS hostnames in your VPC. If you are not using the Amazon-provided DNS server in your VPC, your custom domain name servers must resolve the hostname as appropriate.

Definition at line 430 of file Instance.h.

◆ GetPrivateIpAddress()

const Aws::String& Aws::EC2::Model::Instance::GetPrivateIpAddress ( ) const
inline

The private IPv4 address assigned to the instance.

Definition at line 513 of file Instance.h.

◆ GetProductCodes()

const Aws::Vector<ProductCode>& Aws::EC2::Model::Instance::GetProductCodes ( ) const
inline

The product codes attached to this instance, if applicable.

Definition at line 554 of file Instance.h.

◆ GetPublicDnsName()

const Aws::String& Aws::EC2::Model::Instance::GetPublicDnsName ( ) const
inline

(IPv4 only) The public DNS name assigned to the instance. This name is not available until the instance enters the running state. For EC2-VPC, this name is only available if you've enabled DNS hostnames for your VPC.

Definition at line 597 of file Instance.h.

◆ GetPublicIpAddress()

const Aws::String& Aws::EC2::Model::Instance::GetPublicIpAddress ( ) const
inline

The public IPv4 address, or the Carrier IP address assigned to the instance, if applicable.

A Carrier IP address only applies to an instance launched in a subnet associated with a Wavelength Zone.

Definition at line 654 of file Instance.h.

◆ GetRamdiskId()

const Aws::String& Aws::EC2::Model::Instance::GetRamdiskId ( ) const
inline

The RAM disk associated with this instance, if applicable.

Definition at line 709 of file Instance.h.

◆ GetRootDeviceName()

const Aws::String& Aws::EC2::Model::Instance::GetRootDeviceName ( ) const
inline

The device name of the root device volume (for example, /dev/sda1).

Definition at line 1355 of file Instance.h.

◆ GetRootDeviceType()

const DeviceType& Aws::EC2::Model::Instance::GetRootDeviceType ( ) const
inline

The root device type used by the AMI. The AMI can use an EBS volume or an instance store volume.

Definition at line 1404 of file Instance.h.

◆ GetSecurityGroups()

const Aws::Vector<GroupIdentifier>& Aws::EC2::Model::Instance::GetSecurityGroups ( ) const
inline

The security groups for the instance.

Definition at line 1440 of file Instance.h.

◆ GetSourceDestCheck()

bool Aws::EC2::Model::Instance::GetSourceDestCheck ( ) const
inline

Specifies whether to enable an instance launched in a VPC to perform NAT. This controls whether source/destination checking is enabled on the instance. A value of true means that checking is enabled, and false means that checking is disabled. The value must be false for the instance to perform NAT. For more information, see NAT Instances in the Amazon Virtual Private Cloud User Guide.

Definition at line 1487 of file Instance.h.

◆ GetSpotInstanceRequestId()

const Aws::String& Aws::EC2::Model::Instance::GetSpotInstanceRequestId ( ) const
inline

If the request is a Spot Instance request, the ID of the request.

Definition at line 1526 of file Instance.h.

◆ GetSriovNetSupport()

const Aws::String& Aws::EC2::Model::Instance::GetSriovNetSupport ( ) const
inline

Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.

Definition at line 1568 of file Instance.h.

◆ GetState()

const InstanceState& Aws::EC2::Model::Instance::GetState ( ) const
inline

The current state of the instance.

Definition at line 750 of file Instance.h.

◆ GetStateReason()

const StateReason& Aws::EC2::Model::Instance::GetStateReason ( ) const
inline

The reason for the most recent state transition.

Definition at line 1616 of file Instance.h.

◆ GetStateTransitionReason()

const Aws::String& Aws::EC2::Model::Instance::GetStateTransitionReason ( ) const
inline

The reason for the most recent state transition. This might be an empty string.

Definition at line 782 of file Instance.h.

◆ GetSubnetId()

const Aws::String& Aws::EC2::Model::Instance::GetSubnetId ( ) const
inline

[EC2-VPC] The ID of the subnet in which the instance is running.

Definition at line 830 of file Instance.h.

◆ GetTags()

const Aws::Vector<Tag>& Aws::EC2::Model::Instance::GetTags ( ) const
inline

Any tags assigned to the instance.

Definition at line 1647 of file Instance.h.

◆ GetVirtualizationType()

const VirtualizationType& Aws::EC2::Model::Instance::GetVirtualizationType ( ) const
inline

The virtualization type of the instance.

Definition at line 1688 of file Instance.h.

◆ GetVpcId()

const Aws::String& Aws::EC2::Model::Instance::GetVpcId ( ) const
inline

[EC2-VPC] The ID of the VPC in which the instance is running.

Definition at line 871 of file Instance.h.

◆ HibernationOptionsHasBeenSet()

bool Aws::EC2::Model::Instance::HibernationOptionsHasBeenSet ( ) const
inline

Indicates whether the instance is enabled for hibernation.

Definition at line 1827 of file Instance.h.

◆ HypervisorHasBeenSet()

bool Aws::EC2::Model::Instance::HypervisorHasBeenSet ( ) const
inline

The hypervisor type of the instance. The value xen is used for both Xen and Nitro hypervisors.

Definition at line 1098 of file Instance.h.

◆ IamInstanceProfileHasBeenSet()

bool Aws::EC2::Model::Instance::IamInstanceProfileHasBeenSet ( ) const
inline

The IAM instance profile associated with the instance, if applicable.

Definition at line 1133 of file Instance.h.

◆ ImageIdHasBeenSet()

bool Aws::EC2::Model::Instance::ImageIdHasBeenSet ( ) const
inline

The ID of the AMI used to launch the instance.

Definition at line 102 of file Instance.h.

◆ InstanceIdHasBeenSet()

bool Aws::EC2::Model::Instance::InstanceIdHasBeenSet ( ) const
inline

The ID of the instance.

Definition at line 143 of file Instance.h.

◆ InstanceLifecycleHasBeenSet()

bool Aws::EC2::Model::Instance::InstanceLifecycleHasBeenSet ( ) const
inline

Indicates whether this is a Spot Instance or a Scheduled Instance.

Definition at line 1164 of file Instance.h.

◆ InstanceTypeHasBeenSet()

bool Aws::EC2::Model::Instance::InstanceTypeHasBeenSet ( ) const
inline

The instance type.

Definition at line 184 of file Instance.h.

◆ KernelIdHasBeenSet()

bool Aws::EC2::Model::Instance::KernelIdHasBeenSet ( ) const
inline

The kernel associated with this instance, if applicable.

Definition at line 215 of file Instance.h.

◆ KeyNameHasBeenSet()

bool Aws::EC2::Model::Instance::KeyNameHasBeenSet ( ) const
inline

The name of the key pair, if this instance was launched with an associated key pair.

Definition at line 258 of file Instance.h.

◆ LaunchTimeHasBeenSet()

bool Aws::EC2::Model::Instance::LaunchTimeHasBeenSet ( ) const
inline

The time the instance was launched.

Definition at line 305 of file Instance.h.

◆ LicensesHasBeenSet()

bool Aws::EC2::Model::Instance::LicensesHasBeenSet ( ) const
inline

The license configurations.

Definition at line 1858 of file Instance.h.

◆ MetadataOptionsHasBeenSet()

bool Aws::EC2::Model::Instance::MetadataOptionsHasBeenSet ( ) const
inline

The metadata options for the instance.

Definition at line 1899 of file Instance.h.

◆ MonitoringHasBeenSet()

bool Aws::EC2::Model::Instance::MonitoringHasBeenSet ( ) const
inline

The monitoring for the instance.

Definition at line 336 of file Instance.h.

◆ NetworkInterfacesHasBeenSet()

bool Aws::EC2::Model::Instance::NetworkInterfacesHasBeenSet ( ) const
inline

[EC2-VPC] The network interfaces for the instance.

Definition at line 1277 of file Instance.h.

◆ operator=()

Instance& Aws::EC2::Model::Instance::operator= ( const Aws::Utils::Xml::XmlNode xmlNode)

◆ OutpostArnHasBeenSet()

bool Aws::EC2::Model::Instance::OutpostArnHasBeenSet ( ) const
inline

The Amazon Resource Name (ARN) of the Outpost.

Definition at line 1318 of file Instance.h.

◆ OutputToStream() [1/2]

void Aws::EC2::Model::Instance::OutputToStream ( Aws::OStream ostream,
const char *  location,
unsigned  index,
const char *  locationValue 
) const

◆ OutputToStream() [2/2]

void Aws::EC2::Model::Instance::OutputToStream ( Aws::OStream oStream,
const char *  location 
) const

◆ PlacementHasBeenSet()

bool Aws::EC2::Model::Instance::PlacementHasBeenSet ( ) const
inline

The location where the instance launched, if applicable.

Definition at line 367 of file Instance.h.

◆ PlatformHasBeenSet()

bool Aws::EC2::Model::Instance::PlatformHasBeenSet ( ) const
inline

The value is Windows for Windows instances; otherwise blank.

Definition at line 398 of file Instance.h.

◆ PrivateDnsNameHasBeenSet()

bool Aws::EC2::Model::Instance::PrivateDnsNameHasBeenSet ( ) const
inline

(IPv4 only) The private DNS hostname name assigned to the instance. This DNS hostname can only be used inside the Amazon EC2 network. This name is not available until the instance enters the running state.

[EC2-VPC] The Amazon-provided DNS server resolves Amazon-provided private DNS hostnames if you've enabled DNS resolution and DNS hostnames in your VPC. If you are not using the Amazon-provided DNS server in your VPC, your custom domain name servers must resolve the hostname as appropriate.

Definition at line 441 of file Instance.h.

◆ PrivateIpAddressHasBeenSet()

bool Aws::EC2::Model::Instance::PrivateIpAddressHasBeenSet ( ) const
inline

The private IPv4 address assigned to the instance.

Definition at line 518 of file Instance.h.

◆ ProductCodesHasBeenSet()

bool Aws::EC2::Model::Instance::ProductCodesHasBeenSet ( ) const
inline

The product codes attached to this instance, if applicable.

Definition at line 559 of file Instance.h.

◆ PublicDnsNameHasBeenSet()

bool Aws::EC2::Model::Instance::PublicDnsNameHasBeenSet ( ) const
inline

(IPv4 only) The public DNS name assigned to the instance. This name is not available until the instance enters the running state. For EC2-VPC, this name is only available if you've enabled DNS hostnames for your VPC.

Definition at line 604 of file Instance.h.

◆ PublicIpAddressHasBeenSet()

bool Aws::EC2::Model::Instance::PublicIpAddressHasBeenSet ( ) const
inline

The public IPv4 address, or the Carrier IP address assigned to the instance, if applicable.

A Carrier IP address only applies to an instance launched in a subnet associated with a Wavelength Zone.

Definition at line 661 of file Instance.h.

◆ RamdiskIdHasBeenSet()

bool Aws::EC2::Model::Instance::RamdiskIdHasBeenSet ( ) const
inline

The RAM disk associated with this instance, if applicable.

Definition at line 714 of file Instance.h.

◆ RootDeviceNameHasBeenSet()

bool Aws::EC2::Model::Instance::RootDeviceNameHasBeenSet ( ) const
inline

The device name of the root device volume (for example, /dev/sda1).

Definition at line 1361 of file Instance.h.

◆ RootDeviceTypeHasBeenSet()

bool Aws::EC2::Model::Instance::RootDeviceTypeHasBeenSet ( ) const
inline

The root device type used by the AMI. The AMI can use an EBS volume or an instance store volume.

Definition at line 1410 of file Instance.h.

◆ SecurityGroupsHasBeenSet()

bool Aws::EC2::Model::Instance::SecurityGroupsHasBeenSet ( ) const
inline

The security groups for the instance.

Definition at line 1445 of file Instance.h.

◆ SetAmiLaunchIndex()

void Aws::EC2::Model::Instance::SetAmiLaunchIndex ( int  value)
inline

The AMI launch index, which can be used to find this instance in the launch group.

Definition at line 85 of file Instance.h.

◆ SetArchitecture() [1/2]

void Aws::EC2::Model::Instance::SetArchitecture ( const ArchitectureValues value)
inline

The architecture of the image.

Definition at line 922 of file Instance.h.

◆ SetArchitecture() [2/2]

void Aws::EC2::Model::Instance::SetArchitecture ( ArchitectureValues &&  value)
inline

The architecture of the image.

Definition at line 927 of file Instance.h.

◆ SetBlockDeviceMappings() [1/2]

void Aws::EC2::Model::Instance::SetBlockDeviceMappings ( const Aws::Vector< InstanceBlockDeviceMapping > &  value)
inline

Any block device mapping entries for the instance.

Definition at line 953 of file Instance.h.

◆ SetBlockDeviceMappings() [2/2]

void Aws::EC2::Model::Instance::SetBlockDeviceMappings ( Aws::Vector< InstanceBlockDeviceMapping > &&  value)
inline

Any block device mapping entries for the instance.

Definition at line 958 of file Instance.h.

◆ SetCapacityReservationId() [1/3]

void Aws::EC2::Model::Instance::SetCapacityReservationId ( const Aws::String value)
inline

The ID of the Capacity Reservation.

Definition at line 1760 of file Instance.h.

◆ SetCapacityReservationId() [2/3]

void Aws::EC2::Model::Instance::SetCapacityReservationId ( Aws::String &&  value)
inline

The ID of the Capacity Reservation.

Definition at line 1765 of file Instance.h.

◆ SetCapacityReservationId() [3/3]

void Aws::EC2::Model::Instance::SetCapacityReservationId ( const char *  value)
inline

The ID of the Capacity Reservation.

Definition at line 1770 of file Instance.h.

◆ SetCapacityReservationSpecification() [1/2]

void Aws::EC2::Model::Instance::SetCapacityReservationSpecification ( const CapacityReservationSpecificationResponse value)
inline

Information about the Capacity Reservation targeting option.

Definition at line 1801 of file Instance.h.

◆ SetCapacityReservationSpecification() [2/2]

void Aws::EC2::Model::Instance::SetCapacityReservationSpecification ( CapacityReservationSpecificationResponse &&  value)
inline

Information about the Capacity Reservation targeting option.

Definition at line 1806 of file Instance.h.

◆ SetClientToken() [1/3]

void Aws::EC2::Model::Instance::SetClientToken ( const Aws::String value)
inline

The idempotency token you provided when you launched the instance, if applicable.

Definition at line 997 of file Instance.h.

◆ SetClientToken() [2/3]

void Aws::EC2::Model::Instance::SetClientToken ( Aws::String &&  value)
inline

The idempotency token you provided when you launched the instance, if applicable.

Definition at line 1003 of file Instance.h.

◆ SetClientToken() [3/3]

void Aws::EC2::Model::Instance::SetClientToken ( const char *  value)
inline

The idempotency token you provided when you launched the instance, if applicable.

Definition at line 1009 of file Instance.h.

◆ SetCpuOptions() [1/2]

void Aws::EC2::Model::Instance::SetCpuOptions ( const CpuOptions value)
inline

The CPU options for the instance.

Definition at line 1729 of file Instance.h.

◆ SetCpuOptions() [2/2]

void Aws::EC2::Model::Instance::SetCpuOptions ( CpuOptions &&  value)
inline

The CPU options for the instance.

Definition at line 1734 of file Instance.h.

◆ SetEbsOptimized()

void Aws::EC2::Model::Instance::SetEbsOptimized ( bool  value)
inline

Indicates whether the instance is optimized for Amazon EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.

Definition at line 1055 of file Instance.h.

◆ SetElasticGpuAssociations() [1/2]

void Aws::EC2::Model::Instance::SetElasticGpuAssociations ( const Aws::Vector< ElasticGpuAssociation > &  value)
inline

The Elastic GPU associated with the instance.

Definition at line 1200 of file Instance.h.

◆ SetElasticGpuAssociations() [2/2]

void Aws::EC2::Model::Instance::SetElasticGpuAssociations ( Aws::Vector< ElasticGpuAssociation > &&  value)
inline

The Elastic GPU associated with the instance.

Definition at line 1205 of file Instance.h.

◆ SetElasticInferenceAcceleratorAssociations() [1/2]

void Aws::EC2::Model::Instance::SetElasticInferenceAcceleratorAssociations ( const Aws::Vector< ElasticInferenceAcceleratorAssociation > &  value)
inline

The elastic inference accelerator associated with the instance.

Definition at line 1241 of file Instance.h.

◆ SetElasticInferenceAcceleratorAssociations() [2/2]

void Aws::EC2::Model::Instance::SetElasticInferenceAcceleratorAssociations ( Aws::Vector< ElasticInferenceAcceleratorAssociation > &&  value)
inline

The elastic inference accelerator associated with the instance.

Definition at line 1246 of file Instance.h.

◆ SetEnaSupport()

void Aws::EC2::Model::Instance::SetEnaSupport ( bool  value)
inline

Specifies whether enhanced networking with ENA is enabled.

Definition at line 1080 of file Instance.h.

◆ SetEnclaveOptions() [1/2]

void Aws::EC2::Model::Instance::SetEnclaveOptions ( const EnclaveOptions value)
inline

Indicates whether the instance is enabled for AWS Nitro Enclaves.

Definition at line 1935 of file Instance.h.

◆ SetEnclaveOptions() [2/2]

void Aws::EC2::Model::Instance::SetEnclaveOptions ( EnclaveOptions &&  value)
inline

Indicates whether the instance is enabled for AWS Nitro Enclaves.

Definition at line 1940 of file Instance.h.

◆ SetHibernationOptions() [1/2]

void Aws::EC2::Model::Instance::SetHibernationOptions ( const HibernationOptions value)
inline

Indicates whether the instance is enabled for hibernation.

Definition at line 1832 of file Instance.h.

◆ SetHibernationOptions() [2/2]

void Aws::EC2::Model::Instance::SetHibernationOptions ( HibernationOptions &&  value)
inline

Indicates whether the instance is enabled for hibernation.

Definition at line 1837 of file Instance.h.

◆ SetHypervisor() [1/2]

void Aws::EC2::Model::Instance::SetHypervisor ( const HypervisorType value)
inline

The hypervisor type of the instance. The value xen is used for both Xen and Nitro hypervisors.

Definition at line 1104 of file Instance.h.

◆ SetHypervisor() [2/2]

void Aws::EC2::Model::Instance::SetHypervisor ( HypervisorType &&  value)
inline

The hypervisor type of the instance. The value xen is used for both Xen and Nitro hypervisors.

Definition at line 1110 of file Instance.h.

◆ SetIamInstanceProfile() [1/2]

void Aws::EC2::Model::Instance::SetIamInstanceProfile ( const IamInstanceProfile value)
inline

The IAM instance profile associated with the instance, if applicable.

Definition at line 1138 of file Instance.h.

◆ SetIamInstanceProfile() [2/2]

void Aws::EC2::Model::Instance::SetIamInstanceProfile ( IamInstanceProfile &&  value)
inline

The IAM instance profile associated with the instance, if applicable.

Definition at line 1143 of file Instance.h.

◆ SetImageId() [1/3]

void Aws::EC2::Model::Instance::SetImageId ( const Aws::String value)
inline

The ID of the AMI used to launch the instance.

Definition at line 107 of file Instance.h.

◆ SetImageId() [2/3]

void Aws::EC2::Model::Instance::SetImageId ( Aws::String &&  value)
inline

The ID of the AMI used to launch the instance.

Definition at line 112 of file Instance.h.

◆ SetImageId() [3/3]

void Aws::EC2::Model::Instance::SetImageId ( const char *  value)
inline

The ID of the AMI used to launch the instance.

Definition at line 117 of file Instance.h.

◆ SetInstanceId() [1/3]

void Aws::EC2::Model::Instance::SetInstanceId ( const Aws::String value)
inline

The ID of the instance.

Definition at line 148 of file Instance.h.

◆ SetInstanceId() [2/3]

void Aws::EC2::Model::Instance::SetInstanceId ( Aws::String &&  value)
inline

The ID of the instance.

Definition at line 153 of file Instance.h.

◆ SetInstanceId() [3/3]

void Aws::EC2::Model::Instance::SetInstanceId ( const char *  value)
inline

The ID of the instance.

Definition at line 158 of file Instance.h.

◆ SetInstanceLifecycle() [1/2]

void Aws::EC2::Model::Instance::SetInstanceLifecycle ( const InstanceLifecycleType value)
inline

Indicates whether this is a Spot Instance or a Scheduled Instance.

Definition at line 1169 of file Instance.h.

◆ SetInstanceLifecycle() [2/2]

void Aws::EC2::Model::Instance::SetInstanceLifecycle ( InstanceLifecycleType &&  value)
inline

Indicates whether this is a Spot Instance or a Scheduled Instance.

Definition at line 1174 of file Instance.h.

◆ SetInstanceType() [1/2]

void Aws::EC2::Model::Instance::SetInstanceType ( const InstanceType value)
inline

The instance type.

Definition at line 189 of file Instance.h.

◆ SetInstanceType() [2/2]

void Aws::EC2::Model::Instance::SetInstanceType ( InstanceType &&  value)
inline

The instance type.

Definition at line 194 of file Instance.h.

◆ SetKernelId() [1/3]

void Aws::EC2::Model::Instance::SetKernelId ( const Aws::String value)
inline

The kernel associated with this instance, if applicable.

Definition at line 220 of file Instance.h.

◆ SetKernelId() [2/3]

void Aws::EC2::Model::Instance::SetKernelId ( Aws::String &&  value)
inline

The kernel associated with this instance, if applicable.

Definition at line 225 of file Instance.h.

◆ SetKernelId() [3/3]

void Aws::EC2::Model::Instance::SetKernelId ( const char *  value)
inline

The kernel associated with this instance, if applicable.

Definition at line 230 of file Instance.h.

◆ SetKeyName() [1/3]

void Aws::EC2::Model::Instance::SetKeyName ( const Aws::String value)
inline

The name of the key pair, if this instance was launched with an associated key pair.

Definition at line 264 of file Instance.h.

◆ SetKeyName() [2/3]

void Aws::EC2::Model::Instance::SetKeyName ( Aws::String &&  value)
inline

The name of the key pair, if this instance was launched with an associated key pair.

Definition at line 270 of file Instance.h.

◆ SetKeyName() [3/3]

void Aws::EC2::Model::Instance::SetKeyName ( const char *  value)
inline

The name of the key pair, if this instance was launched with an associated key pair.

Definition at line 276 of file Instance.h.

◆ SetLaunchTime() [1/2]

void Aws::EC2::Model::Instance::SetLaunchTime ( const Aws::Utils::DateTime value)
inline

The time the instance was launched.

Definition at line 310 of file Instance.h.

◆ SetLaunchTime() [2/2]

void Aws::EC2::Model::Instance::SetLaunchTime ( Aws::Utils::DateTime &&  value)
inline

The time the instance was launched.

Definition at line 315 of file Instance.h.

◆ SetLicenses() [1/2]

void Aws::EC2::Model::Instance::SetLicenses ( const Aws::Vector< LicenseConfiguration > &  value)
inline

The license configurations.

Definition at line 1863 of file Instance.h.

◆ SetLicenses() [2/2]

void Aws::EC2::Model::Instance::SetLicenses ( Aws::Vector< LicenseConfiguration > &&  value)
inline

The license configurations.

Definition at line 1868 of file Instance.h.

◆ SetMetadataOptions() [1/2]

void Aws::EC2::Model::Instance::SetMetadataOptions ( const InstanceMetadataOptionsResponse value)
inline

The metadata options for the instance.

Definition at line 1904 of file Instance.h.

◆ SetMetadataOptions() [2/2]

void Aws::EC2::Model::Instance::SetMetadataOptions ( InstanceMetadataOptionsResponse &&  value)
inline

The metadata options for the instance.

Definition at line 1909 of file Instance.h.

◆ SetMonitoring() [1/2]

void Aws::EC2::Model::Instance::SetMonitoring ( const Monitoring value)
inline

The monitoring for the instance.

Definition at line 341 of file Instance.h.

◆ SetMonitoring() [2/2]

void Aws::EC2::Model::Instance::SetMonitoring ( Monitoring &&  value)
inline

The monitoring for the instance.

Definition at line 346 of file Instance.h.

◆ SetNetworkInterfaces() [1/2]

void Aws::EC2::Model::Instance::SetNetworkInterfaces ( const Aws::Vector< InstanceNetworkInterface > &  value)
inline

[EC2-VPC] The network interfaces for the instance.

Definition at line 1282 of file Instance.h.

◆ SetNetworkInterfaces() [2/2]

void Aws::EC2::Model::Instance::SetNetworkInterfaces ( Aws::Vector< InstanceNetworkInterface > &&  value)
inline

[EC2-VPC] The network interfaces for the instance.

Definition at line 1287 of file Instance.h.

◆ SetOutpostArn() [1/3]

void Aws::EC2::Model::Instance::SetOutpostArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the Outpost.

Definition at line 1323 of file Instance.h.

◆ SetOutpostArn() [2/3]

void Aws::EC2::Model::Instance::SetOutpostArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the Outpost.

Definition at line 1328 of file Instance.h.

◆ SetOutpostArn() [3/3]

void Aws::EC2::Model::Instance::SetOutpostArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of the Outpost.

Definition at line 1333 of file Instance.h.

◆ SetPlacement() [1/2]

void Aws::EC2::Model::Instance::SetPlacement ( const Placement value)
inline

The location where the instance launched, if applicable.

Definition at line 372 of file Instance.h.

◆ SetPlacement() [2/2]

void Aws::EC2::Model::Instance::SetPlacement ( Placement &&  value)
inline

The location where the instance launched, if applicable.

Definition at line 377 of file Instance.h.

◆ SetPlatform() [1/2]

void Aws::EC2::Model::Instance::SetPlatform ( const PlatformValues value)
inline

The value is Windows for Windows instances; otherwise blank.

Definition at line 403 of file Instance.h.

◆ SetPlatform() [2/2]

void Aws::EC2::Model::Instance::SetPlatform ( PlatformValues &&  value)
inline

The value is Windows for Windows instances; otherwise blank.

Definition at line 408 of file Instance.h.

◆ SetPrivateDnsName() [1/3]

void Aws::EC2::Model::Instance::SetPrivateDnsName ( const Aws::String value)
inline

(IPv4 only) The private DNS hostname name assigned to the instance. This DNS hostname can only be used inside the Amazon EC2 network. This name is not available until the instance enters the running state.

[EC2-VPC] The Amazon-provided DNS server resolves Amazon-provided private DNS hostnames if you've enabled DNS resolution and DNS hostnames in your VPC. If you are not using the Amazon-provided DNS server in your VPC, your custom domain name servers must resolve the hostname as appropriate.

Definition at line 452 of file Instance.h.

◆ SetPrivateDnsName() [2/3]

void Aws::EC2::Model::Instance::SetPrivateDnsName ( Aws::String &&  value)
inline

(IPv4 only) The private DNS hostname name assigned to the instance. This DNS hostname can only be used inside the Amazon EC2 network. This name is not available until the instance enters the running state.

[EC2-VPC] The Amazon-provided DNS server resolves Amazon-provided private DNS hostnames if you've enabled DNS resolution and DNS hostnames in your VPC. If you are not using the Amazon-provided DNS server in your VPC, your custom domain name servers must resolve the hostname as appropriate.

Definition at line 463 of file Instance.h.

◆ SetPrivateDnsName() [3/3]

void Aws::EC2::Model::Instance::SetPrivateDnsName ( const char *  value)
inline

(IPv4 only) The private DNS hostname name assigned to the instance. This DNS hostname can only be used inside the Amazon EC2 network. This name is not available until the instance enters the running state.

[EC2-VPC] The Amazon-provided DNS server resolves Amazon-provided private DNS hostnames if you've enabled DNS resolution and DNS hostnames in your VPC. If you are not using the Amazon-provided DNS server in your VPC, your custom domain name servers must resolve the hostname as appropriate.

Definition at line 474 of file Instance.h.

◆ SetPrivateIpAddress() [1/3]

void Aws::EC2::Model::Instance::SetPrivateIpAddress ( const Aws::String value)
inline

The private IPv4 address assigned to the instance.

Definition at line 523 of file Instance.h.

◆ SetPrivateIpAddress() [2/3]

void Aws::EC2::Model::Instance::SetPrivateIpAddress ( Aws::String &&  value)
inline

The private IPv4 address assigned to the instance.

Definition at line 528 of file Instance.h.

◆ SetPrivateIpAddress() [3/3]

void Aws::EC2::Model::Instance::SetPrivateIpAddress ( const char *  value)
inline

The private IPv4 address assigned to the instance.

Definition at line 533 of file Instance.h.

◆ SetProductCodes() [1/2]

void Aws::EC2::Model::Instance::SetProductCodes ( const Aws::Vector< ProductCode > &  value)
inline

The product codes attached to this instance, if applicable.

Definition at line 564 of file Instance.h.

◆ SetProductCodes() [2/2]

void Aws::EC2::Model::Instance::SetProductCodes ( Aws::Vector< ProductCode > &&  value)
inline

The product codes attached to this instance, if applicable.

Definition at line 569 of file Instance.h.

◆ SetPublicDnsName() [1/3]

void Aws::EC2::Model::Instance::SetPublicDnsName ( const Aws::String value)
inline

(IPv4 only) The public DNS name assigned to the instance. This name is not available until the instance enters the running state. For EC2-VPC, this name is only available if you've enabled DNS hostnames for your VPC.

Definition at line 611 of file Instance.h.

◆ SetPublicDnsName() [2/3]

void Aws::EC2::Model::Instance::SetPublicDnsName ( Aws::String &&  value)
inline

(IPv4 only) The public DNS name assigned to the instance. This name is not available until the instance enters the running state. For EC2-VPC, this name is only available if you've enabled DNS hostnames for your VPC.

Definition at line 618 of file Instance.h.

◆ SetPublicDnsName() [3/3]

void Aws::EC2::Model::Instance::SetPublicDnsName ( const char *  value)
inline

(IPv4 only) The public DNS name assigned to the instance. This name is not available until the instance enters the running state. For EC2-VPC, this name is only available if you've enabled DNS hostnames for your VPC.

Definition at line 625 of file Instance.h.

◆ SetPublicIpAddress() [1/3]

void Aws::EC2::Model::Instance::SetPublicIpAddress ( const Aws::String value)
inline

The public IPv4 address, or the Carrier IP address assigned to the instance, if applicable.

A Carrier IP address only applies to an instance launched in a subnet associated with a Wavelength Zone.

Definition at line 668 of file Instance.h.

◆ SetPublicIpAddress() [2/3]

void Aws::EC2::Model::Instance::SetPublicIpAddress ( Aws::String &&  value)
inline

The public IPv4 address, or the Carrier IP address assigned to the instance, if applicable.

A Carrier IP address only applies to an instance launched in a subnet associated with a Wavelength Zone.

Definition at line 675 of file Instance.h.

◆ SetPublicIpAddress() [3/3]

void Aws::EC2::Model::Instance::SetPublicIpAddress ( const char *  value)
inline

The public IPv4 address, or the Carrier IP address assigned to the instance, if applicable.

A Carrier IP address only applies to an instance launched in a subnet associated with a Wavelength Zone.

Definition at line 682 of file Instance.h.

◆ SetRamdiskId() [1/3]

void Aws::EC2::Model::Instance::SetRamdiskId ( const Aws::String value)
inline

The RAM disk associated with this instance, if applicable.

Definition at line 719 of file Instance.h.

◆ SetRamdiskId() [2/3]

void Aws::EC2::Model::Instance::SetRamdiskId ( Aws::String &&  value)
inline

The RAM disk associated with this instance, if applicable.

Definition at line 724 of file Instance.h.

◆ SetRamdiskId() [3/3]

void Aws::EC2::Model::Instance::SetRamdiskId ( const char *  value)
inline

The RAM disk associated with this instance, if applicable.

Definition at line 729 of file Instance.h.

◆ SetRootDeviceName() [1/3]

void Aws::EC2::Model::Instance::SetRootDeviceName ( const Aws::String value)
inline

The device name of the root device volume (for example, /dev/sda1).

Definition at line 1367 of file Instance.h.

◆ SetRootDeviceName() [2/3]

void Aws::EC2::Model::Instance::SetRootDeviceName ( Aws::String &&  value)
inline

The device name of the root device volume (for example, /dev/sda1).

Definition at line 1373 of file Instance.h.

◆ SetRootDeviceName() [3/3]

void Aws::EC2::Model::Instance::SetRootDeviceName ( const char *  value)
inline

The device name of the root device volume (for example, /dev/sda1).

Definition at line 1379 of file Instance.h.

◆ SetRootDeviceType() [1/2]

void Aws::EC2::Model::Instance::SetRootDeviceType ( const DeviceType value)
inline

The root device type used by the AMI. The AMI can use an EBS volume or an instance store volume.

Definition at line 1416 of file Instance.h.

◆ SetRootDeviceType() [2/2]

void Aws::EC2::Model::Instance::SetRootDeviceType ( DeviceType &&  value)
inline

The root device type used by the AMI. The AMI can use an EBS volume or an instance store volume.

Definition at line 1422 of file Instance.h.

◆ SetSecurityGroups() [1/2]

void Aws::EC2::Model::Instance::SetSecurityGroups ( const Aws::Vector< GroupIdentifier > &  value)
inline

The security groups for the instance.

Definition at line 1450 of file Instance.h.

◆ SetSecurityGroups() [2/2]

void Aws::EC2::Model::Instance::SetSecurityGroups ( Aws::Vector< GroupIdentifier > &&  value)
inline

The security groups for the instance.

Definition at line 1455 of file Instance.h.

◆ SetSourceDestCheck()

void Aws::EC2::Model::Instance::SetSourceDestCheck ( bool  value)
inline

Specifies whether to enable an instance launched in a VPC to perform NAT. This controls whether source/destination checking is enabled on the instance. A value of true means that checking is enabled, and false means that checking is disabled. The value must be false for the instance to perform NAT. For more information, see NAT Instances in the Amazon Virtual Private Cloud User Guide.

Definition at line 1509 of file Instance.h.

◆ SetSpotInstanceRequestId() [1/3]

void Aws::EC2::Model::Instance::SetSpotInstanceRequestId ( const Aws::String value)
inline

If the request is a Spot Instance request, the ID of the request.

Definition at line 1536 of file Instance.h.

◆ SetSpotInstanceRequestId() [2/3]

void Aws::EC2::Model::Instance::SetSpotInstanceRequestId ( Aws::String &&  value)
inline

If the request is a Spot Instance request, the ID of the request.

Definition at line 1541 of file Instance.h.

◆ SetSpotInstanceRequestId() [3/3]

void Aws::EC2::Model::Instance::SetSpotInstanceRequestId ( const char *  value)
inline

If the request is a Spot Instance request, the ID of the request.

Definition at line 1546 of file Instance.h.

◆ SetSriovNetSupport() [1/3]

void Aws::EC2::Model::Instance::SetSriovNetSupport ( const Aws::String value)
inline

Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.

Definition at line 1580 of file Instance.h.

◆ SetSriovNetSupport() [2/3]

void Aws::EC2::Model::Instance::SetSriovNetSupport ( Aws::String &&  value)
inline

Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.

Definition at line 1586 of file Instance.h.

◆ SetSriovNetSupport() [3/3]

void Aws::EC2::Model::Instance::SetSriovNetSupport ( const char *  value)
inline

Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.

Definition at line 1592 of file Instance.h.

◆ SetState() [1/2]

void Aws::EC2::Model::Instance::SetState ( const InstanceState value)
inline

The current state of the instance.

Definition at line 760 of file Instance.h.

◆ SetState() [2/2]

void Aws::EC2::Model::Instance::SetState ( InstanceState &&  value)
inline

The current state of the instance.

Definition at line 765 of file Instance.h.

◆ SetStateReason() [1/2]

void Aws::EC2::Model::Instance::SetStateReason ( const StateReason value)
inline

The reason for the most recent state transition.

Definition at line 1626 of file Instance.h.

◆ SetStateReason() [2/2]

void Aws::EC2::Model::Instance::SetStateReason ( StateReason &&  value)
inline

The reason for the most recent state transition.

Definition at line 1631 of file Instance.h.

◆ SetStateTransitionReason() [1/3]

void Aws::EC2::Model::Instance::SetStateTransitionReason ( const Aws::String value)
inline

The reason for the most recent state transition. This might be an empty string.

Definition at line 794 of file Instance.h.

◆ SetStateTransitionReason() [2/3]

void Aws::EC2::Model::Instance::SetStateTransitionReason ( Aws::String &&  value)
inline

The reason for the most recent state transition. This might be an empty string.

Definition at line 800 of file Instance.h.

◆ SetStateTransitionReason() [3/3]

void Aws::EC2::Model::Instance::SetStateTransitionReason ( const char *  value)
inline

The reason for the most recent state transition. This might be an empty string.

Definition at line 806 of file Instance.h.

◆ SetSubnetId() [1/3]

void Aws::EC2::Model::Instance::SetSubnetId ( const Aws::String value)
inline

[EC2-VPC] The ID of the subnet in which the instance is running.

Definition at line 840 of file Instance.h.

◆ SetSubnetId() [2/3]

void Aws::EC2::Model::Instance::SetSubnetId ( Aws::String &&  value)
inline

[EC2-VPC] The ID of the subnet in which the instance is running.

Definition at line 845 of file Instance.h.

◆ SetSubnetId() [3/3]

void Aws::EC2::Model::Instance::SetSubnetId ( const char *  value)
inline

[EC2-VPC] The ID of the subnet in which the instance is running.

Definition at line 850 of file Instance.h.

◆ SetTags() [1/2]

void Aws::EC2::Model::Instance::SetTags ( const Aws::Vector< Tag > &  value)
inline

Any tags assigned to the instance.

Definition at line 1657 of file Instance.h.

◆ SetTags() [2/2]

void Aws::EC2::Model::Instance::SetTags ( Aws::Vector< Tag > &&  value)
inline

Any tags assigned to the instance.

Definition at line 1662 of file Instance.h.

◆ SetVirtualizationType() [1/2]

void Aws::EC2::Model::Instance::SetVirtualizationType ( const VirtualizationType value)
inline

The virtualization type of the instance.

Definition at line 1698 of file Instance.h.

◆ SetVirtualizationType() [2/2]

void Aws::EC2::Model::Instance::SetVirtualizationType ( VirtualizationType &&  value)
inline

The virtualization type of the instance.

Definition at line 1703 of file Instance.h.

◆ SetVpcId() [1/3]

void Aws::EC2::Model::Instance::SetVpcId ( const Aws::String value)
inline

[EC2-VPC] The ID of the VPC in which the instance is running.

Definition at line 881 of file Instance.h.

◆ SetVpcId() [2/3]

void Aws::EC2::Model::Instance::SetVpcId ( Aws::String &&  value)
inline

[EC2-VPC] The ID of the VPC in which the instance is running.

Definition at line 886 of file Instance.h.

◆ SetVpcId() [3/3]

void Aws::EC2::Model::Instance::SetVpcId ( const char *  value)
inline

[EC2-VPC] The ID of the VPC in which the instance is running.

Definition at line 891 of file Instance.h.

◆ SourceDestCheckHasBeenSet()

bool Aws::EC2::Model::Instance::SourceDestCheckHasBeenSet ( ) const
inline

Specifies whether to enable an instance launched in a VPC to perform NAT. This controls whether source/destination checking is enabled on the instance. A value of true means that checking is enabled, and false means that checking is disabled. The value must be false for the instance to perform NAT. For more information, see NAT Instances in the Amazon Virtual Private Cloud User Guide.

Definition at line 1498 of file Instance.h.

◆ SpotInstanceRequestIdHasBeenSet()

bool Aws::EC2::Model::Instance::SpotInstanceRequestIdHasBeenSet ( ) const
inline

If the request is a Spot Instance request, the ID of the request.

Definition at line 1531 of file Instance.h.

◆ SriovNetSupportHasBeenSet()

bool Aws::EC2::Model::Instance::SriovNetSupportHasBeenSet ( ) const
inline

Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.

Definition at line 1574 of file Instance.h.

◆ StateHasBeenSet()

bool Aws::EC2::Model::Instance::StateHasBeenSet ( ) const
inline

The current state of the instance.

Definition at line 755 of file Instance.h.

◆ StateReasonHasBeenSet()

bool Aws::EC2::Model::Instance::StateReasonHasBeenSet ( ) const
inline

The reason for the most recent state transition.

Definition at line 1621 of file Instance.h.

◆ StateTransitionReasonHasBeenSet()

bool Aws::EC2::Model::Instance::StateTransitionReasonHasBeenSet ( ) const
inline

The reason for the most recent state transition. This might be an empty string.

Definition at line 788 of file Instance.h.

◆ SubnetIdHasBeenSet()

bool Aws::EC2::Model::Instance::SubnetIdHasBeenSet ( ) const
inline

[EC2-VPC] The ID of the subnet in which the instance is running.

Definition at line 835 of file Instance.h.

◆ TagsHasBeenSet()

bool Aws::EC2::Model::Instance::TagsHasBeenSet ( ) const
inline

Any tags assigned to the instance.

Definition at line 1652 of file Instance.h.

◆ VirtualizationTypeHasBeenSet()

bool Aws::EC2::Model::Instance::VirtualizationTypeHasBeenSet ( ) const
inline

The virtualization type of the instance.

Definition at line 1693 of file Instance.h.

◆ VpcIdHasBeenSet()

bool Aws::EC2::Model::Instance::VpcIdHasBeenSet ( ) const
inline

[EC2-VPC] The ID of the VPC in which the instance is running.

Definition at line 876 of file Instance.h.

◆ WithAmiLaunchIndex()

Instance& Aws::EC2::Model::Instance::WithAmiLaunchIndex ( int  value)
inline

The AMI launch index, which can be used to find this instance in the launch group.

Definition at line 91 of file Instance.h.

◆ WithArchitecture() [1/2]

Instance& Aws::EC2::Model::Instance::WithArchitecture ( const ArchitectureValues value)
inline

The architecture of the image.

Definition at line 932 of file Instance.h.

◆ WithArchitecture() [2/2]

Instance& Aws::EC2::Model::Instance::WithArchitecture ( ArchitectureValues &&  value)
inline

The architecture of the image.

Definition at line 937 of file Instance.h.

◆ WithBlockDeviceMappings() [1/2]

Instance& Aws::EC2::Model::Instance::WithBlockDeviceMappings ( const Aws::Vector< InstanceBlockDeviceMapping > &  value)
inline

Any block device mapping entries for the instance.

Definition at line 963 of file Instance.h.

◆ WithBlockDeviceMappings() [2/2]

Instance& Aws::EC2::Model::Instance::WithBlockDeviceMappings ( Aws::Vector< InstanceBlockDeviceMapping > &&  value)
inline

Any block device mapping entries for the instance.

Definition at line 968 of file Instance.h.

◆ WithCapacityReservationId() [1/3]

Instance& Aws::EC2::Model::Instance::WithCapacityReservationId ( const Aws::String value)
inline

The ID of the Capacity Reservation.

Definition at line 1775 of file Instance.h.

◆ WithCapacityReservationId() [2/3]

Instance& Aws::EC2::Model::Instance::WithCapacityReservationId ( Aws::String &&  value)
inline

The ID of the Capacity Reservation.

Definition at line 1780 of file Instance.h.

◆ WithCapacityReservationId() [3/3]

Instance& Aws::EC2::Model::Instance::WithCapacityReservationId ( const char *  value)
inline

The ID of the Capacity Reservation.

Definition at line 1785 of file Instance.h.

◆ WithCapacityReservationSpecification() [1/2]

Instance& Aws::EC2::Model::Instance::WithCapacityReservationSpecification ( const CapacityReservationSpecificationResponse value)
inline

Information about the Capacity Reservation targeting option.

Definition at line 1811 of file Instance.h.

◆ WithCapacityReservationSpecification() [2/2]

Instance& Aws::EC2::Model::Instance::WithCapacityReservationSpecification ( CapacityReservationSpecificationResponse &&  value)
inline

Information about the Capacity Reservation targeting option.

Definition at line 1816 of file Instance.h.

◆ WithClientToken() [1/3]

Instance& Aws::EC2::Model::Instance::WithClientToken ( const Aws::String value)
inline

The idempotency token you provided when you launched the instance, if applicable.

Definition at line 1015 of file Instance.h.

◆ WithClientToken() [2/3]

Instance& Aws::EC2::Model::Instance::WithClientToken ( Aws::String &&  value)
inline

The idempotency token you provided when you launched the instance, if applicable.

Definition at line 1021 of file Instance.h.

◆ WithClientToken() [3/3]

Instance& Aws::EC2::Model::Instance::WithClientToken ( const char *  value)
inline

The idempotency token you provided when you launched the instance, if applicable.

Definition at line 1027 of file Instance.h.

◆ WithCpuOptions() [1/2]

Instance& Aws::EC2::Model::Instance::WithCpuOptions ( const CpuOptions value)
inline

The CPU options for the instance.

Definition at line 1739 of file Instance.h.

◆ WithCpuOptions() [2/2]

Instance& Aws::EC2::Model::Instance::WithCpuOptions ( CpuOptions &&  value)
inline

The CPU options for the instance.

Definition at line 1744 of file Instance.h.

◆ WithEbsOptimized()

Instance& Aws::EC2::Model::Instance::WithEbsOptimized ( bool  value)
inline

Indicates whether the instance is optimized for Amazon EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.

Definition at line 1064 of file Instance.h.

◆ WithElasticGpuAssociations() [1/2]

Instance& Aws::EC2::Model::Instance::WithElasticGpuAssociations ( const Aws::Vector< ElasticGpuAssociation > &  value)
inline

The Elastic GPU associated with the instance.

Definition at line 1210 of file Instance.h.

◆ WithElasticGpuAssociations() [2/2]

Instance& Aws::EC2::Model::Instance::WithElasticGpuAssociations ( Aws::Vector< ElasticGpuAssociation > &&  value)
inline

The Elastic GPU associated with the instance.

Definition at line 1215 of file Instance.h.

◆ WithElasticInferenceAcceleratorAssociations() [1/2]

Instance& Aws::EC2::Model::Instance::WithElasticInferenceAcceleratorAssociations ( const Aws::Vector< ElasticInferenceAcceleratorAssociation > &  value)
inline

The elastic inference accelerator associated with the instance.

Definition at line 1251 of file Instance.h.

◆ WithElasticInferenceAcceleratorAssociations() [2/2]

Instance& Aws::EC2::Model::Instance::WithElasticInferenceAcceleratorAssociations ( Aws::Vector< ElasticInferenceAcceleratorAssociation > &&  value)
inline

The elastic inference accelerator associated with the instance.

Definition at line 1256 of file Instance.h.

◆ WithEnaSupport()

Instance& Aws::EC2::Model::Instance::WithEnaSupport ( bool  value)
inline

Specifies whether enhanced networking with ENA is enabled.

Definition at line 1085 of file Instance.h.

◆ WithEnclaveOptions() [1/2]

Instance& Aws::EC2::Model::Instance::WithEnclaveOptions ( const EnclaveOptions value)
inline

Indicates whether the instance is enabled for AWS Nitro Enclaves.

Definition at line 1945 of file Instance.h.

◆ WithEnclaveOptions() [2/2]

Instance& Aws::EC2::Model::Instance::WithEnclaveOptions ( EnclaveOptions &&  value)
inline

Indicates whether the instance is enabled for AWS Nitro Enclaves.

Definition at line 1950 of file Instance.h.

◆ WithHibernationOptions() [1/2]

Instance& Aws::EC2::Model::Instance::WithHibernationOptions ( const HibernationOptions value)
inline

Indicates whether the instance is enabled for hibernation.

Definition at line 1842 of file Instance.h.

◆ WithHibernationOptions() [2/2]

Instance& Aws::EC2::Model::Instance::WithHibernationOptions ( HibernationOptions &&  value)
inline

Indicates whether the instance is enabled for hibernation.

Definition at line 1847 of file Instance.h.

◆ WithHypervisor() [1/2]

Instance& Aws::EC2::Model::Instance::WithHypervisor ( const HypervisorType value)
inline

The hypervisor type of the instance. The value xen is used for both Xen and Nitro hypervisors.

Definition at line 1116 of file Instance.h.

◆ WithHypervisor() [2/2]

Instance& Aws::EC2::Model::Instance::WithHypervisor ( HypervisorType &&  value)
inline

The hypervisor type of the instance. The value xen is used for both Xen and Nitro hypervisors.

Definition at line 1122 of file Instance.h.

◆ WithIamInstanceProfile() [1/2]

Instance& Aws::EC2::Model::Instance::WithIamInstanceProfile ( const IamInstanceProfile value)
inline

The IAM instance profile associated with the instance, if applicable.

Definition at line 1148 of file Instance.h.

◆ WithIamInstanceProfile() [2/2]

Instance& Aws::EC2::Model::Instance::WithIamInstanceProfile ( IamInstanceProfile &&  value)
inline

The IAM instance profile associated with the instance, if applicable.

Definition at line 1153 of file Instance.h.

◆ WithImageId() [1/3]

Instance& Aws::EC2::Model::Instance::WithImageId ( const Aws::String value)
inline

The ID of the AMI used to launch the instance.

Definition at line 122 of file Instance.h.

◆ WithImageId() [2/3]

Instance& Aws::EC2::Model::Instance::WithImageId ( Aws::String &&  value)
inline

The ID of the AMI used to launch the instance.

Definition at line 127 of file Instance.h.

◆ WithImageId() [3/3]

Instance& Aws::EC2::Model::Instance::WithImageId ( const char *  value)
inline

The ID of the AMI used to launch the instance.

Definition at line 132 of file Instance.h.

◆ WithInstanceId() [1/3]

Instance& Aws::EC2::Model::Instance::WithInstanceId ( const Aws::String value)
inline

The ID of the instance.

Definition at line 163 of file Instance.h.

◆ WithInstanceId() [2/3]

Instance& Aws::EC2::Model::Instance::WithInstanceId ( Aws::String &&  value)
inline

The ID of the instance.

Definition at line 168 of file Instance.h.

◆ WithInstanceId() [3/3]

Instance& Aws::EC2::Model::Instance::WithInstanceId ( const char *  value)
inline

The ID of the instance.

Definition at line 173 of file Instance.h.

◆ WithInstanceLifecycle() [1/2]

Instance& Aws::EC2::Model::Instance::WithInstanceLifecycle ( const InstanceLifecycleType value)
inline

Indicates whether this is a Spot Instance or a Scheduled Instance.

Definition at line 1179 of file Instance.h.

◆ WithInstanceLifecycle() [2/2]

Instance& Aws::EC2::Model::Instance::WithInstanceLifecycle ( InstanceLifecycleType &&  value)
inline

Indicates whether this is a Spot Instance or a Scheduled Instance.

Definition at line 1184 of file Instance.h.

◆ WithInstanceType() [1/2]

Instance& Aws::EC2::Model::Instance::WithInstanceType ( const InstanceType value)
inline

The instance type.

Definition at line 199 of file Instance.h.

◆ WithInstanceType() [2/2]

Instance& Aws::EC2::Model::Instance::WithInstanceType ( InstanceType &&  value)
inline

The instance type.

Definition at line 204 of file Instance.h.

◆ WithKernelId() [1/3]

Instance& Aws::EC2::Model::Instance::WithKernelId ( const Aws::String value)
inline

The kernel associated with this instance, if applicable.

Definition at line 235 of file Instance.h.

◆ WithKernelId() [2/3]

Instance& Aws::EC2::Model::Instance::WithKernelId ( Aws::String &&  value)
inline

The kernel associated with this instance, if applicable.

Definition at line 240 of file Instance.h.

◆ WithKernelId() [3/3]

Instance& Aws::EC2::Model::Instance::WithKernelId ( const char *  value)
inline

The kernel associated with this instance, if applicable.

Definition at line 245 of file Instance.h.

◆ WithKeyName() [1/3]

Instance& Aws::EC2::Model::Instance::WithKeyName ( const Aws::String value)
inline

The name of the key pair, if this instance was launched with an associated key pair.

Definition at line 282 of file Instance.h.

◆ WithKeyName() [2/3]

Instance& Aws::EC2::Model::Instance::WithKeyName ( Aws::String &&  value)
inline

The name of the key pair, if this instance was launched with an associated key pair.

Definition at line 288 of file Instance.h.

◆ WithKeyName() [3/3]

Instance& Aws::EC2::Model::Instance::WithKeyName ( const char *  value)
inline

The name of the key pair, if this instance was launched with an associated key pair.

Definition at line 294 of file Instance.h.

◆ WithLaunchTime() [1/2]

Instance& Aws::EC2::Model::Instance::WithLaunchTime ( const Aws::Utils::DateTime value)
inline

The time the instance was launched.

Definition at line 320 of file Instance.h.

◆ WithLaunchTime() [2/2]

Instance& Aws::EC2::Model::Instance::WithLaunchTime ( Aws::Utils::DateTime &&  value)
inline

The time the instance was launched.

Definition at line 325 of file Instance.h.

◆ WithLicenses() [1/2]

Instance& Aws::EC2::Model::Instance::WithLicenses ( const Aws::Vector< LicenseConfiguration > &  value)
inline

The license configurations.

Definition at line 1873 of file Instance.h.

◆ WithLicenses() [2/2]

Instance& Aws::EC2::Model::Instance::WithLicenses ( Aws::Vector< LicenseConfiguration > &&  value)
inline

The license configurations.

Definition at line 1878 of file Instance.h.

◆ WithMetadataOptions() [1/2]

Instance& Aws::EC2::Model::Instance::WithMetadataOptions ( const InstanceMetadataOptionsResponse value)
inline

The metadata options for the instance.

Definition at line 1914 of file Instance.h.

◆ WithMetadataOptions() [2/2]

Instance& Aws::EC2::Model::Instance::WithMetadataOptions ( InstanceMetadataOptionsResponse &&  value)
inline

The metadata options for the instance.

Definition at line 1919 of file Instance.h.

◆ WithMonitoring() [1/2]

Instance& Aws::EC2::Model::Instance::WithMonitoring ( const Monitoring value)
inline

The monitoring for the instance.

Definition at line 351 of file Instance.h.

◆ WithMonitoring() [2/2]

Instance& Aws::EC2::Model::Instance::WithMonitoring ( Monitoring &&  value)
inline

The monitoring for the instance.

Definition at line 356 of file Instance.h.

◆ WithNetworkInterfaces() [1/2]

Instance& Aws::EC2::Model::Instance::WithNetworkInterfaces ( const Aws::Vector< InstanceNetworkInterface > &  value)
inline

[EC2-VPC] The network interfaces for the instance.

Definition at line 1292 of file Instance.h.

◆ WithNetworkInterfaces() [2/2]

Instance& Aws::EC2::Model::Instance::WithNetworkInterfaces ( Aws::Vector< InstanceNetworkInterface > &&  value)
inline

[EC2-VPC] The network interfaces for the instance.

Definition at line 1297 of file Instance.h.

◆ WithOutpostArn() [1/3]

Instance& Aws::EC2::Model::Instance::WithOutpostArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the Outpost.

Definition at line 1338 of file Instance.h.

◆ WithOutpostArn() [2/3]

Instance& Aws::EC2::Model::Instance::WithOutpostArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the Outpost.

Definition at line 1343 of file Instance.h.

◆ WithOutpostArn() [3/3]

Instance& Aws::EC2::Model::Instance::WithOutpostArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of the Outpost.

Definition at line 1348 of file Instance.h.

◆ WithPlacement() [1/2]

Instance& Aws::EC2::Model::Instance::WithPlacement ( const Placement value)
inline

The location where the instance launched, if applicable.

Definition at line 382 of file Instance.h.

◆ WithPlacement() [2/2]

Instance& Aws::EC2::Model::Instance::WithPlacement ( Placement &&  value)
inline

The location where the instance launched, if applicable.

Definition at line 387 of file Instance.h.

◆ WithPlatform() [1/2]

Instance& Aws::EC2::Model::Instance::WithPlatform ( const PlatformValues value)
inline

The value is Windows for Windows instances; otherwise blank.

Definition at line 413 of file Instance.h.

◆ WithPlatform() [2/2]

Instance& Aws::EC2::Model::Instance::WithPlatform ( PlatformValues &&  value)
inline

The value is Windows for Windows instances; otherwise blank.

Definition at line 418 of file Instance.h.

◆ WithPrivateDnsName() [1/3]

Instance& Aws::EC2::Model::Instance::WithPrivateDnsName ( const Aws::String value)
inline

(IPv4 only) The private DNS hostname name assigned to the instance. This DNS hostname can only be used inside the Amazon EC2 network. This name is not available until the instance enters the running state.

[EC2-VPC] The Amazon-provided DNS server resolves Amazon-provided private DNS hostnames if you've enabled DNS resolution and DNS hostnames in your VPC. If you are not using the Amazon-provided DNS server in your VPC, your custom domain name servers must resolve the hostname as appropriate.

Definition at line 485 of file Instance.h.

◆ WithPrivateDnsName() [2/3]

Instance& Aws::EC2::Model::Instance::WithPrivateDnsName ( Aws::String &&  value)
inline

(IPv4 only) The private DNS hostname name assigned to the instance. This DNS hostname can only be used inside the Amazon EC2 network. This name is not available until the instance enters the running state.

[EC2-VPC] The Amazon-provided DNS server resolves Amazon-provided private DNS hostnames if you've enabled DNS resolution and DNS hostnames in your VPC. If you are not using the Amazon-provided DNS server in your VPC, your custom domain name servers must resolve the hostname as appropriate.

Definition at line 496 of file Instance.h.

◆ WithPrivateDnsName() [3/3]

Instance& Aws::EC2::Model::Instance::WithPrivateDnsName ( const char *  value)
inline

(IPv4 only) The private DNS hostname name assigned to the instance. This DNS hostname can only be used inside the Amazon EC2 network. This name is not available until the instance enters the running state.

[EC2-VPC] The Amazon-provided DNS server resolves Amazon-provided private DNS hostnames if you've enabled DNS resolution and DNS hostnames in your VPC. If you are not using the Amazon-provided DNS server in your VPC, your custom domain name servers must resolve the hostname as appropriate.

Definition at line 507 of file Instance.h.

◆ WithPrivateIpAddress() [1/3]

Instance& Aws::EC2::Model::Instance::WithPrivateIpAddress ( const Aws::String value)
inline

The private IPv4 address assigned to the instance.

Definition at line 538 of file Instance.h.

◆ WithPrivateIpAddress() [2/3]

Instance& Aws::EC2::Model::Instance::WithPrivateIpAddress ( Aws::String &&  value)
inline

The private IPv4 address assigned to the instance.

Definition at line 543 of file Instance.h.

◆ WithPrivateIpAddress() [3/3]

Instance& Aws::EC2::Model::Instance::WithPrivateIpAddress ( const char *  value)
inline

The private IPv4 address assigned to the instance.

Definition at line 548 of file Instance.h.

◆ WithProductCodes() [1/2]

Instance& Aws::EC2::Model::Instance::WithProductCodes ( const Aws::Vector< ProductCode > &  value)
inline

The product codes attached to this instance, if applicable.

Definition at line 574 of file Instance.h.

◆ WithProductCodes() [2/2]

Instance& Aws::EC2::Model::Instance::WithProductCodes ( Aws::Vector< ProductCode > &&  value)
inline

The product codes attached to this instance, if applicable.

Definition at line 579 of file Instance.h.

◆ WithPublicDnsName() [1/3]

Instance& Aws::EC2::Model::Instance::WithPublicDnsName ( const Aws::String value)
inline

(IPv4 only) The public DNS name assigned to the instance. This name is not available until the instance enters the running state. For EC2-VPC, this name is only available if you've enabled DNS hostnames for your VPC.

Definition at line 632 of file Instance.h.

◆ WithPublicDnsName() [2/3]

Instance& Aws::EC2::Model::Instance::WithPublicDnsName ( Aws::String &&  value)
inline

(IPv4 only) The public DNS name assigned to the instance. This name is not available until the instance enters the running state. For EC2-VPC, this name is only available if you've enabled DNS hostnames for your VPC.

Definition at line 639 of file Instance.h.

◆ WithPublicDnsName() [3/3]

Instance& Aws::EC2::Model::Instance::WithPublicDnsName ( const char *  value)
inline

(IPv4 only) The public DNS name assigned to the instance. This name is not available until the instance enters the running state. For EC2-VPC, this name is only available if you've enabled DNS hostnames for your VPC.

Definition at line 646 of file Instance.h.

◆ WithPublicIpAddress() [1/3]

Instance& Aws::EC2::Model::Instance::WithPublicIpAddress ( const Aws::String value)
inline

The public IPv4 address, or the Carrier IP address assigned to the instance, if applicable.

A Carrier IP address only applies to an instance launched in a subnet associated with a Wavelength Zone.

Definition at line 689 of file Instance.h.

◆ WithPublicIpAddress() [2/3]

Instance& Aws::EC2::Model::Instance::WithPublicIpAddress ( Aws::String &&  value)
inline

The public IPv4 address, or the Carrier IP address assigned to the instance, if applicable.

A Carrier IP address only applies to an instance launched in a subnet associated with a Wavelength Zone.

Definition at line 696 of file Instance.h.

◆ WithPublicIpAddress() [3/3]

Instance& Aws::EC2::Model::Instance::WithPublicIpAddress ( const char *  value)
inline

The public IPv4 address, or the Carrier IP address assigned to the instance, if applicable.

A Carrier IP address only applies to an instance launched in a subnet associated with a Wavelength Zone.

Definition at line 703 of file Instance.h.

◆ WithRamdiskId() [1/3]

Instance& Aws::EC2::Model::Instance::WithRamdiskId ( const Aws::String value)
inline

The RAM disk associated with this instance, if applicable.

Definition at line 734 of file Instance.h.

◆ WithRamdiskId() [2/3]

Instance& Aws::EC2::Model::Instance::WithRamdiskId ( Aws::String &&  value)
inline

The RAM disk associated with this instance, if applicable.

Definition at line 739 of file Instance.h.

◆ WithRamdiskId() [3/3]

Instance& Aws::EC2::Model::Instance::WithRamdiskId ( const char *  value)
inline

The RAM disk associated with this instance, if applicable.

Definition at line 744 of file Instance.h.

◆ WithRootDeviceName() [1/3]

Instance& Aws::EC2::Model::Instance::WithRootDeviceName ( const Aws::String value)
inline

The device name of the root device volume (for example, /dev/sda1).

Definition at line 1385 of file Instance.h.

◆ WithRootDeviceName() [2/3]

Instance& Aws::EC2::Model::Instance::WithRootDeviceName ( Aws::String &&  value)
inline

The device name of the root device volume (for example, /dev/sda1).

Definition at line 1391 of file Instance.h.

◆ WithRootDeviceName() [3/3]

Instance& Aws::EC2::Model::Instance::WithRootDeviceName ( const char *  value)
inline

The device name of the root device volume (for example, /dev/sda1).

Definition at line 1397 of file Instance.h.

◆ WithRootDeviceType() [1/2]

Instance& Aws::EC2::Model::Instance::WithRootDeviceType ( const DeviceType value)
inline

The root device type used by the AMI. The AMI can use an EBS volume or an instance store volume.

Definition at line 1428 of file Instance.h.

◆ WithRootDeviceType() [2/2]

Instance& Aws::EC2::Model::Instance::WithRootDeviceType ( DeviceType &&  value)
inline

The root device type used by the AMI. The AMI can use an EBS volume or an instance store volume.

Definition at line 1434 of file Instance.h.

◆ WithSecurityGroups() [1/2]

Instance& Aws::EC2::Model::Instance::WithSecurityGroups ( const Aws::Vector< GroupIdentifier > &  value)
inline

The security groups for the instance.

Definition at line 1460 of file Instance.h.

◆ WithSecurityGroups() [2/2]

Instance& Aws::EC2::Model::Instance::WithSecurityGroups ( Aws::Vector< GroupIdentifier > &&  value)
inline

The security groups for the instance.

Definition at line 1465 of file Instance.h.

◆ WithSourceDestCheck()

Instance& Aws::EC2::Model::Instance::WithSourceDestCheck ( bool  value)
inline

Specifies whether to enable an instance launched in a VPC to perform NAT. This controls whether source/destination checking is enabled on the instance. A value of true means that checking is enabled, and false means that checking is disabled. The value must be false for the instance to perform NAT. For more information, see NAT Instances in the Amazon Virtual Private Cloud User Guide.

Definition at line 1520 of file Instance.h.

◆ WithSpotInstanceRequestId() [1/3]

Instance& Aws::EC2::Model::Instance::WithSpotInstanceRequestId ( const Aws::String value)
inline

If the request is a Spot Instance request, the ID of the request.

Definition at line 1551 of file Instance.h.

◆ WithSpotInstanceRequestId() [2/3]

Instance& Aws::EC2::Model::Instance::WithSpotInstanceRequestId ( Aws::String &&  value)
inline

If the request is a Spot Instance request, the ID of the request.

Definition at line 1556 of file Instance.h.

◆ WithSpotInstanceRequestId() [3/3]

Instance& Aws::EC2::Model::Instance::WithSpotInstanceRequestId ( const char *  value)
inline

If the request is a Spot Instance request, the ID of the request.

Definition at line 1561 of file Instance.h.

◆ WithSriovNetSupport() [1/3]

Instance& Aws::EC2::Model::Instance::WithSriovNetSupport ( const Aws::String value)
inline

Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.

Definition at line 1598 of file Instance.h.

◆ WithSriovNetSupport() [2/3]

Instance& Aws::EC2::Model::Instance::WithSriovNetSupport ( Aws::String &&  value)
inline

Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.

Definition at line 1604 of file Instance.h.

◆ WithSriovNetSupport() [3/3]

Instance& Aws::EC2::Model::Instance::WithSriovNetSupport ( const char *  value)
inline

Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.

Definition at line 1610 of file Instance.h.

◆ WithState() [1/2]

Instance& Aws::EC2::Model::Instance::WithState ( const InstanceState value)
inline

The current state of the instance.

Definition at line 770 of file Instance.h.

◆ WithState() [2/2]

Instance& Aws::EC2::Model::Instance::WithState ( InstanceState &&  value)
inline

The current state of the instance.

Definition at line 775 of file Instance.h.

◆ WithStateReason() [1/2]

Instance& Aws::EC2::Model::Instance::WithStateReason ( const StateReason value)
inline

The reason for the most recent state transition.

Definition at line 1636 of file Instance.h.

◆ WithStateReason() [2/2]

Instance& Aws::EC2::Model::Instance::WithStateReason ( StateReason &&  value)
inline

The reason for the most recent state transition.

Definition at line 1641 of file Instance.h.

◆ WithStateTransitionReason() [1/3]

Instance& Aws::EC2::Model::Instance::WithStateTransitionReason ( const Aws::String value)
inline

The reason for the most recent state transition. This might be an empty string.

Definition at line 812 of file Instance.h.

◆ WithStateTransitionReason() [2/3]

Instance& Aws::EC2::Model::Instance::WithStateTransitionReason ( Aws::String &&  value)
inline

The reason for the most recent state transition. This might be an empty string.

Definition at line 818 of file Instance.h.

◆ WithStateTransitionReason() [3/3]

Instance& Aws::EC2::Model::Instance::WithStateTransitionReason ( const char *  value)
inline

The reason for the most recent state transition. This might be an empty string.

Definition at line 824 of file Instance.h.

◆ WithSubnetId() [1/3]

Instance& Aws::EC2::Model::Instance::WithSubnetId ( const Aws::String value)
inline

[EC2-VPC] The ID of the subnet in which the instance is running.

Definition at line 855 of file Instance.h.

◆ WithSubnetId() [2/3]

Instance& Aws::EC2::Model::Instance::WithSubnetId ( Aws::String &&  value)
inline

[EC2-VPC] The ID of the subnet in which the instance is running.

Definition at line 860 of file Instance.h.

◆ WithSubnetId() [3/3]

Instance& Aws::EC2::Model::Instance::WithSubnetId ( const char *  value)
inline

[EC2-VPC] The ID of the subnet in which the instance is running.

Definition at line 865 of file Instance.h.

◆ WithTags() [1/2]

Instance& Aws::EC2::Model::Instance::WithTags ( const Aws::Vector< Tag > &  value)
inline

Any tags assigned to the instance.

Definition at line 1667 of file Instance.h.

◆ WithTags() [2/2]

Instance& Aws::EC2::Model::Instance::WithTags ( Aws::Vector< Tag > &&  value)
inline

Any tags assigned to the instance.

Definition at line 1672 of file Instance.h.

◆ WithVirtualizationType() [1/2]

Instance& Aws::EC2::Model::Instance::WithVirtualizationType ( const VirtualizationType value)
inline

The virtualization type of the instance.

Definition at line 1708 of file Instance.h.

◆ WithVirtualizationType() [2/2]

Instance& Aws::EC2::Model::Instance::WithVirtualizationType ( VirtualizationType &&  value)
inline

The virtualization type of the instance.

Definition at line 1713 of file Instance.h.

◆ WithVpcId() [1/3]

Instance& Aws::EC2::Model::Instance::WithVpcId ( const Aws::String value)
inline

[EC2-VPC] The ID of the VPC in which the instance is running.

Definition at line 896 of file Instance.h.

◆ WithVpcId() [2/3]

Instance& Aws::EC2::Model::Instance::WithVpcId ( Aws::String &&  value)
inline

[EC2-VPC] The ID of the VPC in which the instance is running.

Definition at line 901 of file Instance.h.

◆ WithVpcId() [3/3]

Instance& Aws::EC2::Model::Instance::WithVpcId ( const char *  value)
inline

[EC2-VPC] The ID of the VPC in which the instance is running.

Definition at line 906 of file Instance.h.


The documentation for this class was generated from the following file: