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

#include <FleetLaunchTemplateOverridesRequest.h>

Public Member Functions

 FleetLaunchTemplateOverridesRequest ()
 
 FleetLaunchTemplateOverridesRequest (const Aws::Utils::Xml::XmlNode &xmlNode)
 
FleetLaunchTemplateOverridesRequestoperator= (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)
 
FleetLaunchTemplateOverridesRequestWithInstanceType (const InstanceType &value)
 
FleetLaunchTemplateOverridesRequestWithInstanceType (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)
 
FleetLaunchTemplateOverridesRequestWithMaxPrice (const Aws::String &value)
 
FleetLaunchTemplateOverridesRequestWithMaxPrice (Aws::String &&value)
 
FleetLaunchTemplateOverridesRequestWithMaxPrice (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)
 
FleetLaunchTemplateOverridesRequestWithSubnetId (const Aws::String &value)
 
FleetLaunchTemplateOverridesRequestWithSubnetId (Aws::String &&value)
 
FleetLaunchTemplateOverridesRequestWithSubnetId (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)
 
FleetLaunchTemplateOverridesRequestWithAvailabilityZone (const Aws::String &value)
 
FleetLaunchTemplateOverridesRequestWithAvailabilityZone (Aws::String &&value)
 
FleetLaunchTemplateOverridesRequestWithAvailabilityZone (const char *value)
 
double GetWeightedCapacity () const
 
bool WeightedCapacityHasBeenSet () const
 
void SetWeightedCapacity (double value)
 
FleetLaunchTemplateOverridesRequestWithWeightedCapacity (double value)
 
double GetPriority () const
 
bool PriorityHasBeenSet () const
 
void SetPriority (double value)
 
FleetLaunchTemplateOverridesRequestWithPriority (double value)
 
const PlacementGetPlacement () const
 
bool PlacementHasBeenSet () const
 
void SetPlacement (const Placement &value)
 
void SetPlacement (Placement &&value)
 
FleetLaunchTemplateOverridesRequestWithPlacement (const Placement &value)
 
FleetLaunchTemplateOverridesRequestWithPlacement (Placement &&value)
 

Detailed Description

Describes overrides for a launch template.

See Also:

AWS API Reference

Definition at line 33 of file FleetLaunchTemplateOverridesRequest.h.

Constructor & Destructor Documentation

◆ FleetLaunchTemplateOverridesRequest() [1/2]

Aws::EC2::Model::FleetLaunchTemplateOverridesRequest::FleetLaunchTemplateOverridesRequest ( )

◆ FleetLaunchTemplateOverridesRequest() [2/2]

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

Member Function Documentation

◆ AvailabilityZoneHasBeenSet()

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

The Availability Zone in which to launch the instances.

Definition at line 197 of file FleetLaunchTemplateOverridesRequest.h.

◆ GetAvailabilityZone()

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

The Availability Zone in which to launch the instances.

Definition at line 192 of file FleetLaunchTemplateOverridesRequest.h.

◆ GetInstanceType()

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

The instance type.

Definition at line 47 of file FleetLaunchTemplateOverridesRequest.h.

◆ GetMaxPrice()

const Aws::String& Aws::EC2::Model::FleetLaunchTemplateOverridesRequest::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 FleetLaunchTemplateOverridesRequest.h.

◆ GetPlacement()

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

The location where the instance launched, if applicable.

Definition at line 319 of file FleetLaunchTemplateOverridesRequest.h.

◆ GetPriority()

double Aws::EC2::Model::FleetLaunchTemplateOverridesRequest::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 launch template override has the lowest priority. You can set the same priority for different launch template overrides.

Definition at line 265 of file FleetLaunchTemplateOverridesRequest.h.

◆ GetSubnetId()

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

The IDs of the subnets in which to launch the instances. Separate multiple subnet IDs using commas (for example, subnet-1234abcdeexample1, subnet-0987cdef6example2). A request of type instant can have only one subnet ID.

Definition at line 130 of file FleetLaunchTemplateOverridesRequest.h.

