/** * 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 DescribeOrganizationHealthResult { public: AWS_DEVOPSGURU_API DescribeOrganizationHealthResult(); AWS_DEVOPSGURU_API DescribeOrganizationHealthResult(const Aws::AmazonWebServiceResult& result); AWS_DEVOPSGURU_API DescribeOrganizationHealthResult& 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 DescribeOrganizationHealthResult& 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 DescribeOrganizationHealthResult& WithOpenProactiveInsights(int value) { SetOpenProactiveInsights(value); return *this;} /** *

An integer that specifies the number of metrics that have been analyzed in * your organization.

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

An integer that specifies the number of metrics that have been analyzed in * your organization.

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

An integer that specifies the number of metrics that have been analyzed in * your organization.

*/ inline DescribeOrganizationHealthResult& 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 DescribeOrganizationHealthResult& WithResourceHours(long long value) { SetResourceHours(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 DescribeOrganizationHealthResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeOrganizationHealthResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeOrganizationHealthResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: int m_openReactiveInsights; int m_openProactiveInsights; int m_metricsAnalyzed; long long m_resourceHours; Aws::String m_requestId; }; } // namespace Model } // namespace DevOpsGuru } // namespace Aws