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

Information about the number of open reactive and proactive insights that * can be used to gauge the health of your system.

See Also:

AWS * API Reference

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

The number of open proactive insights.

*/ inline int GetOpenProactiveInsights() const{ return m_openProactiveInsights; } /** *

The number of open proactive insights.

*/ inline bool OpenProactiveInsightsHasBeenSet() const { return m_openProactiveInsightsHasBeenSet; } /** *

The number of open proactive insights.

*/ inline void SetOpenProactiveInsights(int value) { m_openProactiveInsightsHasBeenSet = true; m_openProactiveInsights = value; } /** *

The number of open proactive insights.

*/ inline InsightHealth& WithOpenProactiveInsights(int value) { SetOpenProactiveInsights(value); return *this;} /** *

The number of open reactive insights.

*/ inline int GetOpenReactiveInsights() const{ return m_openReactiveInsights; } /** *

The number of open reactive insights.

*/ inline bool OpenReactiveInsightsHasBeenSet() const { return m_openReactiveInsightsHasBeenSet; } /** *

The number of open reactive insights.

*/ inline void SetOpenReactiveInsights(int value) { m_openReactiveInsightsHasBeenSet = true; m_openReactiveInsights = value; } /** *

The number of open reactive insights.

*/ inline InsightHealth& WithOpenReactiveInsights(int value) { SetOpenReactiveInsights(value); return *this;} /** *

The Meant Time to Recover (MTTR) for the insight.

*/ inline long long GetMeanTimeToRecoverInMilliseconds() const{ return m_meanTimeToRecoverInMilliseconds; } /** *

The Meant Time to Recover (MTTR) for the insight.

*/ inline bool MeanTimeToRecoverInMillisecondsHasBeenSet() const { return m_meanTimeToRecoverInMillisecondsHasBeenSet; } /** *

The Meant Time to Recover (MTTR) for the insight.

*/ inline void SetMeanTimeToRecoverInMilliseconds(long long value) { m_meanTimeToRecoverInMillisecondsHasBeenSet = true; m_meanTimeToRecoverInMilliseconds = value; } /** *

The Meant Time to Recover (MTTR) for the insight.

*/ inline InsightHealth& WithMeanTimeToRecoverInMilliseconds(long long value) { SetMeanTimeToRecoverInMilliseconds(value); return *this;} private: int m_openProactiveInsights; bool m_openProactiveInsightsHasBeenSet = false; int m_openReactiveInsights; bool m_openReactiveInsightsHasBeenSet = false; long long m_meanTimeToRecoverInMilliseconds; bool m_meanTimeToRecoverInMillisecondsHasBeenSet = false; }; } // namespace Model } // namespace DevOpsGuru } // namespace Aws