◆ GetWeightedCapacity()

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

The number of units provided by the specified instance type.

Definition at line 233 of file FleetLaunchTemplateOverridesRequest.h.

◆ InstanceTypeHasBeenSet()

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

The instance type.

Definition at line 52 of file FleetLaunchTemplateOverridesRequest.h.

◆ MaxPriceHasBeenSet()

bool Aws::EC2::Model::FleetLaunchTemplateOverridesRequest::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 FleetLaunchTemplateOverridesRequest.h.

◆ operator=()

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

◆ OutputToStream() [1/2]

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

◆ OutputToStream() [2/2]

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

◆ PlacementHasBeenSet()

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

The location where the instance launched, if applicable.

Definition at line 324 of file FleetLaunchTemplateOverridesRequest.h.

◆ PriorityHasBeenSet()

bool Aws::EC2::Model::FleetLaunchTemplateOverridesRequest::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 launch template override has the lowest priority. You can set the same priority for different launch template overrides.

Definition at line 281 of file FleetLaunchTemplateOverridesRequest.h.

◆ SetAvailabilityZone() [1/3]

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

The Availability Zone in which to launch the instances.

Definition at line 207 of file FleetLaunchTemplateOverridesRequest.h.

◆ SetAvailabilityZone() [2/3]

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

The Availability Zone in which to launch the instances.

Definition at line 202 of file FleetLaunchTemplateOverridesRequest.h.

◆ SetAvailabilityZone() [3/3]

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

The Availability Zone in which to launch the instances.

Definition at line 212 of file FleetLaunchTemplateOverridesRequest.h.

◆ SetInstanceType() [1/2]

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

The instance type.

Definition at line 57 of file FleetLaunchTemplateOverridesRequest.h.

◆ SetInstanceType() [2/2]

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

The instance type.

Definition at line 62 of file FleetLaunchTemplateOverridesRequest.h.

◆ SetMaxPrice() [1/3]

void Aws::EC2::Model::FleetLaunchTemplateOverridesRequest::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 FleetLaunchTemplateOverridesRequest.h.

◆ SetMaxPrice() [2/3]

void Aws::EC2::Model::FleetLaunchTemplateOverridesRequest::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 FleetLaunchTemplateOverridesRequest.h.

◆ SetMaxPrice() [3/3]

void Aws::EC2::Model::FleetLaunchTemplateOverridesRequest::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 FleetLaunchTemplateOverridesRequest.h.

◆ SetPlacement() [1/2]

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

The location where the instance launched, if applicable.

Definition at line 329 of file FleetLaunchTemplateOverridesRequest.h.

◆ SetPlacement() [2/2]

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

The location where the instance launched, if applicable.

Definition at line 334 of file FleetLaunchTemplateOverridesRequest.h.

◆ SetPriority()

void Aws::EC2::Model::FleetLaunchTemplateOverridesRequest::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 launch template override has the lowest priority. You can set the same priority for different launch template overrides.

Definition at line 297 of file FleetLaunchTemplateOverridesRequest.h.

◆ SetSubnetId() [1/3]

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

The IDs of the subnets in which to launch the instances. Separate multiple subnet IDs using commas (for example, subnet-1234abcdeexample1, subnet-0987cdef6example2). A request of type instant can have only one subnet ID.

Definition at line 154 of file FleetLaunchTemplateOverridesRequest.h.

◆ SetSubnetId() [2/3]

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

The IDs of the subnets in which to launch the instances. Separate multiple subnet IDs using commas (for example, subnet-1234abcdeexample1, subnet-0987cdef6example2). A request of type instant can have only one subnet ID.

Definition at line 146 of file FleetLaunchTemplateOverridesRequest.h.

◆ SetSubnetId() [3/3]

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

The IDs of the subnets in which to launch the instances. Separate multiple subnet IDs using commas (for example, subnet-1234abcdeexample1, subnet-0987cdef6example2). A request of type instant can have only one subnet ID.

Definition at line 162 of file FleetLaunchTemplateOverridesRequest.h.

