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

#include <RequestSpotLaunchSpecification.h>

Public Member Functions

 RequestSpotLaunchSpecification ()
 
 RequestSpotLaunchSpecification (const Aws::Utils::Xml::XmlNode &xmlNode)
 
RequestSpotLaunchSpecificationoperator= (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
 
const Aws::Vector< Aws::String > & GetSecurityGroupIds () const
 
bool SecurityGroupIdsHasBeenSet () const
 
void SetSecurityGroupIds (const Aws::Vector< Aws::String > &value)
 
void SetSecurityGroupIds (Aws::Vector< Aws::String > &&value)
 
RequestSpotLaunchSpecificationWithSecurityGroupIds (const Aws::Vector< Aws::String > &value)
 
RequestSpotLaunchSpecificationWithSecurityGroupIds (Aws::Vector< Aws::String > &&value)
 
RequestSpotLaunchSpecificationAddSecurityGroupIds (const Aws::String &value)
 
RequestSpotLaunchSpecificationAddSecurityGroupIds (Aws::String &&value)
 
RequestSpotLaunchSpecificationAddSecurityGroupIds (const char *value)
 
const Aws::Vector< Aws::String > & GetSecurityGroups () const
 
bool SecurityGroupsHasBeenSet () const
 
void SetSecurityGroups (const Aws::Vector< Aws::String > &value)
 
void SetSecurityGroups (Aws::Vector< Aws::String > &&value)
 
RequestSpotLaunchSpecificationWithSecurityGroups (const Aws::Vector< Aws::String > &value)
 
RequestSpotLaunchSpecificationWithSecurityGroups (Aws::Vector< Aws::String > &&value)
 
RequestSpotLaunchSpecificationAddSecurityGroups (const Aws::String &value)
 
RequestSpotLaunchSpecificationAddSecurityGroups (Aws::String &&value)
 
RequestSpotLaunchSpecificationAddSecurityGroups (const char *value)
 
const Aws::StringGetAddressingType () const
 
bool AddressingTypeHasBeenSet () const
 
void SetAddressingType (const Aws::String &value)
 
void SetAddressingType (Aws::String &&value)
 
void SetAddressingType (const char *value)
 
RequestSpotLaunchSpecificationWithAddressingType (const Aws::String &value)
 
RequestSpotLaunchSpecificationWithAddressingType (Aws::String &&value)
 
RequestSpotLaunchSpecificationWithAddressingType (const char *value)
 
const Aws::Vector< BlockDeviceMapping > & GetBlockDeviceMappings () const
 
bool BlockDeviceMappingsHasBeenSet () const
 
void SetBlockDeviceMappings (const Aws::Vector< BlockDeviceMapping > &value)
 
void SetBlockDeviceMappings (Aws::Vector< BlockDeviceMapping > &&value)
 
RequestSpotLaunchSpecificationWithBlockDeviceMappings (const Aws::Vector< BlockDeviceMapping > &value)
 
RequestSpotLaunchSpecificationWithBlockDeviceMappings (Aws::Vector< BlockDeviceMapping > &&value)
 
RequestSpotLaunchSpecificationAddBlockDeviceMappings (const BlockDeviceMapping &value)
 
RequestSpotLaunchSpecificationAddBlockDeviceMappings (BlockDeviceMapping &&value)
 
bool GetEbsOptimized () const
 
bool EbsOptimizedHasBeenSet () const
 
void SetEbsOptimized (bool value)
 
RequestSpotLaunchSpecificationWithEbsOptimized (bool value)
 
const IamInstanceProfileSpecificationGetIamInstanceProfile () const
 
bool IamInstanceProfileHasBeenSet () const
 
void SetIamInstanceProfile (const IamInstanceProfileSpecification &value)
 
void SetIamInstanceProfile (IamInstanceProfileSpecification &&value)
 
RequestSpotLaunchSpecificationWithIamInstanceProfile (const IamInstanceProfileSpecification &value)
 
RequestSpotLaunchSpecificationWithIamInstanceProfile (IamInstanceProfileSpecification &&value)
 
const Aws::StringGetImageId () const
 
bool ImageIdHasBeenSet () const
 
void SetImageId (const Aws::String &value)
 
void SetImageId (Aws::String &&value)
 
void SetImageId (const char *value)
 
RequestSpotLaunchSpecificationWithImageId (const Aws::String &value)
 
RequestSpotLaunchSpecificationWithImageId (Aws::String &&value)
 
RequestSpotLaunchSpecificationWithImageId (const char *value)
 
const InstanceTypeGetInstanceType () const
 
bool InstanceTypeHasBeenSet () const
 
void SetInstanceType (const InstanceType &value)
 
void SetInstanceType (InstanceType &&value)
 
RequestSpotLaunchSpecificationWithInstanceType (const InstanceType &value)
 
RequestSpotLaunchSpecificationWithInstanceType (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)
 
RequestSpotLaunchSpecificationWithKernelId (const Aws::String &value)
 
RequestSpotLaunchSpecificationWithKernelId (Aws::String &&value)
 
RequestSpotLaunchSpecificationWithKernelId (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)
 
RequestSpotLaunchSpecificationWithKeyName (const Aws::String &value)
 
RequestSpotLaunchSpecificationWithKeyName (Aws::String &&value)
 
RequestSpotLaunchSpecificationWithKeyName (const char *value)
 
const RunInstancesMonitoringEnabledGetMonitoring () const
 
bool MonitoringHasBeenSet () const
 
void SetMonitoring (const RunInstancesMonitoringEnabled &value)
 
void SetMonitoring (RunInstancesMonitoringEnabled &&value)
 
RequestSpotLaunchSpecificationWithMonitoring (const RunInstancesMonitoringEnabled &value)
 
RequestSpotLaunchSpecificationWithMonitoring (RunInstancesMonitoringEnabled &&value)
 
const Aws::Vector< InstanceNetworkInterfaceSpecification > & GetNetworkInterfaces () const
 
bool NetworkInterfacesHasBeenSet () const
 
void SetNetworkInterfaces (const Aws::Vector< InstanceNetworkInterfaceSpecification > &value)
 
void SetNetworkInterfaces (Aws::Vector< InstanceNetworkInterfaceSpecification > &&value)
 
RequestSpotLaunchSpecificationWithNetworkInterfaces (const Aws::Vector< InstanceNetworkInterfaceSpecification > &value)
 
RequestSpotLaunchSpecificationWithNetworkInterfaces (Aws::Vector< InstanceNetworkInterfaceSpecification > &&value)
 
RequestSpotLaunchSpecificationAddNetworkInterfaces (const InstanceNetworkInterfaceSpecification &value)
 
RequestSpotLaunchSpecificationAddNetworkInterfaces (InstanceNetworkInterfaceSpecification &&value)
 
const SpotPlacementGetPlacement () const
 
bool PlacementHasBeenSet () const
 
void SetPlacement (const SpotPlacement &value)
 
void SetPlacement (SpotPlacement &&value)
 
RequestSpotLaunchSpecificationWithPlacement (const SpotPlacement &value)
 
RequestSpotLaunchSpecificationWithPlacement (SpotPlacement &&value)
 
const Aws::StringGetRamdiskId () const
 
bool RamdiskIdHasBeenSet () const
 
void SetRamdiskId (const Aws::String &value)
 
void SetRamdiskId (Aws::String &&value)
 
void SetRamdiskId (const char *value)
 
RequestSpotLaunchSpecificationWithRamdiskId (const Aws::String &value)
 
RequestSpotLaunchSpecificationWithRamdiskId (Aws::String &&value)
 
RequestSpotLaunchSpecificationWithRamdiskId (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)
 
RequestSpotLaunchSpecificationWithSubnetId (const Aws::String &value)
 
RequestSpotLaunchSpecificationWithSubnetId (Aws::String &&value)
 
RequestSpotLaunchSpecificationWithSubnetId (const char *value)
 
const Aws::StringGetUserData () const
 
bool UserDataHasBeenSet () const
 
void SetUserData (const Aws::String &value)
 
void SetUserData (Aws::String &&value)
 
void SetUserData (const char *value)
 
RequestSpotLaunchSpecificationWithUserData (const Aws::String &value)
 
RequestSpotLaunchSpecificationWithUserData (Aws::String &&value)
 
RequestSpotLaunchSpecificationWithUserData (const char *value)
 

Detailed Description

Describes the launch specification for an instance.

See Also:

AWS API Reference

Definition at line 39 of file RequestSpotLaunchSpecification.h.

Constructor & Destructor Documentation

◆ RequestSpotLaunchSpecification() [1/2]

Aws::EC2::Model::RequestSpotLaunchSpecification::RequestSpotLaunchSpecification ( )

◆ RequestSpotLaunchSpecification() [2/2]

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

Member Function Documentation

◆ AddBlockDeviceMappings() [1/2]

RequestSpotLaunchSpecification& Aws::EC2::Model::RequestSpotLaunchSpecification::AddBlockDeviceMappings ( BlockDeviceMapping &&  value)
inline

One or more block device mapping entries. You can't specify both a snapshot ID and an encryption value. This is because only blank volumes can be encrypted on creation. If a snapshot is the basis for a volume, it is not blank and its encryption status is used for the volume encryption status.

Definition at line 263 of file RequestSpotLaunchSpecification.h.

◆ AddBlockDeviceMappings() [2/2]

RequestSpotLaunchSpecification& Aws::EC2::Model::RequestSpotLaunchSpecification::AddBlockDeviceMappings ( const BlockDeviceMapping value)
inline

One or more block device mapping entries. You can't specify both a snapshot ID and an encryption value. This is because only blank volumes can be encrypted on creation. If a snapshot is the basis for a volume, it is not blank and its encryption status is used for the volume encryption status.

Definition at line 255 of file RequestSpotLaunchSpecification.h.

◆ AddNetworkInterfaces() [1/2]

RequestSpotLaunchSpecification& Aws::EC2::Model::RequestSpotLaunchSpecification::AddNetworkInterfaces ( const InstanceNetworkInterfaceSpecification value)
inline

One or more network interfaces. If you specify a network interface, you must specify subnet IDs and security group IDs using the network interface.

Definition at line 565 of file RequestSpotLaunchSpecification.h.

◆ AddNetworkInterfaces() [2/2]

RequestSpotLaunchSpecification& Aws::EC2::Model::RequestSpotLaunchSpecification::AddNetworkInterfaces ( InstanceNetworkInterfaceSpecification &&  value)
inline

One or more network interfaces. If you specify a network interface, you must specify subnet IDs and security group IDs using the network interface.

Definition at line 571 of file RequestSpotLaunchSpecification.h.

◆ AddressingTypeHasBeenSet()

bool Aws::EC2::Model::RequestSpotLaunchSpecification::AddressingTypeHasBeenSet ( ) const
inline

Deprecated.

Definition at line 168 of file RequestSpotLaunchSpecification.h.

◆ AddSecurityGroupIds() [1/3]

RequestSpotLaunchSpecification& Aws::EC2::Model::RequestSpotLaunchSpecification::AddSecurityGroupIds ( Aws::String &&  value)
inline

One or more security group IDs.

Definition at line 88 of file RequestSpotLaunchSpecification.h.

◆ AddSecurityGroupIds() [2/3]

RequestSpotLaunchSpecification& Aws::EC2::Model::RequestSpotLaunchSpecification::AddSecurityGroupIds ( const Aws::String value)
inline

One or more security group IDs.

Definition at line 83 of file RequestSpotLaunchSpecification.h.

◆ AddSecurityGroupIds() [3/3]

RequestSpotLaunchSpecification& Aws::EC2::Model::RequestSpotLaunchSpecification::AddSecurityGroupIds ( const char *  value)
inline

One or more security group IDs.

Definition at line 93 of file RequestSpotLaunchSpecification.h.

◆ AddSecurityGroups() [1/3]

RequestSpotLaunchSpecification& Aws::EC2::Model::RequestSpotLaunchSpecification::AddSecurityGroups ( Aws::String &&  value)
inline

One or more security groups. When requesting instances in a VPC, you must specify the IDs of the security groups. When requesting instances in EC2-Classic, you can specify the names or the IDs of the security groups.

Definition at line 150 of file RequestSpotLaunchSpecification.h.

◆ AddSecurityGroups() [2/3]

RequestSpotLaunchSpecification& Aws::EC2::Model::RequestSpotLaunchSpecification::AddSecurityGroups ( const Aws::String value)
inline

One or more security groups. When requesting instances in a VPC, you must specify the IDs of the security groups. When requesting instances in EC2-Classic, you can specify the names or the IDs of the security groups.

Definition at line 143 of file RequestSpotLaunchSpecification.h.

◆ AddSecurityGroups() [3/3]

RequestSpotLaunchSpecification& Aws::EC2::Model::RequestSpotLaunchSpecification::AddSecurityGroups ( const char *  value)
inline

One or more security groups. When requesting instances in a VPC, you must specify the IDs of the security groups. When requesting instances in EC2-Classic, you can specify the names or the IDs of the security groups.

Definition at line 157 of file RequestSpotLaunchSpecification.h.

◆ BlockDeviceMappingsHasBeenSet()

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

One or more block device mapping entries. You can't specify both a snapshot ID and an encryption value. This is because only blank volumes can be encrypted on creation. If a snapshot is the basis for a volume, it is not blank and its encryption status is used for the volume encryption status.

Definition at line 215 of file RequestSpotLaunchSpecification.h.

◆ EbsOptimizedHasBeenSet()

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

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

Default: false

Definition at line 282 of file RequestSpotLaunchSpecification.h.

◆ GetAddressingType()

const Aws::String& Aws::EC2::Model::RequestSpotLaunchSpecification::GetAddressingType ( ) const
inline

Deprecated.

Definition at line 163 of file RequestSpotLaunchSpecification.h.

◆ GetBlockDeviceMappings()

const Aws::Vector<BlockDeviceMapping>& Aws::EC2::Model::RequestSpotLaunchSpecification::GetBlockDeviceMappings ( ) const
inline

One or more block device mapping entries. You can't specify both a snapshot ID and an encryption value. This is because only blank volumes can be encrypted on creation. If a snapshot is the basis for a volume, it is not blank and its encryption status is used for the volume encryption status.

Definition at line 207 of file RequestSpotLaunchSpecification.h.

◆ GetEbsOptimized()

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

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

Default: false

Definition at line 273 of file RequestSpotLaunchSpecification.h.

◆ GetIamInstanceProfile()

const IamInstanceProfileSpecification& Aws::EC2::Model::RequestSpotLaunchSpecification::GetIamInstanceProfile ( ) const
inline

The IAM instance profile.

Definition at line 306 of file RequestSpotLaunchSpecification.h.

◆ GetImageId()

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

The ID of the AMI.

Definition at line 337 of file RequestSpotLaunchSpecification.h.

◆ GetInstanceType()

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

The instance type.

Definition at line 378 of file RequestSpotLaunchSpecification.h.

◆ GetKernelId()

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

The ID of the kernel.

Definition at line 409 of file RequestSpotLaunchSpecification.h.

◆ GetKeyName()

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

The name of the key pair.

Definition at line 450 of file RequestSpotLaunchSpecification.h.

◆ GetMonitoring()

const RunInstancesMonitoringEnabled& Aws::EC2::Model::RequestSpotLaunchSpecification::GetMonitoring ( ) const
inline

Indicates whether basic or detailed monitoring is enabled for the instance.

Default: Disabled

Definition at line 492 of file RequestSpotLaunchSpecification.h.

◆ GetNetworkInterfaces()

const Aws::Vector<InstanceNetworkInterfaceSpecification>& Aws::EC2::Model::RequestSpotLaunchSpecification::GetNetworkInterfaces ( ) const
inline

One or more network interfaces. If you specify a network interface, you must specify subnet IDs and security group IDs using the network interface.

Definition at line 529 of file RequestSpotLaunchSpecification.h.

◆ GetPlacement()

const SpotPlacement& Aws::EC2::Model::RequestSpotLaunchSpecification::GetPlacement ( ) const
inline

The placement information for the instance.

Definition at line 577 of file RequestSpotLaunchSpecification.h.

◆ GetRamdiskId()

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

The ID of the RAM disk.

Definition at line 608 of file RequestSpotLaunchSpecification.h.

◆ GetSecurityGroupIds()

const Aws::Vector<Aws::String>& Aws::EC2::Model::RequestSpotLaunchSpecification::GetSecurityGroupIds ( ) const
inline

One or more security group IDs.

Definition at line 53 of file RequestSpotLaunchSpecification.h.

◆ GetSecurityGroups()

const Aws::Vector<Aws::String>& Aws::EC2::Model::RequestSpotLaunchSpecification::GetSecurityGroups ( ) const
inline

One or more security groups. When requesting instances in a VPC, you must specify the IDs of the security groups. When requesting instances in EC2-Classic, you can specify the names or the IDs of the security groups.

Definition at line 101 of file RequestSpotLaunchSpecification.h.

◆ GetSubnetId()

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

The ID of the subnet in which to launch the instance.

Definition at line 649 of file RequestSpotLaunchSpecification.h.

◆ GetUserData()

const Aws::String& Aws::EC2::Model::RequestSpotLaunchSpecification::GetUserData ( ) const
inline

The Base64-encoded user data for the instance. User data is limited to 16 KB.

Definition at line 691 of file RequestSpotLaunchSpecification.h.

◆ IamInstanceProfileHasBeenSet()

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

The IAM instance profile.

Definition at line 311 of file RequestSpotLaunchSpecification.h.

◆ ImageIdHasBeenSet()

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

The ID of the AMI.

Definition at line 342 of file RequestSpotLaunchSpecification.h.

◆ InstanceTypeHasBeenSet()

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

The instance type.

Definition at line 383 of file RequestSpotLaunchSpecification.h.

◆ KernelIdHasBeenSet()

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

The ID of the kernel.

Definition at line 414 of file RequestSpotLaunchSpecification.h.

◆ KeyNameHasBeenSet()

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

The name of the key pair.

Definition at line 455 of file RequestSpotLaunchSpecification.h.

◆ MonitoringHasBeenSet()

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

Indicates whether basic or detailed monitoring is enabled for the instance.

Default: Disabled

Definition at line 498 of file RequestSpotLaunchSpecification.h.

◆ NetworkInterfacesHasBeenSet()

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

One or more network interfaces. If you specify a network interface, you must specify subnet IDs and security group IDs using the network interface.

Definition at line 535 of file RequestSpotLaunchSpecification.h.

◆ operator=()

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

◆ OutputToStream() [1/2]

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

◆ OutputToStream() [2/2]

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

◆ PlacementHasBeenSet()

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

The placement information for the instance.

Definition at line 582 of file RequestSpotLaunchSpecification.h.

◆ RamdiskIdHasBeenSet()

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

The ID of the RAM disk.

Definition at line 613 of file RequestSpotLaunchSpecification.h.

◆ SecurityGroupIdsHasBeenSet()

bool Aws::EC2::Model::RequestSpotLaunchSpecification::SecurityGroupIdsHasBeenSet ( ) const
inline

One or more security group IDs.

Definition at line 58 of file RequestSpotLaunchSpecification.h.

◆ SecurityGroupsHasBeenSet()

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

One or more security groups. When requesting instances in a VPC, you must specify the IDs of the security groups. When requesting instances in EC2-Classic, you can specify the names or the IDs of the security groups.

Definition at line 108 of file RequestSpotLaunchSpecification.h.

◆ SetAddressingType() [1/3]

void Aws::EC2::Model::RequestSpotLaunchSpecification::SetAddressingType ( Aws::String &&  value)
inline

Deprecated.

Definition at line 178 of file RequestSpotLaunchSpecification.h.

◆ SetAddressingType() [2/3]

void Aws::EC2::Model::RequestSpotLaunchSpecification::SetAddressingType ( const Aws::String value)
inline

Deprecated.

Definition at line 173 of file RequestSpotLaunchSpecification.h.

◆ SetAddressingType() [3/3]

void Aws::EC2::Model::RequestSpotLaunchSpecification::SetAddressingType ( const char *  value)
inline

Deprecated.

Definition at line 183 of file RequestSpotLaunchSpecification.h.

◆ SetBlockDeviceMappings() [1/2]

void Aws::EC2::Model::RequestSpotLaunchSpecification::SetBlockDeviceMappings ( Aws::Vector< BlockDeviceMapping > &&  value)
inline

One or more block device mapping entries. You can't specify both a snapshot ID and an encryption value. This is because only blank volumes can be encrypted on creation. If a snapshot is the basis for a volume, it is not blank and its encryption status is used for the volume encryption status.

Definition at line 231 of file RequestSpotLaunchSpecification.h.

◆ SetBlockDeviceMappings() [2/2]

void Aws::EC2::Model::RequestSpotLaunchSpecification::SetBlockDeviceMappings ( const Aws::Vector< BlockDeviceMapping > &  value)
inline

One or more block device mapping entries. You can't specify both a snapshot ID and an encryption value. This is because only blank volumes can be encrypted on creation. If a snapshot is the basis for a volume, it is not blank and its encryption status is used for the volume encryption status.

Definition at line 223 of file RequestSpotLaunchSpecification.h.

◆ SetEbsOptimized()

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

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

Default: false

Definition at line 291 of file RequestSpotLaunchSpecification.h.

◆ SetIamInstanceProfile() [1/2]

void Aws::EC2::Model::RequestSpotLaunchSpecification::SetIamInstanceProfile ( const IamInstanceProfileSpecification value)
inline

The IAM instance profile.

Definition at line 316 of file RequestSpotLaunchSpecification.h.

◆ SetIamInstanceProfile() [2/2]

void Aws::EC2::Model::RequestSpotLaunchSpecification::SetIamInstanceProfile ( IamInstanceProfileSpecification &&  value)
inline

The IAM instance profile.

Definition at line 321 of file RequestSpotLaunchSpecification.h.

◆ SetImageId() [1/3]

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

The ID of the AMI.

Definition at line 352 of file RequestSpotLaunchSpecification.h.

◆ SetImageId() [2/3]

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

The ID of the AMI.

Definition at line 347 of file RequestSpotLaunchSpecification.h.

◆ SetImageId() [3/3]

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

The ID of the AMI.

Definition at line 357 of file RequestSpotLaunchSpecification.h.

◆ SetInstanceType() [1/2]

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

The instance type.

Definition at line 388 of file RequestSpotLaunchSpecification.h.

◆ SetInstanceType() [2/2]

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

The instance type.

Definition at line 393 of file RequestSpotLaunchSpecification.h.

◆ SetKernelId() [1/3]

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

The ID of the kernel.

Definition at line 424 of file RequestSpotLaunchSpecification.h.

◆ SetKernelId() [2/3]

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

The ID of the kernel.

Definition at line 419 of file RequestSpotLaunchSpecification.h.

◆ SetKernelId() [3/3]

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

The ID of the kernel.

Definition at line 429 of file RequestSpotLaunchSpecification.h.

◆ SetKeyName() [1/3]

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

The name of the key pair.

Definition at line 465 of file RequestSpotLaunchSpecification.h.

◆ SetKeyName() [2/3]

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

The name of the key pair.

Definition at line 460 of file RequestSpotLaunchSpecification.h.

◆ SetKeyName() [3/3]

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

The name of the key pair.

Definition at line 470 of file RequestSpotLaunchSpecification.h.

◆ SetMonitoring() [1/2]

void Aws::EC2::Model::RequestSpotLaunchSpecification::SetMonitoring ( const RunInstancesMonitoringEnabled value)
inline

Indicates whether basic or detailed monitoring is enabled for the instance.

Default: Disabled

Definition at line 504 of file RequestSpotLaunchSpecification.h.

◆ SetMonitoring() [2/2]

void Aws::EC2::Model::RequestSpotLaunchSpecification::SetMonitoring ( RunInstancesMonitoringEnabled &&  value)
inline

Indicates whether basic or detailed monitoring is enabled for the instance.

Default: Disabled

Definition at line 510 of file RequestSpotLaunchSpecification.h.

◆ SetNetworkInterfaces() [1/2]

void Aws::EC2::Model::RequestSpotLaunchSpecification::SetNetworkInterfaces ( Aws::Vector< InstanceNetworkInterfaceSpecification > &&  value)
inline

One or more network interfaces. If you specify a network interface, you must specify subnet IDs and security group IDs using the network interface.

Definition at line 547 of file RequestSpotLaunchSpecification.h.

◆ SetNetworkInterfaces() [2/2]

void Aws::EC2::Model::RequestSpotLaunchSpecification::SetNetworkInterfaces ( const Aws::Vector< InstanceNetworkInterfaceSpecification > &  value)
inline

One or more network interfaces. If you specify a network interface, you must specify subnet IDs and security group IDs using the network interface.

Definition at line 541 of file RequestSpotLaunchSpecification.h.

◆ SetPlacement() [1/2]

void Aws::EC2::Model::RequestSpotLaunchSpecification::SetPlacement ( const SpotPlacement value)
inline

The placement information for the instance.

Definition at line 587 of file RequestSpotLaunchSpecification.h.

◆ SetPlacement() [2/2]

void Aws::EC2::Model::RequestSpotLaunchSpecification::SetPlacement ( SpotPlacement &&  value)
inline

The placement information for the instance.

Definition at line 592 of file RequestSpotLaunchSpecification.h.

◆ SetRamdiskId() [1/3]

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

The ID of the RAM disk.

Definition at line 623 of file RequestSpotLaunchSpecification.h.

◆ SetRamdiskId() [2/3]

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

The ID of the RAM disk.

Definition at line 618 of file RequestSpotLaunchSpecification.h.

◆ SetRamdiskId() [3/3]

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

The ID of the RAM disk.

Definition at line 628 of file RequestSpotLaunchSpecification.h.

◆ SetSecurityGroupIds() [1/2]

void Aws::EC2::Model::RequestSpotLaunchSpecification::SetSecurityGroupIds ( Aws::Vector< Aws::String > &&  value)
inline

One or more security group IDs.

Definition at line 68 of file RequestSpotLaunchSpecification.h.

◆ SetSecurityGroupIds() [2/2]

void Aws::EC2::Model::RequestSpotLaunchSpecification::SetSecurityGroupIds ( const Aws::Vector< Aws::String > &  value)
inline

One or more security group IDs.

Definition at line 63 of file RequestSpotLaunchSpecification.h.

◆ SetSecurityGroups() [1/2]

void Aws::EC2::Model::RequestSpotLaunchSpecification::SetSecurityGroups ( Aws::Vector< Aws::String > &&  value)
inline

One or more security groups. When requesting instances in a VPC, you must specify the IDs of the security groups. When requesting instances in EC2-Classic, you can specify the names or the IDs of the security groups.

Definition at line 122 of file RequestSpotLaunchSpecification.h.

◆ SetSecurityGroups() [2/2]

void Aws::EC2::Model::RequestSpotLaunchSpecification::SetSecurityGroups ( const Aws::Vector< Aws::String > &  value)
inline

One or more security groups. When requesting instances in a VPC, you must specify the IDs of the security groups. When requesting instances in EC2-Classic, you can specify the names or the IDs of the security groups.

Definition at line 115 of file RequestSpotLaunchSpecification.h.

◆ SetSubnetId() [1/3]

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

The ID of the subnet in which to launch the instance.

Definition at line 664 of file RequestSpotLaunchSpecification.h.

◆ SetSubnetId() [2/3]

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

The ID of the subnet in which to launch the instance.

Definition at line 659 of file RequestSpotLaunchSpecification.h.

◆ SetSubnetId() [3/3]

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

The ID of the subnet in which to launch the instance.

Definition at line 669 of file RequestSpotLaunchSpecification.h.

◆ SetUserData() [1/3]

void Aws::EC2::Model::RequestSpotLaunchSpecification::SetUserData ( Aws::String &&  value)
inline

The Base64-encoded user data for the instance. User data is limited to 16 KB.

Definition at line 709 of file RequestSpotLaunchSpecification.h.

◆ SetUserData() [2/3]

void Aws::EC2::Model::RequestSpotLaunchSpecification::SetUserData ( const Aws::String value)
inline

The Base64-encoded user data for the instance. User data is limited to 16 KB.

Definition at line 703 of file RequestSpotLaunchSpecification.h.

◆ SetUserData() [3/3]

void Aws::EC2::Model::RequestSpotLaunchSpecification::SetUserData ( const char *  value)
inline

The Base64-encoded user data for the instance. User data is limited to 16 KB.

Definition at line 715 of file RequestSpotLaunchSpecification.h.

◆ SubnetIdHasBeenSet()

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

The ID of the subnet in which to launch the instance.

Definition at line 654 of file RequestSpotLaunchSpecification.h.

◆ UserDataHasBeenSet()

bool Aws::EC2::Model::RequestSpotLaunchSpecification::UserDataHasBeenSet ( ) const
inline

The Base64-encoded user data for the instance. User data is limited to 16 KB.

Definition at line 697 of file RequestSpotLaunchSpecification.h.

◆ WithAddressingType() [1/3]

RequestSpotLaunchSpecification& Aws::EC2::Model::RequestSpotLaunchSpecification::WithAddressingType ( Aws::String &&  value)
inline

Deprecated.

Definition at line 193 of file RequestSpotLaunchSpecification.h.

◆ WithAddressingType() [2/3]

RequestSpotLaunchSpecification& Aws::EC2::Model::RequestSpotLaunchSpecification::WithAddressingType ( const Aws::String value)
inline

Deprecated.

Definition at line 188 of file RequestSpotLaunchSpecification.h.

◆ WithAddressingType() [3/3]

RequestSpotLaunchSpecification& Aws::EC2::Model::RequestSpotLaunchSpecification::WithAddressingType ( const char *  value)
inline

Deprecated.

Definition at line 198 of file RequestSpotLaunchSpecification.h.

◆ WithBlockDeviceMappings() [1/2]

RequestSpotLaunchSpecification& Aws::EC2::Model::RequestSpotLaunchSpecification::WithBlockDeviceMappings ( Aws::Vector< BlockDeviceMapping > &&  value)
inline

One or more block device mapping entries. You can't specify both a snapshot ID and an encryption value. This is because only blank volumes can be encrypted on creation. If a snapshot is the basis for a volume, it is not blank and its encryption status is used for the volume encryption status.

Definition at line 247 of file RequestSpotLaunchSpecification.h.

◆ WithBlockDeviceMappings() [2/2]

RequestSpotLaunchSpecification& Aws::EC2::Model::RequestSpotLaunchSpecification::WithBlockDeviceMappings ( const Aws::Vector< BlockDeviceMapping > &  value)
inline

One or more block device mapping entries. You can't specify both a snapshot ID and an encryption value. This is because only blank volumes can be encrypted on creation. If a snapshot is the basis for a volume, it is not blank and its encryption status is used for the volume encryption status.

Definition at line 239 of file RequestSpotLaunchSpecification.h.

◆ WithEbsOptimized()

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

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

Default: false

Definition at line 300 of file RequestSpotLaunchSpecification.h.

◆ WithIamInstanceProfile() [1/2]

RequestSpotLaunchSpecification& Aws::EC2::Model::RequestSpotLaunchSpecification::WithIamInstanceProfile ( const IamInstanceProfileSpecification value)
inline

The IAM instance profile.

Definition at line 326 of file RequestSpotLaunchSpecification.h.

◆ WithIamInstanceProfile() [2/2]

RequestSpotLaunchSpecification& Aws::EC2::Model::RequestSpotLaunchSpecification::WithIamInstanceProfile ( IamInstanceProfileSpecification &&  value)
inline

The IAM instance profile.

Definition at line 331 of file RequestSpotLaunchSpecification.h.

◆ WithImageId() [1/3]

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

The ID of the AMI.

Definition at line 367 of file RequestSpotLaunchSpecification.h.

◆ WithImageId() [2/3]

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

The ID of the AMI.

Definition at line 362 of file RequestSpotLaunchSpecification.h.

◆ WithImageId() [3/3]

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

The ID of the AMI.

Definition at line 372 of file RequestSpotLaunchSpecification.h.

◆ WithInstanceType() [1/2]

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

The instance type.

Definition at line 398 of file RequestSpotLaunchSpecification.h.

◆ WithInstanceType() [2/2]

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

The instance type.

Definition at line 403 of file RequestSpotLaunchSpecification.h.

◆ WithKernelId() [1/3]

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

The ID of the kernel.

Definition at line 439 of file RequestSpotLaunchSpecification.h.

◆ WithKernelId() [2/3]

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

The ID of the kernel.

Definition at line 434 of file RequestSpotLaunchSpecification.h.

◆ WithKernelId() [3/3]

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

The ID of the kernel.

Definition at line 444 of file RequestSpotLaunchSpecification.h.

◆ WithKeyName() [1/3]

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

The name of the key pair.

Definition at line 480 of file RequestSpotLaunchSpecification.h.

◆ WithKeyName() [2/3]

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

The name of the key pair.

Definition at line 475 of file RequestSpotLaunchSpecification.h.

◆ WithKeyName() [3/3]

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

The name of the key pair.

Definition at line 485 of file RequestSpotLaunchSpecification.h.

◆ WithMonitoring() [1/2]

RequestSpotLaunchSpecification& Aws::EC2::Model::RequestSpotLaunchSpecification::WithMonitoring ( const RunInstancesMonitoringEnabled value)
inline

Indicates whether basic or detailed monitoring is enabled for the instance.

Default: Disabled

Definition at line 516 of file RequestSpotLaunchSpecification.h.

◆ WithMonitoring() [2/2]

RequestSpotLaunchSpecification& Aws::EC2::Model::RequestSpotLaunchSpecification::WithMonitoring ( RunInstancesMonitoringEnabled &&  value)
inline

Indicates whether basic or detailed monitoring is enabled for the instance.

Default: Disabled

Definition at line 522 of file RequestSpotLaunchSpecification.h.

◆ WithNetworkInterfaces() [1/2]

RequestSpotLaunchSpecification& Aws::EC2::Model::RequestSpotLaunchSpecification::WithNetworkInterfaces ( Aws::Vector< InstanceNetworkInterfaceSpecification > &&  value)
inline

One or more network interfaces. If you specify a network interface, you must specify subnet IDs and security group IDs using the network interface.

Definition at line 559 of file RequestSpotLaunchSpecification.h.

◆ WithNetworkInterfaces() [2/2]

RequestSpotLaunchSpecification& Aws::EC2::Model::RequestSpotLaunchSpecification::WithNetworkInterfaces ( const Aws::Vector< InstanceNetworkInterfaceSpecification > &  value)
inline

One or more network interfaces. If you specify a network interface, you must specify subnet IDs and security group IDs using the network interface.

Definition at line 553 of file RequestSpotLaunchSpecification.h.

◆ WithPlacement() [1/2]

RequestSpotLaunchSpecification& Aws::EC2::Model::RequestSpotLaunchSpecification::WithPlacement ( const SpotPlacement value)
inline

The placement information for the instance.

Definition at line 597 of file RequestSpotLaunchSpecification.h.

◆ WithPlacement() [2/2]

RequestSpotLaunchSpecification& Aws::EC2::Model::RequestSpotLaunchSpecification::WithPlacement ( SpotPlacement &&  value)
inline

The placement information for the instance.

Definition at line 602 of file RequestSpotLaunchSpecification.h.

◆ WithRamdiskId() [1/3]

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

The ID of the RAM disk.

Definition at line 638 of file RequestSpotLaunchSpecification.h.

◆ WithRamdiskId() [2/3]

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

The ID of the RAM disk.

Definition at line 633 of file RequestSpotLaunchSpecification.h.

◆ WithRamdiskId() [3/3]

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

The ID of the RAM disk.

Definition at line 643 of file RequestSpotLaunchSpecification.h.

◆ WithSecurityGroupIds() [1/2]

RequestSpotLaunchSpecification& Aws::EC2::Model::RequestSpotLaunchSpecification::WithSecurityGroupIds ( Aws::Vector< Aws::String > &&  value)
inline

One or more security group IDs.

Definition at line 78 of file RequestSpotLaunchSpecification.h.

◆ WithSecurityGroupIds() [2/2]

RequestSpotLaunchSpecification& Aws::EC2::Model::RequestSpotLaunchSpecification::WithSecurityGroupIds ( const Aws::Vector< Aws::String > &  value)
inline

One or more security group IDs.

Definition at line 73 of file RequestSpotLaunchSpecification.h.

◆ WithSecurityGroups() [1/2]

RequestSpotLaunchSpecification& Aws::EC2::Model::RequestSpotLaunchSpecification::WithSecurityGroups ( Aws::Vector< Aws::String > &&  value)
inline

One or more security groups. When requesting instances in a VPC, you must specify the IDs of the security groups. When requesting instances in EC2-Classic, you can specify the names or the IDs of the security groups.

Definition at line 136 of file RequestSpotLaunchSpecification.h.

◆ WithSecurityGroups() [2/2]

RequestSpotLaunchSpecification& Aws::EC2::Model::RequestSpotLaunchSpecification::WithSecurityGroups ( const Aws::Vector< Aws::String > &  value)
inline

One or more security groups. When requesting instances in a VPC, you must specify the IDs of the security groups. When requesting instances in EC2-Classic, you can specify the names or the IDs of the security groups.

Definition at line 129 of file RequestSpotLaunchSpecification.h.

◆ WithSubnetId() [1/3]

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

The ID of the subnet in which to launch the instance.

Definition at line 679 of file RequestSpotLaunchSpecification.h.

◆ WithSubnetId() [2/3]

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

The ID of the subnet in which to launch the instance.

Definition at line 674 of file RequestSpotLaunchSpecification.h.

◆ WithSubnetId() [3/3]

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

The ID of the subnet in which to launch the instance.

Definition at line 684 of file RequestSpotLaunchSpecification.h.

◆ WithUserData() [1/3]

RequestSpotLaunchSpecification& Aws::EC2::Model::RequestSpotLaunchSpecification::WithUserData ( Aws::String &&  value)
inline

The Base64-encoded user data for the instance. User data is limited to 16 KB.

Definition at line 727 of file RequestSpotLaunchSpecification.h.

◆ WithUserData() [2/3]

RequestSpotLaunchSpecification& Aws::EC2::Model::RequestSpotLaunchSpecification::WithUserData ( const Aws::String value)
inline

The Base64-encoded user data for the instance. User data is limited to 16 KB.

Definition at line 721 of file RequestSpotLaunchSpecification.h.

◆ WithUserData() [3/3]

RequestSpotLaunchSpecification& Aws::EC2::Model::RequestSpotLaunchSpecification::WithUserData ( const char *  value)
inline

The Base64-encoded user data for the instance. User data is limited to 16 KB.

Definition at line 733 of file RequestSpotLaunchSpecification.h.


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