/** * 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 SearchOrganizationInsightsResult { public: AWS_DEVOPSGURU_API SearchOrganizationInsightsResult(); AWS_DEVOPSGURU_API SearchOrganizationInsightsResult(const Aws::AmazonWebServiceResult& result); AWS_DEVOPSGURU_API SearchOrganizationInsightsResult& 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 SearchOrganizationInsightsResult& 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 SearchOrganizationInsightsResult& 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 SearchOrganizationInsightsResult& AddProactiveInsights(const ProactiveInsightSummary& 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 SearchOrganizationInsightsResult& AddProactiveInsights(ProactiveInsightSummary&& 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 SearchOrganizationInsightsResult& 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 SearchOrganizationInsightsResult& 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 SearchOrganizationInsightsResult& AddReactiveInsights(const ReactiveInsightSummary& 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 SearchOrganizationInsightsResult& AddReactiveInsights(ReactiveInsightSummary&& 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 SearchOrganizationInsightsResult& 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 SearchOrganizationInsightsResult& 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 SearchOrganizationInsightsResult& 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 SearchOrganizationInsightsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline SearchOrganizationInsightsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline SearchOrganizationInsightsResult& 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