/** * 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 SFN { namespace Model { class AWS_SFN_API GetActivityTaskResult { public: GetActivityTaskResult(); GetActivityTaskResult(const Aws::AmazonWebServiceResult& result); GetActivityTaskResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A token that identifies the scheduled task. This token must be copied and * included in subsequent calls to SendTaskHeartbeat, SendTaskSuccess * or SendTaskFailure in order to report the progress or completion of the * task.

*/ inline const Aws::String& GetTaskToken() const{ return m_taskToken; } /** *

A token that identifies the scheduled task. This token must be copied and * included in subsequent calls to SendTaskHeartbeat, SendTaskSuccess * or SendTaskFailure in order to report the progress or completion of the * task.

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

A token that identifies the scheduled task. This token must be copied and * included in subsequent calls to SendTaskHeartbeat, SendTaskSuccess * or SendTaskFailure in order to report the progress or completion of the * task.

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

A token that identifies the scheduled task. This token must be copied and * included in subsequent calls to SendTaskHeartbeat, SendTaskSuccess * or SendTaskFailure in order to report the progress or completion of the * task.

*/ inline void SetTaskToken(const char* value) { m_taskToken.assign(value); } /** *

A token that identifies the scheduled task. This token must be copied and * included in subsequent calls to SendTaskHeartbeat, SendTaskSuccess * or SendTaskFailure in order to report the progress or completion of the * task.

*/ inline GetActivityTaskResult& WithTaskToken(const Aws::String& value) { SetTaskToken(value); return *this;} /** *

A token that identifies the scheduled task. This token must be copied and * included in subsequent calls to SendTaskHeartbeat, SendTaskSuccess * or SendTaskFailure in order to report the progress or completion of the * task.

*/ inline GetActivityTaskResult& WithTaskToken(Aws::String&& value) { SetTaskToken(std::move(value)); return *this;} /** *

A token that identifies the scheduled task. This token must be copied and * included in subsequent calls to SendTaskHeartbeat, SendTaskSuccess * or SendTaskFailure in order to report the progress or completion of the * task.

*/ inline GetActivityTaskResult& WithTaskToken(const char* value) { SetTaskToken(value); return *this;} /** *

The string that contains the JSON input data for the task.

*/ inline const Aws::String& GetInput() const{ return m_input; } /** *

The string that contains the JSON input data for the task.

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

The string that contains the JSON input data for the task.

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

The string that contains the JSON input data for the task.

*/ inline void SetInput(const char* value) { m_input.assign(value); } /** *

The string that contains the JSON input data for the task.

*/ inline GetActivityTaskResult& WithInput(const Aws::String& value) { SetInput(value); return *this;} /** *

The string that contains the JSON input data for the task.

*/ inline GetActivityTaskResult& WithInput(Aws::String&& value) { SetInput(std::move(value)); return *this;} /** *

The string that contains the JSON input data for the task.

*/ inline GetActivityTaskResult& WithInput(const char* value) { SetInput(value); return *this;} private: Aws::String m_taskToken; Aws::String m_input; }; } // namespace Model } // namespace SFN } // namespace Aws