/** * 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 CodeCatalyst { namespace Model { /** *

Information about the persistent storage for a Dev Environment.

See * Also:

AWS * API Reference

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

The size of the persistent storage in gigabytes (specifically GiB).

*

Valid values for storage are based on memory sizes in 16GB increments. * Valid values are 16, 32, and 64.

*/ inline int GetSizeInGiB() const{ return m_sizeInGiB; } /** *

The size of the persistent storage in gigabytes (specifically GiB).

*

Valid values for storage are based on memory sizes in 16GB increments. * Valid values are 16, 32, and 64.

*/ inline bool SizeInGiBHasBeenSet() const { return m_sizeInGiBHasBeenSet; } /** *

The size of the persistent storage in gigabytes (specifically GiB).

*

Valid values for storage are based on memory sizes in 16GB increments. * Valid values are 16, 32, and 64.

*/ inline void SetSizeInGiB(int value) { m_sizeInGiBHasBeenSet = true; m_sizeInGiB = value; } /** *

The size of the persistent storage in gigabytes (specifically GiB).

*

Valid values for storage are based on memory sizes in 16GB increments. * Valid values are 16, 32, and 64.

*/ inline PersistentStorage& WithSizeInGiB(int value) { SetSizeInGiB(value); return *this;} private: int m_sizeInGiB; bool m_sizeInGiBHasBeenSet = false; }; } // namespace Model } // namespace CodeCatalyst } // namespace Aws