/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SWF { namespace Model { /** *

Provides the details of the * SignalExternalWorkflowExecutionInitiated event.

See * Also:

AWS * API Reference

*/ class SignalExternalWorkflowExecutionInitiatedEventAttributes { public: AWS_SWF_API SignalExternalWorkflowExecutionInitiatedEventAttributes(); AWS_SWF_API SignalExternalWorkflowExecutionInitiatedEventAttributes(Aws::Utils::Json::JsonView jsonValue); AWS_SWF_API SignalExternalWorkflowExecutionInitiatedEventAttributes& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SWF_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The workflowId of the external workflow execution.

*/ inline const Aws::String& GetWorkflowId() const{ return m_workflowId; } /** *

The workflowId of the external workflow execution.

*/ inline bool WorkflowIdHasBeenSet() const { return m_workflowIdHasBeenSet; } /** *

The workflowId of the external workflow execution.

*/ inline void SetWorkflowId(const Aws::String& value) { m_workflowIdHasBeenSet = true; m_workflowId = value; } /** *

The workflowId of the external workflow execution.

*/ inline void SetWorkflowId(Aws::String&& value) { m_workflowIdHasBeenSet = true; m_workflowId = std::move(value); } /** *

The workflowId of the external workflow execution.

*/ inline void SetWorkflowId(const char* value) { m_workflowIdHasBeenSet = true; m_workflowId.assign(value); } /** *

The workflowId of the external workflow execution.

*/ inline SignalExternalWorkflowExecutionInitiatedEventAttributes& WithWorkflowId(const Aws::String& value) { SetWorkflowId(value); return *this;} /** *

The workflowId of the external workflow execution.

*/ inline SignalExternalWorkflowExecutionInitiatedEventAttributes& WithWorkflowId(Aws::String&& value) { SetWorkflowId(std::move(value)); return *this;} /** *

The workflowId of the external workflow execution.

*/ inline SignalExternalWorkflowExecutionInitiatedEventAttributes& WithWorkflowId(const char* value) { SetWorkflowId(value); return *this;} /** *

The runId of the external workflow execution to send the signal * to.

*/ inline const Aws::String& GetRunId() const{ return m_runId; } /** *

The runId of the external workflow execution to send the signal * to.

*/ inline bool RunIdHasBeenSet() const { return m_runIdHasBeenSet; } /** *

The runId of the external workflow execution to send the signal * to.

*/ inline void SetRunId(const Aws::String& value) { m_runIdHasBeenSet = true; m_runId = value; } /** *

The runId of the external workflow execution to send the signal * to.

*/ inline void SetRunId(Aws::String&& value) { m_runIdHasBeenSet = true; m_runId = std::move(value); } /** *

The runId of the external workflow execution to send the signal * to.

*/ inline void SetRunId(const char* value) { m_runIdHasBeenSet = true; m_runId.assign(value); } /** *

The runId of the external workflow execution to send the signal * to.

*/ inline SignalExternalWorkflowExecutionInitiatedEventAttributes& WithRunId(const Aws::String& value) { SetRunId(value); return *this;} /** *

The runId of the external workflow execution to send the signal * to.

*/ inline SignalExternalWorkflowExecutionInitiatedEventAttributes& WithRunId(Aws::String&& value) { SetRunId(std::move(value)); return *this;} /** *

The runId of the external workflow execution to send the signal * to.

*/ inline SignalExternalWorkflowExecutionInitiatedEventAttributes& WithRunId(const char* value) { SetRunId(value); return *this;} /** *

The name of the signal.

*/ inline const Aws::String& GetSignalName() const{ return m_signalName; } /** *

The name of the signal.

*/ inline bool SignalNameHasBeenSet() const { return m_signalNameHasBeenSet; } /** *

The name of the signal.

*/ inline void SetSignalName(const Aws::String& value) { m_signalNameHasBeenSet = true; m_signalName = value; } /** *

The name of the signal.

*/ inline void SetSignalName(Aws::String&& value) { m_signalNameHasBeenSet = true; m_signalName = std::move(value); } /** *

The name of the signal.

*/ inline void SetSignalName(const char* value) { m_signalNameHasBeenSet = true; m_signalName.assign(value); } /** *

The name of the signal.

*/ inline SignalExternalWorkflowExecutionInitiatedEventAttributes& WithSignalName(const Aws::String& value) { SetSignalName(value); return *this;} /** *

The name of the signal.

*/ inline SignalExternalWorkflowExecutionInitiatedEventAttributes& WithSignalName(Aws::String&& value) { SetSignalName(std::move(value)); return *this;} /** *

The name of the signal.

*/ inline SignalExternalWorkflowExecutionInitiatedEventAttributes& WithSignalName(const char* value) { SetSignalName(value); return *this;} /** *

The input provided to the signal.

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

The input provided to the signal.

*/ inline bool InputHasBeenSet() const { return m_inputHasBeenSet; } /** *

The input provided to the signal.

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

The input provided to the signal.

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

The input provided to the signal.

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

The input provided to the signal.

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

The input provided to the signal.

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

The input provided to the signal.

*/ inline SignalExternalWorkflowExecutionInitiatedEventAttributes& WithInput(const char* value) { SetInput(value); return *this;} /** *

The ID of the DecisionTaskCompleted event corresponding to the * decision task that resulted in the SignalExternalWorkflowExecution * decision for this signal. This information can be useful for diagnosing problems * by tracing back the chain of events leading up to this event.

*/ inline long long GetDecisionTaskCompletedEventId() const{ return m_decisionTaskCompletedEventId; } /** *

The ID of the DecisionTaskCompleted event corresponding to the * decision task that resulted in the SignalExternalWorkflowExecution * decision for this signal. This information can be useful for diagnosing problems * by tracing back the chain of events leading up to this event.

*/ inline bool DecisionTaskCompletedEventIdHasBeenSet() const { return m_decisionTaskCompletedEventIdHasBeenSet; } /** *

The ID of the DecisionTaskCompleted event corresponding to the * decision task that resulted in the SignalExternalWorkflowExecution * decision for this signal. This information can be useful for diagnosing problems * by tracing back the chain of events leading up to this event.

*/ inline void SetDecisionTaskCompletedEventId(long long value) { m_decisionTaskCompletedEventIdHasBeenSet = true; m_decisionTaskCompletedEventId = value; } /** *

The ID of the DecisionTaskCompleted event corresponding to the * decision task that resulted in the SignalExternalWorkflowExecution * decision for this signal. This information can be useful for diagnosing problems * by tracing back the chain of events leading up to this event.

*/ inline SignalExternalWorkflowExecutionInitiatedEventAttributes& WithDecisionTaskCompletedEventId(long long value) { SetDecisionTaskCompletedEventId(value); return *this;} /** *

Data attached to the event that can be used by the decider in subsequent * decision tasks.

*/ inline const Aws::String& GetControl() const{ return m_control; } /** *

Data attached to the event that can be used by the decider in subsequent * decision tasks.

*/ inline bool ControlHasBeenSet() const { return m_controlHasBeenSet; } /** *

Data attached to the event that can be used by the decider in subsequent * decision tasks.

*/ inline void SetControl(const Aws::String& value) { m_controlHasBeenSet = true; m_control = value; } /** *

Data attached to the event that can be used by the decider in subsequent * decision tasks.

*/ inline void SetControl(Aws::String&& value) { m_controlHasBeenSet = true; m_control = std::move(value); } /** *

Data attached to the event that can be used by the decider in subsequent * decision tasks.

*/ inline void SetControl(const char* value) { m_controlHasBeenSet = true; m_control.assign(value); } /** *

Data attached to the event that can be used by the decider in subsequent * decision tasks.

*/ inline SignalExternalWorkflowExecutionInitiatedEventAttributes& WithControl(const Aws::String& value) { SetControl(value); return *this;} /** *

Data attached to the event that can be used by the decider in subsequent * decision tasks.

*/ inline SignalExternalWorkflowExecutionInitiatedEventAttributes& WithControl(Aws::String&& value) { SetControl(std::move(value)); return *this;} /** *

Data attached to the event that can be used by the decider in subsequent * decision tasks.

*/ inline SignalExternalWorkflowExecutionInitiatedEventAttributes& WithControl(const char* value) { SetControl(value); return *this;} private: Aws::String m_workflowId; bool m_workflowIdHasBeenSet = false; Aws::String m_runId; bool m_runIdHasBeenSet = false; Aws::String m_signalName; bool m_signalNameHasBeenSet = false; Aws::String m_input; bool m_inputHasBeenSet = false; long long m_decisionTaskCompletedEventId; bool m_decisionTaskCompletedEventIdHasBeenSet = false; Aws::String m_control; bool m_controlHasBeenSet = false; }; } // namespace Model } // namespace SWF } // namespace Aws