7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/ec2/model/AmdSevSnpSpecification.h>
48 inline void SetCoreCount(
int value) { m_coreCountHasBeenSet =
true; m_coreCount = value; }
58 inline void SetThreadsPerCore(
int value) { m_threadsPerCoreHasBeenSet =
true; m_threadsPerCore = value; }
79 bool m_coreCountHasBeenSet =
false;
82 bool m_threadsPerCoreHasBeenSet =
false;
85 bool m_amdSevSnpHasBeenSet =
false;
CpuOptions & WithThreadsPerCore(int value)
void SetThreadsPerCore(int value)
CpuOptions & WithAmdSevSnp(const AmdSevSnpSpecification &value)
bool AmdSevSnpHasBeenSet() const
CpuOptions & WithCoreCount(int value)
CpuOptions & WithAmdSevSnp(AmdSevSnpSpecification &&value)
void SetCoreCount(int value)
const AmdSevSnpSpecification & GetAmdSevSnp() const
int GetThreadsPerCore() const
void SetAmdSevSnp(AmdSevSnpSpecification &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API CpuOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetAmdSevSnp(const AmdSevSnpSpecification &value)
bool ThreadsPerCoreHasBeenSet() const
AWS_EC2_API CpuOptions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool CoreCountHasBeenSet() const
std::basic_ostream< char, std::char_traits< char > > OStream