/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the properties of a Dedicated Host.See Also:
AWS
* API Reference
The number of cores on the Dedicated Host.
*/ inline int GetCores() const{ return m_cores; } /** *The number of cores on the Dedicated Host.
*/ inline bool CoresHasBeenSet() const { return m_coresHasBeenSet; } /** *The number of cores on the Dedicated Host.
*/ inline void SetCores(int value) { m_coresHasBeenSet = true; m_cores = value; } /** *The number of cores on the Dedicated Host.
*/ inline HostProperties& WithCores(int value) { SetCores(value); return *this;} /** *The instance type supported by the Dedicated Host. For example,
* m5.large
. If the host supports multiple instance types, no
* instanceType is returned.
The instance type supported by the Dedicated Host. For example,
* m5.large
. If the host supports multiple instance types, no
* instanceType is returned.
The instance type supported by the Dedicated Host. For example,
* m5.large
. If the host supports multiple instance types, no
* instanceType is returned.
The instance type supported by the Dedicated Host. For example,
* m5.large
. If the host supports multiple instance types, no
* instanceType is returned.
The instance type supported by the Dedicated Host. For example,
* m5.large
. If the host supports multiple instance types, no
* instanceType is returned.
The instance type supported by the Dedicated Host. For example,
* m5.large
. If the host supports multiple instance types, no
* instanceType is returned.
The instance type supported by the Dedicated Host. For example,
* m5.large
. If the host supports multiple instance types, no
* instanceType is returned.
The instance type supported by the Dedicated Host. For example,
* m5.large
. If the host supports multiple instance types, no
* instanceType is returned.
The instance family supported by the Dedicated Host. For example,
* m5
.
The instance family supported by the Dedicated Host. For example,
* m5
.
The instance family supported by the Dedicated Host. For example,
* m5
.
The instance family supported by the Dedicated Host. For example,
* m5
.
The instance family supported by the Dedicated Host. For example,
* m5
.
The instance family supported by the Dedicated Host. For example,
* m5
.
The instance family supported by the Dedicated Host. For example,
* m5
.
The instance family supported by the Dedicated Host. For example,
* m5
.
The number of sockets on the Dedicated Host.
*/ inline int GetSockets() const{ return m_sockets; } /** *The number of sockets on the Dedicated Host.
*/ inline bool SocketsHasBeenSet() const { return m_socketsHasBeenSet; } /** *The number of sockets on the Dedicated Host.
*/ inline void SetSockets(int value) { m_socketsHasBeenSet = true; m_sockets = value; } /** *The number of sockets on the Dedicated Host.
*/ inline HostProperties& WithSockets(int value) { SetSockets(value); return *this;} /** *The total number of vCPUs on the Dedicated Host.
*/ inline int GetTotalVCpus() const{ return m_totalVCpus; } /** *The total number of vCPUs on the Dedicated Host.
*/ inline bool TotalVCpusHasBeenSet() const { return m_totalVCpusHasBeenSet; } /** *The total number of vCPUs on the Dedicated Host.
*/ inline void SetTotalVCpus(int value) { m_totalVCpusHasBeenSet = true; m_totalVCpus = value; } /** *The total number of vCPUs on the Dedicated Host.
*/ inline HostProperties& WithTotalVCpus(int value) { SetTotalVCpus(value); return *this;} private: int m_cores; bool m_coresHasBeenSet = false; Aws::String m_instanceType; bool m_instanceTypeHasBeenSet = false; Aws::String m_instanceFamily; bool m_instanceFamilyHasBeenSet = false; int m_sockets; bool m_socketsHasBeenSet = false; int m_totalVCpus; bool m_totalVCpusHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws