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

#include <SpotPrice.h>

Public Member Functions

 SpotPrice ()
 
 SpotPrice (const Aws::Utils::Xml::XmlNode &xmlNode)
 
SpotPriceoperator= (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::StringGetAvailabilityZone () const
 
bool AvailabilityZoneHasBeenSet () const
 
void SetAvailabilityZone (const Aws::String &value)
 
void SetAvailabilityZone (Aws::String &&value)
 
void SetAvailabilityZone (const char *value)
 
SpotPriceWithAvailabilityZone (const Aws::String &value)
 
SpotPriceWithAvailabilityZone (Aws::String &&value)
 
SpotPriceWithAvailabilityZone (const char *value)
 
const InstanceTypeGetInstanceType () const
 
bool InstanceTypeHasBeenSet () const
 
void SetInstanceType (const InstanceType &value)
 
void SetInstanceType (InstanceType &&value)
 
SpotPriceWithInstanceType (const InstanceType &value)
 
SpotPriceWithInstanceType (InstanceType &&value)
 
const RIProductDescriptionGetProductDescription () const
 
bool ProductDescriptionHasBeenSet () const
 
void SetProductDescription (const RIProductDescription &value)
 
void SetProductDescription (RIProductDescription &&value)
 
SpotPriceWithProductDescription (const RIProductDescription &value)
 
SpotPriceWithProductDescription (RIProductDescription &&value)
 
const Aws::StringGetSpotPrice () const
 
bool SpotPriceHasBeenSet () const
 
void SetSpotPrice (const Aws::String &value)
 
void SetSpotPrice (Aws::String &&value)
 
void SetSpotPrice (const char *value)
 
SpotPriceWithSpotPrice (const Aws::String &value)
 
SpotPriceWithSpotPrice (Aws::String &&value)
 
SpotPriceWithSpotPrice (const char *value)
 
const Aws::Utils::DateTimeGetTimestamp () const
 
bool TimestampHasBeenSet () const
 
void SetTimestamp (const Aws::Utils::DateTime &value)
 
void SetTimestamp (Aws::Utils::DateTime &&value)
 
SpotPriceWithTimestamp (const Aws::Utils::DateTime &value)
 
SpotPriceWithTimestamp (Aws::Utils::DateTime &&value)
 

Detailed Description

Describes the maximum price per hour that you are willing to pay for a Spot Instance.

See Also:

AWS API Reference

Definition at line 35 of file SpotPrice.h.

Constructor & Destructor Documentation

◆ SpotPrice() [1/2]

Aws::EC2::Model::SpotPrice::SpotPrice ( )

◆ SpotPrice() [2/2]

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

Member Function Documentation

◆ AvailabilityZoneHasBeenSet()

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

The Availability Zone.

Definition at line 54 of file SpotPrice.h.

◆ GetAvailabilityZone()

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

The Availability Zone.

Definition at line 49 of file SpotPrice.h.

◆ GetInstanceType()

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

The instance type.

Definition at line 90 of file SpotPrice.h.

◆ GetProductDescription()

const RIProductDescription& Aws::EC2::Model::SpotPrice::GetProductDescription ( ) const
inline

A general description of the AMI.

Definition at line 121 of file SpotPrice.h.

◆ GetSpotPrice()

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

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

Definition at line 153 of file SpotPrice.h.

◆ GetTimestamp()

const Aws::Utils::DateTime& Aws::EC2::Model::SpotPrice::GetTimestamp ( ) const
inline

The date and time the request was created, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).

Definition at line 202 of file SpotPrice.h.

◆ InstanceTypeHasBeenSet()

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

The instance type.

Definition at line 95 of file SpotPrice.h.

◆ operator=()

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

◆ OutputToStream() [1/2]

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

◆ OutputToStream() [2/2]

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

◆ ProductDescriptionHasBeenSet()

bool Aws::EC2::Model::SpotPrice::ProductDescriptionHasBeenSet ( ) const
inline

A general description of the AMI.

Definition at line 126 of file SpotPrice.h.

◆ SetAvailabilityZone() [1/3]

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

