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

#include <GpuInfo.h>

Public Member Functions

 GpuInfo ()
 
 GpuInfo (const Aws::Utils::Xml::XmlNode &xmlNode)
 
GpuInfooperator= (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::Vector< GpuDeviceInfo > & GetGpus () const
 
bool GpusHasBeenSet () const
 
void SetGpus (const Aws::Vector< GpuDeviceInfo > &value)
 
void SetGpus (Aws::Vector< GpuDeviceInfo > &&value)
 
GpuInfoWithGpus (const Aws::Vector< GpuDeviceInfo > &value)
 
GpuInfoWithGpus (Aws::Vector< GpuDeviceInfo > &&value)
 
GpuInfoAddGpus (const GpuDeviceInfo &value)
 
GpuInfoAddGpus (GpuDeviceInfo &&value)
 
int GetTotalGpuMemoryInMiB () const
 
bool TotalGpuMemoryInMiBHasBeenSet () const
 
void SetTotalGpuMemoryInMiB (int value)
 
GpuInfoWithTotalGpuMemoryInMiB (int value)
 

Detailed Description

Describes the GPU accelerators for the instance type.

See Also:

AWS API Reference

Definition at line 33 of file GpuInfo.h.

Constructor & Destructor Documentation

◆ GpuInfo() [1/2]

Aws::EC2::Model::GpuInfo::GpuInfo ( )

◆ GpuInfo() [2/2]

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

Member Function Documentation

◆ AddGpus() [1/2]

GpuInfo& Aws::EC2::Model::GpuInfo::AddGpus ( const GpuDeviceInfo value)
inline

Describes the GPU accelerators for the instance type.

Definition at line 77 of file GpuInfo.h.

◆ AddGpus() [2/2]

GpuInfo& Aws::EC2::Model::GpuInfo::AddGpus ( GpuDeviceInfo &&  value)
inline

Describes the GPU accelerators for the instance type.

Definition at line 82 of file GpuInfo.h.

◆ GetGpus()

const Aws::Vector<GpuDeviceInfo>& Aws::EC2::Model::GpuInfo::GetGpus ( ) const
inline

Describes the GPU accelerators for the instance type.

Definition at line 47 of file GpuInfo.h.

◆ GetTotalGpuMemoryInMiB()

int Aws::EC2::Model::GpuInfo::GetTotalGpuMemoryInMiB ( ) const
inline

The total size of the memory for the GPU accelerators for the instance type, in MiB.

Definition at line 89 of file GpuInfo.h.

◆ GpusHasBeenSet()

bool Aws::EC2::Model::GpuInfo::GpusHasBeenSet ( ) const
inline

Describes the GPU accelerators for the instance type.

Definition at line 52 of file GpuInfo.h.

◆ operator=()

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

◆ OutputToStream() [1/2]

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

◆ OutputToStream() [2/2]

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

◆ SetGpus() [1/2]

void Aws::EC2::Model::GpuInfo::SetGpus ( Aws::Vector< GpuDeviceInfo > &&  value)
inline

Describes the GPU accelerators for the instance type.

Definition at line 62 of file GpuInfo.h.

◆ SetGpus() [2/2]

void Aws::EC2::Model::GpuInfo::SetGpus ( const Aws::Vector< GpuDeviceInfo > &  value)
inline

Describes the GPU accelerators for the instance type.

Definition at line 57 of file GpuInfo.h.

◆ SetTotalGpuMemoryInMiB()

void Aws::EC2::Model::GpuInfo::SetTotalGpuMemoryInMiB ( int  value)
inline

The total size of the memory for the GPU accelerators for the instance type, in MiB.

Definition at line 101 of file GpuInfo.h.

◆ TotalGpuMemoryInMiBHasBeenSet()

bool Aws::EC2::Model::GpuInfo::TotalGpuMemoryInMiBHasBeenSet ( ) const
inline

The total size of the memory for the GPU accelerators for the instance type, in MiB.

Definition at line 95 of file GpuInfo.h.

◆ WithGpus() [1/2]

GpuInfo& Aws::EC2::Model::GpuInfo::WithGpus ( Aws::Vector< GpuDeviceInfo > &&  value)
inline

Describes the GPU accelerators for the instance type.

Definition at line 72 of file GpuInfo.h.

◆ WithGpus() [2/2]

GpuInfo& Aws::EC2::Model::GpuInfo::WithGpus ( const Aws::Vector< GpuDeviceInfo > &  value)
inline

Describes the GPU accelerators for the instance type.

Definition at line 67 of file GpuInfo.h.

◆ WithTotalGpuMemoryInMiB()

GpuInfo& Aws::EC2::Model::GpuInfo::WithTotalGpuMemoryInMiB ( int  value)
inline

The total size of the memory for the GPU accelerators for the instance type, in MiB.

Definition at line 107 of file GpuInfo.h.


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