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

#include <LaunchTemplateSpotMarketOptions.h>

Public Member Functions

 LaunchTemplateSpotMarketOptions ()
 
 LaunchTemplateSpotMarketOptions (const Aws::Utils::Xml::XmlNode &xmlNode)
 
LaunchTemplateSpotMarketOptionsoperator= (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::StringGetMaxPrice () const
 
bool MaxPriceHasBeenSet () const
 
void SetMaxPrice (const Aws::String &value)
 
void SetMaxPrice (Aws::String &&value)
 
void SetMaxPrice (const char *value)
 
LaunchTemplateSpotMarketOptionsWithMaxPrice (const Aws::String &value)
 
LaunchTemplateSpotMarketOptionsWithMaxPrice (Aws::String &&value)
 
LaunchTemplateSpotMarketOptionsWithMaxPrice (const char *value)
 
const SpotInstanceTypeGetSpotInstanceType () const
 
bool SpotInstanceTypeHasBeenSet () const
 
void SetSpotInstanceType (const SpotInstanceType &value)
 
void SetSpotInstanceType (SpotInstanceType &&value)
 
LaunchTemplateSpotMarketOptionsWithSpotInstanceType (const SpotInstanceType &value)
 
LaunchTemplateSpotMarketOptionsWithSpotInstanceType (SpotInstanceType &&value)
 
int GetBlockDurationMinutes () const
 
bool BlockDurationMinutesHasBeenSet () const
 
void SetBlockDurationMinutes (int value)
 
LaunchTemplateSpotMarketOptionsWithBlockDurationMinutes (int value)
 
const Aws::Utils::DateTimeGetValidUntil () const
 
bool ValidUntilHasBeenSet () const
 
void SetValidUntil (const Aws::Utils::DateTime &value)
 
void SetValidUntil (Aws::Utils::DateTime &&value)
 
LaunchTemplateSpotMarketOptionsWithValidUntil (const Aws::Utils::DateTime &value)
 
LaunchTemplateSpotMarketOptionsWithValidUntil (Aws::Utils::DateTime &&value)
 
const InstanceInterruptionBehaviorGetInstanceInterruptionBehavior () const
 
bool InstanceInterruptionBehaviorHasBeenSet () const
 
void SetInstanceInterruptionBehavior (const InstanceInterruptionBehavior &value)
 
void SetInstanceInterruptionBehavior (InstanceInterruptionBehavior &&value)
 
LaunchTemplateSpotMarketOptionsWithInstanceInterruptionBehavior (const InstanceInterruptionBehavior &value)
 
LaunchTemplateSpotMarketOptionsWithInstanceInterruptionBehavior (InstanceInterruptionBehavior &&value)
 

Detailed Description

The options for Spot Instances.

See Also:

AWS API Reference

Definition at line 34 of file LaunchTemplateSpotMarketOptions.h.

Constructor & Destructor Documentation

◆ LaunchTemplateSpotMarketOptions() [1/2]

Aws::EC2::Model::LaunchTemplateSpotMarketOptions::LaunchTemplateSpotMarketOptions ( )

◆ LaunchTemplateSpotMarketOptions() [2/2]

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

Member Function Documentation

◆ BlockDurationMinutesHasBeenSet()

bool Aws::EC2::Model::LaunchTemplateSpotMarketOptions::BlockDurationMinutesHasBeenSet ( ) const
inline

The required duration for the Spot Instances (also known as Spot blocks), in minutes. This value must be a multiple of 60 (60, 120, 180, 240, 300, or 360).

Definition at line 129 of file LaunchTemplateSpotMarketOptions.h.

◆ GetBlockDurationMinutes()

int Aws::EC2::Model::LaunchTemplateSpotMarketOptions::GetBlockDurationMinutes ( ) const
inline

The required duration for the Spot Instances (also known as Spot blocks), in minutes. This value must be a multiple of 60 (60, 120, 180, 240, 300, or 360).

Definition at line 122 of file LaunchTemplateSpotMarketOptions.h.

◆ GetInstanceInterruptionBehavior()

const InstanceInterruptionBehavior& Aws::EC2::Model::LaunchTemplateSpotMarketOptions::GetInstanceInterruptionBehavior ( ) const
inline

The behavior when a Spot Instance is interrupted.

Definition at line 198 of file LaunchTemplateSpotMarketOptions.h.

◆ GetMaxPrice()

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

The maximum hourly price you're willing to pay for the Spot Instances.

Definition at line 48 of file LaunchTemplateSpotMarketOptions.h.

◆ GetSpotInstanceType()

const SpotInstanceType& Aws::EC2::Model::LaunchTemplateSpotMarketOptions::GetSpotInstanceType ( ) const
inline

The Spot Instance request type.

Definition at line 89 of file LaunchTemplateSpotMarketOptions.h.

◆ GetValidUntil()

const Aws::Utils::DateTime& Aws::EC2::Model::LaunchTemplateSpotMarketOptions::GetValidUntil ( ) const
inline

The end date of the request. For a one-time request, the request remains active until all instances launch, the request is canceled, or this date is reached. If the request is persistent, it remains active until it is canceled or this date and time is reached.

Definition at line 152 of file LaunchTemplateSpotMarketOptions.h.

◆ InstanceInterruptionBehaviorHasBeenSet()

bool Aws::EC2::Model::LaunchTemplateSpotMarketOptions::InstanceInterruptionBehaviorHasBeenSet ( ) const
inline

The behavior when a Spot Instance is interrupted.

Definition at line 203 of file LaunchTemplateSpotMarketOptions.h.

◆ MaxPriceHasBeenSet()

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

The maximum hourly price you're willing to pay for the Spot Instances.

Definition at line 53 of file LaunchTemplateSpotMarketOptions.h.

◆ operator=()

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

◆ OutputToStream() [1/2]

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

◆ OutputToStream() [2/2]

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

◆ SetBlockDurationMinutes()

void Aws::EC2::Model::LaunchTemplateSpotMarketOptions::SetBlockDurationMinutes ( int  value)
inline

The required duration for the Spot Instances (also known as Spot blocks), in minutes. This value must be a multiple of 60 (60, 120, 180, 240, 300, or 360).

Definition at line 136 of file LaunchTemplateSpotMarketOptions.h.

◆ SetInstanceInterruptionBehavior() [1/2]

void Aws::EC2::Model::LaunchTemplateSpotMarketOptions::SetInstanceInterruptionBehavior ( const InstanceInterruptionBehavior value)
inline

The behavior when a Spot Instance is interrupted.

Definition at line 208 of file LaunchTemplateSpotMarketOptions.h.

◆ SetInstanceInterruptionBehavior() [2/2]

void Aws::EC2::Model::LaunchTemplateSpotMarketOptions::SetInstanceInterruptionBehavior ( InstanceInterruptionBehavior &&  value)
inline

The behavior when a Spot Instance is interrupted.

Definition at line 213 of file LaunchTemplateSpotMarketOptions.h.

◆ SetMaxPrice() [1/3]

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

The maximum hourly price you're willing to pay for the Spot Instances.

Definition at line 63 of file LaunchTemplateSpotMarketOptions.h.

◆ SetMaxPrice() [2/3]

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

The maximum hourly price you're willing to pay for the Spot Instances.

Definition at line 58 of file LaunchTemplateSpotMarketOptions.h.

◆ SetMaxPrice() [3/3]

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

The maximum hourly price you're willing to pay for the Spot Instances.

Definition at line 68 of file LaunchTemplateSpotMarketOptions.h.

◆ SetSpotInstanceType() [1/2]

void Aws::EC2::Model::LaunchTemplateSpotMarketOptions::SetSpotInstanceType ( const SpotInstanceType value)
inline

The Spot Instance request type.

Definition at line 99 of file LaunchTemplateSpotMarketOptions.h.

◆ SetSpotInstanceType() [2/2]

void Aws::EC2::Model::LaunchTemplateSpotMarketOptions::SetSpotInstanceType ( SpotInstanceType &&  value)
inline

The Spot Instance request type.

Definition at line 104 of file LaunchTemplateSpotMarketOptions.h.

◆ SetValidUntil() [1/2]

void Aws::EC2::Model::LaunchTemplateSpotMarketOptions::SetValidUntil ( Aws::Utils::DateTime &&  value)
inline

The end date of the request. For a one-time request, the request remains active until all instances launch, the request is canceled, or this date is reached. If the request is persistent, it remains active until it is canceled or this date and time is reached.

Definition at line 176 of file LaunchTemplateSpotMarketOptions.h.

◆ SetValidUntil() [2/2]

void Aws::EC2::Model::LaunchTemplateSpotMarketOptions::SetValidUntil ( const Aws::Utils::DateTime value)
inline

The end date of the request. For a one-time request, the request remains active until all instances launch, the request is canceled, or this date is reached. If the request is persistent, it remains active until it is canceled or this date and time is reached.

Definition at line 168 of file LaunchTemplateSpotMarketOptions.h.

◆ SpotInstanceTypeHasBeenSet()

bool Aws::EC2::Model::LaunchTemplateSpotMarketOptions::SpotInstanceTypeHasBeenSet ( ) const
inline

The Spot Instance request type.

Definition at line 94 of file LaunchTemplateSpotMarketOptions.h.

◆ ValidUntilHasBeenSet()

bool Aws::EC2::Model::LaunchTemplateSpotMarketOptions::ValidUntilHasBeenSet ( ) const
inline

The end date of the request. For a one-time request, the request remains active until all instances launch, the request is canceled, or this date is reached. If the request is persistent, it remains active until it is canceled or this date and time is reached.

Definition at line 160 of file LaunchTemplateSpotMarketOptions.h.

◆ WithBlockDurationMinutes()

LaunchTemplateSpotMarketOptions& Aws::EC2::Model::LaunchTemplateSpotMarketOptions::WithBlockDurationMinutes ( int  value)
inline

The required duration for the Spot Instances (also known as Spot blocks), in minutes. This value must be a multiple of 60 (60, 120, 180, 240, 300, or 360).

Definition at line 143 of file LaunchTemplateSpotMarketOptions.h.

◆ WithInstanceInterruptionBehavior() [1/2]

LaunchTemplateSpotMarketOptions& Aws::EC2::Model::LaunchTemplateSpotMarketOptions::WithInstanceInterruptionBehavior ( const InstanceInterruptionBehavior value)
inline

The behavior when a Spot Instance is interrupted.

Definition at line 218 of file LaunchTemplateSpotMarketOptions.h.

◆ WithInstanceInterruptionBehavior() [2/2]

LaunchTemplateSpotMarketOptions& Aws::EC2::Model::LaunchTemplateSpotMarketOptions::WithInstanceInterruptionBehavior ( InstanceInterruptionBehavior &&  value)
inline

The behavior when a Spot Instance is interrupted.

Definition at line 223 of file LaunchTemplateSpotMarketOptions.h.

◆ WithMaxPrice() [1/3]

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

The maximum hourly price you're willing to pay for the Spot Instances.

Definition at line 78 of file LaunchTemplateSpotMarketOptions.h.

◆ WithMaxPrice() [2/3]

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

The maximum hourly price you're willing to pay for the Spot Instances.

Definition at line 73 of file LaunchTemplateSpotMarketOptions.h.

◆ WithMaxPrice() [3/3]

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

The maximum hourly price you're willing to pay for the Spot Instances.

Definition at line 83 of file LaunchTemplateSpotMarketOptions.h.

◆ WithSpotInstanceType() [1/2]

LaunchTemplateSpotMarketOptions& Aws::EC2::Model::LaunchTemplateSpotMarketOptions::WithSpotInstanceType ( const SpotInstanceType value)
inline

The Spot Instance request type.

Definition at line 109 of file LaunchTemplateSpotMarketOptions.h.

◆ WithSpotInstanceType() [2/2]

LaunchTemplateSpotMarketOptions& Aws::EC2::Model::LaunchTemplateSpotMarketOptions::WithSpotInstanceType ( SpotInstanceType &&  value)
inline

The Spot Instance request type.

Definition at line 114 of file LaunchTemplateSpotMarketOptions.h.

◆ WithValidUntil() [1/2]

LaunchTemplateSpotMarketOptions& Aws::EC2::Model::LaunchTemplateSpotMarketOptions::WithValidUntil ( Aws::Utils::DateTime &&  value)
inline

The end date of the request. For a one-time request, the request remains active until all instances launch, the request is canceled, or this date is reached. If the request is persistent, it remains active until it is canceled or this date and time is reached.

Definition at line 192 of file LaunchTemplateSpotMarketOptions.h.

◆ WithValidUntil() [2/2]

LaunchTemplateSpotMarketOptions& Aws::EC2::Model::LaunchTemplateSpotMarketOptions::WithValidUntil ( const Aws::Utils::DateTime value)
inline

The end date of the request. For a one-time request, the request remains active until all instances launch, the request is canceled, or this date is reached. If the request is persistent, it remains active until it is canceled or this date and time is reached.

Definition at line 184 of file LaunchTemplateSpotMarketOptions.h.


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