/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #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 AWS_APPLICATIONDISCOVERYSERVICE_API DescribeAgentsResult { public: DescribeAgentsResult(); DescribeAgentsResult(const Aws::AmazonWebServiceResult& result); DescribeAgentsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Lists agents or the Connector by ID or lists all agents/Connectors associated * with your user account if you did not specify an agent/Connector ID. The output * includes agent/Connector IDs, IP addresses, media access control (MAC) * addresses, agent/Connector health, host name where the agent/Connector resides, * and the version number of each agent/Connector.

*/ inline const Aws::Vector& GetAgentsInfo() const{ return m_agentsInfo; } /** *

Lists agents or the Connector by ID or lists all agents/Connectors associated * with your user account if you did not specify an agent/Connector ID. The output * includes agent/Connector IDs, IP addresses, media access control (MAC) * addresses, agent/Connector health, host name where the agent/Connector resides, * and the version number of each agent/Connector.

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

Lists agents or the Connector by ID or lists all agents/Connectors associated * with your user account if you did not specify an agent/Connector ID. The output * includes agent/Connector IDs, IP addresses, media access control (MAC) * addresses, agent/Connector health, host name where the agent/Connector resides, * and the version number of each agent/Connector.

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

Lists agents or the Connector by ID or lists all agents/Connectors associated * with your user account if you did not specify an agent/Connector ID. The output * includes agent/Connector IDs, IP addresses, media access control (MAC) * addresses, agent/Connector health, host name where the agent/Connector resides, * and the version number of each agent/Connector.

*/ inline DescribeAgentsResult& WithAgentsInfo(const Aws::Vector& value) { SetAgentsInfo(value); return *this;} /** *

Lists agents or the Connector by ID or lists all agents/Connectors associated * with your user account if you did not specify an agent/Connector ID. The output * includes agent/Connector IDs, IP addresses, media access control (MAC) * addresses, agent/Connector health, host name where the agent/Connector resides, * and the version number of each agent/Connector.

*/ inline DescribeAgentsResult& WithAgentsInfo(Aws::Vector&& value) { SetAgentsInfo(std::move(value)); return *this;} /** *

Lists agents or the Connector by ID or lists all agents/Connectors associated * with your user account if you did not specify an agent/Connector ID. The output * includes agent/Connector IDs, IP addresses, media access control (MAC) * addresses, agent/Connector health, host name where the agent/Connector resides, * and the version number of each agent/Connector.

*/ inline DescribeAgentsResult& AddAgentsInfo(const AgentInfo& value) { m_agentsInfo.push_back(value); return *this; } /** *

Lists agents or the Connector by ID or lists all agents/Connectors associated * with your user account if you did not specify an agent/Connector ID. The output * includes agent/Connector IDs, IP addresses, media access control (MAC) * addresses, agent/Connector health, host name where the agent/Connector resides, * and the version number of each agent/Connector.

*/ inline DescribeAgentsResult& AddAgentsInfo(AgentInfo&& value) { m_agentsInfo.push_back(std::move(value)); return *this; } /** *

Token to retrieve the next set of results. For example, if you specified 100 * IDs for DescribeAgentsRequest$agentIds but set * DescribeAgentsRequest$maxResults to 10, you received a set of 10 * results along with this token. Use this token in the next query to retrieve the * next set of 10.

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

Token to retrieve the next set of results. For example, if you specified 100 * IDs for DescribeAgentsRequest$agentIds but set * DescribeAgentsRequest$maxResults to 10, you received a set of 10 * results along with this token. Use this token in the next query to retrieve the * next set of 10.

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

Token to retrieve the next set of results. For example, if you specified 100 * IDs for DescribeAgentsRequest$agentIds but set * DescribeAgentsRequest$maxResults to 10, you received a set of 10 * results along with this token. Use this token in the next query to retrieve the * next set of 10.

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

Token to retrieve the next set of results. For example, if you specified 100 * IDs for DescribeAgentsRequest$agentIds but set * DescribeAgentsRequest$maxResults to 10, you received a set of 10 * results along with this token. Use this token in the next query to retrieve the * next set of 10.

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

Token to retrieve the next set of results. For example, if you specified 100 * IDs for DescribeAgentsRequest$agentIds but set * DescribeAgentsRequest$maxResults to 10, you received a set of 10 * results along with this token. Use this token in the next query to retrieve the * next set of 10.

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

Token to retrieve the next set of results. For example, if you specified 100 * IDs for DescribeAgentsRequest$agentIds but set * DescribeAgentsRequest$maxResults to 10, you received a set of 10 * results along with this token. Use this token in the next query to retrieve the * next set of 10.

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

Token to retrieve the next set of results. For example, if you specified 100 * IDs for DescribeAgentsRequest$agentIds but set * DescribeAgentsRequest$maxResults to 10, you received a set of 10 * results along with this token. Use this token in the next query to retrieve the * next set of 10.

*/ inline DescribeAgentsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::Vector m_agentsInfo; Aws::String m_nextToken; }; } // namespace Model } // namespace ApplicationDiscoveryService } // namespace Aws