/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace DevOpsGuru { namespace Model { class DescribeAccountHealthResult { public: AWS_DEVOPSGURU_API DescribeAccountHealthResult(); AWS_DEVOPSGURU_API DescribeAccountHealthResult(const Aws::AmazonWebServiceResult& result); AWS_DEVOPSGURU_API DescribeAccountHealthResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

An integer that specifies the number of open reactive insights in your * Amazon Web Services account.

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

An integer that specifies the number of open reactive insights in your * Amazon Web Services account.

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

An integer that specifies the number of open reactive insights in your * Amazon Web Services account.

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

An integer that specifies the number of open proactive insights in your * Amazon Web Services account.

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

An integer that specifies the number of open proactive insights in your * Amazon Web Services account.

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

An integer that specifies the number of open proactive insights in your * Amazon Web Services account.

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

An integer that specifies the number of metrics that have been analyzed in * your Amazon Web Services account.

*/ inline int GetMetricsAnalyzed() const{ return m_metricsAnalyzed; } /** *

An integer that specifies the number of metrics that have been analyzed in * your Amazon Web Services account.

*/ inline void SetMetricsAnalyzed(int value) { m_metricsAnalyzed = value; } /** *

An integer that specifies the number of metrics that have been analyzed in * your Amazon Web Services account.

*/ inline DescribeAccountHealthResult& WithMetricsAnalyzed(int value) { SetMetricsAnalyzed(value); return *this;} /** *

The number of Amazon DevOps Guru resource analysis hours billed to the * current Amazon Web Services account in the last hour.

*/ inline long long GetResourceHours() const{ return m_resourceHours; } /** *

The number of Amazon DevOps Guru resource analysis hours billed to the * current Amazon Web Services account in the last hour.

*/ inline void SetResourceHours(long long value) { m_resourceHours = value; } /** *

The number of Amazon DevOps Guru resource analysis hours billed to the * current Amazon Web Services account in the last hour.

*/ inline DescribeAccountHealthResult& WithResourceHours(long long value) { SetResourceHours(value); return *this;} /** *

Number of resources that DevOps Guru is monitoring in your Amazon Web * Services account.

*/ inline long long GetAnalyzedResourceCount() const{ return m_analyzedResourceCount; } /** *

Number of resources that DevOps Guru is monitoring in your Amazon Web * Services account.

*/ inline void SetAnalyzedResourceCount(long long value) { m_analyzedResourceCount = value; } /** *

Number of resources that DevOps Guru is monitoring in your Amazon Web * Services account.

*/ inline DescribeAccountHealthResult& WithAnalyzedResourceCount(long long value) { SetAnalyzedResourceCount(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeAccountHealthResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeAccountHealthResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeAccountHealthResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: int m_openReactiveInsights; int m_openProactiveInsights; int m_metricsAnalyzed; long long m_resourceHours; long long m_analyzedResourceCount; Aws::String m_requestId; }; } // namespace Model } // namespace DevOpsGuru } // namespace Aws