/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace ApplicationDiscoveryService { namespace Model { /** *

Inventory data for installed discovery agents.

See Also:

AWS * API Reference

*/ class CustomerAgentInfo { public: AWS_APPLICATIONDISCOVERYSERVICE_API CustomerAgentInfo(); AWS_APPLICATIONDISCOVERYSERVICE_API CustomerAgentInfo(Aws::Utils::Json::JsonView jsonValue); AWS_APPLICATIONDISCOVERYSERVICE_API CustomerAgentInfo& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Number of active discovery agents.

*/ inline int GetActiveAgents() const{ return m_activeAgents; } /** *

Number of active discovery agents.

*/ inline bool ActiveAgentsHasBeenSet() const { return m_activeAgentsHasBeenSet; } /** *

Number of active discovery agents.

*/ inline void SetActiveAgents(int value) { m_activeAgentsHasBeenSet = true; m_activeAgents = value; } /** *

Number of active discovery agents.

*/ inline CustomerAgentInfo& WithActiveAgents(int value) { SetActiveAgents(value); return *this;} /** *

Number of healthy discovery agents

*/ inline int GetHealthyAgents() const{ return m_healthyAgents; } /** *

Number of healthy discovery agents

*/ inline bool HealthyAgentsHasBeenSet() const { return m_healthyAgentsHasBeenSet; } /** *

Number of healthy discovery agents

*/ inline void SetHealthyAgents(int value) { m_healthyAgentsHasBeenSet = true; m_healthyAgents = value; } /** *

Number of healthy discovery agents

*/ inline CustomerAgentInfo& WithHealthyAgents(int value) { SetHealthyAgents(value); return *this;} /** *

Number of blacklisted discovery agents.

*/ inline int GetBlackListedAgents() const{ return m_blackListedAgents; } /** *

Number of blacklisted discovery agents.

*/ inline bool BlackListedAgentsHasBeenSet() const { return m_blackListedAgentsHasBeenSet; } /** *

Number of blacklisted discovery agents.

*/ inline void SetBlackListedAgents(int value) { m_blackListedAgentsHasBeenSet = true; m_blackListedAgents = value; } /** *

Number of blacklisted discovery agents.

*/ inline CustomerAgentInfo& WithBlackListedAgents(int value) { SetBlackListedAgents(value); return *this;} /** *

Number of discovery agents with status SHUTDOWN.

*/ inline int GetShutdownAgents() const{ return m_shutdownAgents; } /** *

Number of discovery agents with status SHUTDOWN.

*/ inline bool ShutdownAgentsHasBeenSet() const { return m_shutdownAgentsHasBeenSet; } /** *

Number of discovery agents with status SHUTDOWN.

*/ inline void SetShutdownAgents(int value) { m_shutdownAgentsHasBeenSet = true; m_shutdownAgents = value; } /** *

Number of discovery agents with status SHUTDOWN.

*/ inline CustomerAgentInfo& WithShutdownAgents(int value) { SetShutdownAgents(value); return *this;} /** *

Number of unhealthy discovery agents.

*/ inline int GetUnhealthyAgents() const{ return m_unhealthyAgents; } /** *

Number of unhealthy discovery agents.

*/ inline bool UnhealthyAgentsHasBeenSet() const { return m_unhealthyAgentsHasBeenSet; } /** *

Number of unhealthy discovery agents.

*/ inline void SetUnhealthyAgents(int value) { m_unhealthyAgentsHasBeenSet = true; m_unhealthyAgents = value; } /** *

Number of unhealthy discovery agents.

*/ inline CustomerAgentInfo& WithUnhealthyAgents(int value) { SetUnhealthyAgents(value); return *this;} /** *

Total number of discovery agents.

*/ inline int GetTotalAgents() const{ return m_totalAgents; } /** *

Total number of discovery agents.

*/ inline bool TotalAgentsHasBeenSet() const { return m_totalAgentsHasBeenSet; } /** *

Total number of discovery agents.

*/ inline void SetTotalAgents(int value) { m_totalAgentsHasBeenSet = true; m_totalAgents = value; } /** *

Total number of discovery agents.

*/ inline CustomerAgentInfo& WithTotalAgents(int value) { SetTotalAgents(value); return *this;} /** *

Number of unknown discovery agents.

*/ inline int GetUnknownAgents() const{ return m_unknownAgents; } /** *

Number of unknown discovery agents.

*/ inline bool UnknownAgentsHasBeenSet() const { return m_unknownAgentsHasBeenSet; } /** *

Number of unknown discovery agents.

*/ inline void SetUnknownAgents(int value) { m_unknownAgentsHasBeenSet = true; m_unknownAgents = value; } /** *

Number of unknown discovery agents.

*/ inline CustomerAgentInfo& WithUnknownAgents(int value) { SetUnknownAgents(value); return *this;} private: int m_activeAgents; bool m_activeAgentsHasBeenSet = false; int m_healthyAgents; bool m_healthyAgentsHasBeenSet = false; int m_blackListedAgents; bool m_blackListedAgentsHasBeenSet = false; int m_shutdownAgents; bool m_shutdownAgentsHasBeenSet = false; int m_unhealthyAgents; bool m_unhealthyAgentsHasBeenSet = false; int m_totalAgents; bool m_totalAgentsHasBeenSet = false; int m_unknownAgents; bool m_unknownAgentsHasBeenSet = false; }; } // namespace Model } // namespace ApplicationDiscoveryService } // namespace Aws