/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The memory size configurations of a container. See Also:
* AWS
* API Reference
The amount of memory in the container.
*/ inline int GetMemory() const{ return m_memory; } /** *The amount of memory in the container.
*/ inline bool MemoryHasBeenSet() const { return m_memoryHasBeenSet; } /** *The amount of memory in the container.
*/ inline void SetMemory(int value) { m_memoryHasBeenSet = true; m_memory = value; } /** *The amount of memory in the container.
*/ inline MemorySizeConfiguration& WithMemory(int value) { SetMemory(value); return *this;} /** *The limit of memory reserve for the container.
*/ inline int GetMemoryReservation() const{ return m_memoryReservation; } /** *The limit of memory reserve for the container.
*/ inline bool MemoryReservationHasBeenSet() const { return m_memoryReservationHasBeenSet; } /** *The limit of memory reserve for the container.
*/ inline void SetMemoryReservation(int value) { m_memoryReservationHasBeenSet = true; m_memoryReservation = value; } /** *The limit of memory reserve for the container.
*/ inline MemorySizeConfiguration& WithMemoryReservation(int value) { SetMemoryReservation(value); return *this;} private: int m_memory; bool m_memoryHasBeenSet = false; int m_memoryReservation; bool m_memoryReservationHasBeenSet = false; }; } // namespace Model } // namespace ComputeOptimizer } // namespace Aws