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

#include <PurchaseRequest.h>

Public Member Functions

 PurchaseRequest ()
 
 PurchaseRequest (const Aws::Utils::Xml::XmlNode &xmlNode)
 
PurchaseRequestoperator= (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 GetInstanceCount () const
 
bool InstanceCountHasBeenSet () const
 
void SetInstanceCount (int value)
 
PurchaseRequestWithInstanceCount (int value)
 
const Aws::StringGetPurchaseToken () const
 
bool PurchaseTokenHasBeenSet () const
 
void SetPurchaseToken (const Aws::String &value)
 
void SetPurchaseToken (Aws::String &&value)
 
void SetPurchaseToken (const char *value)
 
PurchaseRequestWithPurchaseToken (const Aws::String &value)
 
PurchaseRequestWithPurchaseToken (Aws::String &&value)
 
PurchaseRequestWithPurchaseToken (const char *value)
 

Detailed Description

Describes a request to purchase Scheduled Instances.

See Also:

AWS API Reference

Definition at line 32 of file PurchaseRequest.h.

Constructor & Destructor Documentation

◆ PurchaseRequest() [1/2]

Aws::EC2::Model::PurchaseRequest::PurchaseRequest ( )

◆ PurchaseRequest() [2/2]

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

Member Function Documentation

◆ GetInstanceCount()

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

The number of instances.

Definition at line 46 of file PurchaseRequest.h.

◆ GetPurchaseToken()

const Aws::String& Aws::EC2::Model::PurchaseRequest::GetPurchaseToken ( ) const
inline

The purchase token.

Definition at line 67 of file PurchaseRequest.h.

◆ InstanceCountHasBeenSet()

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

The number of instances.

Definition at line 51 of file PurchaseRequest.h.

◆ operator=()

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

◆ OutputToStream() [1/2]

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

◆ OutputToStream() [2/2]

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

◆ PurchaseTokenHasBeenSet()

bool Aws::EC2::Model::PurchaseRequest::PurchaseTokenHasBeenSet ( ) const
inline

The purchase token.

Definition at line 72 of file PurchaseRequest.h.

◆ SetInstanceCount()

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

The number of instances.

Definition at line 56 of file PurchaseRequest.h.

◆ SetPurchaseToken() [1/3]

void Aws::EC2::Model::PurchaseRequest::SetPurchaseToken ( Aws::String &&  value)
inline

The purchase token.

Definition at line 82 of file PurchaseRequest.h.

◆ SetPurchaseToken() [2/3]

void Aws::EC2::Model::PurchaseRequest::SetPurchaseToken ( const Aws::String value)
inline

The purchase token.

Definition at line 77 of file PurchaseRequest.h.

◆ SetPurchaseToken() [3/3]

void Aws::EC2::Model::PurchaseRequest::SetPurchaseToken ( const char *  value)
inline

The purchase token.

Definition at line 87 of file PurchaseRequest.h.

◆ WithInstanceCount()

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

The number of instances.

Definition at line 61 of file PurchaseRequest.h.

◆ WithPurchaseToken() [1/3]

PurchaseRequest& Aws::EC2::Model::PurchaseRequest::WithPurchaseToken ( Aws::String &&  value)
inline

The purchase token.

Definition at line 97 of file PurchaseRequest.h.

◆ WithPurchaseToken() [2/3]

PurchaseRequest& Aws::EC2::Model::PurchaseRequest::WithPurchaseToken ( const Aws::String value)
inline

The purchase token.

Definition at line 92 of file PurchaseRequest.h.

◆ WithPurchaseToken() [3/3]

PurchaseRequest& Aws::EC2::Model::PurchaseRequest::WithPurchaseToken ( const char *  value)
inline

The purchase token.

Definition at line 102 of file PurchaseRequest.h.


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