AWS SDK for C++  1.7.233
AWS SDK for C++
Public Member Functions | Protected Member Functions | List of all members
Aws::EC2::Model::PurchaseHostReservationRequest Class Reference

#include <PurchaseHostReservationRequest.h>

+ Inheritance diagram for Aws::EC2::Model::PurchaseHostReservationRequest:

Public Member Functions

 PurchaseHostReservationRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
const Aws::StringGetClientToken () const
 
bool ClientTokenHasBeenSet () const
 
void SetClientToken (const Aws::String &value)
 
void SetClientToken (Aws::String &&value)
 
void SetClientToken (const char *value)
 
PurchaseHostReservationRequestWithClientToken (const Aws::String &value)
 
PurchaseHostReservationRequestWithClientToken (Aws::String &&value)
 
PurchaseHostReservationRequestWithClientToken (const char *value)
 
const CurrencyCodeValuesGetCurrencyCode () const
 
bool CurrencyCodeHasBeenSet () const
 
void SetCurrencyCode (const CurrencyCodeValues &value)
 
void SetCurrencyCode (CurrencyCodeValues &&value)
 
PurchaseHostReservationRequestWithCurrencyCode (const CurrencyCodeValues &value)
 
PurchaseHostReservationRequestWithCurrencyCode (CurrencyCodeValues &&value)
 
const Aws::Vector< Aws::String > & GetHostIdSet () const
 
bool HostIdSetHasBeenSet () const
 
void SetHostIdSet (const Aws::Vector< Aws::String > &value)
 
void SetHostIdSet (Aws::Vector< Aws::String > &&value)
 
PurchaseHostReservationRequestWithHostIdSet (const Aws::Vector< Aws::String > &value)
 
PurchaseHostReservationRequestWithHostIdSet (Aws::Vector< Aws::String > &&value)
 
PurchaseHostReservationRequestAddHostIdSet (const Aws::String &value)
 
PurchaseHostReservationRequestAddHostIdSet (Aws::String &&value)
 
PurchaseHostReservationRequestAddHostIdSet (const char *value)
 
const Aws::StringGetLimitPrice () const
 
bool LimitPriceHasBeenSet () const
 
void SetLimitPrice (const Aws::String &value)
 
void SetLimitPrice (Aws::String &&value)
 
void SetLimitPrice (const char *value)
 
PurchaseHostReservationRequestWithLimitPrice (const Aws::String &value)
 
PurchaseHostReservationRequestWithLimitPrice (Aws::String &&value)
 
PurchaseHostReservationRequestWithLimitPrice (const char *value)
 
const Aws::StringGetOfferingId () const
 
bool OfferingIdHasBeenSet () const
 
void SetOfferingId (const Aws::String &value)
 
void SetOfferingId (Aws::String &&value)
 
void SetOfferingId (const char *value)
 
PurchaseHostReservationRequestWithOfferingId (const Aws::String &value)
 
PurchaseHostReservationRequestWithOfferingId (Aws::String &&value)
 
PurchaseHostReservationRequestWithOfferingId (const char *value)
 
- Public Member Functions inherited from Aws::EC2::EC2Request
virtual ~EC2Request ()
 
void AddParametersToRequest (Aws::Http::HttpRequest &httpRequest) const
 
Aws::Http::HeaderValueCollection GetHeaders () const override
 
- Public Member Functions inherited from Aws::AmazonSerializableWebServiceRequest
 AmazonSerializableWebServiceRequest ()
 
virtual ~AmazonSerializableWebServiceRequest ()
 
std::shared_ptr< Aws::IOStreamGetBody () const override
 
- Public Member Functions inherited from Aws::AmazonWebServiceRequest
 AmazonWebServiceRequest ()
 
virtual ~AmazonWebServiceRequest ()=default
 
virtual void AddQueryStringParameters (Aws::Http::URI &uri) const
 
virtual void PutToPresignedUrl (Aws::Http::URI &uri) const
 
virtual bool IsStreaming () const
 
virtual bool IsEventStreamRequest () const
 
virtual bool SignBody () const
 
virtual bool IsChunked () const
 
virtual void SetRequestSignedHandler (const RequestSignedHandler &handler)
 
virtual const RequestSignedHandlerGetRequestSignedHandler () const
 
const Aws::IOStreamFactoryGetResponseStreamFactory () const
 
void SetResponseStreamFactory (const Aws::IOStreamFactory &factory)
 
