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

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

*/ inline const Aws::Vector& GetProactiveInsights() const{ return m_proactiveInsights; } /** *

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

*/ inline void SetProactiveInsights(const Aws::Vector& value) { m_proactiveInsights = value; } /** *

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

*/ inline void SetProactiveInsights(Aws::Vector&& value) { m_proactiveInsights = std::move(value); } /** *

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

*/ inline ListOrganizationInsightsResult& WithProactiveInsights(const Aws::Vector& value) { SetProactiveInsights(value); return *this;} /** *

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

*/ inline ListOrganizationInsightsResult& WithProactiveInsights(Aws::Vector&& value) { SetProactiveInsights(std::move(value)); return *this;} /** *

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

*/ inline ListOrganizationInsightsResult& AddProactiveInsights(const ProactiveOrganizationInsightSummary& value) { m_proactiveInsights.push_back(value); return *this; } /** *

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

*/ inline ListOrganizationInsightsResult& AddProactiveInsights(ProactiveOrganizationInsightSummary&& value) { m_proactiveInsights.push_back(std::move(value)); return *this; } /** *

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

*/ inline const Aws::Vector& GetReactiveInsights() const{ return m_reactiveInsights; } /** *

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

*/ inline void SetReactiveInsights(const Aws::Vector& value) { m_reactiveInsights = value; } /** *

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

*/ inline void SetReactiveInsights(Aws::Vector&& value) { m_reactiveInsights = std::move(value); } /** *

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

*/ inline ListOrganizationInsightsResult& WithReactiveInsights(const Aws::Vector& value) { SetReactiveInsights(value); return *this;} /** *

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

*/ inline ListOrganizationInsightsResult& WithReactiveInsights(Aws::Vector&& value) { SetReactiveInsights(std::move(value)); return *this;} /** *

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

*/ inline ListOrganizationInsightsResult& AddReactiveInsights(const ReactiveOrganizationInsightSummary& value) { m_reactiveInsights.push_back(value); return *this; } /** *

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

*/ inline ListOrganizationInsightsResult& AddReactiveInsights(ReactiveOrganizationInsightSummary&& value) { m_reactiveInsights.push_back(std::move(value)); return *this; } /** *

The pagination token to use to retrieve the next page of results for this * operation. If there are no more pages, this value is null.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

The pagination token to use to retrieve the next page of results for this * operation. If there are no more pages, this value is null.

*/ inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } /** *

The pagination token to use to retrieve the next page of results for this * operation. If there are no more pages, this value is null.

*/ inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } /** *

The pagination token to use to retrieve the next page of results for this * operation. If there are no more pages, this value is null.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

The pagination token to use to retrieve the next page of results for this * operation. If there are no more pages, this value is null.

*/ inline ListOrganizationInsightsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

The pagination token to use to retrieve the next page of results for this * operation. If there are no more pages, this value is null.

*/ inline ListOrganizationInsightsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

The pagination token to use to retrieve the next page of results for this * operation. If there are no more pages, this value is null.

*/ inline ListOrganizationInsightsResult& WithNextToken(const char* value) { SetNextToken(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 ListOrganizationInsightsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListOrganizationInsightsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListOrganizationInsightsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_proactiveInsights; Aws::Vector m_reactiveInsights; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace DevOpsGuru } // namespace Aws