/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The minimum and maximum amount of memory per vCPU, in GiB.See
* Also:
AWS
* API Reference
The minimum amount of memory per vCPU, in GiB. To specify no minimum limit, * omit this parameter.
*/ inline double GetMin() const{ return m_min; } /** *The minimum amount of memory per vCPU, in GiB. To specify no minimum limit, * omit this parameter.
*/ inline bool MinHasBeenSet() const { return m_minHasBeenSet; } /** *The minimum amount of memory per vCPU, in GiB. To specify no minimum limit, * omit this parameter.
*/ inline void SetMin(double value) { m_minHasBeenSet = true; m_min = value; } /** *The minimum amount of memory per vCPU, in GiB. To specify no minimum limit, * omit this parameter.
*/ inline MemoryGiBPerVCpuRequest& WithMin(double value) { SetMin(value); return *this;} /** *The maximum amount of memory per vCPU, in GiB. To specify no maximum limit, * omit this parameter.
*/ inline double GetMax() const{ return m_max; } /** *The maximum amount of memory per vCPU, in GiB. To specify no maximum limit, * omit this parameter.
*/ inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; } /** *The maximum amount of memory per vCPU, in GiB. To specify no maximum limit, * omit this parameter.
*/ inline void SetMax(double value) { m_maxHasBeenSet = true; m_max = value; } /** *The maximum amount of memory per vCPU, in GiB. To specify no maximum limit, * omit this parameter.
*/ inline MemoryGiBPerVCpuRequest& WithMax(double value) { SetMax(value); return *this;} private: double m_min; bool m_minHasBeenSet = false; double m_max; bool m_maxHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws