/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include 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
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