/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include CreateAgentResponseSee Also:
AWS
* API Reference
The ARN of the agent that you just activated. Use the ListAgents * operation to return a list of agents in your Amazon Web Services account and * Amazon Web Services Region.
*/ inline const Aws::String& GetAgentArn() const{ return m_agentArn; } /** *The ARN of the agent that you just activated. Use the ListAgents * operation to return a list of agents in your Amazon Web Services account and * Amazon Web Services Region.
*/ inline void SetAgentArn(const Aws::String& value) { m_agentArn = value; } /** *The ARN of the agent that you just activated. Use the ListAgents * operation to return a list of agents in your Amazon Web Services account and * Amazon Web Services Region.
*/ inline void SetAgentArn(Aws::String&& value) { m_agentArn = std::move(value); } /** *The ARN of the agent that you just activated. Use the ListAgents * operation to return a list of agents in your Amazon Web Services account and * Amazon Web Services Region.
*/ inline void SetAgentArn(const char* value) { m_agentArn.assign(value); } /** *The ARN of the agent that you just activated. Use the ListAgents * operation to return a list of agents in your Amazon Web Services account and * Amazon Web Services Region.
*/ inline CreateAgentResult& WithAgentArn(const Aws::String& value) { SetAgentArn(value); return *this;} /** *The ARN of the agent that you just activated. Use the ListAgents * operation to return a list of agents in your Amazon Web Services account and * Amazon Web Services Region.
*/ inline CreateAgentResult& WithAgentArn(Aws::String&& value) { SetAgentArn(std::move(value)); return *this;} /** *The ARN of the agent that you just activated. Use the ListAgents * operation to return a list of agents in your Amazon Web Services account and * Amazon Web Services Region.
*/ inline CreateAgentResult& WithAgentArn(const char* value) { SetAgentArn(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 CreateAgentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateAgentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateAgentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_agentArn; Aws::String m_requestId; }; } // namespace Model } // namespace DataSync } // namespace Aws