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

#include <PurchaseReservedInstancesOfferingRequest.h>

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

Public Member Functions

 PurchaseReservedInstancesOfferingRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
int GetInstanceCount () const
 
bool InstanceCountHasBeenSet () const
 
void SetInstanceCount (int value)
 
PurchaseReservedInstancesOfferingRequestWithInstanceCount (int value)
 
const Aws::StringGetReservedInstancesOfferingId () const
 
bool ReservedInstancesOfferingIdHasBeenSet () const
 
void SetReservedInstancesOfferingId (const Aws::String &value)
 
void SetReservedInstancesOfferingId (Aws::String &&value)
 
void SetReservedInstancesOfferingId (const char *value)
 
PurchaseReservedInstancesOfferingRequestWithReservedInstancesOfferingId (const Aws::String &value)
 
PurchaseReservedInstancesOfferingRequestWithReservedInstancesOfferingId (Aws::String &&value)
 
PurchaseReservedInstancesOfferingRequestWithReservedInstancesOfferingId (const char *value)
 
bool GetDryRun () const
 
bool DryRunHasBeenSet () const
 
void SetDryRun (bool value)
 
PurchaseReservedInstancesOfferingRequestWithDryRun (bool value)
 
const ReservedInstanceLimitPriceGetLimitPrice () const
 
bool LimitPriceHasBeenSet () const
 
void SetLimitPrice (const ReservedInstanceLimitPrice &value)
 
void SetLimitPrice (ReservedInstanceLimitPrice &&value)
 
PurchaseReservedInstancesOfferingRequestWithLimitPrice (const ReservedInstanceLimitPrice &value)
 
PurchaseReservedInstancesOfferingRequestWithLimitPrice (ReservedInstanceLimitPrice &&value)
 
const Aws::Utils::DateTimeGetPurchaseTime () const
 
bool PurchaseTimeHasBeenSet () const
 
void SetPurchaseTime (const Aws::Utils::DateTime &value)
 
void SetPurchaseTime (Aws::Utils::DateTime &&value)
 
PurchaseReservedInstancesOfferingRequestWithPurchaseTime (const Aws::Utils::DateTime &value)
 
PurchaseReservedInstancesOfferingRequestWithPurchaseTime (Aws::Utils::DateTime &&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

Contains the parameters for PurchaseReservedInstancesOffering.

See Also:

AWS API Reference

Definition at line 37 of file PurchaseReservedInstancesOfferingRequest.h.

Constructor & Destructor Documentation

◆ PurchaseReservedInstancesOfferingRequest()

Aws::EC2::Model::PurchaseReservedInstancesOfferingRequest::PurchaseReservedInstancesOfferingRequest ( )

Member Function Documentation

◆ DryRunHasBeenSet()

bool Aws::EC2::Model::PurchaseReservedInstancesOfferingRequest::DryRunHasBeenSet ( ) const
inline

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Definition at line 131 of file PurchaseReservedInstancesOfferingRequest.h.

◆ DumpBodyToUrl()

void Aws::EC2::Model::PurchaseReservedInstancesOfferingRequest::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.

◆ GetDryRun()

bool Aws::EC2::Model::PurchaseReservedInstancesOfferingRequest::GetDryRun ( ) const
inline

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Definition at line 123 of file PurchaseReservedInstancesOfferingRequest.h.

◆ GetInstanceCount()

int Aws::EC2::Model::PurchaseReservedInstancesOfferingRequest::GetInstanceCount ( ) const
inline

The number of Reserved Instances to purchase.

Definition at line 58 of file PurchaseReservedInstancesOfferingRequest.h.

◆ GetLimitPrice()

const ReservedInstanceLimitPrice& Aws::EC2::Model::PurchaseReservedInstancesOfferingRequest::GetLimitPrice ( ) const
inline

Specified for Reserved Instance Marketplace offerings to limit the total order and ensure that the Reserved Instances are not purchased at unexpected prices.

Definition at line 155 of file PurchaseReservedInstancesOfferingRequest.h.

◆ GetPurchaseTime()

const Aws::Utils::DateTime& Aws::EC2::Model::PurchaseReservedInstancesOfferingRequest::GetPurchaseTime ( ) const
inline

The time at which to purchase the Reserved Instance, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).