The Availability Zone.

Definition at line 64 of file SpotPrice.h.

◆ SetAvailabilityZone() [2/3]

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

The Availability Zone.

Definition at line 59 of file SpotPrice.h.

◆ SetAvailabilityZone() [3/3]

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

The Availability Zone.

Definition at line 69 of file SpotPrice.h.

◆ SetInstanceType() [1/2]

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

The instance type.

Definition at line 100 of file SpotPrice.h.

◆ SetInstanceType() [2/2]

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

The instance type.

Definition at line 105 of file SpotPrice.h.

◆ SetProductDescription() [1/2]

void Aws::EC2::Model::SpotPrice::SetProductDescription ( const RIProductDescription value)
inline

A general description of the AMI.

Definition at line 131 of file SpotPrice.h.

◆ SetProductDescription() [2/2]

void Aws::EC2::Model::SpotPrice::SetProductDescription ( RIProductDescription &&  value)
inline

A general description of the AMI.

Definition at line 136 of file SpotPrice.h.

◆ SetSpotPrice() [1/3]

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

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

Definition at line 171 of file SpotPrice.h.

◆ SetSpotPrice() [2/3]

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

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

Definition at line 165 of file SpotPrice.h.

◆ SetSpotPrice() [3/3]

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

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

Definition at line 177 of file SpotPrice.h.

◆ SetTimestamp() [1/2]

void Aws::EC2::Model::SpotPrice::SetTimestamp ( Aws::Utils::DateTime &&  value)
inline

The date and time the request was created, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).

Definition at line 220 of file SpotPrice.h.

◆ SetTimestamp() [2/2]

void Aws::EC2::Model::SpotPrice::SetTimestamp ( const Aws::Utils::DateTime value)
inline

The date and time the request was created, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).

Definition at line 214 of file SpotPrice.h.

◆ SpotPriceHasBeenSet()

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

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

Definition at line 159 of file SpotPrice.h.

◆ TimestampHasBeenSet()

bool Aws::EC2::Model::SpotPrice::TimestampHasBeenSet ( ) const
inline

The date and time the request was created, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).

Definition at line 208 of file SpotPrice.h.

◆ WithAvailabilityZone() [1/3]

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

The Availability Zone.

Definition at line 79 of file SpotPrice.h.

◆ WithAvailabilityZone() [2/3]

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

The Availability Zone.

Definition at line 74 of file SpotPrice.h.

◆ WithAvailabilityZone() [3/3]

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

The Availability Zone.

Definition at line 84 of file SpotPrice.h.

◆ WithInstanceType() [1/2]

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

The instance type.

Definition at line 110 of file SpotPrice.h.

◆ WithInstanceType() [2/2]

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

The instance type.

Definition at line 115 of file SpotPrice.h.

◆ WithProductDescription() [1/2]

SpotPrice& Aws::EC2::Model::SpotPrice::WithProductDescription ( const RIProductDescription value)
inline

A general description of the AMI.

Definition at line 141 of file SpotPrice.h.

◆ WithProductDescription() [2/2]

SpotPrice& Aws::EC2::Model::SpotPrice::WithProductDescription ( RIProductDescription &&  value)
inline

A general description of the AMI.

Definition at line 146 of file SpotPrice.h.

◆ WithSpotPrice() [1/3]

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

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

Definition at line 189 of file SpotPrice.h.

◆ WithSpotPrice() [2/3]

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

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

Definition at line 183 of file SpotPrice.h.

◆ WithSpotPrice() [3/3]

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

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

Definition at line 195 of file SpotPrice.h.

◆ WithTimestamp() [1/2]

SpotPrice& Aws::EC2::Model::SpotPrice::WithTimestamp ( Aws::Utils::DateTime &&  value)
inline

The date and time the request was created, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).

Definition at line 232 of file SpotPrice.h.

◆ WithTimestamp() [2/2]

SpotPrice& Aws::EC2::Model::SpotPrice::WithTimestamp ( const Aws::Utils::DateTime value)
inline

The date and time the request was created, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).

Definition at line 226 of file SpotPrice.h.


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