/** * 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 { /** *

CreateTaskResponse

See Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) of the task.

*/ inline const Aws::String& GetTaskArn() const{ return m_taskArn; } /** *

The Amazon Resource Name (ARN) of the task.

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

The Amazon Resource Name (ARN) of the task.

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

The Amazon Resource Name (ARN) of the task.

*/ inline void SetTaskArn(const char* value) { m_taskArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the task.

*/ inline CreateTaskResult& WithTaskArn(const Aws::String& value) { SetTaskArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the task.

*/ inline CreateTaskResult& WithTaskArn(Aws::String&& value) { SetTaskArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the task.

*/ inline CreateTaskResult& WithTaskArn(const char* value) { SetTaskArn(value); return *this;} private: Aws::String m_taskArn; }; } // namespace Model } // namespace DataSync } // namespace Aws