/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SecurityHub { namespace Model { /** *

The minimum and maximum amount of total local storage, in GB, that an Amazon * EC2 instance uses.

See Also:

AWS * API Reference

*/ class AwsEc2LaunchTemplateDataInstanceRequirementsTotalLocalStorageGBDetails { public: AWS_SECURITYHUB_API AwsEc2LaunchTemplateDataInstanceRequirementsTotalLocalStorageGBDetails(); AWS_SECURITYHUB_API AwsEc2LaunchTemplateDataInstanceRequirementsTotalLocalStorageGBDetails(Aws::Utils::Json::JsonView jsonValue); AWS_SECURITYHUB_API AwsEc2LaunchTemplateDataInstanceRequirementsTotalLocalStorageGBDetails& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The maximum amount of total local storage, in GB.

*/ inline double GetMax() const{ return m_max; } /** *

The maximum amount of total local storage, in GB.

*/ inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; } /** *

The maximum amount of total local storage, in GB.

*/ inline void SetMax(double value) { m_maxHasBeenSet = true; m_max = value; } /** *

The maximum amount of total local storage, in GB.

*/ inline AwsEc2LaunchTemplateDataInstanceRequirementsTotalLocalStorageGBDetails& WithMax(double value) { SetMax(value); return *this;} /** *

The minimum amount of total local storage, in GB.

*/ inline double GetMin() const{ return m_min; } /** *

The minimum amount of total local storage, in GB.

*/ inline bool MinHasBeenSet() const { return m_minHasBeenSet; } /** *

The minimum amount of total local storage, in GB.

*/ inline void SetMin(double value) { m_minHasBeenSet = true; m_min = value; } /** *

The minimum amount of total local storage, in GB.

*/ inline AwsEc2LaunchTemplateDataInstanceRequirementsTotalLocalStorageGBDetails& WithMin(double value) { SetMin(value); return *this;} private: double m_max; bool m_maxHasBeenSet = false; double m_min; bool m_minHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws