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

#include <CpuOptions.h>

Public Member Functions

 CpuOptions ()
 
 CpuOptions (const Aws::Utils::Xml::XmlNode &xmlNode)
 
CpuOptionsoperator= (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 GetCoreCount () const
 
bool CoreCountHasBeenSet () const
 
void SetCoreCount (int value)
 
CpuOptionsWithCoreCount (int value)
 
int GetThreadsPerCore () const
 
bool ThreadsPerCoreHasBeenSet () const
 
void SetThreadsPerCore (int value)
 
CpuOptionsWithThreadsPerCore (int value)
 

Detailed Description

The CPU options for the instance.

See Also:

AWS API Reference

Definition at line 29 of file CpuOptions.h.

Constructor & Destructor Documentation

◆ CpuOptions() [1/2]

Aws::EC2::Model::CpuOptions::CpuOptions ( )

◆ CpuOptions() [2/2]

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

Member Function Documentation

◆ CoreCountHasBeenSet()

bool Aws::EC2::Model::CpuOptions::CoreCountHasBeenSet ( ) const
inline

The number of CPU cores for the instance.

Definition at line 48 of file CpuOptions.h.

◆ GetCoreCount()

int Aws::EC2::Model::CpuOptions::GetCoreCount ( ) const
inline

The number of CPU cores for the instance.

Definition at line 43 of file CpuOptions.h.

◆ GetThreadsPerCore()

int Aws::EC2::Model::CpuOptions::GetThreadsPerCore ( ) const
inline

The number of threads per CPU core.

Definition at line 64 of file CpuOptions.h.

◆ operator=()

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

◆ OutputToStream() [1/2]

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

◆ OutputToStream() [2/2]

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

◆ SetCoreCount()

void Aws::EC2::Model::CpuOptions::SetCoreCount ( int  value)
inline

The number of CPU cores for the instance.

Definition at line 53 of file CpuOptions.h.

◆ SetThreadsPerCore()

void Aws::EC2::Model::CpuOptions::SetThreadsPerCore ( int  value)
inline

The number of threads per CPU core.

Definition at line 74 of file CpuOptions.h.

◆ ThreadsPerCoreHasBeenSet()

bool Aws::EC2::Model::CpuOptions::ThreadsPerCoreHasBeenSet ( ) const
inline

The number of threads per CPU core.

Definition at line 69 of file CpuOptions.h.

◆ WithCoreCount()

CpuOptions& Aws::EC2::Model::CpuOptions::WithCoreCount ( int  value)
inline

The number of CPU cores for the instance.

Definition at line 58 of file CpuOptions.h.

◆ WithThreadsPerCore()

CpuOptions& Aws::EC2::Model::CpuOptions::WithThreadsPerCore ( int  value)
inline

The number of threads per CPU core.

Definition at line 79 of file CpuOptions.h.


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