/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The capacity information for instances that can be launched onto the
* Dedicated Host. See Also:
AWS
* API Reference
The number of instances that can be launched onto the Dedicated Host * depending on the host's available capacity. For Dedicated Hosts that support * multiple instance types, this parameter represents the number of instances for * each instance size that is supported on the host.
*/ inline const Aws::VectorThe number of instances that can be launched onto the Dedicated Host * depending on the host's available capacity. For Dedicated Hosts that support * multiple instance types, this parameter represents the number of instances for * each instance size that is supported on the host.
*/ inline bool AvailableInstanceCapacityHasBeenSet() const { return m_availableInstanceCapacityHasBeenSet; } /** *The number of instances that can be launched onto the Dedicated Host * depending on the host's available capacity. For Dedicated Hosts that support * multiple instance types, this parameter represents the number of instances for * each instance size that is supported on the host.
*/ inline void SetAvailableInstanceCapacity(const Aws::VectorThe number of instances that can be launched onto the Dedicated Host * depending on the host's available capacity. For Dedicated Hosts that support * multiple instance types, this parameter represents the number of instances for * each instance size that is supported on the host.
*/ inline void SetAvailableInstanceCapacity(Aws::VectorThe number of instances that can be launched onto the Dedicated Host * depending on the host's available capacity. For Dedicated Hosts that support * multiple instance types, this parameter represents the number of instances for * each instance size that is supported on the host.
*/ inline AvailableCapacity& WithAvailableInstanceCapacity(const Aws::VectorThe number of instances that can be launched onto the Dedicated Host * depending on the host's available capacity. For Dedicated Hosts that support * multiple instance types, this parameter represents the number of instances for * each instance size that is supported on the host.
*/ inline AvailableCapacity& WithAvailableInstanceCapacity(Aws::VectorThe number of instances that can be launched onto the Dedicated Host * depending on the host's available capacity. For Dedicated Hosts that support * multiple instance types, this parameter represents the number of instances for * each instance size that is supported on the host.
*/ inline AvailableCapacity& AddAvailableInstanceCapacity(const InstanceCapacity& value) { m_availableInstanceCapacityHasBeenSet = true; m_availableInstanceCapacity.push_back(value); return *this; } /** *The number of instances that can be launched onto the Dedicated Host * depending on the host's available capacity. For Dedicated Hosts that support * multiple instance types, this parameter represents the number of instances for * each instance size that is supported on the host.
*/ inline AvailableCapacity& AddAvailableInstanceCapacity(InstanceCapacity&& value) { m_availableInstanceCapacityHasBeenSet = true; m_availableInstanceCapacity.push_back(std::move(value)); return *this; } /** *The number of vCPUs available for launching instances onto the Dedicated * Host.
*/ inline int GetAvailableVCpus() const{ return m_availableVCpus; } /** *The number of vCPUs available for launching instances onto the Dedicated * Host.
*/ inline bool AvailableVCpusHasBeenSet() const { return m_availableVCpusHasBeenSet; } /** *The number of vCPUs available for launching instances onto the Dedicated * Host.
*/ inline void SetAvailableVCpus(int value) { m_availableVCpusHasBeenSet = true; m_availableVCpus = value; } /** *The number of vCPUs available for launching instances onto the Dedicated * Host.
*/ inline AvailableCapacity& WithAvailableVCpus(int value) { SetAvailableVCpus(value); return *this;} private: Aws::Vector