/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace ApplicationDiscoveryService { namespace Model { class AWS_APPLICATIONDISCOVERYSERVICE_API GetDiscoverySummaryResult { public: GetDiscoverySummaryResult(); GetDiscoverySummaryResult(const Aws::AmazonWebServiceResult& result); 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;} private: long long m_servers; long long m_applications; long long m_serversMappedToApplications; long long m_serversMappedtoTags; CustomerAgentInfo m_agentSummary; CustomerConnectorInfo m_connectorSummary; }; } // namespace Model } // namespace ApplicationDiscoveryService } // namespace Aws