7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
49 inline void SetDefaultVCpus(
int value) { m_defaultVCpusHasBeenSet =
true; m_defaultVCpus = value; }
59 inline void SetDefaultCores(
int value) { m_defaultCoresHasBeenSet =
true; m_defaultCores = value; }
83 inline VCpuInfo&
AddValidCores(
int value) { m_validCoresHasBeenSet =
true; m_validCores.push_back(value);
return *
this; }
102 bool m_defaultVCpusHasBeenSet =
false;
105 bool m_defaultCoresHasBeenSet =
false;
107 int m_defaultThreadsPerCore;
108 bool m_defaultThreadsPerCoreHasBeenSet =
false;
111 bool m_validCoresHasBeenSet =
false;
114 bool m_validThreadsPerCoreHasBeenSet =
false;
VCpuInfo & WithValidCores(const Aws::Vector< int > &value)
bool DefaultCoresHasBeenSet() const
int GetDefaultVCpus() const
VCpuInfo & WithValidThreadsPerCore(Aws::Vector< int > &&value)
bool ValidThreadsPerCoreHasBeenSet() const
AWS_EC2_API VCpuInfo(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Vector< int > & GetValidThreadsPerCore() const
void SetValidCores(Aws::Vector< int > &&value)
void SetDefaultVCpus(int value)
void SetValidThreadsPerCore(Aws::Vector< int > &&value)
VCpuInfo & WithDefaultVCpus(int value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
VCpuInfo & WithValidThreadsPerCore(const Aws::Vector< int > &value)
const Aws::Vector< int > & GetValidCores() const
void SetValidCores(const Aws::Vector< int > &value)
int GetDefaultThreadsPerCore() const
bool DefaultVCpusHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetValidThreadsPerCore(const Aws::Vector< int > &value)
AWS_EC2_API VCpuInfo & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool DefaultThreadsPerCoreHasBeenSet() const
VCpuInfo & AddValidThreadsPerCore(int value)
bool ValidCoresHasBeenSet() const
int GetDefaultCores() const
void SetDefaultThreadsPerCore(int value)
VCpuInfo & WithDefaultThreadsPerCore(int value)
VCpuInfo & WithDefaultCores(int value)
void SetDefaultCores(int value)
VCpuInfo & WithValidCores(Aws::Vector< int > &&value)
VCpuInfo & AddValidCores(int value)
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream