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