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

#include <PricingDetail.h>

Public Member Functions

 PricingDetail ()
 
 PricingDetail (const Aws::Utils::Xml::XmlNode &xmlNode)
 
PricingDetailoperator= (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
 
int GetCount () const
 
bool CountHasBeenSet () const
 
void SetCount (int value)
 
PricingDetailWithCount (int value)
 
double GetPrice () const
 
bool PriceHasBeenSet () const
 
void SetPrice (double value)
 
PricingDetailWithPrice (double value)
 

Detailed Description

Describes a Reserved Instance offering.

See Also:

AWS API Reference

Definition at line 29 of file PricingDetail.h.

Constructor & Destructor Documentation

◆ PricingDetail() [1/2]

Aws::EC2::Model::PricingDetail::PricingDetail ( )

◆ PricingDetail() [2/2]

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

Member Function Documentation

◆ CountHasBeenSet()

bool Aws::EC2::Model::PricingDetail::CountHasBeenSet ( ) const
inline

The number of reservations available for the price.

Definition at line 48 of file PricingDetail.h.

◆ GetCount()

int Aws::EC2::Model::PricingDetail::GetCount ( ) const
inline

The number of reservations available for the price.

Definition at line 43 of file PricingDetail.h.

◆ GetPrice()

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

The price per instance.

Definition at line 64 of file PricingDetail.h.

◆ operator=()

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

◆ OutputToStream() [1/2]

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

◆ OutputToStream() [2/2]

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

◆ PriceHasBeenSet()

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

The price per instance.

Definition at line 69 of file PricingDetail.h.

◆ SetCount()

void Aws::EC2::Model::PricingDetail::SetCount ( int  value)
inline

The number of reservations available for the price.

Definition at line 53 of file PricingDetail.h.

◆ SetPrice()

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

The price per instance.

Definition at line 74 of file PricingDetail.h.

◆ WithCount()

PricingDetail& Aws::EC2::Model::PricingDetail::WithCount ( int  value)
inline

The number of reservations available for the price.

Definition at line 58 of file PricingDetail.h.

◆ WithPrice()

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

The price per instance.

Definition at line 79 of file PricingDetail.h.


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