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

#include <ElasticInferenceAccelerator.h>

Public Member Functions

 ElasticInferenceAccelerator ()
 
 ElasticInferenceAccelerator (const Aws::Utils::Xml::XmlNode &xmlNode)
 
ElasticInferenceAcceleratoroperator= (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::StringGetType () const
 
bool TypeHasBeenSet () const
 
void SetType (const Aws::String &value)
 
void SetType (Aws::String &&value)
 
void SetType (const char *value)
 
ElasticInferenceAcceleratorWithType (const Aws::String &value)
 
ElasticInferenceAcceleratorWithType (Aws::String &&value)
 
ElasticInferenceAcceleratorWithType (const char *value)
 
int GetCount () const
 
bool CountHasBeenSet () const
 
void SetCount (int value)
 
ElasticInferenceAcceleratorWithCount (int value)
 

Detailed Description

Describes an elastic inference accelerator.

See Also:

AWS API Reference

Definition at line 31 of file ElasticInferenceAccelerator.h.

Constructor & Destructor Documentation

◆ ElasticInferenceAccelerator() [1/2]

Aws::EC2::Model::ElasticInferenceAccelerator::ElasticInferenceAccelerator ( )

◆ ElasticInferenceAccelerator() [2/2]

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

Member Function Documentation

◆ CountHasBeenSet()

bool Aws::EC2::Model::ElasticInferenceAccelerator::CountHasBeenSet ( ) const
inline

The number of elastic inference accelerators to attach to the instance.

Default: 1

Definition at line 117 of file ElasticInferenceAccelerator.h.

◆ GetCount()

int Aws::EC2::Model::ElasticInferenceAccelerator::GetCount ( ) const
inline

The number of elastic inference accelerators to attach to the instance.

Default: 1

Definition at line 111 of file ElasticInferenceAccelerator.h.

◆ GetType()

const Aws::String& Aws::EC2::Model::ElasticInferenceAccelerator::GetType ( ) const
inline

The type of elastic inference accelerator. The possible values are eia1.medium, eia1.large, eia1.xlarge, eia2.medium, eia2.large, and eia2.xlarge.

Definition at line 48 of file ElasticInferenceAccelerator.h.

◆ operator=()

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

◆ OutputToStream() [1/2]

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

◆ OutputToStream() [2/2]

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

◆ SetCount()

void Aws::EC2::Model::ElasticInferenceAccelerator::SetCount ( int  value)
inline

The number of elastic inference accelerators to attach to the instance.

Default: 1

Definition at line 123 of file ElasticInferenceAccelerator.h.

◆ SetType() [1/3]

void Aws::EC2::Model::ElasticInferenceAccelerator::SetType ( Aws::String &&  value)
inline

The type of elastic inference accelerator. The possible values are eia1.medium, eia1.large, eia1.xlarge, eia2.medium, eia2.large, and eia2.xlarge.

Definition at line 72 of file ElasticInferenceAccelerator.h.

◆ SetType() [2/3]

void Aws::EC2::Model::ElasticInferenceAccelerator::SetType ( const Aws::String value)
inline

The type of elastic inference accelerator. The possible values are eia1.medium, eia1.large, eia1.xlarge, eia2.medium, eia2.large, and eia2.xlarge.

Definition at line 64 of file ElasticInferenceAccelerator.h.

◆ SetType() [3/3]

void Aws::EC2::Model::ElasticInferenceAccelerator::SetType ( const char *  value)
inline

The type of elastic inference accelerator. The possible values are eia1.medium, eia1.large, eia1.xlarge, eia2.medium, eia2.large, and eia2.xlarge.

Definition at line 80 of file ElasticInferenceAccelerator.h.

◆ TypeHasBeenSet()

bool Aws::EC2::Model::ElasticInferenceAccelerator::TypeHasBeenSet ( ) const
inline

The type of elastic inference accelerator. The possible values are eia1.medium, eia1.large, eia1.xlarge, eia2.medium, eia2.large, and eia2.xlarge.

Definition at line 56 of file ElasticInferenceAccelerator.h.

◆ WithCount()

ElasticInferenceAccelerator& Aws::EC2::Model::ElasticInferenceAccelerator::WithCount ( int  value)
inline

The number of elastic inference accelerators to attach to the instance.

Default: 1

Definition at line 129 of file ElasticInferenceAccelerator.h.

◆ WithType() [1/3]

ElasticInferenceAccelerator& Aws::EC2::Model::ElasticInferenceAccelerator::WithType ( Aws::String &&  value)
inline

The type of elastic inference accelerator. The possible values are eia1.medium, eia1.large, eia1.xlarge, eia2.medium, eia2.large, and eia2.xlarge.

Definition at line 96 of file ElasticInferenceAccelerator.h.

◆ WithType() [2/3]

ElasticInferenceAccelerator& Aws::EC2::Model::ElasticInferenceAccelerator::WithType ( const Aws::String value)
inline

The type of elastic inference accelerator. The possible values are eia1.medium, eia1.large, eia1.xlarge, eia2.medium, eia2.large, and eia2.xlarge.

Definition at line 88 of file ElasticInferenceAccelerator.h.

◆ WithType() [3/3]

ElasticInferenceAccelerator& Aws::EC2::Model::ElasticInferenceAccelerator::WithType ( const char *  value)
inline

The type of elastic inference accelerator. The possible values are eia1.medium, eia1.large, eia1.xlarge, eia2.medium, eia2.large, and eia2.xlarge.

Definition at line 104 of file ElasticInferenceAccelerator.h.


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