/** * 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 StartDataCollectionByAgentIdsResult { public: AWS_APPLICATIONDISCOVERYSERVICE_API StartDataCollectionByAgentIdsResult(); AWS_APPLICATIONDISCOVERYSERVICE_API StartDataCollectionByAgentIdsResult(const Aws::AmazonWebServiceResult& result); AWS_APPLICATIONDISCOVERYSERVICE_API StartDataCollectionByAgentIdsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Information about agents that were instructed to start collecting data. * Information includes the agent ID, a description of the operation performed, and * whether the agent configuration was updated.

*/ inline const Aws::Vector& GetAgentsConfigurationStatus() const{ return m_agentsConfigurationStatus; } /** *

Information about agents that were instructed to start collecting data. * Information includes the agent ID, a description of the operation performed, and * whether the agent configuration was updated.

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

Information about agents that were instructed to start collecting data. * Information includes the agent ID, a description of the operation performed, and * whether the agent configuration was updated.

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

Information about agents that were instructed to start collecting data. * Information includes the agent ID, a description of the operation performed, and * whether the agent configuration was updated.

*/ inline StartDataCollectionByAgentIdsResult& WithAgentsConfigurationStatus(const Aws::Vector& value) { SetAgentsConfigurationStatus(value); return *this;} /** *

Information about agents that were instructed to start collecting data. * Information includes the agent ID, a description of the operation performed, and * whether the agent configuration was updated.

*/ inline StartDataCollectionByAgentIdsResult& WithAgentsConfigurationStatus(Aws::Vector&& value) { SetAgentsConfigurationStatus(std::move(value)); return *this;} /** *

Information about agents that were instructed to start collecting data. * Information includes the agent ID, a description of the operation performed, and * whether the agent configuration was updated.

*/ inline StartDataCollectionByAgentIdsResult& AddAgentsConfigurationStatus(const AgentConfigurationStatus& value) { m_agentsConfigurationStatus.push_back(value); return *this; } /** *

Information about agents that were instructed to start collecting data. * Information includes the agent ID, a description of the operation performed, and * whether the agent configuration was updated.

*/ inline StartDataCollectionByAgentIdsResult& AddAgentsConfigurationStatus(AgentConfigurationStatus&& value) { m_agentsConfigurationStatus.push_back(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 StartDataCollectionByAgentIdsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline StartDataCollectionByAgentIdsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline StartDataCollectionByAgentIdsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_agentsConfigurationStatus; Aws::String m_requestId; }; } // namespace Model } // namespace ApplicationDiscoveryService } // namespace Aws