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

StartTaskExecutionResponse

See Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) of the specific task execution that was * started.

*/ inline const Aws::String& GetTaskExecutionArn() const{ return m_taskExecutionArn; } /** *

The Amazon Resource Name (ARN) of the specific task execution that was * started.

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

The Amazon Resource Name (ARN) of the specific task execution that was * started.

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

The Amazon Resource Name (ARN) of the specific task execution that was * started.

*/ inline void SetTaskExecutionArn(const char* value) { m_taskExecutionArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the specific task execution that was * started.

*/ inline StartTaskExecutionResult& WithTaskExecutionArn(const Aws::String& value) { SetTaskExecutionArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the specific task execution that was * started.

*/ inline StartTaskExecutionResult& WithTaskExecutionArn(Aws::String&& value) { SetTaskExecutionArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the specific task execution that was * started.

*/ inline StartTaskExecutionResult& WithTaskExecutionArn(const char* value) { SetTaskExecutionArn(value); return *this;} private: Aws::String m_taskExecutionArn; }; } // namespace Model } // namespace DataSync } // namespace Aws