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

#include <FleetLaunchTemplateOverrides.h>

Public Member Functions

 FleetLaunchTemplateOverrides ()
 
 FleetLaunchTemplateOverrides (const Aws::Utils::Xml::XmlNode &xmlNode)
 
FleetLaunchTemplateOverridesoperator= (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)
 
FleetLaunchTemplateOverridesWithInstanceType (const InstanceType &value)
 
FleetLaunchTemplateOverridesWithInstanceType (InstanceType &&value)
 
const Aws::StringGetMaxPrice () const
 
bool MaxPriceHasBeenSet () const
 
void SetMaxPrice (const Aws::String &value)
 
void SetMaxPrice (Aws::String &&value)
 
void SetMaxPrice (const char *value)
 
FleetLaunchTemplateOverridesWithMaxPrice (const Aws::String &value)
 
FleetLaunchTemplateOverridesWithMaxPrice (Aws::String &&value)
 
FleetLaunchTemplateOverridesWithMaxPrice (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)
 
FleetLaunchTemplateOverridesWithSubnetId (const Aws::String &value)
 
FleetLaunchTemplateOverridesWithSubnetId (Aws::String &&value)
 
FleetLaunchTemplateOverridesWithSubnetId (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)
 
FleetLaunchTemplateOverridesWithAvailabilityZone (const Aws::String &value)
 
FleetLaunchTemplateOverridesWithAvailabilityZone (Aws::String &&value)
 
FleetLaunchTemplateOverridesWithAvailabilityZone (const char *value)
 
double GetWeightedCapacity () const
 
bool WeightedCapacityHasBeenSet () const
 
void SetWeightedCapacity (double value)
 
FleetLaunchTemplateOverridesWithWeightedCapacity (double value)
 
double GetPriority () const
 
bool PriorityHasBeenSet () const
 
void SetPriority (double value)
 
FleetLaunchTemplateOverridesWithPriority (double value)
 
const PlacementResponseGetPlacement () const
 
bool PlacementHasBeenSet () const
 
void SetPlacement (const PlacementResponse &value)
 
void SetPlacement (PlacementResponse &&value)
 
FleetLaunchTemplateOverridesWithPlacement (const PlacementResponse &value)
 
FleetLaunchTemplateOverridesWithPlacement (PlacementResponse &&value)
 

Detailed Description

Describes overrides for a launch template.

See Also:

AWS API Reference

Definition at line 33 of file FleetLaunchTemplateOverrides.h.

Constructor & Destructor Documentation

◆ FleetLaunchTemplateOverrides() [1/2]

Aws::EC2::Model::FleetLaunchTemplateOverrides::FleetLaunchTemplateOverrides ( )

◆ FleetLaunchTemplateOverrides() [2/2]

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

Member Function Documentation

◆ AvailabilityZoneHasBeenSet()

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

The Availability Zone in which to launch the instances.

Definition at line 173 of file FleetLaunchTemplateOverrides.h.

◆ GetAvailabilityZone()

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

The Availability Zone in which to launch the instances.

Definition at line 168 of file FleetLaunchTemplateOverrides.h.

◆ GetInstanceType()

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

The instance type.

Definition at line 47 of file FleetLaunchTemplateOverrides.h.

◆ GetMaxPrice()

const Aws::String& Aws::EC2::Model::FleetLaunchTemplateOverrides::GetMaxPrice ( ) const
inline

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

Definition at line 79 of file FleetLaunchTemplateOverrides.h.

◆ GetPlacement()

const PlacementResponse& Aws::EC2::Model::FleetLaunchTemplateOverrides::GetPlacement ( ) const
inline

The location where the instance launched, if applicable.

Definition at line 291 of file FleetLaunchTemplateOverrides.h.

◆ GetPriority()

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

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

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

If the Spot AllocationStrategy is set to capacity-optimized-prioritized, EC2 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 override has the lowest priority. You can set the same priority for different launch template overrides.

Definition at line 240 of file FleetLaunchTemplateOverrides.h.

◆ GetSubnetId()

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

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

Definition at line 127 of file FleetLaunchTemplateOverrides.h.

◆ GetWeightedCapacity()

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

The number of units provided by the specified instance type.

Definition at line 209 of file FleetLaunchTemplateOverrides.h.

◆ InstanceTypeHasBeenSet()

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

The instance type.

Definition at line 52 of file FleetLaunchTemplateOverrides.h.

◆ MaxPriceHasBeenSet()

bool Aws::EC2::Model::FleetLaunchTemplateOverrides::MaxPriceHasBeenSet ( ) const
inline

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

Definition at line 85 of file FleetLaunchTemplateOverrides.h.

◆ operator=()

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

◆ OutputToStream() [1/2]

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

◆ OutputToStream() [2/2]

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

◆ PlacementHasBeenSet()

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

The location where the instance launched, if applicable.

Definition at line 296 of file FleetLaunchTemplateOverrides.h.

◆ PriorityHasBeenSet()

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

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

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

If the Spot AllocationStrategy is set to capacity-optimized-prioritized, EC2 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 override has the lowest priority. You can set the same priority for different launch template overrides.

Definition at line 255 of file FleetLaunchTemplateOverrides.h.

◆ SetAvailabilityZone() [1/3]

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

The Availability Zone in which to launch the instances.

Definition at line 183 of file FleetLaunchTemplateOverrides.h.

◆ SetAvailabilityZone() [2/3]

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

The Availability Zone in which to launch the instances.

Definition at line 178 of file FleetLaunchTemplateOverrides.h.

◆ SetAvailabilityZone() [3/3]

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

The Availability Zone in which to launch the instances.

Definition at line 188 of file FleetLaunchTemplateOverrides.h.

