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

#include <LaunchTemplateSpotMarketOptionsRequest.h>

Public Member Functions

 LaunchTemplateSpotMarketOptionsRequest ()
 
 LaunchTemplateSpotMarketOptionsRequest (const Aws::Utils::Xml::XmlNode &xmlNode)
 
LaunchTemplateSpotMarketOptionsRequestoperator= (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)
 
LaunchTemplateSpotMarketOptionsRequestWithMaxPrice (const Aws::String &value)
 
LaunchTemplateSpotMarketOptionsRequestWithMaxPrice (Aws::String &&value)
 
LaunchTemplateSpotMarketOptionsRequestWithMaxPrice (const char *value)
 
const SpotInstanceTypeGetSpotInstanceType () const
 
bool SpotInstanceTypeHasBeenSet () const
 
void SetSpotInstanceType (const SpotInstanceType &value)
 
void SetSpotInstanceType (SpotInstanceType &&value)
 
LaunchTemplateSpotMarketOptionsRequestWithSpotInstanceType (const SpotInstanceType &value)
 
LaunchTemplateSpotMarketOptionsRequestWithSpotInstanceType (SpotInstanceType &&value)
 
int GetBlockDurationMinutes () const
 
bool BlockDurationMinutesHasBeenSet () const
 
void SetBlockDurationMinutes (int value)
 
LaunchTemplateSpotMarketOptionsRequestWithBlockDurationMinutes (int value)
 
const Aws::Utils::DateTimeGetValidUntil () const
 
bool ValidUntilHasBeenSet () const
 
void SetValidUntil (const Aws::Utils::DateTime &value)
 
void SetValidUntil (Aws::Utils::DateTime &&value)
 
LaunchTemplateSpotMarketOptionsRequestWithValidUntil (const Aws::Utils::DateTime &value)
 
LaunchTemplateSpotMarketOptionsRequestWithValidUntil (Aws::Utils::DateTime &&value)
 
const InstanceInterruptionBehaviorGetInstanceInterruptionBehavior () const
 
bool InstanceInterruptionBehaviorHasBeenSet () const
 
void SetInstanceInterruptionBehavior (const InstanceInterruptionBehavior &value)
 
void SetInstanceInterruptionBehavior (InstanceInterruptionBehavior &&value)
 
LaunchTemplateSpotMarketOptionsRequestWithInstanceInterruptionBehavior (const InstanceInterruptionBehavior &value)
 
LaunchTemplateSpotMarketOptionsRequestWithInstanceInterruptionBehavior (InstanceInterruptionBehavior &&value)
 

Detailed Description

The options for Spot Instances.

See Also:

AWS API Reference

Definition at line 34 of file LaunchTemplateSpotMarketOptionsRequest.h.

Constructor & Destructor Documentation

◆ LaunchTemplateSpotMarketOptionsRequest() [1/2]

Aws::EC2::Model::LaunchTemplateSpotMarketOptionsRequest::LaunchTemplateSpotMarketOptionsRequest ( )

◆ LaunchTemplateSpotMarketOptionsRequest() [2/2]

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

Member Function Documentation

◆ BlockDurationMinutesHasBeenSet()

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

◆ GetBlockDurationMinutes()

int Aws::EC2::Model::LaunchTemplateSpotMarketOptionsRequest::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 LaunchTemplateSpotMarketOptionsRequest.h.

◆ GetInstanceInterruptionBehavior()

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

The behavior when a Spot Instance is interrupted. The default is terminate.

Definition at line 205 of file LaunchTemplateSpotMarketOptionsRequest.h.

◆ GetMaxPrice()

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

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

Definition at line 48 of file LaunchTemplateSpotMarketOptionsRequest.h.

◆ GetSpotInstanceType()

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

The Spot Instance request type.

Definition at line 89 of file LaunchTemplateSpotMarketOptionsRequest.h.

◆ GetValidUntil()

const Aws::Utils::DateTime& Aws::EC2::Model::LaunchTemplateSpotMarketOptionsRequest::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. The default end date is 7 days from the current date.

Definition at line 153 of file LaunchTemplateSpotMarketOptionsRequest.h.

◆ InstanceInterruptionBehaviorHasBeenSet()

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

The behavior when a Spot Instance is interrupted. The default is terminate.

