/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The minimum and maximum number of vCPUs for an Amazon EC2 instance.
* See Also:
AWS
* API Reference
The maximum number of vCPUs.
*/ inline int GetMax() const{ return m_max; } /** *The maximum number of vCPUs.
*/ inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; } /** *The maximum number of vCPUs.
*/ inline void SetMax(int value) { m_maxHasBeenSet = true; m_max = value; } /** *The maximum number of vCPUs.
*/ inline AwsEc2LaunchTemplateDataInstanceRequirementsVCpuCountDetails& WithMax(int value) { SetMax(value); return *this;} /** *The minimum number of vCPUs.
*/ inline int GetMin() const{ return m_min; } /** *The minimum number of vCPUs.
*/ inline bool MinHasBeenSet() const { return m_minHasBeenSet; } /** *The minimum number of vCPUs.
*/ inline void SetMin(int value) { m_minHasBeenSet = true; m_min = value; } /** *The minimum number of vCPUs.
*/ inline AwsEc2LaunchTemplateDataInstanceRequirementsVCpuCountDetails& WithMin(int value) { SetMin(value); return *this;} private: int m_max; bool m_maxHasBeenSet = false; int m_min; bool m_minHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws