/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about agents that were instructed to start collecting data.
* Information includes the agent ID, a description of the operation, and whether
* the agent configuration was updated.See Also:
AWS
* API Reference
The agent ID.
*/ inline const Aws::String& GetAgentId() const{ return m_agentId; } /** *The agent ID.
*/ inline bool AgentIdHasBeenSet() const { return m_agentIdHasBeenSet; } /** *The agent ID.
*/ inline void SetAgentId(const Aws::String& value) { m_agentIdHasBeenSet = true; m_agentId = value; } /** *The agent ID.
*/ inline void SetAgentId(Aws::String&& value) { m_agentIdHasBeenSet = true; m_agentId = std::move(value); } /** *The agent ID.
*/ inline void SetAgentId(const char* value) { m_agentIdHasBeenSet = true; m_agentId.assign(value); } /** *The agent ID.
*/ inline AgentConfigurationStatus& WithAgentId(const Aws::String& value) { SetAgentId(value); return *this;} /** *The agent ID.
*/ inline AgentConfigurationStatus& WithAgentId(Aws::String&& value) { SetAgentId(std::move(value)); return *this;} /** *The agent ID.
*/ inline AgentConfigurationStatus& WithAgentId(const char* value) { SetAgentId(value); return *this;} /** *Information about the status of the StartDataCollection
and
* StopDataCollection
operations. The system has recorded the data
* collection operation. The agent receives this command the next time it polls for
* a new command.
Information about the status of the StartDataCollection
and
* StopDataCollection
operations. The system has recorded the data
* collection operation. The agent receives this command the next time it polls for
* a new command.
Information about the status of the StartDataCollection
and
* StopDataCollection
operations. The system has recorded the data
* collection operation. The agent receives this command the next time it polls for
* a new command.
Information about the status of the StartDataCollection
and
* StopDataCollection
operations. The system has recorded the data
* collection operation. The agent receives this command the next time it polls for
* a new command.
A description of the operation performed.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *A description of the operation performed.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *A description of the operation performed.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *A description of the operation performed.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *A description of the operation performed.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *A description of the operation performed.
*/ inline AgentConfigurationStatus& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *A description of the operation performed.
*/ inline AgentConfigurationStatus& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *A description of the operation performed.
*/ inline AgentConfigurationStatus& WithDescription(const char* value) { SetDescription(value); return *this;} private: Aws::String m_agentId; bool m_agentIdHasBeenSet = false; bool m_operationSucceeded; bool m_operationSucceededHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; }; } // namespace Model } // namespace ApplicationDiscoveryService } // namespace Aws