Definition at line 211 of file LaunchTemplateSpotMarketOptionsRequest.h.

◆ MaxPriceHasBeenSet()

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

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

Definition at line 53 of file LaunchTemplateSpotMarketOptionsRequest.h.

◆ operator=()

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

◆ OutputToStream() [1/2]

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

◆ OutputToStream() [2/2]

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

◆ SetBlockDurationMinutes()

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

◆ SetInstanceInterruptionBehavior() [1/2]

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

The behavior when a Spot Instance is interrupted. The default is terminate.

Definition at line 217 of file LaunchTemplateSpotMarketOptionsRequest.h.

◆ SetInstanceInterruptionBehavior() [2/2]

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

The behavior when a Spot Instance is interrupted. The default is terminate.

Definition at line 223 of file LaunchTemplateSpotMarketOptionsRequest.h.

◆ SetMaxPrice() [1/3]

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

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

Definition at line 63 of file LaunchTemplateSpotMarketOptionsRequest.h.

◆ SetMaxPrice() [2/3]

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

◆ SetMaxPrice() [3/3]

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

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

Definition at line 68 of file LaunchTemplateSpotMarketOptionsRequest.h.

◆ SetSpotInstanceType() [1/2]

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

The Spot Instance request type.

Definition at line 99 of file LaunchTemplateSpotMarketOptionsRequest.h.

◆ SetSpotInstanceType() [2/2]

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

The Spot Instance request type.

Definition at line 104 of file LaunchTemplateSpotMarketOptionsRequest.h.

◆ SetValidUntil() [1/2]

void Aws::EC2::Model::LaunchTemplateSpotMarketOptionsRequest::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. The default end date is 7 days from the current date.

Definition at line 180 of file LaunchTemplateSpotMarketOptionsRequest.h.

◆ SetValidUntil() [2/2]

void Aws::EC2::Model::LaunchTemplateSpotMarketOptionsRequest::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. The default end date is 7 days from the current date.

Definition at line 171 of file LaunchTemplateSpotMarketOptionsRequest.h.

◆ SpotInstanceTypeHasBeenSet()

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

The Spot Instance request type.

Definition at line 94 of file LaunchTemplateSpotMarketOptionsRequest.h.

◆ ValidUntilHasBeenSet()

bool Aws::EC2::Model::LaunchTemplateSpotMarketOptionsRequest::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. The default end date is 7 days from the current date.

Definition at line 162 of file LaunchTemplateSpotMarketOptionsRequest.h.

◆ WithBlockDurationMinutes()

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

◆ WithInstanceInterruptionBehavior() [1/2]

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

The behavior when a Spot Instance is interrupted. The default is terminate.

Definition at line 229 of file LaunchTemplateSpotMarketOptionsRequest.h.

◆ WithInstanceInterruptionBehavior() [2/2]

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

The behavior when a Spot Instance is interrupted. The default is terminate.

Definition at line 235 of file LaunchTemplateSpotMarketOptionsRequest.h.

◆ WithMaxPrice() [1/3]

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

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

Definition at line 78 of file LaunchTemplateSpotMarketOptionsRequest.h.

◆ WithMaxPrice() [2/3]

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

◆ WithMaxPrice() [3/3]

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

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

Definition at line 83 of file LaunchTemplateSpotMarketOptionsRequest.h.

◆ WithSpotInstanceType() [1/2]

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

The Spot Instance request type.

Definition at line 109 of file LaunchTemplateSpotMarketOptionsRequest.h.

◆ WithSpotInstanceType() [2/2]

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

The Spot Instance request type.

Definition at line 114 of file LaunchTemplateSpotMarketOptionsRequest.h.

◆ WithValidUntil() [1/2]

LaunchTemplateSpotMarketOptionsRequest& Aws::EC2::Model::LaunchTemplateSpotMarketOptionsRequest::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. The default end date is 7 days from the current date.

Definition at line 198 of file LaunchTemplateSpotMarketOptionsRequest.h.

◆ WithValidUntil() [2/2]

LaunchTemplateSpotMarketOptionsRequest& Aws::EC2::Model::LaunchTemplateSpotMarketOptionsRequest::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. The default end date is 7 days from the current date.

Definition at line 189 of file LaunchTemplateSpotMarketOptionsRequest.h.


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