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

#include <CpuOptionsRequest.h>

Public Member Functions

 CpuOptionsRequest ()
 
 CpuOptionsRequest (const Aws::Utils::Xml::XmlNode &xmlNode)
 
CpuOptionsRequestoperator= (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)
 
CpuOptionsRequestWithCoreCount (int value)
 
int GetThreadsPerCore () const
 
bool ThreadsPerCoreHasBeenSet () const
 
void SetThreadsPerCore (int value)
 
CpuOptionsRequestWithThreadsPerCore (int value)
 

Detailed Description

The CPU options for the instance. Both the core count and threads per core must be specified in the request.

See Also:

AWS API Reference

Definition at line 30 of file CpuOptionsRequest.h.

Constructor & Destructor Documentation

◆ CpuOptionsRequest() [1/2]

Aws::EC2::Model::CpuOptionsRequest::CpuOptionsRequest ( )

◆ CpuOptionsRequest() [2/2]

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

Member Function Documentation

◆ CoreCountHasBeenSet()

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

The number of CPU cores for the instance.

Definition at line 49 of file CpuOptionsRequest.h.

◆ GetCoreCount()

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

The number of CPU cores for the instance.

Definition at line 44 of file CpuOptionsRequest.h.

◆ GetThreadsPerCore()

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

The number of threads per CPU core. To disable multithreading for the instance, specify a value of 1. Otherwise, specify the default value of 2.

Definition at line 67 of file CpuOptionsRequest.h.

◆ operator=()

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

◆ OutputToStream() [1/2]

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

◆ OutputToStream() [2/2]

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

◆ SetCoreCount()

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

The number of CPU cores for the instance.

Definition at line 54 of file CpuOptionsRequest.h.

◆ SetThreadsPerCore()

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

The number of threads per CPU core. To disable multithreading for the instance, specify a value of 1. Otherwise, specify the default value of 2.

Definition at line 81 of file CpuOptionsRequest.h.

◆ ThreadsPerCoreHasBeenSet()

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

The number of threads per CPU core. To disable multithreading for the instance, specify a value of 1. Otherwise, specify the default value of 2.

Definition at line 74 of file CpuOptionsRequest.h.

◆ WithCoreCount()

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

The number of CPU cores for the instance.

Definition at line 59 of file CpuOptionsRequest.h.

◆ WithThreadsPerCore()

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

The number of threads per CPU core. To disable multithreading for the instance, specify a value of 1. Otherwise, specify the default value of 2.

Definition at line 88 of file CpuOptionsRequest.h.


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