/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the vCPU configurations for the instance type.See
* Also:
AWS API
* Reference
The default number of vCPUs for the instance type.
*/ inline int GetDefaultVCpus() const{ return m_defaultVCpus; } /** *The default number of vCPUs for the instance type.
*/ inline bool DefaultVCpusHasBeenSet() const { return m_defaultVCpusHasBeenSet; } /** *The default number of vCPUs for the instance type.
*/ inline void SetDefaultVCpus(int value) { m_defaultVCpusHasBeenSet = true; m_defaultVCpus = value; } /** *The default number of vCPUs for the instance type.
*/ inline VCpuInfo& WithDefaultVCpus(int value) { SetDefaultVCpus(value); return *this;} /** *The default number of cores for the instance type.
*/ inline int GetDefaultCores() const{ return m_defaultCores; } /** *The default number of cores for the instance type.
*/ inline bool DefaultCoresHasBeenSet() const { return m_defaultCoresHasBeenSet; } /** *The default number of cores for the instance type.
*/ inline void SetDefaultCores(int value) { m_defaultCoresHasBeenSet = true; m_defaultCores = value; } /** *The default number of cores for the instance type.
*/ inline VCpuInfo& WithDefaultCores(int value) { SetDefaultCores(value); return *this;} /** *The default number of threads per core for the instance type.
*/ inline int GetDefaultThreadsPerCore() const{ return m_defaultThreadsPerCore; } /** *The default number of threads per core for the instance type.
*/ inline bool DefaultThreadsPerCoreHasBeenSet() const { return m_defaultThreadsPerCoreHasBeenSet; } /** *The default number of threads per core for the instance type.
*/ inline void SetDefaultThreadsPerCore(int value) { m_defaultThreadsPerCoreHasBeenSet = true; m_defaultThreadsPerCore = value; } /** *The default number of threads per core for the instance type.
*/ inline VCpuInfo& WithDefaultThreadsPerCore(int value) { SetDefaultThreadsPerCore(value); return *this;} /** *List of the valid number of cores that can be configured for the instance * type.
*/ inline const Aws::VectorList of the valid number of cores that can be configured for the instance * type.
*/ inline bool ValidCoresHasBeenSet() const { return m_validCoresHasBeenSet; } /** *List of the valid number of cores that can be configured for the instance * type.
*/ inline void SetValidCores(const Aws::VectorList of the valid number of cores that can be configured for the instance * type.
*/ inline void SetValidCores(Aws::VectorList of the valid number of cores that can be configured for the instance * type.
*/ inline VCpuInfo& WithValidCores(const Aws::VectorList of the valid number of cores that can be configured for the instance * type.
*/ inline VCpuInfo& WithValidCores(Aws::VectorList of the valid number of cores that can be configured for the instance * type.
*/ inline VCpuInfo& AddValidCores(int value) { m_validCoresHasBeenSet = true; m_validCores.push_back(value); return *this; } /** *List of the valid number of threads per core that can be configured for the * instance type.
*/ inline const Aws::VectorList of the valid number of threads per core that can be configured for the * instance type.
*/ inline bool ValidThreadsPerCoreHasBeenSet() const { return m_validThreadsPerCoreHasBeenSet; } /** *List of the valid number of threads per core that can be configured for the * instance type.
*/ inline void SetValidThreadsPerCore(const Aws::VectorList of the valid number of threads per core that can be configured for the * instance type.
*/ inline void SetValidThreadsPerCore(Aws::VectorList of the valid number of threads per core that can be configured for the * instance type.
*/ inline VCpuInfo& WithValidThreadsPerCore(const Aws::VectorList of the valid number of threads per core that can be configured for the * instance type.
*/ inline VCpuInfo& WithValidThreadsPerCore(Aws::VectorList of the valid number of threads per core that can be configured for the * instance type.
*/ inline VCpuInfo& AddValidThreadsPerCore(int value) { m_validThreadsPerCoreHasBeenSet = true; m_validThreadsPerCore.push_back(value); return *this; } private: int m_defaultVCpus; bool m_defaultVCpusHasBeenSet; int m_defaultCores; bool m_defaultCoresHasBeenSet; int m_defaultThreadsPerCore; bool m_defaultThreadsPerCoreHasBeenSet; Aws::Vector