/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies the CPU options for an Amazon EC2 instance. For more information,
* see Optimize
* CPU options in the Amazon Elastic Compute Cloud User Guide.
* See Also:
AWS
* API Reference
The number of CPU cores for the instance.
*/ inline int GetCoreCount() const{ return m_coreCount; } /** *The number of CPU cores for the instance.
*/ inline bool CoreCountHasBeenSet() const { return m_coreCountHasBeenSet; } /** *The number of CPU cores for the instance.
*/ inline void SetCoreCount(int value) { m_coreCountHasBeenSet = true; m_coreCount = value; } /** *The number of CPU cores for the instance.
*/ inline AwsEc2LaunchTemplateDataCpuOptionsDetails& WithCoreCount(int value) { SetCoreCount(value); return *this;} /** * The number of threads per CPU core. A value of 1
disables
* multithreading for the instance, The default value is 2
.
The number of threads per CPU core. A value of 1
disables
* multithreading for the instance, The default value is 2
.
The number of threads per CPU core. A value of 1
disables
* multithreading for the instance, The default value is 2
.
The number of threads per CPU core. A value of 1
disables
* multithreading for the instance, The default value is 2
.