7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ec2/EC2_EXPORTS.h>
44 m_defaultVCpusHasBeenSet =
true;
45 m_defaultVCpus = value;
60 m_defaultCoresHasBeenSet =
true;
61 m_defaultCores = value;
76 m_defaultThreadsPerCoreHasBeenSet =
true;
77 m_defaultThreadsPerCore = value;
91 template <
typename Val
idCoresT = Aws::Vector<
int>>
93 m_validCoresHasBeenSet =
true;
94 m_validCores = std::forward<ValidCoresT>(value);
96 template <
typename Val
idCoresT = Aws::Vector<
int>>
102 m_validCoresHasBeenSet =
true;
103 m_validCores.push_back(value);
115 template <
typename Val
idThreadsPerCoreT = Aws::Vector<
int>>
117 m_validThreadsPerCoreHasBeenSet =
true;
118 m_validThreadsPerCore = std::forward<ValidThreadsPerCoreT>(value);
120 template <
typename Val
idThreadsPerCoreT = Aws::Vector<
int>>
126 m_validThreadsPerCoreHasBeenSet =
true;
127 m_validThreadsPerCore.push_back(value);
132 int m_defaultVCpus{0};
134 int m_defaultCores{0};
136 int m_defaultThreadsPerCore{0};
141 bool m_defaultVCpusHasBeenSet =
false;
142 bool m_defaultCoresHasBeenSet =
false;
143 bool m_defaultThreadsPerCoreHasBeenSet =
false;
144 bool m_validCoresHasBeenSet =
false;
145 bool m_validThreadsPerCoreHasBeenSet =
false;
void SetValidThreadsPerCore(ValidThreadsPerCoreT &&value)
bool DefaultCoresHasBeenSet() const
VCpuInfo & WithValidThreadsPerCore(ValidThreadsPerCoreT &&value)
int GetDefaultVCpus() const
bool ValidThreadsPerCoreHasBeenSet() const
void SetValidCores(ValidCoresT &&value)
AWS_EC2_API VCpuInfo(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Vector< int > & GetValidThreadsPerCore() const
void SetDefaultVCpus(int value)
VCpuInfo & WithDefaultVCpus(int value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::Vector< int > & GetValidCores() const
int GetDefaultThreadsPerCore() const
bool DefaultVCpusHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
VCpuInfo & WithValidCores(ValidCoresT &&value)
AWS_EC2_API VCpuInfo & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API VCpuInfo()=default
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 & AddValidCores(int value)
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream