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

#include <PriceScheduleSpecification.h>

Public Member Functions

 PriceScheduleSpecification ()
 
 PriceScheduleSpecification (const Aws::Utils::Xml::XmlNode &xmlNode)
 
PriceScheduleSpecificationoperator= (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 CurrencyCodeValuesGetCurrencyCode () const
 
bool CurrencyCodeHasBeenSet () const
 
void SetCurrencyCode (const CurrencyCodeValues &value)
 
void SetCurrencyCode (CurrencyCodeValues &&value)
 
PriceScheduleSpecificationWithCurrencyCode (const CurrencyCodeValues &value)
 
PriceScheduleSpecificationWithCurrencyCode (CurrencyCodeValues &&value)
 
double GetPrice () const
 
bool PriceHasBeenSet () const
 
void SetPrice (double value)
 
PriceScheduleSpecificationWithPrice (double value)
 
long long GetTerm () const
 
bool TermHasBeenSet () const
 
void SetTerm (long long value)
 
PriceScheduleSpecificationWithTerm (long long value)
 

Detailed Description

Describes the price for a Reserved Instance.

See Also:

AWS API Reference

Definition at line 31 of file PriceScheduleSpecification.h.

Constructor & Destructor Documentation

◆ PriceScheduleSpecification() [1/2]

Aws::EC2::Model::PriceScheduleSpecification::PriceScheduleSpecification ( )

◆ PriceScheduleSpecification() [2/2]

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

Member Function Documentation

◆ CurrencyCodeHasBeenSet()

bool Aws::EC2::Model::PriceScheduleSpecification::CurrencyCodeHasBeenSet ( ) const
inline

The currency for transacting the Reserved Instance resale. At this time, the only supported currency is USD.

Definition at line 52 of file PriceScheduleSpecification.h.

◆ GetCurrencyCode()

const CurrencyCodeValues& Aws::EC2::Model::PriceScheduleSpecification::GetCurrencyCode ( ) const
inline

The currency for transacting the Reserved Instance resale. At this time, the only supported currency is USD.

Definition at line 46 of file PriceScheduleSpecification.h.

◆ GetPrice()

double Aws::EC2::Model::PriceScheduleSpecification::GetPrice ( ) const
inline

The fixed price for the term.

Definition at line 82 of file PriceScheduleSpecification.h.

◆ GetTerm()

long long Aws::EC2::Model::PriceScheduleSpecification::GetTerm ( ) const
inline

The number of months remaining in the reservation. For example, 2 is the second to the last month before the capacity reservation expires.

Definition at line 104 of file PriceScheduleSpecification.h.

◆ operator=()

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

◆ OutputToStream() [1/2]

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

◆ OutputToStream() [2/2]

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

◆ PriceHasBeenSet()

bool Aws::EC2::Model::PriceScheduleSpecification::PriceHasBeenSet ( ) const
inline

The fixed price for the term.

Definition at line 87 of file PriceScheduleSpecification.h.

◆ SetCurrencyCode() [1/2]

void Aws::EC2::Model::PriceScheduleSpecification::SetCurrencyCode ( const CurrencyCodeValues value)
inline

The currency for transacting the Reserved Instance resale. At this time, the only supported currency is USD.

Definition at line 58 of file PriceScheduleSpecification.h.

◆ SetCurrencyCode() [2/2]

void Aws::EC2::Model::PriceScheduleSpecification::SetCurrencyCode ( CurrencyCodeValues &&  value)
inline

The currency for transacting the Reserved Instance resale. At this time, the only supported currency is USD.

Definition at line 64 of file PriceScheduleSpecification.h.

◆ SetPrice()

void Aws::EC2::Model::PriceScheduleSpecification::SetPrice ( double  value)
inline

The fixed price for the term.

Definition at line 92 of file PriceScheduleSpecification.h.

◆ SetTerm()

void Aws::EC2::Model::PriceScheduleSpecification::SetTerm ( long long  value)
inline

The number of months remaining in the reservation. For example, 2 is the second to the last month before the capacity reservation expires.

Definition at line 116 of file PriceScheduleSpecification.h.

◆ TermHasBeenSet()

bool Aws::EC2::Model::PriceScheduleSpecification::TermHasBeenSet ( ) const
inline

The number of months remaining in the reservation. For example, 2 is the second to the last month before the capacity reservation expires.

Definition at line 110 of file PriceScheduleSpecification.h.

◆ WithCurrencyCode() [1/2]

PriceScheduleSpecification& Aws::EC2::Model::PriceScheduleSpecification::WithCurrencyCode ( const CurrencyCodeValues value)
inline

The currency for transacting the Reserved Instance resale. At this time, the only supported currency is USD.

Definition at line 70 of file PriceScheduleSpecification.h.

◆ WithCurrencyCode() [2/2]

PriceScheduleSpecification& Aws::EC2::Model::PriceScheduleSpecification::WithCurrencyCode ( CurrencyCodeValues &&  value)
inline

The currency for transacting the Reserved Instance resale. At this time, the only supported currency is USD.

Definition at line 76 of file PriceScheduleSpecification.h.

◆ WithPrice()

PriceScheduleSpecification& Aws::EC2::Model::PriceScheduleSpecification::WithPrice ( double  value)
inline

The fixed price for the term.

Definition at line 97 of file PriceScheduleSpecification.h.

◆ WithTerm()

PriceScheduleSpecification& Aws::EC2::Model::PriceScheduleSpecification::WithTerm ( long long  value)
inline

The number of months remaining in the reservation. For example, 2 is the second to the last month before the capacity reservation expires.

Definition at line 122 of file PriceScheduleSpecification.h.


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