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

#include <InstanceCreditSpecification.h>

Public Member Functions

 InstanceCreditSpecification ()
 
 InstanceCreditSpecification (const Aws::Utils::Xml::XmlNode &xmlNode)
 
InstanceCreditSpecificationoperator= (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::StringGetInstanceId () const
 
bool InstanceIdHasBeenSet () const
 
void SetInstanceId (const Aws::String &value)
 
void SetInstanceId (Aws::String &&value)
 
void SetInstanceId (const char *value)
 
InstanceCreditSpecificationWithInstanceId (const Aws::String &value)
 
InstanceCreditSpecificationWithInstanceId (Aws::String &&value)
 
InstanceCreditSpecificationWithInstanceId (const char *value)
 
const Aws::StringGetCpuCredits () const
 
bool CpuCreditsHasBeenSet () const
 
void SetCpuCredits (const Aws::String &value)
 
void SetCpuCredits (Aws::String &&value)
 
void SetCpuCredits (const char *value)
 
InstanceCreditSpecificationWithCpuCredits (const Aws::String &value)
 
InstanceCreditSpecificationWithCpuCredits (Aws::String &&value)
 
InstanceCreditSpecificationWithCpuCredits (const char *value)
 

Detailed Description

Describes the credit option for CPU usage of a burstable performance instance.

See Also:

AWS API Reference

Definition at line 32 of file InstanceCreditSpecification.h.

Constructor & Destructor Documentation

◆ InstanceCreditSpecification() [1/2]

Aws::EC2::Model::InstanceCreditSpecification::InstanceCreditSpecification ( )

◆ InstanceCreditSpecification() [2/2]

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

Member Function Documentation

◆ CpuCreditsHasBeenSet()

bool Aws::EC2::Model::InstanceCreditSpecification::CpuCreditsHasBeenSet ( ) const
inline

The credit option for CPU usage of the instance. Valid values are standard and unlimited.

Definition at line 94 of file InstanceCreditSpecification.h.

◆ GetCpuCredits()

const Aws::String& Aws::EC2::Model::InstanceCreditSpecification::GetCpuCredits ( ) const
inline

The credit option for CPU usage of the instance. Valid values are standard and unlimited.

Definition at line 88 of file InstanceCreditSpecification.h.

◆ GetInstanceId()

const Aws::String& Aws::EC2::Model::InstanceCreditSpecification::GetInstanceId ( ) const
inline

The ID of the instance.

Definition at line 46 of file InstanceCreditSpecification.h.

◆ InstanceIdHasBeenSet()

bool Aws::EC2::Model::InstanceCreditSpecification::InstanceIdHasBeenSet ( ) const
inline

The ID of the instance.

Definition at line 51 of file InstanceCreditSpecification.h.

◆ operator=()

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

◆ OutputToStream() [1/2]

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

◆ OutputToStream() [2/2]

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

◆ SetCpuCredits() [1/3]

void Aws::EC2::Model::InstanceCreditSpecification::SetCpuCredits ( Aws::String &&  value)
inline

The credit option for CPU usage of the instance. Valid values are standard and unlimited.

Definition at line 106 of file InstanceCreditSpecification.h.

◆ SetCpuCredits() [2/3]

void Aws::EC2::Model::InstanceCreditSpecification::SetCpuCredits ( const Aws::String value)
inline

The credit option for CPU usage of the instance. Valid values are standard and unlimited.

Definition at line 100 of file InstanceCreditSpecification.h.

◆ SetCpuCredits() [3/3]

void Aws::EC2::Model::InstanceCreditSpecification::SetCpuCredits ( const char *  value)
inline

The credit option for CPU usage of the instance. Valid values are standard and unlimited.

Definition at line 112 of file InstanceCreditSpecification.h.

◆ SetInstanceId() [1/3]

void Aws::EC2::Model::InstanceCreditSpecification::SetInstanceId ( Aws::String &&  value)
inline

The ID of the instance.

Definition at line 61 of file InstanceCreditSpecification.h.

◆ SetInstanceId() [2/3]

void Aws::EC2::Model::InstanceCreditSpecification::SetInstanceId ( const Aws::String value)
inline

The ID of the instance.

Definition at line 56 of file InstanceCreditSpecification.h.

◆ SetInstanceId() [3/3]

void Aws::EC2::Model::InstanceCreditSpecification::SetInstanceId ( const char *  value)
inline

The ID of the instance.

Definition at line 66 of file InstanceCreditSpecification.h.

◆ WithCpuCredits() [1/3]

InstanceCreditSpecification& Aws::EC2::Model::InstanceCreditSpecification::WithCpuCredits ( Aws::String &&  value)
inline

The credit option for CPU usage of the instance. Valid values are standard and unlimited.

Definition at line 124 of file InstanceCreditSpecification.h.

◆ WithCpuCredits() [2/3]

InstanceCreditSpecification& Aws::EC2::Model::InstanceCreditSpecification::WithCpuCredits ( const Aws::String value)
inline

The credit option for CPU usage of the instance. Valid values are standard and unlimited.

Definition at line 118 of file InstanceCreditSpecification.h.

◆ WithCpuCredits() [3/3]

InstanceCreditSpecification& Aws::EC2::Model::InstanceCreditSpecification::WithCpuCredits ( const char *  value)
inline

The credit option for CPU usage of the instance. Valid values are standard and unlimited.

Definition at line 130 of file InstanceCreditSpecification.h.

◆ WithInstanceId() [1/3]

InstanceCreditSpecification& Aws::EC2::Model::InstanceCreditSpecification::WithInstanceId ( Aws::String &&  value)
inline

The ID of the instance.

Definition at line 76 of file InstanceCreditSpecification.h.

◆ WithInstanceId() [2/3]

InstanceCreditSpecification& Aws::EC2::Model::InstanceCreditSpecification::WithInstanceId ( const Aws::String value)
inline

The ID of the instance.

Definition at line 71 of file InstanceCreditSpecification.h.

◆ WithInstanceId() [3/3]

InstanceCreditSpecification& Aws::EC2::Model::InstanceCreditSpecification::WithInstanceId ( const char *  value)
inline

The ID of the instance.

Definition at line 81 of file InstanceCreditSpecification.h.


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