Definition at line 197 of file PurchaseReservedInstancesOfferingRequest.h.

◆ GetReservedInstancesOfferingId()

const Aws::String& Aws::EC2::Model::PurchaseReservedInstancesOfferingRequest::GetReservedInstancesOfferingId ( ) const
inline

The ID of the Reserved Instance offering to purchase.

Definition at line 79 of file PurchaseReservedInstancesOfferingRequest.h.

◆ GetServiceRequestName()

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

◆ InstanceCountHasBeenSet()

bool Aws::EC2::Model::PurchaseReservedInstancesOfferingRequest::InstanceCountHasBeenSet ( ) const
inline

The number of Reserved Instances to purchase.

Definition at line 63 of file PurchaseReservedInstancesOfferingRequest.h.

◆ LimitPriceHasBeenSet()

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

Specified for Reserved Instance Marketplace offerings to limit the total order and ensure that the Reserved Instances are not purchased at unexpected prices.

Definition at line 162 of file PurchaseReservedInstancesOfferingRequest.h.

◆ PurchaseTimeHasBeenSet()

bool Aws::EC2::Model::PurchaseReservedInstancesOfferingRequest::PurchaseTimeHasBeenSet ( ) const
inline

The time at which to purchase the Reserved Instance, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).

Definition at line 203 of file PurchaseReservedInstancesOfferingRequest.h.

◆ ReservedInstancesOfferingIdHasBeenSet()

bool Aws::EC2::Model::PurchaseReservedInstancesOfferingRequest::ReservedInstancesOfferingIdHasBeenSet ( ) const
inline

The ID of the Reserved Instance offering to purchase.

Definition at line 84 of file PurchaseReservedInstancesOfferingRequest.h.

◆ SerializePayload()

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

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetDryRun()

void Aws::EC2::Model::PurchaseReservedInstancesOfferingRequest::SetDryRun ( bool  value)
inline

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Definition at line 139 of file PurchaseReservedInstancesOfferingRequest.h.

◆ SetInstanceCount()

void Aws::EC2::Model::PurchaseReservedInstancesOfferingRequest::SetInstanceCount ( int  value)
inline

The number of Reserved Instances to purchase.

Definition at line 68 of file PurchaseReservedInstancesOfferingRequest.h.

◆ SetLimitPrice() [1/2]

void Aws::EC2::Model::PurchaseReservedInstancesOfferingRequest::SetLimitPrice ( const ReservedInstanceLimitPrice value)
inline

Specified for Reserved Instance Marketplace offerings to limit the total order and ensure that the Reserved Instances are not purchased at unexpected prices.

Definition at line 169 of file PurchaseReservedInstancesOfferingRequest.h.

◆ SetLimitPrice() [2/2]

void Aws::EC2::Model::PurchaseReservedInstancesOfferingRequest::SetLimitPrice ( ReservedInstanceLimitPrice &&  value)
inline

Specified for Reserved Instance Marketplace offerings to limit the total order and ensure that the Reserved Instances are not purchased at unexpected prices.

Definition at line 176 of file PurchaseReservedInstancesOfferingRequest.h.

◆ SetPurchaseTime() [1/2]

void Aws::EC2::Model::PurchaseReservedInstancesOfferingRequest::SetPurchaseTime ( const Aws::Utils::DateTime value)
inline

The time at which to purchase the Reserved Instance, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).

Definition at line 209 of file PurchaseReservedInstancesOfferingRequest.h.

◆ SetPurchaseTime() [2/2]

void Aws::EC2::Model::PurchaseReservedInstancesOfferingRequest::SetPurchaseTime ( Aws::Utils::DateTime &&  value)
inline

The time at which to purchase the Reserved Instance, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).

Definition at line 215 of file PurchaseReservedInstancesOfferingRequest.h.

◆ SetReservedInstancesOfferingId() [1/3]

void Aws::EC2::Model::PurchaseReservedInstancesOfferingRequest::SetReservedInstancesOfferingId ( const Aws::String value)
inline

The ID of the Reserved Instance offering to purchase.

Definition at line 89 of file PurchaseReservedInstancesOfferingRequest.h.

◆ SetReservedInstancesOfferingId() [2/3]

