/** * 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 { /** *

Contains the number of open proactive and reactive insights in an analyzed * Amazon Web Services service.

See Also:

AWS * API Reference

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

The number of open proactive insights in the Amazon Web Services service

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

The number of open proactive insights in the Amazon Web Services service

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

The number of open proactive insights in the Amazon Web Services service

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

The number of open proactive insights in the Amazon Web Services service

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

The number of open reactive insights in the Amazon Web Services service

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

The number of open reactive insights in the Amazon Web Services service

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

The number of open reactive insights in the Amazon Web Services service

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

The number of open reactive insights in the Amazon Web Services service

*/ inline ServiceInsightHealth& WithOpenReactiveInsights(int value) { SetOpenReactiveInsights(value); return *this;} private: int m_openProactiveInsights; bool m_openProactiveInsightsHasBeenSet = false; int m_openReactiveInsights; bool m_openReactiveInsightsHasBeenSet = false; }; } // namespace Model } // namespace DevOpsGuru } // namespace Aws