◆ SetWeightedCapacity()

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

The number of units provided by the specified instance type.

Definition at line 243 of file FleetLaunchTemplateOverridesRequest.h.

◆ SubnetIdHasBeenSet()

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

The IDs of the subnets in which to launch the instances. Separate multiple subnet IDs using commas (for example, subnet-1234abcdeexample1, subnet-0987cdef6example2). A request of type instant can have only one subnet ID.

Definition at line 138 of file FleetLaunchTemplateOverridesRequest.h.

◆ WeightedCapacityHasBeenSet()

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

The number of units provided by the specified instance type.

Definition at line 238 of file FleetLaunchTemplateOverridesRequest.h.

◆ WithAvailabilityZone() [1/3]

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

The Availability Zone in which to launch the instances.

Definition at line 222 of file FleetLaunchTemplateOverridesRequest.h.

◆ WithAvailabilityZone() [2/3]

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

The Availability Zone in which to launch the instances.

Definition at line 217 of file FleetLaunchTemplateOverridesRequest.h.

◆ WithAvailabilityZone() [3/3]

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

The Availability Zone in which to launch the instances.

Definition at line 227 of file FleetLaunchTemplateOverridesRequest.h.

◆ WithInstanceType() [1/2]

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

The instance type.

Definition at line 67 of file FleetLaunchTemplateOverridesRequest.h.

◆ WithInstanceType() [2/2]

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

The instance type.

Definition at line 72 of file FleetLaunchTemplateOverridesRequest.h.

◆ WithMaxPrice() [1/3]

FleetLaunchTemplateOverridesRequest& Aws::EC2::Model::FleetLaunchTemplateOverridesRequest::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 FleetLaunchTemplateOverridesRequest.h.

◆ WithMaxPrice() [2/3]

FleetLaunchTemplateOverridesRequest& Aws::EC2::Model::FleetLaunchTemplateOverridesRequest::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 FleetLaunchTemplateOverridesRequest.h.

◆ WithMaxPrice() [3/3]

FleetLaunchTemplateOverridesRequest& Aws::EC2::Model::FleetLaunchTemplateOverridesRequest::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 FleetLaunchTemplateOverridesRequest.h.

◆ WithPlacement() [1/2]

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

The location where the instance launched, if applicable.

Definition at line 339 of file FleetLaunchTemplateOverridesRequest.h.

◆ WithPlacement() [2/2]

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

The location where the instance launched, if applicable.

Definition at line 344 of file FleetLaunchTemplateOverridesRequest.h.

◆ WithPriority()

FleetLaunchTemplateOverridesRequest& Aws::EC2::Model::FleetLaunchTemplateOverridesRequest::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 launch template override has the lowest priority. You can set the same priority for different launch template overrides.

Definition at line 313 of file FleetLaunchTemplateOverridesRequest.h.

◆ WithSubnetId() [1/3]

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

The IDs of the subnets in which to launch the instances. Separate multiple subnet IDs using commas (for example, subnet-1234abcdeexample1, subnet-0987cdef6example2). A request of type instant can have only one subnet ID.

Definition at line 178 of file FleetLaunchTemplateOverridesRequest.h.

◆ WithSubnetId() [2/3]

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

The IDs of the subnets in which to launch the instances. Separate multiple subnet IDs using commas (for example, subnet-1234abcdeexample1, subnet-0987cdef6example2). A request of type instant can have only one subnet ID.

Definition at line 170 of file FleetLaunchTemplateOverridesRequest.h.

◆ WithSubnetId() [3/3]

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

The IDs of the subnets in which to launch the instances. Separate multiple subnet IDs using commas (for example, subnet-1234abcdeexample1, subnet-0987cdef6example2). A request of type instant can have only one subnet ID.

Definition at line 186 of file FleetLaunchTemplateOverridesRequest.h.

◆ WithWeightedCapacity()

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

The number of units provided by the specified instance type.

Definition at line 248 of file FleetLaunchTemplateOverridesRequest.h.


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