/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Input data for a TaskCompleted response to a decision task.See
* Also:
AWS
* API Reference
The taskToken
from the DecisionTask.
* taskToken
is generated by the service and should be treated as an
* opaque value. If the task is passed to another process, its
* taskToken
must also be passed. This enables it to provide its
* progress and respond with results.
The taskToken
from the DecisionTask.
* taskToken
is generated by the service and should be treated as an
* opaque value. If the task is passed to another process, its
* taskToken
must also be passed. This enables it to provide its
* progress and respond with results.
The taskToken
from the DecisionTask.
* taskToken
is generated by the service and should be treated as an
* opaque value. If the task is passed to another process, its
* taskToken
must also be passed. This enables it to provide its
* progress and respond with results.
The taskToken
from the DecisionTask.
* taskToken
is generated by the service and should be treated as an
* opaque value. If the task is passed to another process, its
* taskToken
must also be passed. This enables it to provide its
* progress and respond with results.
The taskToken
from the DecisionTask.
* taskToken
is generated by the service and should be treated as an
* opaque value. If the task is passed to another process, its
* taskToken
must also be passed. This enables it to provide its
* progress and respond with results.
The taskToken
from the DecisionTask.
* taskToken
is generated by the service and should be treated as an
* opaque value. If the task is passed to another process, its
* taskToken
must also be passed. This enables it to provide its
* progress and respond with results.
The taskToken
from the DecisionTask.
* taskToken
is generated by the service and should be treated as an
* opaque value. If the task is passed to another process, its
* taskToken
must also be passed. This enables it to provide its
* progress and respond with results.
The taskToken
from the DecisionTask.
* taskToken
is generated by the service and should be treated as an
* opaque value. If the task is passed to another process, its
* taskToken
must also be passed. This enables it to provide its
* progress and respond with results.
The list of decisions (possibly empty) made by the decider while processing * this decision task. See the docs for the Decision structure for * details.
*/ inline const Aws::VectorThe list of decisions (possibly empty) made by the decider while processing * this decision task. See the docs for the Decision structure for * details.
*/ inline bool DecisionsHasBeenSet() const { return m_decisionsHasBeenSet; } /** *The list of decisions (possibly empty) made by the decider while processing * this decision task. See the docs for the Decision structure for * details.
*/ inline void SetDecisions(const Aws::VectorThe list of decisions (possibly empty) made by the decider while processing * this decision task. See the docs for the Decision structure for * details.
*/ inline void SetDecisions(Aws::VectorThe list of decisions (possibly empty) made by the decider while processing * this decision task. See the docs for the Decision structure for * details.
*/ inline RespondDecisionTaskCompletedRequest& WithDecisions(const Aws::VectorThe list of decisions (possibly empty) made by the decider while processing * this decision task. See the docs for the Decision structure for * details.
*/ inline RespondDecisionTaskCompletedRequest& WithDecisions(Aws::VectorThe list of decisions (possibly empty) made by the decider while processing * this decision task. See the docs for the Decision structure for * details.
*/ inline RespondDecisionTaskCompletedRequest& AddDecisions(const Decision& value) { m_decisionsHasBeenSet = true; m_decisions.push_back(value); return *this; } /** *The list of decisions (possibly empty) made by the decider while processing * this decision task. See the docs for the Decision structure for * details.
*/ inline RespondDecisionTaskCompletedRequest& AddDecisions(Decision&& value) { m_decisionsHasBeenSet = true; m_decisions.push_back(std::move(value)); return *this; } /** *User defined context to add to workflow execution.
*/ inline const Aws::String& GetExecutionContext() const{ return m_executionContext; } /** *User defined context to add to workflow execution.
*/ inline bool ExecutionContextHasBeenSet() const { return m_executionContextHasBeenSet; } /** *User defined context to add to workflow execution.
*/ inline void SetExecutionContext(const Aws::String& value) { m_executionContextHasBeenSet = true; m_executionContext = value; } /** *User defined context to add to workflow execution.
*/ inline void SetExecutionContext(Aws::String&& value) { m_executionContextHasBeenSet = true; m_executionContext = std::move(value); } /** *User defined context to add to workflow execution.
*/ inline void SetExecutionContext(const char* value) { m_executionContextHasBeenSet = true; m_executionContext.assign(value); } /** *User defined context to add to workflow execution.
*/ inline RespondDecisionTaskCompletedRequest& WithExecutionContext(const Aws::String& value) { SetExecutionContext(value); return *this;} /** *User defined context to add to workflow execution.
*/ inline RespondDecisionTaskCompletedRequest& WithExecutionContext(Aws::String&& value) { SetExecutionContext(std::move(value)); return *this;} /** *User defined context to add to workflow execution.
*/ inline RespondDecisionTaskCompletedRequest& WithExecutionContext(const char* value) { SetExecutionContext(value); return *this;} private: Aws::String m_taskToken; bool m_taskTokenHasBeenSet = false; Aws::Vector