void Aws::EC2::Model::PurchaseReservedInstancesOfferingRequest::SetReservedInstancesOfferingId ( Aws::String &&  value)
inline

The ID of the Reserved Instance offering to purchase.

Definition at line 94 of file PurchaseReservedInstancesOfferingRequest.h.

◆ SetReservedInstancesOfferingId() [3/3]

void Aws::EC2::Model::PurchaseReservedInstancesOfferingRequest::SetReservedInstancesOfferingId ( const char *  value)
inline

The ID of the Reserved Instance offering to purchase.

Definition at line 99 of file PurchaseReservedInstancesOfferingRequest.h.

◆ WithDryRun()

PurchaseReservedInstancesOfferingRequest& Aws::EC2::Model::PurchaseReservedInstancesOfferingRequest::WithDryRun ( bool  value)
inline

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Definition at line 147 of file PurchaseReservedInstancesOfferingRequest.h.

◆ WithInstanceCount()

PurchaseReservedInstancesOfferingRequest& Aws::EC2::Model::PurchaseReservedInstancesOfferingRequest::WithInstanceCount ( int  value)
inline

The number of Reserved Instances to purchase.

Definition at line 73 of file PurchaseReservedInstancesOfferingRequest.h.

◆ WithLimitPrice() [1/2]

PurchaseReservedInstancesOfferingRequest& Aws::EC2::Model::PurchaseReservedInstancesOfferingRequest::WithLimitPrice ( const ReservedInstanceLimitPrice value)
inline

Specified for Reserved Instance Marketplace offerings to limit the total order and ensure that the Reserved Instances are not purchased at unexpected prices.

Definition at line 183 of file PurchaseReservedInstancesOfferingRequest.h.

◆ WithLimitPrice() [2/2]

PurchaseReservedInstancesOfferingRequest& Aws::EC2::Model::PurchaseReservedInstancesOfferingRequest::WithLimitPrice ( ReservedInstanceLimitPrice &&  value)
inline

Specified for Reserved Instance Marketplace offerings to limit the total order and ensure that the Reserved Instances are not purchased at unexpected prices.

Definition at line 190 of file PurchaseReservedInstancesOfferingRequest.h.

◆ WithPurchaseTime() [1/2]

PurchaseReservedInstancesOfferingRequest& Aws::EC2::Model::PurchaseReservedInstancesOfferingRequest::WithPurchaseTime ( const Aws::Utils::DateTime value)
inline

The time at which to purchase the Reserved Instance, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).

Definition at line 221 of file PurchaseReservedInstancesOfferingRequest.h.

◆ WithPurchaseTime() [2/2]

PurchaseReservedInstancesOfferingRequest& Aws::EC2::Model::PurchaseReservedInstancesOfferingRequest::WithPurchaseTime ( Aws::Utils::DateTime &&  value)
inline

The time at which to purchase the Reserved Instance, in UTC format (for example, YYYY-MM-DDTHH:MM:SSZ).

Definition at line 227 of file PurchaseReservedInstancesOfferingRequest.h.

◆ WithReservedInstancesOfferingId() [1/3]

PurchaseReservedInstancesOfferingRequest& Aws::EC2::Model::PurchaseReservedInstancesOfferingRequest::WithReservedInstancesOfferingId ( const Aws::String value)
inline

The ID of the Reserved Instance offering to purchase.

Definition at line 104 of file PurchaseReservedInstancesOfferingRequest.h.

◆ WithReservedInstancesOfferingId() [2/3]

PurchaseReservedInstancesOfferingRequest& Aws::EC2::Model::PurchaseReservedInstancesOfferingRequest::WithReservedInstancesOfferingId ( Aws::String &&  value)
inline

The ID of the Reserved Instance offering to purchase.

Definition at line 109 of file PurchaseReservedInstancesOfferingRequest.h.

◆ WithReservedInstancesOfferingId() [3/3]

PurchaseReservedInstancesOfferingRequest& Aws::EC2::Model::PurchaseReservedInstancesOfferingRequest::WithReservedInstancesOfferingId ( const char *  value)
inline

The ID of the Reserved Instance offering to purchase.

Definition at line 114 of file PurchaseReservedInstancesOfferingRequest.h.


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