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

#include <DescribeHostReservationOfferingsRequest.h>

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

Public Member Functions

 DescribeHostReservationOfferingsRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
const Aws::Vector< Filter > & GetFilter () const
 
bool FilterHasBeenSet () const
 
void SetFilter (const Aws::Vector< Filter > &value)
 
void SetFilter (Aws::Vector< Filter > &&value)
 
DescribeHostReservationOfferingsRequestWithFilter (const Aws::Vector< Filter > &value)
 
DescribeHostReservationOfferingsRequestWithFilter (Aws::Vector< Filter > &&value)
 
DescribeHostReservationOfferingsRequestAddFilter (const Filter &value)
 
DescribeHostReservationOfferingsRequestAddFilter (Filter &&value)
 
int GetMaxDuration () const
 
bool MaxDurationHasBeenSet () const
 
void SetMaxDuration (int value)
 
DescribeHostReservationOfferingsRequestWithMaxDuration (int value)
 
int GetMaxResults () const
 
bool MaxResultsHasBeenSet () const
 
void SetMaxResults (int value)
 
DescribeHostReservationOfferingsRequestWithMaxResults (int value)
 
int GetMinDuration () const
 
bool MinDurationHasBeenSet () const
 
void SetMinDuration (int value)
 
DescribeHostReservationOfferingsRequestWithMinDuration (int value)
 
const Aws::StringGetNextToken () const
 
bool NextTokenHasBeenSet () const
 
void SetNextToken (const Aws::String &value)
 
void SetNextToken (Aws::String &&value)
 
void SetNextToken (const char *value)
 
DescribeHostReservationOfferingsRequestWithNextToken (const Aws::String &value)
 
DescribeHostReservationOfferingsRequestWithNextToken (Aws::String &&value)
 
DescribeHostReservationOfferingsRequestWithNextToken (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)
 
DescribeHostReservationOfferingsRequestWithOfferingId (const Aws::String &value)
 
DescribeHostReservationOfferingsRequestWithOfferingId (Aws::String &&value)
 
