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

#include <LaunchTemplateOverrides.h>

Public Member Functions

 LaunchTemplateOverrides ()
 
 LaunchTemplateOverrides (const Aws::Utils::Xml::XmlNode &xmlNode)
 
LaunchTemplateOverridesoperator= (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 InstanceTypeGetInstanceType () const
 
bool InstanceTypeHasBeenSet () const
 
void SetInstanceType (const InstanceType &value)
 
void SetInstanceType (InstanceType &&value)
 
LaunchTemplateOverridesWithInstanceType (const InstanceType &value)
 
LaunchTemplateOverridesWithInstanceType (InstanceType &&value)
 
const Aws::StringGetSpotPrice () const
 
bool SpotPriceHasBeenSet () const
 
void SetSpotPrice (const Aws::String &value)
 
void SetSpotPrice (Aws::String &&value)
 
void SetSpotPrice (const char *value)
 
LaunchTemplateOverridesWithSpotPrice (const Aws::String &value)
 
LaunchTemplateOverridesWithSpotPrice (Aws::String &&value)
 
LaunchTemplateOverridesWithSpotPrice (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)
 
LaunchTemplateOverridesWithSubnetId (const Aws::String &value)
 
LaunchTemplateOverridesWithSubnetId (Aws::String &&value)
 
LaunchTemplateOverridesWithSubnetId (const char *value)
 
const Aws::StringGetAvailabilityZone () const
 
bool AvailabilityZoneHasBeenSet () const
 
void SetAvailabilityZone (const Aws::String &value)
 
void SetAvailabilityZone (Aws::String &&value)
 
void SetAvailabilityZone (const char *value)
 
LaunchTemplateOverridesWithAvailabilityZone (const Aws::String &value)
 
LaunchTemplateOverridesWithAvailabilityZone (Aws::String &&value)
 
LaunchTemplateOverridesWithAvailabilityZone (const char *value)
 
double GetWeightedCapacity () const
 
bool WeightedCapacityHasBeenSet () const
 
void SetWeightedCapacity (double value)
 
LaunchTemplateOverridesWithWeightedCapacity (double value)
 
double GetPriority () const
 
bool PriorityHasBeenSet () const
 
void SetPriority (double value)
 
LaunchTemplateOverridesWithPriority (double value)
 

Detailed Description

Describes overrides for a launch template.

See Also:

AWS API Reference

Definition at line 32 of file LaunchTemplateOverrides.h.

Constructor & Destructor Documentation

◆ LaunchTemplateOverrides() [1/2]

Aws::EC2::Model::LaunchTemplateOverrides::LaunchTemplateOverrides ( )

◆ LaunchTemplateOverrides() [2/2]

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

Member Function Documentation

◆ AvailabilityZoneHasBeenSet()

bool Aws::EC2::Model::LaunchTemplateOverrides::AvailabilityZoneHasBeenSet ( ) const
inline

The Availability Zone in which to launch the instances.

Definition at line 172 of file LaunchTemplateOverrides.h.

◆ GetAvailabilityZone()

const Aws::String& Aws::EC2::Model::LaunchTemplateOverrides::GetAvailabilityZone ( ) const
inline

The Availability Zone in which to launch the instances.

Definition at line 167 of file LaunchTemplateOverrides.h.

◆ GetInstanceType()

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

The instance type.

Definition at line 46 of file LaunchTemplateOverrides.h.

◆ GetPriority()

double Aws::EC2::Model::LaunchTemplateOverrides::GetPriority ( ) const
inline

The priority for the launch template override. The highest priority is launched first.

If OnDemandAllocationStrategy is set to prioritized, Spot Fleet uses priority to determine which launch template override to use first in fulfilling On-Demand capacity.

If the Spot AllocationStrategy is set to capacityOptimizedPrioritized, Spot Fleet uses priority on a best-effort basis to determine which launch template override to use in fulfilling Spot capacity, but optimizes for capacity first.

Valid values are whole numbers starting at 0. The lower the number, the higher the priority. If no number is set, the launch template override has the lowest priority. You can set the same priority for different launch template overrides.

Definition at line 240 of file LaunchTemplateOverrides.h.

◆ GetSpotPrice()

const Aws::String& Aws::EC2::Model::LaunchTemplateOverrides::GetSpotPrice ( ) const
inline

The maximum price per unit hour that you are willing to pay for a Spot Instance.

Definition at line 78 of file LaunchTemplateOverrides.h.

◆ GetSubnetId()

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

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

Definition at line 126 of file LaunchTemplateOverrides.h.

◆ GetWeightedCapacity()

double Aws::EC2::Model::LaunchTemplateOverrides::GetWeightedCapacity ( ) const
inline

The number of units provided by the specified instance type.

Definition at line 208 of file LaunchTemplateOverrides.h.

◆ InstanceTypeHasBeenSet()

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

The instance type.

Definition at line 51 of file LaunchTemplateOverrides.h.

◆ operator=()

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

◆ OutputToStream() [1/2]

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

◆ OutputToStream() [2/2]

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

◆ PriorityHasBeenSet()

bool Aws::EC2::Model::LaunchTemplateOverrides::PriorityHasBeenSet ( ) const
inline

The priority for the launch template override. The highest priority is launched first.

If OnDemandAllocationStrategy is set to prioritized, Spot Fleet uses priority to determine which launch template override to use first in fulfilling On-Demand capacity.

If the Spot AllocationStrategy is set to capacityOptimizedPrioritized, Spot Fleet uses priority on a best-effort basis to determine which launch template override to use in fulfilling Spot capacity, but optimizes for capacity first.

Valid values are whole numbers starting at 0. The lower the number, the higher the priority. If no number is set, the launch template override has the lowest priority. You can set the same priority for different launch template overrides.

Definition at line 256 of file LaunchTemplateOverrides.h.

◆ SetAvailabilityZone() [1/3]

void Aws::EC2::Model::LaunchTemplateOverrides::SetAvailabilityZone ( Aws::String &&  value)
inline

The Availability Zone in which to launch the instances.

Definition at line 182 of file LaunchTemplateOverrides.h.

◆ SetAvailabilityZone() [2/3]

void Aws::EC2::Model::LaunchTemplateOverrides::SetAvailabilityZone ( const Aws::String value)
inline

The Availability Zone in which to launch the instances.

Definition at line 177 of file LaunchTemplateOverrides.h.

◆ SetAvailabilityZone() [3/3]

void Aws::EC2::Model::LaunchTemplateOverrides::SetAvailabilityZone ( const char *  value)
inline

The Availability Zone in which to launch the instances.

Definition at line 187 of file LaunchTemplateOverrides.h.

◆ SetInstanceType() [1/2]

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

The instance type.

Definition at line 56 of file LaunchTemplateOverrides.h.

◆ SetInstanceType() [2/2]

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

The instance type.

Definition at line 61 of file LaunchTemplateOverrides.h.

◆ SetPriority()

void Aws::EC2::Model::LaunchTemplateOverrides::SetPriority ( double  value)
inline

The priority for the launch template override. The highest priority is launched first.

If OnDemandAllocationStrategy is set to prioritized, Spot Fleet uses priority to determine which launch template override to use first in fulfilling On-Demand capacity.

If the Spot AllocationStrategy is set to capacityOptimizedPrioritized, Spot Fleet uses priority on a best-effort basis to determine which launch template override to use in fulfilling Spot capacity, but optimizes for capacity first.

Valid values are whole numbers starting at 0. The lower the number, the higher the priority. If no number is set, the launch template override has the lowest priority. You can set the same priority for different launch template overrides.

Definition at line 272 of file LaunchTemplateOverrides.h.

◆ SetSpotPrice() [1/3]

void Aws::EC2::Model::LaunchTemplateOverrides::SetSpotPrice ( Aws::String &&  value)
inline

The maximum price per unit hour that you are willing to pay for a Spot Instance.

Definition at line 96 of file LaunchTemplateOverrides.h.

◆ SetSpotPrice() [2/3]

void Aws::EC2::Model::LaunchTemplateOverrides::SetSpotPrice ( const Aws::String value)
inline

The maximum price per unit hour that you are willing to pay for a Spot Instance.

Definition at line 90 of file LaunchTemplateOverrides.h.

◆ SetSpotPrice() [3/3]

void Aws::EC2::Model::LaunchTemplateOverrides::SetSpotPrice ( const char *  value)
inline

The maximum price per unit hour that you are willing to pay for a Spot Instance.

Definition at line 102 of file LaunchTemplateOverrides.h.

◆ SetSubnetId() [1/3]

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

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

Definition at line 141 of file LaunchTemplateOverrides.h.

◆ SetSubnetId() [2/3]

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

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

Definition at line 136 of file LaunchTemplateOverrides.h.

◆ SetSubnetId() [3/3]

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

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

Definition at line 146 of file LaunchTemplateOverrides.h.

◆ SetWeightedCapacity()

void Aws::EC2::Model::LaunchTemplateOverrides::SetWeightedCapacity ( double  value)
inline

The number of units provided by the specified instance type.

Definition at line 218 of file LaunchTemplateOverrides.h.

◆ SpotPriceHasBeenSet()

bool Aws::EC2::Model::LaunchTemplateOverrides::SpotPriceHasBeenSet ( ) const
inline

The maximum price per unit hour that you are willing to pay for a Spot Instance.

Definition at line 84 of file LaunchTemplateOverrides.h.

◆ SubnetIdHasBeenSet()

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

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

Definition at line 131 of file LaunchTemplateOverrides.h.

◆ WeightedCapacityHasBeenSet()

bool Aws::EC2::Model::LaunchTemplateOverrides::WeightedCapacityHasBeenSet ( ) const
inline

The number of units provided by the specified instance type.

Definition at line 213 of file LaunchTemplateOverrides.h.

◆ WithAvailabilityZone() [1/3]

LaunchTemplateOverrides& Aws::EC2::Model::LaunchTemplateOverrides::WithAvailabilityZone ( Aws::String &&  value)
inline

The Availability Zone in which to launch the instances.

Definition at line 197 of file LaunchTemplateOverrides.h.

◆ WithAvailabilityZone() [2/3]

LaunchTemplateOverrides& Aws::EC2::Model::LaunchTemplateOverrides::WithAvailabilityZone ( const Aws::String value)
inline

The Availability Zone in which to launch the instances.

Definition at line 192 of file LaunchTemplateOverrides.h.

◆ WithAvailabilityZone() [3/3]

LaunchTemplateOverrides& Aws::EC2::Model::LaunchTemplateOverrides::WithAvailabilityZone ( const char *  value)
inline

The Availability Zone in which to launch the instances.

Definition at line 202 of file LaunchTemplateOverrides.h.

◆ WithInstanceType() [1/2]

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

The instance type.

Definition at line 66 of file LaunchTemplateOverrides.h.

◆ WithInstanceType() [2/2]

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

The instance type.

Definition at line 71 of file LaunchTemplateOverrides.h.

◆ WithPriority()

LaunchTemplateOverrides& Aws::EC2::Model::LaunchTemplateOverrides::WithPriority ( double  value)
inline

The priority for the launch template override. The highest priority is launched first.

If OnDemandAllocationStrategy is set to prioritized, Spot Fleet uses priority to determine which launch template override to use first in fulfilling On-Demand capacity.

If the Spot AllocationStrategy is set to capacityOptimizedPrioritized, Spot Fleet uses priority on a best-effort basis to determine which launch template override to use in fulfilling Spot capacity, but optimizes for capacity first.

Valid values are whole numbers starting at 0. The lower the number, the higher the priority. If no number is set, the launch template override has the lowest priority. You can set the same priority for different launch template overrides.

Definition at line 288 of file LaunchTemplateOverrides.h.

◆ WithSpotPrice() [1/3]

LaunchTemplateOverrides& Aws::EC2::Model::LaunchTemplateOverrides::WithSpotPrice ( Aws::String &&  value)
inline

The maximum price per unit hour that you are willing to pay for a Spot Instance.

Definition at line 114 of file LaunchTemplateOverrides.h.

◆ WithSpotPrice() [2/3]

LaunchTemplateOverrides& Aws::EC2::Model::LaunchTemplateOverrides::WithSpotPrice ( const Aws::String value)
inline

The maximum price per unit hour that you are willing to pay for a Spot Instance.

Definition at line 108 of file LaunchTemplateOverrides.h.

◆ WithSpotPrice() [3/3]

LaunchTemplateOverrides& Aws::EC2::Model::LaunchTemplateOverrides::WithSpotPrice ( const char *  value)
inline

The maximum price per unit hour that you are willing to pay for a Spot Instance.

Definition at line 120 of file LaunchTemplateOverrides.h.

◆ WithSubnetId() [1/3]

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

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

Definition at line 156 of file LaunchTemplateOverrides.h.

◆ WithSubnetId() [2/3]

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

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

Definition at line 151 of file LaunchTemplateOverrides.h.

◆ WithSubnetId() [3/3]

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

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

Definition at line 161 of file LaunchTemplateOverrides.h.

◆ WithWeightedCapacity()

LaunchTemplateOverrides& Aws::EC2::Model::LaunchTemplateOverrides::WithWeightedCapacity ( double  value)
inline

The number of units provided by the specified instance type.

Definition at line 223 of file LaunchTemplateOverrides.h.


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