/** * 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 StartTaskExecutionResult { public: AWS_DATASYNC_API StartTaskExecutionResult(); AWS_DATASYNC_API StartTaskExecutionResult(const Aws::AmazonWebServiceResult& result); AWS_DATASYNC_API StartTaskExecutionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ARN of the running task execution.

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

The ARN of the running task execution.

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

The ARN of the running task execution.

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

The ARN of the running task execution.

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

The ARN of the running task execution.

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

The ARN of the running task execution.

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

The ARN of the running task execution.

*/ inline StartTaskExecutionResult& WithTaskExecutionArn(const char* value) { SetTaskExecutionArn(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 StartTaskExecutionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline StartTaskExecutionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline StartTaskExecutionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_taskExecutionArn; Aws::String m_requestId; }; } // namespace Model } // namespace DataSync } // namespace Aws