AWS SDK for C++  1.9.16
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)
 
const BootModeValuesGetBootMode () const
 
bool BootModeHasBeenSet () const
 
void SetBootMode (const BootModeValues &value)
 
void SetBootMode (BootModeValues &&value)
 
InstanceWithBootMode (const BootModeValues &value)
 
InstanceWithBootMode (BootModeValues &&value)
 

Detailed Description

Describes an instance.

See Also:

AWS API Reference

Definition at line 59 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 974 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 979 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 1221 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 1226 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 1262 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 1267 of file Instance.h.

◆ AddLicenses() [1/2]

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

The license configurations.

Definition at line 1860 of file Instance.h.

◆ AddLicenses() [2/2]

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

The license configurations.

Definition at line 1865 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 1303 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 1308 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 585 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 590 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 1471 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 1476 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 1654 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 1659 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 80 of file Instance.h.

◆ ArchitectureHasBeenSet()

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

The architecture of the image.

Definition at line 918 of file Instance.h.

◆ BlockDeviceMappingsHasBeenSet()

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

Any block device mapping entries for the instance.

Definition at line 949 of file Instance.h.

◆ BootModeHasBeenSet()

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

The boot mode of the instance. For more information, see Boot modes in the Amazon EC2 User Guide.

Definition at line 1942 of file Instance.h.

◆ CapacityReservationIdHasBeenSet()

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

The ID of the Capacity Reservation.

Definition at line 1732 of file Instance.h.

◆ CapacityReservationSpecificationHasBeenSet()

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

Information about the Capacity Reservation targeting option.

Definition at line 1773 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 992 of file Instance.h.

◆ CpuOptionsHasBeenSet()

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

The CPU options for the instance.

Definition at line 1701 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 1047 of file Instance.h.

◆ ElasticGpuAssociationsHasBeenSet()

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

The Elastic GPU associated with the instance.

Definition at line 1196 of file Instance.h.

◆ ElasticInferenceAcceleratorAssociationsHasBeenSet()

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

The elastic inference accelerator associated with the instance.

Definition at line 1237 of file Instance.h.

◆ EnaSupportHasBeenSet()

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

Specifies whether enhanced networking with ENA is enabled.

Definition at line 1076 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 1907 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 74 of file Instance.h.

◆ GetArchitecture()

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

The architecture of the image.

Definition at line 913 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 944 of file Instance.h.

◆ GetBootMode()

const BootModeValues& Aws::EC2::Model::Instance::GetBootMode ( ) const
inline

The boot mode of the instance. For more information, see Boot modes in the Amazon EC2 User Guide.

Definition at line 1935 of file Instance.h.

◆ GetCapacityReservationId()

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

The ID of the Capacity Reservation.

Definition at line 1727 of file Instance.h.

◆ GetCapacityReservationSpecification()

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

Information about the Capacity Reservation targeting option.

Definition at line 1768 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 986 of file Instance.h.

◆ GetCpuOptions()

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

The CPU options for the instance.

Definition at line 1696 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 1038 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 1191 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 1232 of file Instance.h.

◆ GetEnaSupport()

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

Specifies whether enhanced networking with ENA is enabled.

Definition at line 1071 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 1902 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 1799 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 1093 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 1129 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 98 of file Instance.h.

◆ GetInstanceId()

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

The ID of the instance.

Definition at line 139 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 1160 of file Instance.h.

◆ GetInstanceType()

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

The instance type.

Definition at line 180 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 211 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 253 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 301 of file Instance.h.

◆ GetLicenses()

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

The license configurations.

Definition at line 1830 of file Instance.h.

◆ GetMetadataOptions()

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

The metadata options for the instance.

Definition at line 1871 of file Instance.h.

◆ GetMonitoring()

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

The monitoring for the instance.

Definition at line 332 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 1273 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 1314 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 363 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 394 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 431 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 514 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 555 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 598 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 655 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 710 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 1356 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 1405 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 1441 of file Instance.h.

◆ GetSourceDestCheck()

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

Indicates whether source/destination checking is enabled.

Definition at line 1482 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 1503 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 1545 of file Instance.h.

◆ GetState()

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

The current state of the instance.

Definition at line 751 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 1593 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 783 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 831 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 1624 of file Instance.h.

◆ GetVirtualizationType()

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

The virtualization type of the instance.

Definition at line 1665 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 872 of file Instance.h.

◆ HibernationOptionsHasBeenSet()

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

Indicates whether the instance is enabled for hibernation.

