/** * 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 { namespace ApplicationDiscoveryService { namespace Model { /** */ class StopDataCollectionByAgentIdsRequest : public ApplicationDiscoveryServiceRequest { public: AWS_APPLICATIONDISCOVERYSERVICE_API StopDataCollectionByAgentIdsRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "StopDataCollectionByAgentIds"; } AWS_APPLICATIONDISCOVERYSERVICE_API Aws::String SerializePayload() const override; AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The IDs of the agents from which to stop collecting data.

*/ inline const Aws::Vector& GetAgentIds() const{ return m_agentIds; } /** *

The IDs of the agents from which to stop collecting data.

*/ inline bool AgentIdsHasBeenSet() const { return m_agentIdsHasBeenSet; } /** *

The IDs of the agents from which to stop collecting data.

*/ inline void SetAgentIds(const Aws::Vector& value) { m_agentIdsHasBeenSet = true; m_agentIds = value; } /** *

The IDs of the agents from which to stop collecting data.

*/ inline void SetAgentIds(Aws::Vector&& value) { m_agentIdsHasBeenSet = true; m_agentIds = std::move(value); } /** *

The IDs of the agents from which to stop collecting data.

*/ inline StopDataCollectionByAgentIdsRequest& WithAgentIds(const Aws::Vector& value) { SetAgentIds(value); return *this;} /** *

The IDs of the agents from which to stop collecting data.

*/ inline StopDataCollectionByAgentIdsRequest& WithAgentIds(Aws::Vector&& value) { SetAgentIds(std::move(value)); return *this;} /** *

The IDs of the agents from which to stop collecting data.

*/ inline StopDataCollectionByAgentIdsRequest& AddAgentIds(const Aws::String& value) { m_agentIdsHasBeenSet = true; m_agentIds.push_back(value); return *this; } /** *

The IDs of the agents from which to stop collecting data.

*/ inline StopDataCollectionByAgentIdsRequest& AddAgentIds(Aws::String&& value) { m_agentIdsHasBeenSet = true; m_agentIds.push_back(std::move(value)); return *this; } /** *

The IDs of the agents from which to stop collecting data.

*/ inline StopDataCollectionByAgentIdsRequest& AddAgentIds(const char* value) { m_agentIdsHasBeenSet = true; m_agentIds.push_back(value); return *this; } private: Aws::Vector m_agentIds; bool m_agentIdsHasBeenSet = false; }; } // namespace Model } // namespace ApplicationDiscoveryService } // namespace Aws