◆ SetInstanceType() [1/2]

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

The instance type.

Definition at line 57 of file FleetLaunchTemplateOverrides.h.

◆ SetInstanceType() [2/2]

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

The instance type.

Definition at line 62 of file FleetLaunchTemplateOverrides.h.

◆ SetMaxPrice() [1/3]

void Aws::EC2::Model::FleetLaunchTemplateOverrides::SetMaxPrice ( Aws::String &&  value)
inline

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

Definition at line 97 of file FleetLaunchTemplateOverrides.h.

◆ SetMaxPrice() [2/3]

void Aws::EC2::Model::FleetLaunchTemplateOverrides::SetMaxPrice ( const Aws::String value)
inline

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

Definition at line 91 of file FleetLaunchTemplateOverrides.h.

◆ SetMaxPrice() [3/3]

void Aws::EC2::Model::FleetLaunchTemplateOverrides::SetMaxPrice ( const char *  value)
inline

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

Definition at line 103 of file FleetLaunchTemplateOverrides.h.

◆ SetPlacement() [1/2]

void Aws::EC2::Model::FleetLaunchTemplateOverrides::SetPlacement ( const PlacementResponse value)
inline

The location where the instance launched, if applicable.

Definition at line 301 of file FleetLaunchTemplateOverrides.h.

◆ SetPlacement() [2/2]

void Aws::EC2::Model::FleetLaunchTemplateOverrides::SetPlacement ( PlacementResponse &&  value)
inline

The location where the instance launched, if applicable.

Definition at line 306 of file FleetLaunchTemplateOverrides.h.

◆ SetPriority()

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

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

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

If the Spot AllocationStrategy is set to capacity-optimized-prioritized, EC2 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 override has the lowest priority. You can set the same priority for different launch template overrides.

Definition at line 270 of file FleetLaunchTemplateOverrides.h.

◆ SetSubnetId() [1/3]

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

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

Definition at line 142 of file FleetLaunchTemplateOverrides.h.

◆ SetSubnetId() [2/3]

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

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

Definition at line 137 of file FleetLaunchTemplateOverrides.h.

◆ SetSubnetId() [3/3]

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

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

Definition at line 147 of file FleetLaunchTemplateOverrides.h.

◆ SetWeightedCapacity()

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

The number of units provided by the specified instance type.

Definition at line 219 of file FleetLaunchTemplateOverrides.h.

◆ SubnetIdHasBeenSet()

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

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

Definition at line 132 of file FleetLaunchTemplateOverrides.h.

◆ WeightedCapacityHasBeenSet()

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

The number of units provided by the specified instance type.

Definition at line 214 of file FleetLaunchTemplateOverrides.h.

◆ WithAvailabilityZone() [1/3]

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

The Availability Zone in which to launch the instances.

Definition at line 198 of file FleetLaunchTemplateOverrides.h.

◆ WithAvailabilityZone() [2/3]

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

The Availability Zone in which to launch the instances.

Definition at line 193 of file FleetLaunchTemplateOverrides.h.

◆ WithAvailabilityZone() [3/3]

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

The Availability Zone in which to launch the instances.

Definition at line 203 of file FleetLaunchTemplateOverrides.h.

◆ WithInstanceType() [1/2]

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

The instance type.

Definition at line 67 of file FleetLaunchTemplateOverrides.h.

◆ WithInstanceType() [2/2]

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

The instance type.

Definition at line 72 of file FleetLaunchTemplateOverrides.h.

◆ WithMaxPrice() [1/3]

FleetLaunchTemplateOverrides& Aws::EC2::Model::FleetLaunchTemplateOverrides::WithMaxPrice ( Aws::String &&  value)
inline

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

Definition at line 115 of file FleetLaunchTemplateOverrides.h.

◆ WithMaxPrice() [2/3]

FleetLaunchTemplateOverrides& Aws::EC2::Model::FleetLaunchTemplateOverrides::WithMaxPrice ( const Aws::String value)
inline

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

Definition at line 109 of file FleetLaunchTemplateOverrides.h.

◆ WithMaxPrice() [3/3]

FleetLaunchTemplateOverrides& Aws::EC2::Model::FleetLaunchTemplateOverrides::WithMaxPrice ( const char *  value)
inline

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

Definition at line 121 of file FleetLaunchTemplateOverrides.h.

◆ WithPlacement() [1/2]

FleetLaunchTemplateOverrides& Aws::EC2::Model::FleetLaunchTemplateOverrides::WithPlacement ( const PlacementResponse value)
inline

The location where the instance launched, if applicable.

Definition at line 311 of file FleetLaunchTemplateOverrides.h.

◆ WithPlacement() [2/2]

FleetLaunchTemplateOverrides& Aws::EC2::Model::FleetLaunchTemplateOverrides::WithPlacement ( PlacementResponse &&  value)
inline

The location where the instance launched, if applicable.

Definition at line 316 of file FleetLaunchTemplateOverrides.h.

◆ WithPriority()

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

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

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

If the Spot AllocationStrategy is set to capacity-optimized-prioritized, EC2 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 override has the lowest priority. You can set the same priority for different launch template overrides.

Definition at line 285 of file FleetLaunchTemplateOverrides.h.

◆ WithSubnetId() [1/3]

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

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

Definition at line 157 of file FleetLaunchTemplateOverrides.h.

◆ WithSubnetId() [2/3]

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

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

Definition at line 152 of file FleetLaunchTemplateOverrides.h.

◆ WithSubnetId() [3/3]

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

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

Definition at line 162 of file FleetLaunchTemplateOverrides.h.

◆ WithWeightedCapacity()

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

The number of units provided by the specified instance type.

Definition at line 224 of file FleetLaunchTemplateOverrides.h.


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