Definition at line 1804 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 1099 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 1134 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 103 of file Instance.h.

◆ InstanceIdHasBeenSet()

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

The ID of the instance.

Definition at line 144 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 1165 of file Instance.h.

◆ InstanceTypeHasBeenSet()

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

The instance type.

Definition at line 185 of file Instance.h.

◆ KernelIdHasBeenSet()

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

The kernel associated with this instance, if applicable.

Definition at line 216 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 259 of file Instance.h.

◆ LaunchTimeHasBeenSet()

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

The time the instance was launched.

Definition at line 306 of file Instance.h.

◆ LicensesHasBeenSet()

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

The license configurations.

Definition at line 1835 of file Instance.h.

◆ MetadataOptionsHasBeenSet()

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

The metadata options for the instance.

Definition at line 1876 of file Instance.h.

◆ MonitoringHasBeenSet()

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

The monitoring for the instance.

Definition at line 337 of file Instance.h.

◆ NetworkInterfacesHasBeenSet()

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

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

Definition at line 1278 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 1319 of file Instance.h.

◆ OutputToStream() [1/2]

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

◆ OutputToStream() [2/2]

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

◆ PlacementHasBeenSet()

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

The location where the instance launched, if applicable.

Definition at line 368 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 399 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 442 of file Instance.h.

◆ PrivateIpAddressHasBeenSet()

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

The private IPv4 address assigned to the instance.

Definition at line 519 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 560 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 605 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 662 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 715 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 1362 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 1411 of file Instance.h.

◆ SecurityGroupsHasBeenSet()

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

The security groups for the instance.

Definition at line 1446 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 86 of file Instance.h.

◆ SetArchitecture() [1/2]

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

The architecture of the image.

Definition at line 928 of file Instance.h.

◆ SetArchitecture() [2/2]

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

The architecture of the image.

Definition at line 923 of file Instance.h.

◆ SetBlockDeviceMappings() [1/2]

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

Any block device mapping entries for the instance.

Definition at line 959 of file Instance.h.

◆ SetBlockDeviceMappings() [2/2]

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

Any block device mapping entries for the instance.

Definition at line 954 of file Instance.h.

◆ SetBootMode() [1/2]

void Aws::EC2::Model::Instance::SetBootMode ( BootModeValues &&  value)
inline

The boot mode of the instance. For more information, see Boot modes in the Amazon EC2 User Guide.

Definition at line 1956 of file Instance.h.

◆ SetBootMode() [2/2]

void Aws::EC2::Model::Instance::SetBootMode ( const BootModeValues value)
inline

The boot mode of the instance. For more information, see Boot modes in the Amazon EC2 User Guide.

Definition at line 1949 of file Instance.h.

◆ SetCapacityReservationId() [1/3]

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

The ID of the Capacity Reservation.

Definition at line 1742 of file Instance.h.

◆ SetCapacityReservationId() [2/3]

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

The ID of the Capacity Reservation.

Definition at line 1737 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 1747 of file Instance.h.

◆ SetCapacityReservationSpecification() [1/2]

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

Information about the Capacity Reservation targeting option.

Definition at line 1783 of file Instance.h.

◆ SetCapacityReservationSpecification() [2/2]

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

Information about the Capacity Reservation targeting option.

Definition at line 1778 of file Instance.h.

