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

The amount of ephemeral storage to allocate for the task. This parameter is * used to expand the total amount of ephemeral storage available, beyond the * default amount, for tasks hosted on Fargate. For more information, see Fargate * task storage in the Amazon ECS User Guide for Fargate.

*

This parameter is only supported for tasks hosted on Fargate using Linux * platform version 1.4.0 or later. This parameter is not supported * for Windows containers on Fargate.

See Also:

AWS * API Reference

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

The total amount, in GiB, of ephemeral storage to set for the task. The * minimum supported value is 21 GiB and the maximum supported value * is 200 GiB.

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

The total amount, in GiB, of ephemeral storage to set for the task. The * minimum supported value is 21 GiB and the maximum supported value * is 200 GiB.

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

The total amount, in GiB, of ephemeral storage to set for the task. The * minimum supported value is 21 GiB and the maximum supported value * is 200 GiB.

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

The total amount, in GiB, of ephemeral storage to set for the task. The * minimum supported value is 21 GiB and the maximum supported value * is 200 GiB.

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