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

#include <InstanceUsage.h>

Public Member Functions

 InstanceUsage ()
 
 InstanceUsage (const Aws::Utils::Xml::XmlNode &xmlNode)
 
InstanceUsageoperator= (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
 
const Aws::StringGetAccountId () const
 
bool AccountIdHasBeenSet () const
 
void SetAccountId (const Aws::String &value)
 
void SetAccountId (Aws::String &&value)
 
void SetAccountId (const char *value)
 
InstanceUsageWithAccountId (const Aws::String &value)
 
InstanceUsageWithAccountId (Aws::String &&value)
 
InstanceUsageWithAccountId (const char *value)
 
int GetUsedInstanceCount () const
 
bool UsedInstanceCountHasBeenSet () const
 
void SetUsedInstanceCount (int value)
 
InstanceUsageWithUsedInstanceCount (int value)
 

Detailed Description

Information about the Capacity Reservation usage.

See Also:


AWS API Reference

Definition at line 32 of file InstanceUsage.h.

Constructor & Destructor Documentation

◆ InstanceUsage() [1/2]

Aws::EC2::Model::InstanceUsage::InstanceUsage ( )

◆ InstanceUsage() [2/2]

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

Member Function Documentation

◆ AccountIdHasBeenSet()

bool Aws::EC2::Model::InstanceUsage::AccountIdHasBeenSet ( ) const
inline

The ID of the Amazon Web Services account that is making use of the Capacity Reservation.

Definition at line 53 of file InstanceUsage.h.

◆ GetAccountId()

const Aws::String& Aws::EC2::Model::InstanceUsage::GetAccountId ( ) const
inline

The ID of the Amazon Web Services account that is making use of the Capacity Reservation.

Definition at line 47 of file InstanceUsage.h.

◆ GetUsedInstanceCount()

int Aws::EC2::Model::InstanceUsage::GetUsedInstanceCount ( ) const
inline

The number of instances the Amazon Web Services account currently has in the Capacity Reservation.

Definition at line 96 of file InstanceUsage.h.

◆ operator=()

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

◆ OutputToStream() [1/2]

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

◆ OutputToStream() [2/2]

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

◆ SetAccountId() [1/3]

void Aws::EC2::Model::InstanceUsage::SetAccountId ( Aws::String &&  value)
inline

The ID of the Amazon Web Services account that is making use of the Capacity Reservation.

Definition at line 65 of file InstanceUsage.h.

◆ SetAccountId() [2/3]

void Aws::EC2::Model::InstanceUsage::SetAccountId ( const Aws::String value)
inline

The ID of the Amazon Web Services account that is making use of the Capacity Reservation.

Definition at line 59 of file InstanceUsage.h.

◆ SetAccountId() [3/3]

void Aws::EC2::Model::InstanceUsage::SetAccountId ( const char *  value)
inline

The ID of the Amazon Web Services account that is making use of the Capacity Reservation.

Definition at line 71 of file InstanceUsage.h.

◆ SetUsedInstanceCount()

void Aws::EC2::Model::InstanceUsage::SetUsedInstanceCount ( int  value)
inline

The number of instances the Amazon Web Services account currently has in the Capacity Reservation.

Definition at line 108 of file InstanceUsage.h.

◆ UsedInstanceCountHasBeenSet()

bool Aws::EC2::Model::InstanceUsage::UsedInstanceCountHasBeenSet ( ) const
inline

The number of instances the Amazon Web Services account currently has in the Capacity Reservation.

Definition at line 102 of file InstanceUsage.h.

◆ WithAccountId() [1/3]

InstanceUsage& Aws::EC2::Model::InstanceUsage::WithAccountId ( Aws::String &&  value)
inline

The ID of the Amazon Web Services account that is making use of the Capacity Reservation.

Definition at line 83 of file InstanceUsage.h.

◆ WithAccountId() [2/3]

InstanceUsage& Aws::EC2::Model::InstanceUsage::WithAccountId ( const Aws::String value)
inline

The ID of the Amazon Web Services account that is making use of the Capacity Reservation.

Definition at line 77 of file InstanceUsage.h.

◆ WithAccountId() [3/3]

InstanceUsage& Aws::EC2::Model::InstanceUsage::WithAccountId ( const char *  value)
inline

The ID of the Amazon Web Services account that is making use of the Capacity Reservation.

Definition at line 89 of file InstanceUsage.h.

◆ WithUsedInstanceCount()

InstanceUsage& Aws::EC2::Model::InstanceUsage::WithUsedInstanceCount ( int  value)
inline

The number of instances the Amazon Web Services account currently has in the Capacity Reservation.

Definition at line 114 of file InstanceUsage.h.


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