◆ SetClientToken() [1/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 1004 of file Instance.h.

◆ SetClientToken() [2/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 998 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 1010 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 1706 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 1711 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 1056 of file Instance.h.

◆ SetElasticGpuAssociations() [1/2]

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

The Elastic GPU associated with the instance.

Definition at line 1206 of file Instance.h.

◆ SetElasticGpuAssociations() [2/2]

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

The Elastic GPU associated with the instance.

Definition at line 1201 of file Instance.h.

◆ SetElasticInferenceAcceleratorAssociations() [1/2]

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

The elastic inference accelerator associated with the instance.

Definition at line 1247 of file Instance.h.

◆ SetElasticInferenceAcceleratorAssociations() [2/2]

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

The elastic inference accelerator associated with the instance.

Definition at line 1242 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 1081 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 1912 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 1917 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 1809 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 1814 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 1105 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 1111 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 1139 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 1144 of file Instance.h.

◆ SetImageId() [1/3]

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

The ID of the AMI used to launch the instance.

Definition at line 113 of file Instance.h.

◆ SetImageId() [2/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 108 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 118 of file Instance.h.

◆ SetInstanceId() [1/3]

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

The ID of the instance.

Definition at line 154 of file Instance.h.

◆ SetInstanceId() [2/3]

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

The ID of the instance.

Definition at line 149 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 159 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 1170 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 1175 of file Instance.h.

◆ SetInstanceType() [1/2]

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

The instance type.

Definition at line 190 of file Instance.h.

◆ SetInstanceType() [2/2]

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

The instance type.

Definition at line 195 of file Instance.h.

◆ SetKernelId() [1/3]

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

The kernel associated with this instance, if applicable.

Definition at line 226 of file Instance.h.

◆ SetKernelId() [2/3]

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

The kernel associated with this instance, if applicable.

Definition at line 221 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 231 of file Instance.h.

◆ SetKeyName() [1/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 271 of file Instance.h.

◆ SetKeyName() [2/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 265 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 277 of file Instance.h.

◆ SetLaunchTime() [1/2]

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

The time the instance was launched.

Definition at line 316 of file Instance.h.

◆ SetLaunchTime() [2/2]

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

The time the instance was launched.

Definition at line 311 of file Instance.h.

◆ SetLicenses() [1/2]

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

The license configurations.

Definition at line 1845 of file Instance.h.

◆ SetLicenses() [2/2]

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

The license configurations.

Definition at line 1840 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 1881 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 1886 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 342 of file Instance.h.

◆ SetMonitoring() [2/2]

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

The monitoring for the instance.

Definition at line 347 of file Instance.h.

◆ SetNetworkInterfaces() [1/2]

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

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

Definition at line 1288 of file Instance.h.

◆ SetNetworkInterfaces() [2/2]

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

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

Definition at line 1283 of file Instance.h.

◆ SetOutpostArn() [1/3]

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

The Amazon Resource Name (ARN) of the Outpost.

Definition at line 1329 of file Instance.h.

◆ SetOutpostArn() [2/3]

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

The Amazon Resource Name (ARN) of the Outpost.

Definition at line 1324 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 1334 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 373 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 378 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 404 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 409 of file Instance.h.

◆ SetPrivateDnsName() [1/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 464 of file Instance.h.

◆ SetPrivateDnsName() [2/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 453 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 475 of file Instance.h.

◆ SetPrivateIpAddress() [1/3]

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

The private IPv4 address assigned to the instance.

Definition at line 529 of file Instance.h.

◆ SetPrivateIpAddress() [2/3]

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

The private IPv4 address assigned to the instance.

Definition at line 524 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 534 of file Instance.h.

◆ SetProductCodes() [1/2]

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

The product codes attached to this instance, if applicable.

Definition at line 570 of file Instance.h.

◆ SetProductCodes() [2/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 565 of file Instance.h.

◆ SetPublicDnsName() [1/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 619 of file Instance.h.

◆ SetPublicDnsName() [2/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 612 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 626 of file Instance.h.

◆ SetPublicIpAddress() [1/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 676 of file Instance.h.

◆ SetPublicIpAddress() [2/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 669 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 683 of file Instance.h.

◆ SetRamdiskId() [1/3]

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

The RAM disk associated with this instance, if applicable.

Definition at line 725 of file Instance.h.

◆ SetRamdiskId() [2/3]

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

The RAM disk associated with this instance, if applicable.

Definition at line 720 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 730 of file Instance.h.

◆ SetRootDeviceName() [1/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 1374 of file Instance.h.

◆ SetRootDeviceName() [2/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 1368 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 1380 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 1417 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 1423 of file Instance.h.

◆ SetSecurityGroups() [1/2]

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

The security groups for the instance.

Definition at line 1456 of file Instance.h.

◆ SetSecurityGroups() [2/2]

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

The security groups for the instance.

Definition at line 1451 of file Instance.h.

◆ SetSourceDestCheck()

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

Indicates whether source/destination checking is enabled.

Definition at line 1492 of file Instance.h.

◆ SetSpotInstanceRequestId() [1/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 1518 of file Instance.h.

◆ SetSpotInstanceRequestId() [2/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 1513 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 1523 of file Instance.h.

◆ SetSriovNetSupport() [1/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 1563 of file Instance.h.

◆ SetSriovNetSupport() [2/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 1557 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 1569 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 761 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 766 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 1603 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 1608 of file Instance.h.

◆ SetStateTransitionReason() [1/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 801 of file Instance.h.

◆ SetStateTransitionReason() [2/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 795 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 807 of file Instance.h.

◆ SetSubnetId() [1/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 846 of file Instance.h.

◆ SetSubnetId() [2/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 841 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 851 of file Instance.h.

◆ SetTags() [1/2]

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

Any tags assigned to the instance.

Definition at line 1639 of file Instance.h.

◆ SetTags() [2/2]

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

Any tags assigned to the instance.

Definition at line 1634 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 1675 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 1680 of file Instance.h.

◆ SetVpcId() [1/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 887 of file Instance.h.

◆ SetVpcId() [2/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 882 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 892 of file Instance.h.

◆ SourceDestCheckHasBeenSet()

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

Indicates whether source/destination checking is enabled.

Definition at line 1487 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 1508 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 1551 of file Instance.h.

◆ StateHasBeenSet()

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

The current state of the instance.

Definition at line 756 of file Instance.h.

◆ StateReasonHasBeenSet()

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

The reason for the most recent state transition.

Definition at line 1598 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 789 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 836 of file Instance.h.

◆ TagsHasBeenSet()

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

Any tags assigned to the instance.

Definition at line 1629 of file Instance.h.

◆ VirtualizationTypeHasBeenSet()

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

The virtualization type of the instance.

Definition at line 1670 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 877 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 92 of file Instance.h.

◆ WithArchitecture() [1/2]

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

The architecture of the image.

Definition at line 938 of file Instance.h.

◆ WithArchitecture() [2/2]

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

The architecture of the image.

Definition at line 933 of file Instance.h.

◆ WithBlockDeviceMappings() [1/2]

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

Any block device mapping entries for the instance.

Definition at line 969 of file Instance.h.

◆ WithBlockDeviceMappings() [2/2]

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

Any block device mapping entries for the instance.

Definition at line 964 of file Instance.h.

◆ WithBootMode() [1/2]

Instance& Aws::EC2::Model::Instance::WithBootMode ( BootModeValues &&  value)
inline

The boot mode of the instance. For more information, see Boot modes in the Amazon EC2 User Guide.

Definition at line 1970 of file Instance.h.

◆ WithBootMode() [2/2]

Instance& Aws::EC2::Model::Instance::WithBootMode ( const BootModeValues value)
inline

The boot mode of the instance. For more information, see Boot modes in the Amazon EC2 User Guide.

Definition at line 1963 of file Instance.h.

◆ WithCapacityReservationId() [1/3]

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

The ID of the Capacity Reservation.

Definition at line 1757 of file Instance.h.

◆ WithCapacityReservationId() [2/3]

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

The ID of the Capacity Reservation.

Definition at line 1752 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 1762 of file Instance.h.

◆ WithCapacityReservationSpecification() [1/2]

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

Information about the Capacity Reservation targeting option.

Definition at line 1793 of file Instance.h.

◆ WithCapacityReservationSpecification() [2/2]

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

Information about the Capacity Reservation targeting option.

Definition at line 1788 of file Instance.h.

◆ WithClientToken() [1/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 1022 of file Instance.h.

◆ WithClientToken() [2/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 1016 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 1028 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 1716 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 1721 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 1065 of file Instance.h.

◆ WithElasticGpuAssociations() [1/2]

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

The Elastic GPU associated with the instance.

Definition at line 1216 of file Instance.h.

◆ WithElasticGpuAssociations() [2/2]

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

The Elastic GPU associated with the instance.

Definition at line 1211 of file Instance.h.

◆ WithElasticInferenceAcceleratorAssociations() [1/2]

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

The elastic inference accelerator associated with the instance.

Definition at line 1257 of file Instance.h.

◆ WithElasticInferenceAcceleratorAssociations() [2/2]

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

The elastic inference accelerator associated with the instance.

Definition at line 1252 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 1086 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 1922 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 1927 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 1819 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 1824 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 1117 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 1123 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 1149 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 1154 of file Instance.h.

◆ WithImageId() [1/3]

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

The ID of the AMI used to launch the instance.

Definition at line 128 of file Instance.h.

◆ WithImageId() [2/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 123 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 133 of file Instance.h.

◆ WithInstanceId() [1/3]

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

The ID of the instance.

Definition at line 169 of file Instance.h.

◆ WithInstanceId() [2/3]

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

The ID of the instance.

Definition at line 164 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 174 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 1180 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 1185 of file Instance.h.

◆ WithInstanceType() [1/2]

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

The instance type.

Definition at line 200 of file Instance.h.

◆ WithInstanceType() [2/2]

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

The instance type.

Definition at line 205 of file Instance.h.

◆ WithKernelId() [1/3]

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

The kernel associated with this instance, if applicable.

Definition at line 241 of file Instance.h.

◆ WithKernelId() [2/3]

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

The kernel associated with this instance, if applicable.

Definition at line 236 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 246 of file Instance.h.

◆ WithKeyName() [1/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 289 of file Instance.h.

◆ WithKeyName() [2/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 283 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 295 of file Instance.h.

◆ WithLaunchTime() [1/2]

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

The time the instance was launched.

Definition at line 326 of file Instance.h.

◆ WithLaunchTime() [2/2]

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

The time the instance was launched.

Definition at line 321 of file Instance.h.

◆ WithLicenses() [1/2]

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

The license configurations.

Definition at line 1855 of file Instance.h.

◆ WithLicenses() [2/2]

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

The license configurations.

Definition at line 1850 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 1891 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 1896 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 352 of file Instance.h.

◆ WithMonitoring() [2/2]

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

The monitoring for the instance.

Definition at line 357 of file Instance.h.

◆ WithNetworkInterfaces() [1/2]

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

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

Definition at line 1298 of file Instance.h.

◆ WithNetworkInterfaces() [2/2]

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

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

Definition at line 1293 of file Instance.h.

◆ WithOutpostArn() [1/3]

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

The Amazon Resource Name (ARN) of the Outpost.

Definition at line 1344 of file Instance.h.

◆ WithOutpostArn() [2/3]

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

The Amazon Resource Name (ARN) of the Outpost.

Definition at line 1339 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 1349 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 383 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 388 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 414 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 419 of file Instance.h.

◆ WithPrivateDnsName() [1/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 497 of file Instance.h.

◆ WithPrivateDnsName() [2/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 486 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 508 of file Instance.h.

◆ WithPrivateIpAddress() [1/3]

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

The private IPv4 address assigned to the instance.

Definition at line 544 of file Instance.h.

◆ WithPrivateIpAddress() [2/3]

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

The private IPv4 address assigned to the instance.

Definition at line 539 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 549 of file Instance.h.

◆ WithProductCodes() [1/2]

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

The product codes attached to this instance, if applicable.

Definition at line 580 of file Instance.h.

◆ WithProductCodes() [2/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 575 of file Instance.h.

◆ WithPublicDnsName() [1/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 640 of file Instance.h.

◆ WithPublicDnsName() [2/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 633 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 647 of file Instance.h.

◆ WithPublicIpAddress() [1/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 697 of file Instance.h.

◆ WithPublicIpAddress() [2/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 690 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 704 of file Instance.h.

◆ WithRamdiskId() [1/3]

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

The RAM disk associated with this instance, if applicable.

Definition at line 740 of file Instance.h.

◆ WithRamdiskId() [2/3]

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

The RAM disk associated with this instance, if applicable.

Definition at line 735 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 745 of file Instance.h.

◆ WithRootDeviceName() [1/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 1392 of file Instance.h.

◆ WithRootDeviceName() [2/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 1386 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 1398 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 1429 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 1435 of file Instance.h.

◆ WithSecurityGroups() [1/2]

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

The security groups for the instance.

Definition at line 1466 of file Instance.h.

◆ WithSecurityGroups() [2/2]

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

The security groups for the instance.

Definition at line 1461 of file Instance.h.

◆ WithSourceDestCheck()

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

Indicates whether source/destination checking is enabled.

Definition at line 1497 of file Instance.h.

◆ WithSpotInstanceRequestId() [1/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 1533 of file Instance.h.

◆ WithSpotInstanceRequestId() [2/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 1528 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 1538 of file Instance.h.

◆ WithSriovNetSupport() [1/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 1581 of file Instance.h.

◆ WithSriovNetSupport() [2/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 1575 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 1587 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 771 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 776 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 1613 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 1618 of file Instance.h.

◆ WithStateTransitionReason() [1/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 819 of file Instance.h.

◆ WithStateTransitionReason() [2/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 813 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 825 of file Instance.h.

◆ WithSubnetId() [1/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 861 of file Instance.h.

◆ WithSubnetId() [2/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 856 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 866 of file Instance.h.

◆ WithTags() [1/2]

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

Any tags assigned to the instance.

Definition at line 1649 of file Instance.h.

◆ WithTags() [2/2]

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

Any tags assigned to the instance.

Definition at line 1644 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 1685 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 1690 of file Instance.h.

◆ WithVpcId() [1/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 902 of file Instance.h.

◆ WithVpcId() [2/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 897 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 907 of file Instance.h.


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