virtual void SetDataReceivedEventHandler (const Aws::Http::DataReceivedEventHandler &dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (const Aws::Http::DataSentEventHandler &dataSentEventHandler)
 
virtual void SetContinueRequestHandler (const Aws::Http::ContinueRequestHandler &continueRequestHandler)
 
virtual void SetDataReceivedEventHandler (Aws::Http::DataReceivedEventHandler &&dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (Aws::Http::DataSentEventHandler &&dataSentEventHandler)
 
virtual void SetContinueRequestHandler (Aws::Http::ContinueRequestHandler &&continueRequestHandler)
 
virtual void SetRequestRetryHandler (const RequestRetryHandler &handler)
 
virtual void SetRequestRetryHandler (RequestRetryHandler &&handler)
 
virtual const Aws::Http::DataReceivedEventHandlerGetDataReceivedEventHandler () const
 
virtual const Aws::Http::DataSentEventHandlerGetDataSentEventHandler () const
 
virtual const Aws::Http::ContinueRequestHandlerGetContinueRequestHandler () const
 
virtual const RequestRetryHandlerGetRequestRetryHandler () const
 
virtual bool ShouldComputeContentMd5 () const
 

Protected Member Functions

void DumpBodyToUrl (Aws::Http::URI &uri) const override
 
- Protected Member Functions inherited from Aws::EC2::EC2Request
virtual Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const
 

Detailed Description

Definition at line 33 of file PurchaseHostReservationRequest.h.

Constructor & Destructor Documentation

◆ PurchaseHostReservationRequest()

Aws::EC2::Model::PurchaseHostReservationRequest::PurchaseHostReservationRequest ( )

Member Function Documentation

◆ AddHostIdSet() [1/3]

PurchaseHostReservationRequest& Aws::EC2::Model::PurchaseHostReservationRequest::AddHostIdSet ( const Aws::String value)
inline

The IDs of the Dedicated Hosts with which the reservation will be associated.

Definition at line 199 of file PurchaseHostReservationRequest.h.

◆ AddHostIdSet() [2/3]

PurchaseHostReservationRequest& Aws::EC2::Model::PurchaseHostReservationRequest::AddHostIdSet ( Aws::String &&  value)
inline

The IDs of the Dedicated Hosts with which the reservation will be associated.

Definition at line 205 of file PurchaseHostReservationRequest.h.

◆ AddHostIdSet() [3/3]

PurchaseHostReservationRequest& Aws::EC2::Model::PurchaseHostReservationRequest::AddHostIdSet ( const char *  value)
inline

The IDs of the Dedicated Hosts with which the reservation will be associated.

Definition at line 211 of file PurchaseHostReservationRequest.h.

◆ ClientTokenHasBeenSet()

bool Aws::EC2::Model::PurchaseHostReservationRequest::ClientTokenHasBeenSet ( ) const
inline

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

Definition at line 65 of file PurchaseHostReservationRequest.h.

◆ CurrencyCodeHasBeenSet()

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

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

Definition at line 128 of file PurchaseHostReservationRequest.h.

◆ DumpBodyToUrl()

void Aws::EC2::Model::PurchaseHostReservationRequest::DumpBodyToUrl ( Aws::Http::URI uri) const
overrideprotectedvirtual

Default does nothing. Override this to convert what would otherwise be the payload of the request to a query string format.

Reimplemented from Aws::AmazonWebServiceRequest.

◆ GetClientToken()

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

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

Definition at line 57 of file PurchaseHostReservationRequest.h.

◆ GetCurrencyCode()

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

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

Definition at line 121 of file PurchaseHostReservationRequest.h.

◆ GetHostIdSet()

const Aws::Vector<Aws::String>& Aws::EC2::Model::PurchaseHostReservationRequest::GetHostIdSet ( ) const
inline

The IDs of the Dedicated Hosts with which the reservation will be associated.

Definition at line 163 of file PurchaseHostReservationRequest.h.

◆ GetLimitPrice()

const Aws::String& Aws::EC2::Model::PurchaseHostReservationRequest::GetLimitPrice ( ) const
inline

The specified limit is checked against the total upfront cost of the reservation (calculated as the offering's upfront cost multiplied by the host count). If the total upfront cost is greater than the specified price limit, the request fails. This is used to ensure that the purchase does not exceed the expected upfront cost of the purchase. At this time, the only supported currency is USD. For example, to indicate a limit price of USD 100, specify 100.00.

Definition at line 223 of file PurchaseHostReservationRequest.h.

◆ GetOfferingId()

const Aws::String& Aws::EC2::Model::PurchaseHostReservationRequest::GetOfferingId ( ) const
inline

The ID of the offering.

Definition at line 306 of file PurchaseHostReservationRequest.h.

◆ GetServiceRequestName()

virtual const char* Aws::EC2::Model::PurchaseHostReservationRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 42 of file PurchaseHostReservationRequest.h.

◆ HostIdSetHasBeenSet()

bool Aws::EC2::Model::PurchaseHostReservationRequest::HostIdSetHasBeenSet ( ) const
inline

The IDs of the Dedicated Hosts with which the reservation will be associated.

Definition at line 169 of file PurchaseHostReservationRequest.h.

◆ LimitPriceHasBeenSet()

bool Aws::EC2::Model::PurchaseHostReservationRequest::LimitPriceHasBeenSet ( ) const
inline

The specified limit is checked against the total upfront cost of the reservation (calculated as the offering's upfront cost multiplied by the host count). If the total upfront cost is greater than the specified price limit, the request fails. This is used to ensure that the purchase does not exceed the expected upfront cost of the purchase. At this time, the only supported currency is USD. For example, to indicate a limit price of USD 100, specify 100.00.

Definition at line 234 of file PurchaseHostReservationRequest.h.

◆ OfferingIdHasBeenSet()

bool Aws::EC2::Model::PurchaseHostReservationRequest::OfferingIdHasBeenSet ( ) const
inline

The ID of the offering.

Definition at line 311 of file PurchaseHostReservationRequest.h.

◆ SerializePayload()

Aws::String Aws::EC2::Model::PurchaseHostReservationRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetClientToken() [1/3]

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

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

Definition at line 73 of file PurchaseHostReservationRequest.h.

◆ SetClientToken() [2/3]

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

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

Definition at line 81 of file PurchaseHostReservationRequest.h.

◆ SetClientToken() [3/3]

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

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

Definition at line 89 of file PurchaseHostReservationRequest.h.

◆ SetCurrencyCode() [1/2]

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

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

Definition at line 135 of file PurchaseHostReservationRequest.h.

◆ SetCurrencyCode() [2/2]

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

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

Definition at line 142 of file PurchaseHostReservationRequest.h.

◆ SetHostIdSet() [1/2]

void Aws::EC2::Model::PurchaseHostReservationRequest::SetHostIdSet ( const Aws::Vector< Aws::String > &  value)
inline

The IDs of the Dedicated Hosts with which the reservation will be associated.

Definition at line 175 of file PurchaseHostReservationRequest.h.

◆ SetHostIdSet() [2/2]

void Aws::EC2::Model::PurchaseHostReservationRequest::SetHostIdSet ( Aws::Vector< Aws::String > &&  value)
inline

The IDs of the Dedicated Hosts with which the reservation will be associated.

Definition at line 181 of file PurchaseHostReservationRequest.h.

◆ SetLimitPrice() [1/3]

void Aws::EC2::Model::PurchaseHostReservationRequest::SetLimitPrice ( const Aws::String value)
inline

The specified limit is checked against the total upfront cost of the reservation (calculated as the offering's upfront cost multiplied by the host count). If the total upfront cost is greater than the specified price limit, the request fails. This is used to ensure that the purchase does not exceed the expected upfront cost of the purchase. At this time, the only supported currency is USD. For example, to indicate a limit price of USD 100, specify 100.00.

Definition at line 245 of file PurchaseHostReservationRequest.h.

◆ SetLimitPrice() [2/3]

void Aws::EC2::Model::PurchaseHostReservationRequest::SetLimitPrice ( Aws::String &&  value)
inline

The specified limit is checked against the total upfront cost of the reservation (calculated as the offering's upfront cost multiplied by the host count). If the total upfront cost is greater than the specified price limit, the request fails. This is used to ensure that the purchase does not exceed the expected upfront cost of the purchase. At this time, the only supported currency is USD. For example, to indicate a limit price of USD 100, specify 100.00.

Definition at line 256 of file PurchaseHostReservationRequest.h.

◆ SetLimitPrice() [3/3]

void Aws::EC2::Model::PurchaseHostReservationRequest::SetLimitPrice ( const char *  value)
inline

The specified limit is checked against the total upfront cost of the reservation (calculated as the offering's upfront cost multiplied by the host count). If the total upfront cost is greater than the specified price limit, the request fails. This is used to ensure that the purchase does not exceed the expected upfront cost of the purchase. At this time, the only supported currency is USD. For example, to indicate a limit price of USD 100, specify 100.00.

Definition at line 267 of file PurchaseHostReservationRequest.h.

◆ SetOfferingId() [1/3]

void Aws::EC2::Model::PurchaseHostReservationRequest::SetOfferingId ( const Aws::String value)
inline

The ID of the offering.

Definition at line 316 of file PurchaseHostReservationRequest.h.

◆ SetOfferingId() [2/3]

void Aws::EC2::Model::PurchaseHostReservationRequest::SetOfferingId ( Aws::String &&  value)
inline

The ID of the offering.

Definition at line 321 of file PurchaseHostReservationRequest.h.

◆ SetOfferingId() [3/3]

void Aws::EC2::Model::PurchaseHostReservationRequest::SetOfferingId ( const char *  value)
inline

The ID of the offering.

Definition at line 326 of file PurchaseHostReservationRequest.h.

◆ WithClientToken() [1/3]

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

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

Definition at line 97 of file PurchaseHostReservationRequest.h.

◆ WithClientToken() [2/3]

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

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

Definition at line 105 of file PurchaseHostReservationRequest.h.

◆ WithClientToken() [3/3]

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

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

Definition at line 113 of file PurchaseHostReservationRequest.h.

◆ WithCurrencyCode() [1/2]

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

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

Definition at line 149 of file PurchaseHostReservationRequest.h.

◆ WithCurrencyCode() [2/2]

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

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

Definition at line 156 of file PurchaseHostReservationRequest.h.

◆ WithHostIdSet() [1/2]

PurchaseHostReservationRequest& Aws::EC2::Model::PurchaseHostReservationRequest::WithHostIdSet ( const Aws::Vector< Aws::String > &  value)
inline

The IDs of the Dedicated Hosts with which the reservation will be associated.

Definition at line 187 of file PurchaseHostReservationRequest.h.

◆ WithHostIdSet() [2/2]

PurchaseHostReservationRequest& Aws::EC2::Model::PurchaseHostReservationRequest::WithHostIdSet ( Aws::Vector< Aws::String > &&  value)
inline

The IDs of the Dedicated Hosts with which the reservation will be associated.

Definition at line 193 of file PurchaseHostReservationRequest.h.

◆ WithLimitPrice() [1/3]

PurchaseHostReservationRequest& Aws::EC2::Model::PurchaseHostReservationRequest::WithLimitPrice ( const Aws::String value)
inline

The specified limit is checked against the total upfront cost of the reservation (calculated as the offering's upfront cost multiplied by the host count). If the total upfront cost is greater than the specified price limit, the request fails. This is used to ensure that the purchase does not exceed the expected upfront cost of the purchase. At this time, the only supported currency is USD. For example, to indicate a limit price of USD 100, specify 100.00.

Definition at line 278 of file PurchaseHostReservationRequest.h.

◆ WithLimitPrice() [2/3]

PurchaseHostReservationRequest& Aws::EC2::Model::PurchaseHostReservationRequest::WithLimitPrice ( Aws::String &&  value)
inline

The specified limit is checked against the total upfront cost of the reservation (calculated as the offering's upfront cost multiplied by the host count). If the total upfront cost is greater than the specified price limit, the request fails. This is used to ensure that the purchase does not exceed the expected upfront cost of the purchase. At this time, the only supported currency is USD. For example, to indicate a limit price of USD 100, specify 100.00.

Definition at line 289 of file PurchaseHostReservationRequest.h.

◆ WithLimitPrice() [3/3]

PurchaseHostReservationRequest& Aws::EC2::Model::PurchaseHostReservationRequest::WithLimitPrice ( const char *  value)
inline

The specified limit is checked against the total upfront cost of the reservation (calculated as the offering's upfront cost multiplied by the host count). If the total upfront cost is greater than the specified price limit, the request fails. This is used to ensure that the purchase does not exceed the expected upfront cost of the purchase. At this time, the only supported currency is USD. For example, to indicate a limit price of USD 100, specify 100.00.

Definition at line 300 of file PurchaseHostReservationRequest.h.

◆ WithOfferingId() [1/3]

PurchaseHostReservationRequest& Aws::EC2::Model::PurchaseHostReservationRequest::WithOfferingId ( const Aws::String value)
inline

The ID of the offering.

Definition at line 331 of file PurchaseHostReservationRequest.h.

◆ WithOfferingId() [2/3]

PurchaseHostReservationRequest& Aws::EC2::Model::PurchaseHostReservationRequest::WithOfferingId ( Aws::String &&  value)
inline

The ID of the offering.

Definition at line 336 of file PurchaseHostReservationRequest.h.

◆ WithOfferingId() [3/3]

PurchaseHostReservationRequest& Aws::EC2::Model::PurchaseHostReservationRequest::WithOfferingId ( const char *  value)
inline

The ID of the offering.

Definition at line 341 of file PurchaseHostReservationRequest.h.


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