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

The memory information of an Elastic Inference Accelerator type. *

See Also:

AWS * API Reference

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

The size in mebibytes of the Elastic Inference Accelerator type.

*/ inline int GetSizeInMiB() const{ return m_sizeInMiB; } /** *

The size in mebibytes of the Elastic Inference Accelerator type.

*/ inline bool SizeInMiBHasBeenSet() const { return m_sizeInMiBHasBeenSet; } /** *

The size in mebibytes of the Elastic Inference Accelerator type.

*/ inline void SetSizeInMiB(int value) { m_sizeInMiBHasBeenSet = true; m_sizeInMiB = value; } /** *

The size in mebibytes of the Elastic Inference Accelerator type.

*/ inline MemoryInfo& WithSizeInMiB(int value) { SetSizeInMiB(value); return *this;} private: int m_sizeInMiB; bool m_sizeInMiBHasBeenSet = false; }; } // namespace Model } // namespace ElasticInference } // namespace Aws