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

The number of servers discovered.

*/ inline long long GetServers() const{ return m_servers; } /** *

The number of servers discovered.

*/ inline void SetServers(long long value) { m_servers = value; } /** *

The number of servers discovered.

*/ inline GetDiscoverySummaryResult& WithServers(long long value) { SetServers(value); return *this;} /** *

The number of applications discovered.

*/ inline long long GetApplications() const{ return m_applications; } /** *

The number of applications discovered.

*/ inline void SetApplications(long long value) { m_applications = value; } /** *

The number of applications discovered.

*/ inline GetDiscoverySummaryResult& WithApplications(long long value) { SetApplications(value); return *this;} /** *

The number of servers mapped to applications.

*/ inline long long GetServersMappedToApplications() const{ return m_serversMappedToApplications; } /** *

The number of servers mapped to applications.

*/ inline void SetServersMappedToApplications(long long value) { m_serversMappedToApplications = value; } /** *

The number of servers mapped to applications.

*/ inline GetDiscoverySummaryResult& WithServersMappedToApplications(long long value) { SetServersMappedToApplications(value); return *this;} /** *

The number of servers mapped to tags.

*/ inline long long GetServersMappedtoTags() const{ return m_serversMappedtoTags; } /** *

The number of servers mapped to tags.

*/ inline void SetServersMappedtoTags(long long value) { m_serversMappedtoTags = value; } /** *

The number of servers mapped to tags.

*/ inline GetDiscoverySummaryResult& WithServersMappedtoTags(long long value) { SetServersMappedtoTags(value); return *this;} /** *

Details about discovered agents, including agent status and health.

*/ inline const CustomerAgentInfo& GetAgentSummary() const{ return m_agentSummary; } /** *

Details about discovered agents, including agent status and health.

*/ inline void SetAgentSummary(const CustomerAgentInfo& value) { m_agentSummary = value; } /** *

Details about discovered agents, including agent status and health.

*/ inline void SetAgentSummary(CustomerAgentInfo&& value) { m_agentSummary = std::move(value); } /** *

Details about discovered agents, including agent status and health.

*/ inline GetDiscoverySummaryResult& WithAgentSummary(const CustomerAgentInfo& value) { SetAgentSummary(value); return *this;} /** *

Details about discovered agents, including agent status and health.

*/ inline GetDiscoverySummaryResult& WithAgentSummary(CustomerAgentInfo&& value) { SetAgentSummary(std::move(value)); return *this;} /** *

Details about discovered connectors, including connector status and * health.

*/ inline const CustomerConnectorInfo& GetConnectorSummary() const{ return m_connectorSummary; } /** *

Details about discovered connectors, including connector status and * health.

*/ inline void SetConnectorSummary(const CustomerConnectorInfo& value) { m_connectorSummary = value; } /** *

Details about discovered connectors, including connector status and * health.

*/ inline void SetConnectorSummary(CustomerConnectorInfo&& value) { m_connectorSummary = std::move(value); } /** *

Details about discovered connectors, including connector status and * health.

*/ inline GetDiscoverySummaryResult& WithConnectorSummary(const CustomerConnectorInfo& value) { SetConnectorSummary(value); return *this;} /** *

Details about discovered connectors, including connector status and * health.

*/ inline GetDiscoverySummaryResult& WithConnectorSummary(CustomerConnectorInfo&& value) { SetConnectorSummary(std::move(value)); return *this;} /** *

Details about Migration Evaluator collectors, including collector status and * health.

*/ inline const CustomerMeCollectorInfo& GetMeCollectorSummary() const{ return m_meCollectorSummary; } /** *

Details about Migration Evaluator collectors, including collector status and * health.

*/ inline void SetMeCollectorSummary(const CustomerMeCollectorInfo& value) { m_meCollectorSummary = value; } /** *

Details about Migration Evaluator collectors, including collector status and * health.

*/ inline void SetMeCollectorSummary(CustomerMeCollectorInfo&& value) { m_meCollectorSummary = std::move(value); } /** *

Details about Migration Evaluator collectors, including collector status and * health.

*/ inline GetDiscoverySummaryResult& WithMeCollectorSummary(const CustomerMeCollectorInfo& value) { SetMeCollectorSummary(value); return *this;} /** *

Details about Migration Evaluator collectors, including collector status and * health.

*/ inline GetDiscoverySummaryResult& WithMeCollectorSummary(CustomerMeCollectorInfo&& value) { SetMeCollectorSummary(std::move(value)); return *this;} /** *

Details about Agentless Collector collectors, including status.

*/ inline const CustomerAgentlessCollectorInfo& GetAgentlessCollectorSummary() const{ return m_agentlessCollectorSummary; } /** *

Details about Agentless Collector collectors, including status.

*/ inline void SetAgentlessCollectorSummary(const CustomerAgentlessCollectorInfo& value) { m_agentlessCollectorSummary = value; } /** *

Details about Agentless Collector collectors, including status.

*/ inline void SetAgentlessCollectorSummary(CustomerAgentlessCollectorInfo&& value) { m_agentlessCollectorSummary = std::move(value); } /** *

Details about Agentless Collector collectors, including status.

*/ inline GetDiscoverySummaryResult& WithAgentlessCollectorSummary(const CustomerAgentlessCollectorInfo& value) { SetAgentlessCollectorSummary(value); return *this;} /** *

Details about Agentless Collector collectors, including status.

*/ inline GetDiscoverySummaryResult& WithAgentlessCollectorSummary(CustomerAgentlessCollectorInfo&& value) { SetAgentlessCollectorSummary(std::move(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 GetDiscoverySummaryResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetDiscoverySummaryResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetDiscoverySummaryResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: long long m_servers; long long m_applications; long long m_serversMappedToApplications; long long m_serversMappedtoTags; CustomerAgentInfo m_agentSummary; CustomerConnectorInfo m_connectorSummary; CustomerMeCollectorInfo m_meCollectorSummary; CustomerAgentlessCollectorInfo m_agentlessCollectorSummary; Aws::String m_requestId; }; } // namespace Model } // namespace ApplicationDiscoveryService } // namespace Aws