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

The health details of an Elastic Inference Accelerator.

See * Also:

AWS * API Reference

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

The health status of the Elastic Inference Accelerator.

*/ inline const Aws::String& GetStatus() const{ return m_status; } /** *

The health status of the Elastic Inference Accelerator.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The health status of the Elastic Inference Accelerator.

*/ inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The health status of the Elastic Inference Accelerator.

*/ inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The health status of the Elastic Inference Accelerator.

*/ inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); } /** *

The health status of the Elastic Inference Accelerator.

*/ inline ElasticInferenceAcceleratorHealth& WithStatus(const Aws::String& value) { SetStatus(value); return *this;} /** *

The health status of the Elastic Inference Accelerator.

*/ inline ElasticInferenceAcceleratorHealth& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;} /** *

The health status of the Elastic Inference Accelerator.

*/ inline ElasticInferenceAcceleratorHealth& WithStatus(const char* value) { SetStatus(value); return *this;} private: Aws::String m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace ElasticInference } // namespace Aws