/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the swf-2012-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.SimpleWorkflow.Model { /// /// Provides the details of the WorkflowExecutionSignaled event. /// public partial class WorkflowExecutionSignaledEventAttributes { private long? _externalInitiatedEventId; private WorkflowExecution _externalWorkflowExecution; private string _input; private string _signalName; /// /// Gets and sets the property ExternalInitiatedEventId. /// /// The ID of the SignalExternalWorkflowExecutionInitiated event corresponding /// to the SignalExternalWorkflow decision to signal this workflow execution.The /// source event with this ID can be found in the history of the source workflow execution. /// This information can be useful for diagnosing problems by tracing back the chain of /// events leading up to this event. This field is set only if the signal was initiated /// by another workflow execution. /// /// public long ExternalInitiatedEventId { get { return this._externalInitiatedEventId.GetValueOrDefault(); } set { this._externalInitiatedEventId = value; } } // Check to see if ExternalInitiatedEventId property is set internal bool IsSetExternalInitiatedEventId() { return this._externalInitiatedEventId.HasValue; } /// /// Gets and sets the property ExternalWorkflowExecution. /// /// The workflow execution that sent the signal. This is set only of the signal was sent /// by another workflow execution. /// /// public WorkflowExecution ExternalWorkflowExecution { get { return this._externalWorkflowExecution; } set { this._externalWorkflowExecution = value; } } // Check to see if ExternalWorkflowExecution property is set internal bool IsSetExternalWorkflowExecution() { return this._externalWorkflowExecution != null; } /// /// Gets and sets the property Input. /// /// The inputs provided with the signal. The decider can use the signal name and inputs /// to determine how to process the signal. /// /// [AWSProperty(Max=32768)] public string Input { get { return this._input; } set { this._input = value; } } // Check to see if Input property is set internal bool IsSetInput() { return this._input != null; } /// /// Gets and sets the property SignalName. /// /// The name of the signal received. The decider can use the signal name and inputs to /// determine how to the process the signal. /// /// [AWSProperty(Required=true, Min=1, Max=256)] public string SignalName { get { return this._signalName; } set { this._signalName = value; } } // Check to see if SignalName property is set internal bool IsSetSignalName() { return this._signalName != null; } } }