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

#include <PurchaseHostReservationResponse.h>

Public Member Functions

 PurchaseHostReservationResponse ()
 
 PurchaseHostReservationResponse (const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
 
PurchaseHostReservationResponseoperator= (const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
 
const Aws::StringGetClientToken () const
 
void SetClientToken (const Aws::String &value)
 
void SetClientToken (Aws::String &&value)
 
void SetClientToken (const char *value)
 
PurchaseHostReservationResponseWithClientToken (const Aws::String &value)
 
PurchaseHostReservationResponseWithClientToken (Aws::String &&value)
 
PurchaseHostReservationResponseWithClientToken (const char *value)
 
const CurrencyCodeValuesGetCurrencyCode () const
 
void SetCurrencyCode (const CurrencyCodeValues &value)
 
void SetCurrencyCode (CurrencyCodeValues &&value)
 
PurchaseHostReservationResponseWithCurrencyCode (const CurrencyCodeValues &value)
 
PurchaseHostReservationResponseWithCurrencyCode (CurrencyCodeValues &&value)
 
const Aws::Vector< Purchase > & GetPurchase () const
 
void SetPurchase (const Aws::Vector< Purchase > &value)
 
void SetPurchase (Aws::Vector< Purchase > &&value)
 
PurchaseHostReservationResponseWithPurchase (const Aws::Vector< Purchase > &value)
 
PurchaseHostReservationResponseWithPurchase (Aws::Vector< Purchase > &&value)
 
PurchaseHostReservationResponseAddPurchase (const Purchase &value)
 
PurchaseHostReservationResponseAddPurchase (Purchase &&value)
 
const Aws::StringGetTotalHourlyPrice () const
 
void SetTotalHourlyPrice (const Aws::String &value)
 
void SetTotalHourlyPrice (Aws::String &&value)
 
void SetTotalHourlyPrice (const char *value)
 
PurchaseHostReservationResponseWithTotalHourlyPrice (const Aws::String &value)
 
PurchaseHostReservationResponseWithTotalHourlyPrice (Aws::String &&value)
 
PurchaseHostReservationResponseWithTotalHourlyPrice (const char *value)
 
const Aws::StringGetTotalUpfrontPrice () const
 
void SetTotalUpfrontPrice (const Aws::String &value)
 
void SetTotalUpfrontPrice (Aws::String &&value)
 
void SetTotalUpfrontPrice (const char *value)
 
PurchaseHostReservationResponseWithTotalUpfrontPrice (const Aws::String &value)
 
PurchaseHostReservationResponseWithTotalUpfrontPrice (Aws::String &&value)
 
PurchaseHostReservationResponseWithTotalUpfrontPrice (const char *value)
 
const ResponseMetadataGetResponseMetadata () const
 
void SetResponseMetadata (const ResponseMetadata &value)
 
void SetResponseMetadata (ResponseMetadata &&value)
 
PurchaseHostReservationResponseWithResponseMetadata (const ResponseMetadata &value)
 
PurchaseHostReservationResponseWithResponseMetadata (ResponseMetadata &&value)
 

Detailed Description

Definition at line 31 of file PurchaseHostReservationResponse.h.

Constructor & Destructor Documentation

◆ PurchaseHostReservationResponse() [1/2]

Aws::EC2::Model::PurchaseHostReservationResponse::PurchaseHostReservationResponse ( )

◆ PurchaseHostReservationResponse() [2/2]

Aws::EC2::Model::PurchaseHostReservationResponse::PurchaseHostReservationResponse ( const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &  result)

Member Function Documentation

◆ AddPurchase() [1/2]

PurchaseHostReservationResponse& Aws::EC2::Model::PurchaseHostReservationResponse::AddPurchase ( const Purchase value)
inline

Describes the details of the purchase.

Definition at line 160 of file PurchaseHostReservationResponse.h.

◆ AddPurchase() [2/2]

PurchaseHostReservationResponse& Aws::EC2::Model::PurchaseHostReservationResponse::AddPurchase ( Purchase &&  value)
inline

Describes the details of the purchase.

Definition at line 165 of file PurchaseHostReservationResponse.h.

◆ GetClientToken()

const Aws::String& Aws::EC2::Model::PurchaseHostReservationResponse::GetClientToken ( ) const
inline

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.

Definition at line 45 of file PurchaseHostReservationResponse.h.

◆ GetCurrencyCode()

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

The currency in which the totalUpfrontPrice and totalHourlyPrice amounts are specified. At this time, the only supported currency is USD.

Definition at line 101 of file PurchaseHostReservationResponse.h.

◆ GetPurchase()

const Aws::Vector<Purchase>& Aws::EC2::Model::PurchaseHostReservationResponse::GetPurchase ( ) const
inline

Describes the details of the purchase.

Definition at line 135 of file PurchaseHostReservationResponse.h.

◆ GetResponseMetadata()

const ResponseMetadata& Aws::EC2::Model::PurchaseHostReservationResponse::GetResponseMetadata ( ) const
inline

Definition at line 248 of file PurchaseHostReservationResponse.h.

◆ GetTotalHourlyPrice()

const Aws::String& Aws::EC2::Model::PurchaseHostReservationResponse::GetTotalHourlyPrice ( ) const
inline

The total hourly price of the reservation calculated per hour.

Definition at line 171 of file PurchaseHostReservationResponse.h.

◆ GetTotalUpfrontPrice()

const Aws::String& Aws::EC2::Model::PurchaseHostReservationResponse::GetTotalUpfrontPrice ( ) const
inline

The total amount charged to your account when you purchase the reservation.

Definition at line 208 of file PurchaseHostReservationResponse.h.

◆ operator=()

PurchaseHostReservationResponse& Aws::EC2::Model::PurchaseHostReservationResponse::operator= ( const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &  result)

◆ SetClientToken() [1/3]

void Aws::EC2::Model::PurchaseHostReservationResponse::SetClientToken ( Aws::String &&  value)
inline

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.

Definition at line 61 of file PurchaseHostReservationResponse.h.

◆ SetClientToken() [2/3]

void Aws::EC2::Model::PurchaseHostReservationResponse::SetClientToken ( const Aws::String value)
inline

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.

Definition at line 53 of file PurchaseHostReservationResponse.h.

◆ SetClientToken() [3/3]

void Aws::EC2::Model::PurchaseHostReservationResponse::SetClientToken ( const char *  value)
inline

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.

Definition at line 69 of file PurchaseHostReservationResponse.h.

◆ SetCurrencyCode() [1/2]

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

The currency in which the totalUpfrontPrice and totalHourlyPrice amounts are specified. At this time, the only supported currency is USD.

Definition at line 108 of file PurchaseHostReservationResponse.h.

◆ SetCurrencyCode() [2/2]

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

The currency in which the totalUpfrontPrice and totalHourlyPrice amounts are specified. At this time, the only supported currency is USD.

Definition at line 115 of file PurchaseHostReservationResponse.h.

◆ SetPurchase() [1/2]

void Aws::EC2::Model::PurchaseHostReservationResponse::SetPurchase ( Aws::Vector< Purchase > &&  value)
inline

Describes the details of the purchase.

Definition at line 145 of file PurchaseHostReservationResponse.h.

◆ SetPurchase() [2/2]

void Aws::EC2::Model::PurchaseHostReservationResponse::SetPurchase ( const Aws::Vector< Purchase > &  value)
inline

Describes the details of the purchase.

Definition at line 140 of file PurchaseHostReservationResponse.h.

◆ SetResponseMetadata() [1/2]

void Aws::EC2::Model::PurchaseHostReservationResponse::SetResponseMetadata ( const ResponseMetadata value)
inline

Definition at line 251 of file PurchaseHostReservationResponse.h.

◆ SetResponseMetadata() [2/2]

void Aws::EC2::Model::PurchaseHostReservationResponse::SetResponseMetadata ( ResponseMetadata &&  value)
inline

Definition at line 254 of file PurchaseHostReservationResponse.h.

◆ SetTotalHourlyPrice() [1/3]

void Aws::EC2::Model::PurchaseHostReservationResponse::SetTotalHourlyPrice ( Aws::String &&  value)
inline

The total hourly price of the reservation calculated per hour.

Definition at line 181 of file PurchaseHostReservationResponse.h.

◆ SetTotalHourlyPrice() [2/3]

void Aws::EC2::Model::PurchaseHostReservationResponse::SetTotalHourlyPrice ( const Aws::String value)
inline

The total hourly price of the reservation calculated per hour.

Definition at line 176 of file PurchaseHostReservationResponse.h.

◆ SetTotalHourlyPrice() [3/3]

void Aws::EC2::Model::PurchaseHostReservationResponse::SetTotalHourlyPrice ( const char *  value)
inline

The total hourly price of the reservation calculated per hour.

Definition at line 186 of file PurchaseHostReservationResponse.h.

◆ SetTotalUpfrontPrice() [1/3]

void Aws::EC2::Model::PurchaseHostReservationResponse::SetTotalUpfrontPrice ( Aws::String &&  value)
inline

The total amount charged to your account when you purchase the reservation.

Definition at line 220 of file PurchaseHostReservationResponse.h.

◆ SetTotalUpfrontPrice() [2/3]

void Aws::EC2::Model::PurchaseHostReservationResponse::SetTotalUpfrontPrice ( const Aws::String value)
inline

The total amount charged to your account when you purchase the reservation.

Definition at line 214 of file PurchaseHostReservationResponse.h.

◆ SetTotalUpfrontPrice() [3/3]

void Aws::EC2::Model::PurchaseHostReservationResponse::SetTotalUpfrontPrice ( const char *  value)
inline

The total amount charged to your account when you purchase the reservation.

Definition at line 226 of file PurchaseHostReservationResponse.h.

◆ WithClientToken() [1/3]

PurchaseHostReservationResponse& Aws::EC2::Model::PurchaseHostReservationResponse::WithClientToken ( Aws::String &&  value)
inline

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.

Definition at line 85 of file PurchaseHostReservationResponse.h.

◆ WithClientToken() [2/3]

PurchaseHostReservationResponse& Aws::EC2::Model::PurchaseHostReservationResponse::WithClientToken ( const Aws::String value)
inline

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.

Definition at line 77 of file PurchaseHostReservationResponse.h.

◆ WithClientToken() [3/3]

PurchaseHostReservationResponse& Aws::EC2::Model::PurchaseHostReservationResponse::WithClientToken ( const char *  value)
inline

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.

Definition at line 93 of file PurchaseHostReservationResponse.h.

◆ WithCurrencyCode() [1/2]

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

The currency in which the totalUpfrontPrice and totalHourlyPrice amounts are specified. At this time, the only supported currency is USD.

Definition at line 122 of file PurchaseHostReservationResponse.h.

◆ WithCurrencyCode() [2/2]

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

The currency in which the totalUpfrontPrice and totalHourlyPrice amounts are specified. At this time, the only supported currency is USD.

Definition at line 129 of file PurchaseHostReservationResponse.h.

◆ WithPurchase() [1/2]

PurchaseHostReservationResponse& Aws::EC2::Model::PurchaseHostReservationResponse::WithPurchase ( Aws::Vector< Purchase > &&  value)
inline

Describes the details of the purchase.

Definition at line 155 of file PurchaseHostReservationResponse.h.

◆ WithPurchase() [2/2]

PurchaseHostReservationResponse& Aws::EC2::Model::PurchaseHostReservationResponse::WithPurchase ( const Aws::Vector< Purchase > &  value)
inline

Describes the details of the purchase.

Definition at line 150 of file PurchaseHostReservationResponse.h.

◆ WithResponseMetadata() [1/2]

PurchaseHostReservationResponse& Aws::EC2::Model::PurchaseHostReservationResponse::WithResponseMetadata ( const ResponseMetadata value)
inline

Definition at line 257 of file PurchaseHostReservationResponse.h.

◆ WithResponseMetadata() [2/2]

PurchaseHostReservationResponse& Aws::EC2::Model::PurchaseHostReservationResponse::WithResponseMetadata ( ResponseMetadata &&  value)
inline

Definition at line 260 of file PurchaseHostReservationResponse.h.

◆ WithTotalHourlyPrice() [1/3]

PurchaseHostReservationResponse& Aws::EC2::Model::PurchaseHostReservationResponse::WithTotalHourlyPrice ( Aws::String &&  value)
inline

The total hourly price of the reservation calculated per hour.

Definition at line 196 of file PurchaseHostReservationResponse.h.

◆ WithTotalHourlyPrice() [2/3]

PurchaseHostReservationResponse& Aws::EC2::Model::PurchaseHostReservationResponse::WithTotalHourlyPrice ( const Aws::String value)
inline

The total hourly price of the reservation calculated per hour.

Definition at line 191 of file PurchaseHostReservationResponse.h.

◆ WithTotalHourlyPrice() [3/3]

PurchaseHostReservationResponse& Aws::EC2::Model::PurchaseHostReservationResponse::WithTotalHourlyPrice ( const char *  value)
inline

The total hourly price of the reservation calculated per hour.

Definition at line 201 of file PurchaseHostReservationResponse.h.

◆ WithTotalUpfrontPrice() [1/3]

PurchaseHostReservationResponse& Aws::EC2::Model::PurchaseHostReservationResponse::WithTotalUpfrontPrice ( Aws::String &&  value)
inline

The total amount charged to your account when you purchase the reservation.

Definition at line 238 of file PurchaseHostReservationResponse.h.

◆ WithTotalUpfrontPrice() [2/3]

PurchaseHostReservationResponse& Aws::EC2::Model::PurchaseHostReservationResponse::WithTotalUpfrontPrice ( const Aws::String value)
inline

The total amount charged to your account when you purchase the reservation.

Definition at line 232 of file PurchaseHostReservationResponse.h.

◆ WithTotalUpfrontPrice() [3/3]

PurchaseHostReservationResponse& Aws::EC2::Model::PurchaseHostReservationResponse::WithTotalUpfrontPrice ( const char *  value)
inline

The total amount charged to your account when you purchase the reservation.

Definition at line 244 of file PurchaseHostReservationResponse.h.


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