/**
* 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, in MiB, for an Amazon EC2
* instance. See Also:
AWS
* API Reference
The maximum amount of memory, in MiB.
*/ inline int GetMax() const{ return m_max; } /** *The maximum amount of memory, in MiB.
*/ inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; } /** *The maximum amount of memory, in MiB.
*/ inline void SetMax(int value) { m_maxHasBeenSet = true; m_max = value; } /** *The maximum amount of memory, in MiB.
*/ inline AwsEc2LaunchTemplateDataInstanceRequirementsMemoryMiBDetails& WithMax(int value) { SetMax(value); return *this;} /** *The minimum amount of memory, in MiB.
*/ inline int GetMin() const{ return m_min; } /** *The minimum amount of memory, in MiB.
*/ inline bool MinHasBeenSet() const { return m_minHasBeenSet; } /** *The minimum amount of memory, in MiB.
*/ inline void SetMin(int value) { m_minHasBeenSet = true; m_min = value; } /** *The minimum amount of memory, in MiB.
*/ inline AwsEc2LaunchTemplateDataInstanceRequirementsMemoryMiBDetails& 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