DescribeHostReservationOfferingsRequestWithOfferingId (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 DescribeHostReservationOfferingsRequest.h.

Constructor & Destructor Documentation

◆ DescribeHostReservationOfferingsRequest()

Aws::EC2::Model::DescribeHostReservationOfferingsRequest::DescribeHostReservationOfferingsRequest ( )

Member Function Documentation

◆ AddFilter() [1/2]

DescribeHostReservationOfferingsRequest& Aws::EC2::Model::DescribeHostReservationOfferingsRequest::AddFilter ( const Filter value)
inline

The filters.

  • instance-family - The instance family of the offering (for example, m4).

  • payment-option - The payment option (NoUpfront | PartialUpfront | AllUpfront).

Definition at line 105 of file DescribeHostReservationOfferingsRequest.h.

◆ AddFilter() [2/2]

DescribeHostReservationOfferingsRequest& Aws::EC2::Model::DescribeHostReservationOfferingsRequest::AddFilter ( Filter &&  value)
inline

The filters.

  • instance-family - The instance family of the offering (for example, m4).

  • payment-option - The payment option (NoUpfront | PartialUpfront | AllUpfront).

Definition at line 113 of file DescribeHostReservationOfferingsRequest.h.

◆ DumpBodyToUrl()

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

◆ FilterHasBeenSet()

bool Aws::EC2::Model::DescribeHostReservationOfferingsRequest::FilterHasBeenSet ( ) const
inline

The filters.

  • instance-family - The instance family of the offering (for example, m4).

  • payment-option - The payment option (NoUpfront | PartialUpfront | AllUpfront).

Definition at line 65 of file DescribeHostReservationOfferingsRequest.h.

◆ GetFilter()

const Aws::Vector<Filter>& Aws::EC2::Model::DescribeHostReservationOfferingsRequest::GetFilter ( ) const
inline

The filters.

  • instance-family - The instance family of the offering (for example, m4).

  • payment-option - The payment option (NoUpfront | PartialUpfront | AllUpfront).

Definition at line 57 of file DescribeHostReservationOfferingsRequest.h.

◆ GetMaxDuration()

int Aws::EC2::Model::DescribeHostReservationOfferingsRequest::GetMaxDuration ( ) const
inline

This is the maximum duration of the reservation to purchase, specified in seconds. Reservations are available in one-year and three-year terms. The number of seconds specified must be the number of seconds in a year (365x24x60x60) times one of the supported durations (1 or 3). For example, specify 94608000 for three years.

Definition at line 123 of file DescribeHostReservationOfferingsRequest.h.

◆ GetMaxResults()

int Aws::EC2::Model::DescribeHostReservationOfferingsRequest::GetMaxResults ( ) const
inline

The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned nextToken value. This value can be between 5 and 500. If maxResults is given a larger value than 500, you receive an error.

Definition at line 160 of file DescribeHostReservationOfferingsRequest.h.

◆ GetMinDuration()

int Aws::EC2::Model::DescribeHostReservationOfferingsRequest::GetMinDuration ( ) const
inline

This is the minimum duration of the reservation you'd like to purchase, specified in seconds. Reservations are available in one-year and three-year terms. The number of seconds specified must be the number of seconds in a year (365x24x60x60) times one of the supported durations (1 or 3). For example, specify 31536000 for one year.

Definition at line 197 of file DescribeHostReservationOfferingsRequest.h.

◆ GetNextToken()

const Aws::String& Aws::EC2::Model::DescribeHostReservationOfferingsRequest::GetNextToken ( ) const
inline

The token to use to retrieve the next page of results.

Definition at line 230 of file DescribeHostReservationOfferingsRequest.h.

◆ GetOfferingId()

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

The ID of the reservation offering.

Definition at line 271 of file DescribeHostReservationOfferingsRequest.h.

◆ GetServiceRequestName()

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

◆ MaxDurationHasBeenSet()

bool Aws::EC2::Model::DescribeHostReservationOfferingsRequest::MaxDurationHasBeenSet ( ) const
inline

This is the maximum duration of the reservation to purchase, specified in seconds. Reservations are available in one-year and three-year terms. The number of seconds specified must be the number of seconds in a year (365x24x60x60) times one of the supported durations (1 or 3). For example, specify 94608000 for three years.

Definition at line 132 of file DescribeHostReservationOfferingsRequest.h.

◆ MaxResultsHasBeenSet()

bool Aws::EC2::Model::DescribeHostReservationOfferingsRequest::MaxResultsHasBeenSet ( ) const
inline

The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned nextToken value. This value can be between 5 and 500. If maxResults is given a larger value than 500, you receive an error.

Definition at line 169 of file DescribeHostReservationOfferingsRequest.h.

◆ MinDurationHasBeenSet()

bool Aws::EC2::Model::DescribeHostReservationOfferingsRequest::MinDurationHasBeenSet ( ) const
inline

This is the minimum duration of the reservation you'd like to purchase, specified in seconds. Reservations are available in one-year and three-year terms. The number of seconds specified must be the number of seconds in a year (365x24x60x60) times one of the supported durations (1 or 3). For example, specify 31536000 for one year.

Definition at line 206 of file DescribeHostReservationOfferingsRequest.h.

◆ NextTokenHasBeenSet()

bool Aws::EC2::Model::DescribeHostReservationOfferingsRequest::NextTokenHasBeenSet ( ) const
inline

The token to use to retrieve the next page of results.

Definition at line 235 of file DescribeHostReservationOfferingsRequest.h.

◆ OfferingIdHasBeenSet()

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

The ID of the reservation offering.

Definition at line 276 of file DescribeHostReservationOfferingsRequest.h.

◆ SerializePayload()

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

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetFilter() [1/2]

void Aws::EC2::Model::DescribeHostReservationOfferingsRequest::SetFilter ( const Aws::Vector< Filter > &  value)
inline

The filters.

  • instance-family - The instance family of the offering (for example, m4).

  • payment-option - The payment option (NoUpfront | PartialUpfront | AllUpfront).

Definition at line 73 of file DescribeHostReservationOfferingsRequest.h.

◆ SetFilter() [2/2]

void Aws::EC2::Model::DescribeHostReservationOfferingsRequest::SetFilter ( Aws::Vector< Filter > &&  value)
inline

The filters.

  • instance-family - The instance family of the offering (for example, m4).

  • payment-option - The payment option (NoUpfront | PartialUpfront | AllUpfront).

Definition at line 81 of file DescribeHostReservationOfferingsRequest.h.

◆ SetMaxDuration()

void Aws::EC2::Model::DescribeHostReservationOfferingsRequest::SetMaxDuration ( int  value)
inline

This is the maximum duration of the reservation to purchase, specified in seconds. Reservations are available in one-year and three-year terms. The number of seconds specified must be the number of seconds in a year (365x24x60x60) times one of the supported durations (1 or 3). For example, specify 94608000 for three years.

Definition at line 141 of file DescribeHostReservationOfferingsRequest.h.

◆ SetMaxResults()

void Aws::EC2::Model::DescribeHostReservationOfferingsRequest::SetMaxResults ( int  value)
inline

The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned nextToken value. This value can be between 5 and 500. If maxResults is given a larger value than 500, you receive an error.

Definition at line 178 of file DescribeHostReservationOfferingsRequest.h.

◆ SetMinDuration()

void Aws::EC2::Model::DescribeHostReservationOfferingsRequest::SetMinDuration ( int  value)
inline

This is the minimum duration of the reservation you'd like to purchase, specified in seconds. Reservations are available in one-year and three-year terms. The number of seconds specified must be the number of seconds in a year (365x24x60x60) times one of the supported durations (1 or 3). For example, specify 31536000 for one year.

Definition at line 215 of file DescribeHostReservationOfferingsRequest.h.

◆ SetNextToken() [1/3]

void Aws::EC2::Model::DescribeHostReservationOfferingsRequest::SetNextToken ( const Aws::String value)
inline

The token to use to retrieve the next page of results.

Definition at line 240 of file DescribeHostReservationOfferingsRequest.h.

◆ SetNextToken() [2/3]

void Aws::EC2::Model::DescribeHostReservationOfferingsRequest::SetNextToken ( Aws::String &&  value)
inline

The token to use to retrieve the next page of results.

Definition at line 245 of file DescribeHostReservationOfferingsRequest.h.

◆ SetNextToken() [3/3]

void Aws::EC2::Model::DescribeHostReservationOfferingsRequest::SetNextToken ( const char *  value)
inline

The token to use to retrieve the next page of results.

Definition at line 250 of file DescribeHostReservationOfferingsRequest.h.

◆ SetOfferingId() [1/3]

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

The ID of the reservation offering.

Definition at line 281 of file DescribeHostReservationOfferingsRequest.h.

◆ SetOfferingId() [2/3]

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

The ID of the reservation offering.

Definition at line 286 of file DescribeHostReservationOfferingsRequest.h.

◆ SetOfferingId() [3/3]

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

The ID of the reservation offering.

Definition at line 291 of file DescribeHostReservationOfferingsRequest.h.

◆ WithFilter() [1/2]

DescribeHostReservationOfferingsRequest& Aws::EC2::Model::DescribeHostReservationOfferingsRequest::WithFilter ( const Aws::Vector< Filter > &  value)
inline

The filters.

  • instance-family - The instance family of the offering (for example, m4).

  • payment-option - The payment option (NoUpfront | PartialUpfront | AllUpfront).

Definition at line 89 of file DescribeHostReservationOfferingsRequest.h.

◆ WithFilter() [2/2]

DescribeHostReservationOfferingsRequest& Aws::EC2::Model::DescribeHostReservationOfferingsRequest::WithFilter ( Aws::Vector< Filter > &&  value)
inline

The filters.

  • instance-family - The instance family of the offering (for example, m4).

  • payment-option - The payment option (NoUpfront | PartialUpfront | AllUpfront).

Definition at line 97 of file DescribeHostReservationOfferingsRequest.h.

◆ WithMaxDuration()

DescribeHostReservationOfferingsRequest& Aws::EC2::Model::DescribeHostReservationOfferingsRequest::WithMaxDuration ( int  value)
inline

This is the maximum duration of the reservation to purchase, specified in seconds. Reservations are available in one-year and three-year terms. The number of seconds specified must be the number of seconds in a year (365x24x60x60) times one of the supported durations (1 or 3). For example, specify 94608000 for three years.

Definition at line 150 of file DescribeHostReservationOfferingsRequest.h.

◆ WithMaxResults()

DescribeHostReservationOfferingsRequest& Aws::EC2::Model::DescribeHostReservationOfferingsRequest::WithMaxResults ( int  value)
inline

The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned nextToken value. This value can be between 5 and 500. If maxResults is given a larger value than 500, you receive an error.

Definition at line 187 of file DescribeHostReservationOfferingsRequest.h.

◆ WithMinDuration()

DescribeHostReservationOfferingsRequest& Aws::EC2::Model::DescribeHostReservationOfferingsRequest::WithMinDuration ( int  value)
inline

This is the minimum duration of the reservation you'd like to purchase, specified in seconds. Reservations are available in one-year and three-year terms. The number of seconds specified must be the number of seconds in a year (365x24x60x60) times one of the supported durations (1 or 3). For example, specify 31536000 for one year.

Definition at line 224 of file DescribeHostReservationOfferingsRequest.h.

◆ WithNextToken() [1/3]

DescribeHostReservationOfferingsRequest& Aws::EC2::Model::DescribeHostReservationOfferingsRequest::WithNextToken ( const Aws::String value)
inline

The token to use to retrieve the next page of results.

Definition at line 255 of file DescribeHostReservationOfferingsRequest.h.

◆ WithNextToken() [2/3]

DescribeHostReservationOfferingsRequest& Aws::EC2::Model::DescribeHostReservationOfferingsRequest::WithNextToken ( Aws::String &&  value)
inline

The token to use to retrieve the next page of results.

Definition at line 260 of file DescribeHostReservationOfferingsRequest.h.

◆ WithNextToken() [3/3]

DescribeHostReservationOfferingsRequest& Aws::EC2::Model::DescribeHostReservationOfferingsRequest::WithNextToken ( const char *  value)
inline

The token to use to retrieve the next page of results.

Definition at line 265 of file DescribeHostReservationOfferingsRequest.h.

◆ WithOfferingId() [1/3]

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

The ID of the reservation offering.

Definition at line 296 of file DescribeHostReservationOfferingsRequest.h.

◆ WithOfferingId() [2/3]

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

The ID of the reservation offering.

Definition at line 301 of file DescribeHostReservationOfferingsRequest.h.

◆ WithOfferingId() [3/3]

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

The ID of the reservation offering.

Definition at line 306 of file DescribeHostReservationOfferingsRequest.h.


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