/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace DataSync { namespace Model { /** *

CreateAgentResponse

See Also:

AWS * API Reference

*/ class AWS_DATASYNC_API CreateAgentResult { public: CreateAgentResult(); CreateAgentResult(const Aws::AmazonWebServiceResult& result); CreateAgentResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The Amazon Resource Name (ARN) of the agent. Use the ListAgents * operation to return a list of agents for your account and AWS Region.

*/ inline const Aws::String& GetAgentArn() const{ return m_agentArn; } /** *

The Amazon Resource Name (ARN) of the agent. Use the ListAgents * operation to return a list of agents for your account and AWS Region.

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

The Amazon Resource Name (ARN) of the agent. Use the ListAgents * operation to return a list of agents for your account and AWS Region.

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

The Amazon Resource Name (ARN) of the agent. Use the ListAgents * operation to return a list of agents for your account and AWS Region.

*/ inline void SetAgentArn(const char* value) { m_agentArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the agent. Use the ListAgents * operation to return a list of agents for your account and AWS Region.

*/ inline CreateAgentResult& WithAgentArn(const Aws::String& value) { SetAgentArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the agent. Use the ListAgents * operation to return a list of agents for your account and AWS Region.

*/ inline CreateAgentResult& WithAgentArn(Aws::String&& value) { SetAgentArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the agent. Use the ListAgents * operation to return a list of agents for your account and AWS Region.

*/ inline CreateAgentResult& WithAgentArn(const char* value) { SetAgentArn(value); return *this;} private: Aws::String m_agentArn; }; } // namespace Model } // namespace DataSync } // namespace Aws