/* * 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 Amazon.Runtime; namespace Amazon.SimpleWorkflow { /// /// Constants used for properties of type ActivityTaskTimeoutType. /// public class ActivityTaskTimeoutType : ConstantClass { /// /// Constant HEARTBEAT for ActivityTaskTimeoutType /// public static readonly ActivityTaskTimeoutType HEARTBEAT = new ActivityTaskTimeoutType("HEARTBEAT"); /// /// Constant SCHEDULE_TO_CLOSE for ActivityTaskTimeoutType /// public static readonly ActivityTaskTimeoutType SCHEDULE_TO_CLOSE = new ActivityTaskTimeoutType("SCHEDULE_TO_CLOSE"); /// /// Constant SCHEDULE_TO_START for ActivityTaskTimeoutType /// public static readonly ActivityTaskTimeoutType SCHEDULE_TO_START = new ActivityTaskTimeoutType("SCHEDULE_TO_START"); /// /// Constant START_TO_CLOSE for ActivityTaskTimeoutType /// public static readonly ActivityTaskTimeoutType START_TO_CLOSE = new ActivityTaskTimeoutType("START_TO_CLOSE"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public ActivityTaskTimeoutType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static ActivityTaskTimeoutType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator ActivityTaskTimeoutType(string value) { return FindValue(value); } } /// /// Constants used for properties of type CancelTimerFailedCause. /// public class CancelTimerFailedCause : ConstantClass { /// /// Constant OPERATION_NOT_PERMITTED for CancelTimerFailedCause /// public static readonly CancelTimerFailedCause OPERATION_NOT_PERMITTED = new CancelTimerFailedCause("OPERATION_NOT_PERMITTED"); /// /// Constant TIMER_ID_UNKNOWN for CancelTimerFailedCause /// public static readonly CancelTimerFailedCause TIMER_ID_UNKNOWN = new CancelTimerFailedCause("TIMER_ID_UNKNOWN"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public CancelTimerFailedCause(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static CancelTimerFailedCause FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator CancelTimerFailedCause(string value) { return FindValue(value); } } /// /// Constants used for properties of type CancelWorkflowExecutionFailedCause. /// public class CancelWorkflowExecutionFailedCause : ConstantClass { /// /// Constant OPERATION_NOT_PERMITTED for CancelWorkflowExecutionFailedCause /// public static readonly CancelWorkflowExecutionFailedCause OPERATION_NOT_PERMITTED = new CancelWorkflowExecutionFailedCause("OPERATION_NOT_PERMITTED"); /// /// Constant UNHANDLED_DECISION for CancelWorkflowExecutionFailedCause /// public static readonly CancelWorkflowExecutionFailedCause UNHANDLED_DECISION = new CancelWorkflowExecutionFailedCause("UNHANDLED_DECISION"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public CancelWorkflowExecutionFailedCause(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static CancelWorkflowExecutionFailedCause FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator CancelWorkflowExecutionFailedCause(string value) { return FindValue(value); } } /// /// Constants used for properties of type ChildPolicy. /// public class ChildPolicy : ConstantClass { /// /// Constant ABANDON for ChildPolicy /// public static readonly ChildPolicy ABANDON = new ChildPolicy("ABANDON"); /// /// Constant REQUEST_CANCEL for ChildPolicy /// public static readonly ChildPolicy REQUEST_CANCEL = new ChildPolicy("REQUEST_CANCEL"); /// /// Constant TERMINATE for ChildPolicy /// public static readonly ChildPolicy TERMINATE = new ChildPolicy("TERMINATE"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public ChildPolicy(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static ChildPolicy FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator ChildPolicy(string value) { return FindValue(value); } } /// /// Constants used for properties of type CloseStatus. /// public class CloseStatus : ConstantClass { /// /// Constant CANCELED for CloseStatus /// public static readonly CloseStatus CANCELED = new CloseStatus("CANCELED"); /// /// Constant COMPLETED for CloseStatus /// public static readonly CloseStatus COMPLETED = new CloseStatus("COMPLETED"); /// /// Constant CONTINUED_AS_NEW for CloseStatus /// public static readonly CloseStatus CONTINUED_AS_NEW = new CloseStatus("CONTINUED_AS_NEW"); /// /// Constant FAILED for CloseStatus /// public static readonly CloseStatus FAILED = new CloseStatus("FAILED"); /// /// Constant TERMINATED for CloseStatus /// public static readonly CloseStatus TERMINATED = new CloseStatus("TERMINATED"); /// /// Constant TIMED_OUT for CloseStatus /// public static readonly CloseStatus TIMED_OUT = new CloseStatus("TIMED_OUT"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public CloseStatus(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static CloseStatus FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator CloseStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type CompleteWorkflowExecutionFailedCause. /// public class CompleteWorkflowExecutionFailedCause : ConstantClass { /// /// Constant OPERATION_NOT_PERMITTED for CompleteWorkflowExecutionFailedCause /// public static readonly CompleteWorkflowExecutionFailedCause OPERATION_NOT_PERMITTED = new CompleteWorkflowExecutionFailedCause("OPERATION_NOT_PERMITTED"); /// /// Constant UNHANDLED_DECISION for CompleteWorkflowExecutionFailedCause /// public static readonly CompleteWorkflowExecutionFailedCause UNHANDLED_DECISION = new CompleteWorkflowExecutionFailedCause("UNHANDLED_DECISION"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public CompleteWorkflowExecutionFailedCause(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static CompleteWorkflowExecutionFailedCause FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator CompleteWorkflowExecutionFailedCause(string value) { return FindValue(value); } } /// /// Constants used for properties of type ContinueAsNewWorkflowExecutionFailedCause. /// public class ContinueAsNewWorkflowExecutionFailedCause : ConstantClass { /// /// Constant CONTINUE_AS_NEW_WORKFLOW_EXECUTION_RATE_EXCEEDED for ContinueAsNewWorkflowExecutionFailedCause /// public static readonly ContinueAsNewWorkflowExecutionFailedCause CONTINUE_AS_NEW_WORKFLOW_EXECUTION_RATE_EXCEEDED = new ContinueAsNewWorkflowExecutionFailedCause("CONTINUE_AS_NEW_WORKFLOW_EXECUTION_RATE_EXCEEDED"); /// /// Constant DEFAULT_CHILD_POLICY_UNDEFINED for ContinueAsNewWorkflowExecutionFailedCause /// public static readonly ContinueAsNewWorkflowExecutionFailedCause DEFAULT_CHILD_POLICY_UNDEFINED = new ContinueAsNewWorkflowExecutionFailedCause("DEFAULT_CHILD_POLICY_UNDEFINED"); /// /// Constant DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED for ContinueAsNewWorkflowExecutionFailedCause /// public static readonly ContinueAsNewWorkflowExecutionFailedCause DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED = new ContinueAsNewWorkflowExecutionFailedCause("DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED"); /// /// Constant DEFAULT_TASK_LIST_UNDEFINED for ContinueAsNewWorkflowExecutionFailedCause /// public static readonly ContinueAsNewWorkflowExecutionFailedCause DEFAULT_TASK_LIST_UNDEFINED = new ContinueAsNewWorkflowExecutionFailedCause("DEFAULT_TASK_LIST_UNDEFINED"); /// /// Constant DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED for ContinueAsNewWorkflowExecutionFailedCause /// public static readonly ContinueAsNewWorkflowExecutionFailedCause DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED = new ContinueAsNewWorkflowExecutionFailedCause("DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED"); /// /// Constant OPERATION_NOT_PERMITTED for ContinueAsNewWorkflowExecutionFailedCause /// public static readonly ContinueAsNewWorkflowExecutionFailedCause OPERATION_NOT_PERMITTED = new ContinueAsNewWorkflowExecutionFailedCause("OPERATION_NOT_PERMITTED"); /// /// Constant UNHANDLED_DECISION for ContinueAsNewWorkflowExecutionFailedCause /// public static readonly ContinueAsNewWorkflowExecutionFailedCause UNHANDLED_DECISION = new ContinueAsNewWorkflowExecutionFailedCause("UNHANDLED_DECISION"); /// /// Constant WORKFLOW_TYPE_DEPRECATED for ContinueAsNewWorkflowExecutionFailedCause /// public static readonly ContinueAsNewWorkflowExecutionFailedCause WORKFLOW_TYPE_DEPRECATED = new ContinueAsNewWorkflowExecutionFailedCause("WORKFLOW_TYPE_DEPRECATED"); /// /// Constant WORKFLOW_TYPE_DOES_NOT_EXIST for ContinueAsNewWorkflowExecutionFailedCause /// public static readonly ContinueAsNewWorkflowExecutionFailedCause WORKFLOW_TYPE_DOES_NOT_EXIST = new ContinueAsNewWorkflowExecutionFailedCause("WORKFLOW_TYPE_DOES_NOT_EXIST"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public ContinueAsNewWorkflowExecutionFailedCause(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static ContinueAsNewWorkflowExecutionFailedCause FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator ContinueAsNewWorkflowExecutionFailedCause(string value) { return FindValue(value); } } /// /// Constants used for properties of type DecisionTaskTimeoutType. /// public class DecisionTaskTimeoutType : ConstantClass { /// /// Constant START_TO_CLOSE for DecisionTaskTimeoutType /// public static readonly DecisionTaskTimeoutType START_TO_CLOSE = new DecisionTaskTimeoutType("START_TO_CLOSE"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public DecisionTaskTimeoutType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static DecisionTaskTimeoutType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator DecisionTaskTimeoutType(string value) { return FindValue(value); } } /// /// Constants used for properties of type DecisionType. /// public class DecisionType : ConstantClass { /// /// Constant CancelTimer for DecisionType /// public static readonly DecisionType CancelTimer = new DecisionType("CancelTimer"); /// /// Constant CancelWorkflowExecution for DecisionType /// public static readonly DecisionType CancelWorkflowExecution = new DecisionType("CancelWorkflowExecution"); /// /// Constant CompleteWorkflowExecution for DecisionType /// public static readonly DecisionType CompleteWorkflowExecution = new DecisionType("CompleteWorkflowExecution"); /// /// Constant ContinueAsNewWorkflowExecution for DecisionType /// public static readonly DecisionType ContinueAsNewWorkflowExecution = new DecisionType("ContinueAsNewWorkflowExecution"); /// /// Constant FailWorkflowExecution for DecisionType /// public static readonly DecisionType FailWorkflowExecution = new DecisionType("FailWorkflowExecution"); /// /// Constant RecordMarker for DecisionType /// public static readonly DecisionType RecordMarker = new DecisionType("RecordMarker"); /// /// Constant RequestCancelActivityTask for DecisionType /// public static readonly DecisionType RequestCancelActivityTask = new DecisionType("RequestCancelActivityTask"); /// /// Constant RequestCancelExternalWorkflowExecution for DecisionType /// public static readonly DecisionType RequestCancelExternalWorkflowExecution = new DecisionType("RequestCancelExternalWorkflowExecution"); /// /// Constant ScheduleActivityTask for DecisionType /// public static readonly DecisionType ScheduleActivityTask = new DecisionType("ScheduleActivityTask"); /// /// Constant ScheduleLambdaFunction for DecisionType /// public static readonly DecisionType ScheduleLambdaFunction = new DecisionType("ScheduleLambdaFunction"); /// /// Constant SignalExternalWorkflowExecution for DecisionType /// public static readonly DecisionType SignalExternalWorkflowExecution = new DecisionType("SignalExternalWorkflowExecution"); /// /// Constant StartChildWorkflowExecution for DecisionType /// public static readonly DecisionType StartChildWorkflowExecution = new DecisionType("StartChildWorkflowExecution"); /// /// Constant StartTimer for DecisionType /// public static readonly DecisionType StartTimer = new DecisionType("StartTimer"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public DecisionType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static DecisionType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator DecisionType(string value) { return FindValue(value); } } /// /// Constants used for properties of type EventType. /// public class EventType : ConstantClass { /// /// Constant ActivityTaskCanceled for EventType /// public static readonly EventType ActivityTaskCanceled = new EventType("ActivityTaskCanceled"); /// /// Constant ActivityTaskCancelRequested for EventType /// public static readonly EventType ActivityTaskCancelRequested = new EventType("ActivityTaskCancelRequested"); /// /// Constant ActivityTaskCompleted for EventType /// public static readonly EventType ActivityTaskCompleted = new EventType("ActivityTaskCompleted"); /// /// Constant ActivityTaskFailed for EventType /// public static readonly EventType ActivityTaskFailed = new EventType("ActivityTaskFailed"); /// /// Constant ActivityTaskScheduled for EventType /// public static readonly EventType ActivityTaskScheduled = new EventType("ActivityTaskScheduled"); /// /// Constant ActivityTaskStarted for EventType /// public static readonly EventType ActivityTaskStarted = new EventType("ActivityTaskStarted"); /// /// Constant ActivityTaskTimedOut for EventType /// public static readonly EventType ActivityTaskTimedOut = new EventType("ActivityTaskTimedOut"); /// /// Constant CancelTimerFailed for EventType /// public static readonly EventType CancelTimerFailed = new EventType("CancelTimerFailed"); /// /// Constant CancelWorkflowExecutionFailed for EventType /// public static readonly EventType CancelWorkflowExecutionFailed = new EventType("CancelWorkflowExecutionFailed"); /// /// Constant ChildWorkflowExecutionCanceled for EventType /// public static readonly EventType ChildWorkflowExecutionCanceled = new EventType("ChildWorkflowExecutionCanceled"); /// /// Constant ChildWorkflowExecutionCompleted for EventType /// public static readonly EventType ChildWorkflowExecutionCompleted = new EventType("ChildWorkflowExecutionCompleted"); /// /// Constant ChildWorkflowExecutionFailed for EventType /// public static readonly EventType ChildWorkflowExecutionFailed = new EventType("ChildWorkflowExecutionFailed"); /// /// Constant ChildWorkflowExecutionStarted for EventType /// public static readonly EventType ChildWorkflowExecutionStarted = new EventType("ChildWorkflowExecutionStarted"); /// /// Constant ChildWorkflowExecutionTerminated for EventType /// public static readonly EventType ChildWorkflowExecutionTerminated = new EventType("ChildWorkflowExecutionTerminated"); /// /// Constant ChildWorkflowExecutionTimedOut for EventType /// public static readonly EventType ChildWorkflowExecutionTimedOut = new EventType("ChildWorkflowExecutionTimedOut"); /// /// Constant CompleteWorkflowExecutionFailed for EventType /// public static readonly EventType CompleteWorkflowExecutionFailed = new EventType("CompleteWorkflowExecutionFailed"); /// /// Constant ContinueAsNewWorkflowExecutionFailed for EventType /// public static readonly EventType ContinueAsNewWorkflowExecutionFailed = new EventType("ContinueAsNewWorkflowExecutionFailed"); /// /// Constant DecisionTaskCompleted for EventType /// public static readonly EventType DecisionTaskCompleted = new EventType("DecisionTaskCompleted"); /// /// Constant DecisionTaskScheduled for EventType /// public static readonly EventType DecisionTaskScheduled = new EventType("DecisionTaskScheduled"); /// /// Constant DecisionTaskStarted for EventType /// public static readonly EventType DecisionTaskStarted = new EventType("DecisionTaskStarted"); /// /// Constant DecisionTaskTimedOut for EventType /// public static readonly EventType DecisionTaskTimedOut = new EventType("DecisionTaskTimedOut"); /// /// Constant ExternalWorkflowExecutionCancelRequested for EventType /// public static readonly EventType ExternalWorkflowExecutionCancelRequested = new EventType("ExternalWorkflowExecutionCancelRequested"); /// /// Constant ExternalWorkflowExecutionSignaled for EventType /// public static readonly EventType ExternalWorkflowExecutionSignaled = new EventType("ExternalWorkflowExecutionSignaled"); /// /// Constant FailWorkflowExecutionFailed for EventType /// public static readonly EventType FailWorkflowExecutionFailed = new EventType("FailWorkflowExecutionFailed"); /// /// Constant LambdaFunctionCompleted for EventType /// public static readonly EventType LambdaFunctionCompleted = new EventType("LambdaFunctionCompleted"); /// /// Constant LambdaFunctionFailed for EventType /// public static readonly EventType LambdaFunctionFailed = new EventType("LambdaFunctionFailed"); /// /// Constant LambdaFunctionScheduled for EventType /// public static readonly EventType LambdaFunctionScheduled = new EventType("LambdaFunctionScheduled"); /// /// Constant LambdaFunctionStarted for EventType /// public static readonly EventType LambdaFunctionStarted = new EventType("LambdaFunctionStarted"); /// /// Constant LambdaFunctionTimedOut for EventType /// public static readonly EventType LambdaFunctionTimedOut = new EventType("LambdaFunctionTimedOut"); /// /// Constant MarkerRecorded for EventType /// public static readonly EventType MarkerRecorded = new EventType("MarkerRecorded"); /// /// Constant RecordMarkerFailed for EventType /// public static readonly EventType RecordMarkerFailed = new EventType("RecordMarkerFailed"); /// /// Constant RequestCancelActivityTaskFailed for EventType /// public static readonly EventType RequestCancelActivityTaskFailed = new EventType("RequestCancelActivityTaskFailed"); /// /// Constant RequestCancelExternalWorkflowExecutionFailed for EventType /// public static readonly EventType RequestCancelExternalWorkflowExecutionFailed = new EventType("RequestCancelExternalWorkflowExecutionFailed"); /// /// Constant RequestCancelExternalWorkflowExecutionInitiated for EventType /// public static readonly EventType RequestCancelExternalWorkflowExecutionInitiated = new EventType("RequestCancelExternalWorkflowExecutionInitiated"); /// /// Constant ScheduleActivityTaskFailed for EventType /// public static readonly EventType ScheduleActivityTaskFailed = new EventType("ScheduleActivityTaskFailed"); /// /// Constant ScheduleLambdaFunctionFailed for EventType /// public static readonly EventType ScheduleLambdaFunctionFailed = new EventType("ScheduleLambdaFunctionFailed"); /// /// Constant SignalExternalWorkflowExecutionFailed for EventType /// public static readonly EventType SignalExternalWorkflowExecutionFailed = new EventType("SignalExternalWorkflowExecutionFailed"); /// /// Constant SignalExternalWorkflowExecutionInitiated for EventType /// public static readonly EventType SignalExternalWorkflowExecutionInitiated = new EventType("SignalExternalWorkflowExecutionInitiated"); /// /// Constant StartChildWorkflowExecutionFailed for EventType /// public static readonly EventType StartChildWorkflowExecutionFailed = new EventType("StartChildWorkflowExecutionFailed"); /// /// Constant StartChildWorkflowExecutionInitiated for EventType /// public static readonly EventType StartChildWorkflowExecutionInitiated = new EventType("StartChildWorkflowExecutionInitiated"); /// /// Constant StartLambdaFunctionFailed for EventType /// public static readonly EventType StartLambdaFunctionFailed = new EventType("StartLambdaFunctionFailed"); /// /// Constant StartTimerFailed for EventType /// public static readonly EventType StartTimerFailed = new EventType("StartTimerFailed"); /// /// Constant TimerCanceled for EventType /// public static readonly EventType TimerCanceled = new EventType("TimerCanceled"); /// /// Constant TimerFired for EventType /// public static readonly EventType TimerFired = new EventType("TimerFired"); /// /// Constant TimerStarted for EventType /// public static readonly EventType TimerStarted = new EventType("TimerStarted"); /// /// Constant WorkflowExecutionCanceled for EventType /// public static readonly EventType WorkflowExecutionCanceled = new EventType("WorkflowExecutionCanceled"); /// /// Constant WorkflowExecutionCancelRequested for EventType /// public static readonly EventType WorkflowExecutionCancelRequested = new EventType("WorkflowExecutionCancelRequested"); /// /// Constant WorkflowExecutionCompleted for EventType /// public static readonly EventType WorkflowExecutionCompleted = new EventType("WorkflowExecutionCompleted"); /// /// Constant WorkflowExecutionContinuedAsNew for EventType /// public static readonly EventType WorkflowExecutionContinuedAsNew = new EventType("WorkflowExecutionContinuedAsNew"); /// /// Constant WorkflowExecutionFailed for EventType /// public static readonly EventType WorkflowExecutionFailed = new EventType("WorkflowExecutionFailed"); /// /// Constant WorkflowExecutionSignaled for EventType /// public static readonly EventType WorkflowExecutionSignaled = new EventType("WorkflowExecutionSignaled"); /// /// Constant WorkflowExecutionStarted for EventType /// public static readonly EventType WorkflowExecutionStarted = new EventType("WorkflowExecutionStarted"); /// /// Constant WorkflowExecutionTerminated for EventType /// public static readonly EventType WorkflowExecutionTerminated = new EventType("WorkflowExecutionTerminated"); /// /// Constant WorkflowExecutionTimedOut for EventType /// public static readonly EventType WorkflowExecutionTimedOut = new EventType("WorkflowExecutionTimedOut"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public EventType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static EventType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator EventType(string value) { return FindValue(value); } } /// /// Constants used for properties of type ExecutionStatus. /// public class ExecutionStatus : ConstantClass { /// /// Constant CLOSED for ExecutionStatus /// public static readonly ExecutionStatus CLOSED = new ExecutionStatus("CLOSED"); /// /// Constant OPEN for ExecutionStatus /// public static readonly ExecutionStatus OPEN = new ExecutionStatus("OPEN"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public ExecutionStatus(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static ExecutionStatus FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator ExecutionStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type FailWorkflowExecutionFailedCause. /// public class FailWorkflowExecutionFailedCause : ConstantClass { /// /// Constant OPERATION_NOT_PERMITTED for FailWorkflowExecutionFailedCause /// public static readonly FailWorkflowExecutionFailedCause OPERATION_NOT_PERMITTED = new FailWorkflowExecutionFailedCause("OPERATION_NOT_PERMITTED"); /// /// Constant UNHANDLED_DECISION for FailWorkflowExecutionFailedCause /// public static readonly FailWorkflowExecutionFailedCause UNHANDLED_DECISION = new FailWorkflowExecutionFailedCause("UNHANDLED_DECISION"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public FailWorkflowExecutionFailedCause(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static FailWorkflowExecutionFailedCause FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator FailWorkflowExecutionFailedCause(string value) { return FindValue(value); } } /// /// Constants used for properties of type LambdaFunctionTimeoutType. /// public class LambdaFunctionTimeoutType : ConstantClass { /// /// Constant START_TO_CLOSE for LambdaFunctionTimeoutType /// public static readonly LambdaFunctionTimeoutType START_TO_CLOSE = new LambdaFunctionTimeoutType("START_TO_CLOSE"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public LambdaFunctionTimeoutType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static LambdaFunctionTimeoutType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator LambdaFunctionTimeoutType(string value) { return FindValue(value); } } /// /// Constants used for properties of type RecordMarkerFailedCause. /// public class RecordMarkerFailedCause : ConstantClass { /// /// Constant OPERATION_NOT_PERMITTED for RecordMarkerFailedCause /// public static readonly RecordMarkerFailedCause OPERATION_NOT_PERMITTED = new RecordMarkerFailedCause("OPERATION_NOT_PERMITTED"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public RecordMarkerFailedCause(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static RecordMarkerFailedCause FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator RecordMarkerFailedCause(string value) { return FindValue(value); } } /// /// Constants used for properties of type RegistrationStatus. /// public class RegistrationStatus : ConstantClass { /// /// Constant DEPRECATED for RegistrationStatus /// public static readonly RegistrationStatus DEPRECATED = new RegistrationStatus("DEPRECATED"); /// /// Constant REGISTERED for RegistrationStatus /// public static readonly RegistrationStatus REGISTERED = new RegistrationStatus("REGISTERED"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public RegistrationStatus(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static RegistrationStatus FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator RegistrationStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type RequestCancelActivityTaskFailedCause. /// public class RequestCancelActivityTaskFailedCause : ConstantClass { /// /// Constant ACTIVITY_ID_UNKNOWN for RequestCancelActivityTaskFailedCause /// public static readonly RequestCancelActivityTaskFailedCause ACTIVITY_ID_UNKNOWN = new RequestCancelActivityTaskFailedCause("ACTIVITY_ID_UNKNOWN"); /// /// Constant OPERATION_NOT_PERMITTED for RequestCancelActivityTaskFailedCause /// public static readonly RequestCancelActivityTaskFailedCause OPERATION_NOT_PERMITTED = new RequestCancelActivityTaskFailedCause("OPERATION_NOT_PERMITTED"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public RequestCancelActivityTaskFailedCause(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static RequestCancelActivityTaskFailedCause FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator RequestCancelActivityTaskFailedCause(string value) { return FindValue(value); } } /// /// Constants used for properties of type RequestCancelExternalWorkflowExecutionFailedCause. /// public class RequestCancelExternalWorkflowExecutionFailedCause : ConstantClass { /// /// Constant OPERATION_NOT_PERMITTED for RequestCancelExternalWorkflowExecutionFailedCause /// public static readonly RequestCancelExternalWorkflowExecutionFailedCause OPERATION_NOT_PERMITTED = new RequestCancelExternalWorkflowExecutionFailedCause("OPERATION_NOT_PERMITTED"); /// /// Constant REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED for RequestCancelExternalWorkflowExecutionFailedCause /// public static readonly RequestCancelExternalWorkflowExecutionFailedCause REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED = new RequestCancelExternalWorkflowExecutionFailedCause("REQUEST_CANCEL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED"); /// /// Constant UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION for RequestCancelExternalWorkflowExecutionFailedCause /// public static readonly RequestCancelExternalWorkflowExecutionFailedCause UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION = new RequestCancelExternalWorkflowExecutionFailedCause("UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public RequestCancelExternalWorkflowExecutionFailedCause(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static RequestCancelExternalWorkflowExecutionFailedCause FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator RequestCancelExternalWorkflowExecutionFailedCause(string value) { return FindValue(value); } } /// /// Constants used for properties of type ScheduleActivityTaskFailedCause. /// public class ScheduleActivityTaskFailedCause : ConstantClass { /// /// Constant ACTIVITY_CREATION_RATE_EXCEEDED for ScheduleActivityTaskFailedCause /// public static readonly ScheduleActivityTaskFailedCause ACTIVITY_CREATION_RATE_EXCEEDED = new ScheduleActivityTaskFailedCause("ACTIVITY_CREATION_RATE_EXCEEDED"); /// /// Constant ACTIVITY_ID_ALREADY_IN_USE for ScheduleActivityTaskFailedCause /// public static readonly ScheduleActivityTaskFailedCause ACTIVITY_ID_ALREADY_IN_USE = new ScheduleActivityTaskFailedCause("ACTIVITY_ID_ALREADY_IN_USE"); /// /// Constant ACTIVITY_TYPE_DEPRECATED for ScheduleActivityTaskFailedCause /// public static readonly ScheduleActivityTaskFailedCause ACTIVITY_TYPE_DEPRECATED = new ScheduleActivityTaskFailedCause("ACTIVITY_TYPE_DEPRECATED"); /// /// Constant ACTIVITY_TYPE_DOES_NOT_EXIST for ScheduleActivityTaskFailedCause /// public static readonly ScheduleActivityTaskFailedCause ACTIVITY_TYPE_DOES_NOT_EXIST = new ScheduleActivityTaskFailedCause("ACTIVITY_TYPE_DOES_NOT_EXIST"); /// /// Constant DEFAULT_HEARTBEAT_TIMEOUT_UNDEFINED for ScheduleActivityTaskFailedCause /// public static readonly ScheduleActivityTaskFailedCause DEFAULT_HEARTBEAT_TIMEOUT_UNDEFINED = new ScheduleActivityTaskFailedCause("DEFAULT_HEARTBEAT_TIMEOUT_UNDEFINED"); /// /// Constant DEFAULT_SCHEDULE_TO_CLOSE_TIMEOUT_UNDEFINED for ScheduleActivityTaskFailedCause /// public static readonly ScheduleActivityTaskFailedCause DEFAULT_SCHEDULE_TO_CLOSE_TIMEOUT_UNDEFINED = new ScheduleActivityTaskFailedCause("DEFAULT_SCHEDULE_TO_CLOSE_TIMEOUT_UNDEFINED"); /// /// Constant DEFAULT_SCHEDULE_TO_START_TIMEOUT_UNDEFINED for ScheduleActivityTaskFailedCause /// public static readonly ScheduleActivityTaskFailedCause DEFAULT_SCHEDULE_TO_START_TIMEOUT_UNDEFINED = new ScheduleActivityTaskFailedCause("DEFAULT_SCHEDULE_TO_START_TIMEOUT_UNDEFINED"); /// /// Constant DEFAULT_START_TO_CLOSE_TIMEOUT_UNDEFINED for ScheduleActivityTaskFailedCause /// public static readonly ScheduleActivityTaskFailedCause DEFAULT_START_TO_CLOSE_TIMEOUT_UNDEFINED = new ScheduleActivityTaskFailedCause("DEFAULT_START_TO_CLOSE_TIMEOUT_UNDEFINED"); /// /// Constant DEFAULT_TASK_LIST_UNDEFINED for ScheduleActivityTaskFailedCause /// public static readonly ScheduleActivityTaskFailedCause DEFAULT_TASK_LIST_UNDEFINED = new ScheduleActivityTaskFailedCause("DEFAULT_TASK_LIST_UNDEFINED"); /// /// Constant OPEN_ACTIVITIES_LIMIT_EXCEEDED for ScheduleActivityTaskFailedCause /// public static readonly ScheduleActivityTaskFailedCause OPEN_ACTIVITIES_LIMIT_EXCEEDED = new ScheduleActivityTaskFailedCause("OPEN_ACTIVITIES_LIMIT_EXCEEDED"); /// /// Constant OPERATION_NOT_PERMITTED for ScheduleActivityTaskFailedCause /// public static readonly ScheduleActivityTaskFailedCause OPERATION_NOT_PERMITTED = new ScheduleActivityTaskFailedCause("OPERATION_NOT_PERMITTED"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public ScheduleActivityTaskFailedCause(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static ScheduleActivityTaskFailedCause FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator ScheduleActivityTaskFailedCause(string value) { return FindValue(value); } } /// /// Constants used for properties of type ScheduleLambdaFunctionFailedCause. /// public class ScheduleLambdaFunctionFailedCause : ConstantClass { /// /// Constant ID_ALREADY_IN_USE for ScheduleLambdaFunctionFailedCause /// public static readonly ScheduleLambdaFunctionFailedCause ID_ALREADY_IN_USE = new ScheduleLambdaFunctionFailedCause("ID_ALREADY_IN_USE"); /// /// Constant LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED for ScheduleLambdaFunctionFailedCause /// public static readonly ScheduleLambdaFunctionFailedCause LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED = new ScheduleLambdaFunctionFailedCause("LAMBDA_FUNCTION_CREATION_RATE_EXCEEDED"); /// /// Constant LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION for ScheduleLambdaFunctionFailedCause /// public static readonly ScheduleLambdaFunctionFailedCause LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION = new ScheduleLambdaFunctionFailedCause("LAMBDA_SERVICE_NOT_AVAILABLE_IN_REGION"); /// /// Constant OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED for ScheduleLambdaFunctionFailedCause /// public static readonly ScheduleLambdaFunctionFailedCause OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED = new ScheduleLambdaFunctionFailedCause("OPEN_LAMBDA_FUNCTIONS_LIMIT_EXCEEDED"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public ScheduleLambdaFunctionFailedCause(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static ScheduleLambdaFunctionFailedCause FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator ScheduleLambdaFunctionFailedCause(string value) { return FindValue(value); } } /// /// Constants used for properties of type SignalExternalWorkflowExecutionFailedCause. /// public class SignalExternalWorkflowExecutionFailedCause : ConstantClass { /// /// Constant OPERATION_NOT_PERMITTED for SignalExternalWorkflowExecutionFailedCause /// public static readonly SignalExternalWorkflowExecutionFailedCause OPERATION_NOT_PERMITTED = new SignalExternalWorkflowExecutionFailedCause("OPERATION_NOT_PERMITTED"); /// /// Constant SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED for SignalExternalWorkflowExecutionFailedCause /// public static readonly SignalExternalWorkflowExecutionFailedCause SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED = new SignalExternalWorkflowExecutionFailedCause("SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_RATE_EXCEEDED"); /// /// Constant UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION for SignalExternalWorkflowExecutionFailedCause /// public static readonly SignalExternalWorkflowExecutionFailedCause UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION = new SignalExternalWorkflowExecutionFailedCause("UNKNOWN_EXTERNAL_WORKFLOW_EXECUTION"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public SignalExternalWorkflowExecutionFailedCause(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static SignalExternalWorkflowExecutionFailedCause FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator SignalExternalWorkflowExecutionFailedCause(string value) { return FindValue(value); } } /// /// Constants used for properties of type StartChildWorkflowExecutionFailedCause. /// public class StartChildWorkflowExecutionFailedCause : ConstantClass { /// /// Constant CHILD_CREATION_RATE_EXCEEDED for StartChildWorkflowExecutionFailedCause /// public static readonly StartChildWorkflowExecutionFailedCause CHILD_CREATION_RATE_EXCEEDED = new StartChildWorkflowExecutionFailedCause("CHILD_CREATION_RATE_EXCEEDED"); /// /// Constant DEFAULT_CHILD_POLICY_UNDEFINED for StartChildWorkflowExecutionFailedCause /// public static readonly StartChildWorkflowExecutionFailedCause DEFAULT_CHILD_POLICY_UNDEFINED = new StartChildWorkflowExecutionFailedCause("DEFAULT_CHILD_POLICY_UNDEFINED"); /// /// Constant DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED for StartChildWorkflowExecutionFailedCause /// public static readonly StartChildWorkflowExecutionFailedCause DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED = new StartChildWorkflowExecutionFailedCause("DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED"); /// /// Constant DEFAULT_TASK_LIST_UNDEFINED for StartChildWorkflowExecutionFailedCause /// public static readonly StartChildWorkflowExecutionFailedCause DEFAULT_TASK_LIST_UNDEFINED = new StartChildWorkflowExecutionFailedCause("DEFAULT_TASK_LIST_UNDEFINED"); /// /// Constant DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED for StartChildWorkflowExecutionFailedCause /// public static readonly StartChildWorkflowExecutionFailedCause DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED = new StartChildWorkflowExecutionFailedCause("DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED"); /// /// Constant OPEN_CHILDREN_LIMIT_EXCEEDED for StartChildWorkflowExecutionFailedCause /// public static readonly StartChildWorkflowExecutionFailedCause OPEN_CHILDREN_LIMIT_EXCEEDED = new StartChildWorkflowExecutionFailedCause("OPEN_CHILDREN_LIMIT_EXCEEDED"); /// /// Constant OPEN_WORKFLOWS_LIMIT_EXCEEDED for StartChildWorkflowExecutionFailedCause /// public static readonly StartChildWorkflowExecutionFailedCause OPEN_WORKFLOWS_LIMIT_EXCEEDED = new StartChildWorkflowExecutionFailedCause("OPEN_WORKFLOWS_LIMIT_EXCEEDED"); /// /// Constant OPERATION_NOT_PERMITTED for StartChildWorkflowExecutionFailedCause /// public static readonly StartChildWorkflowExecutionFailedCause OPERATION_NOT_PERMITTED = new StartChildWorkflowExecutionFailedCause("OPERATION_NOT_PERMITTED"); /// /// Constant WORKFLOW_ALREADY_RUNNING for StartChildWorkflowExecutionFailedCause /// public static readonly StartChildWorkflowExecutionFailedCause WORKFLOW_ALREADY_RUNNING = new StartChildWorkflowExecutionFailedCause("WORKFLOW_ALREADY_RUNNING"); /// /// Constant WORKFLOW_TYPE_DEPRECATED for StartChildWorkflowExecutionFailedCause /// public static readonly StartChildWorkflowExecutionFailedCause WORKFLOW_TYPE_DEPRECATED = new StartChildWorkflowExecutionFailedCause("WORKFLOW_TYPE_DEPRECATED"); /// /// Constant WORKFLOW_TYPE_DOES_NOT_EXIST for StartChildWorkflowExecutionFailedCause /// public static readonly StartChildWorkflowExecutionFailedCause WORKFLOW_TYPE_DOES_NOT_EXIST = new StartChildWorkflowExecutionFailedCause("WORKFLOW_TYPE_DOES_NOT_EXIST"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public StartChildWorkflowExecutionFailedCause(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static StartChildWorkflowExecutionFailedCause FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator StartChildWorkflowExecutionFailedCause(string value) { return FindValue(value); } } /// /// Constants used for properties of type StartLambdaFunctionFailedCause. /// public class StartLambdaFunctionFailedCause : ConstantClass { /// /// Constant ASSUME_ROLE_FAILED for StartLambdaFunctionFailedCause /// public static readonly StartLambdaFunctionFailedCause ASSUME_ROLE_FAILED = new StartLambdaFunctionFailedCause("ASSUME_ROLE_FAILED"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public StartLambdaFunctionFailedCause(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static StartLambdaFunctionFailedCause FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator StartLambdaFunctionFailedCause(string value) { return FindValue(value); } } /// /// Constants used for properties of type StartTimerFailedCause. /// public class StartTimerFailedCause : ConstantClass { /// /// Constant OPEN_TIMERS_LIMIT_EXCEEDED for StartTimerFailedCause /// public static readonly StartTimerFailedCause OPEN_TIMERS_LIMIT_EXCEEDED = new StartTimerFailedCause("OPEN_TIMERS_LIMIT_EXCEEDED"); /// /// Constant OPERATION_NOT_PERMITTED for StartTimerFailedCause /// public static readonly StartTimerFailedCause OPERATION_NOT_PERMITTED = new StartTimerFailedCause("OPERATION_NOT_PERMITTED"); /// /// Constant TIMER_CREATION_RATE_EXCEEDED for StartTimerFailedCause /// public static readonly StartTimerFailedCause TIMER_CREATION_RATE_EXCEEDED = new StartTimerFailedCause("TIMER_CREATION_RATE_EXCEEDED"); /// /// Constant TIMER_ID_ALREADY_IN_USE for StartTimerFailedCause /// public static readonly StartTimerFailedCause TIMER_ID_ALREADY_IN_USE = new StartTimerFailedCause("TIMER_ID_ALREADY_IN_USE"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public StartTimerFailedCause(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static StartTimerFailedCause FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator StartTimerFailedCause(string value) { return FindValue(value); } } /// /// Constants used for properties of type WorkflowExecutionCancelRequestedCause. /// public class WorkflowExecutionCancelRequestedCause : ConstantClass { /// /// Constant CHILD_POLICY_APPLIED for WorkflowExecutionCancelRequestedCause /// public static readonly WorkflowExecutionCancelRequestedCause CHILD_POLICY_APPLIED = new WorkflowExecutionCancelRequestedCause("CHILD_POLICY_APPLIED"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public WorkflowExecutionCancelRequestedCause(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static WorkflowExecutionCancelRequestedCause FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator WorkflowExecutionCancelRequestedCause(string value) { return FindValue(value); } } /// /// Constants used for properties of type WorkflowExecutionTerminatedCause. /// public class WorkflowExecutionTerminatedCause : ConstantClass { /// /// Constant CHILD_POLICY_APPLIED for WorkflowExecutionTerminatedCause /// public static readonly WorkflowExecutionTerminatedCause CHILD_POLICY_APPLIED = new WorkflowExecutionTerminatedCause("CHILD_POLICY_APPLIED"); /// /// Constant EVENT_LIMIT_EXCEEDED for WorkflowExecutionTerminatedCause /// public static readonly WorkflowExecutionTerminatedCause EVENT_LIMIT_EXCEEDED = new WorkflowExecutionTerminatedCause("EVENT_LIMIT_EXCEEDED"); /// /// Constant OPERATOR_INITIATED for WorkflowExecutionTerminatedCause /// public static readonly WorkflowExecutionTerminatedCause OPERATOR_INITIATED = new WorkflowExecutionTerminatedCause("OPERATOR_INITIATED"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public WorkflowExecutionTerminatedCause(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static WorkflowExecutionTerminatedCause FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator WorkflowExecutionTerminatedCause(string value) { return FindValue(value); } } /// /// Constants used for properties of type WorkflowExecutionTimeoutType. /// public class WorkflowExecutionTimeoutType : ConstantClass { /// /// Constant START_TO_CLOSE for WorkflowExecutionTimeoutType /// public static readonly WorkflowExecutionTimeoutType START_TO_CLOSE = new WorkflowExecutionTimeoutType("START_TO_CLOSE"); /// /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// public WorkflowExecutionTimeoutType(string value) : base(value) { } /// /// Finds the constant for the unique value. /// /// The unique value for the constant /// The constant for the unique value public static WorkflowExecutionTimeoutType FindValue(string value) { return FindValue(value); } /// /// Utility method to convert strings to the constant class. /// /// The string value to convert to the constant class. /// public static implicit operator WorkflowExecutionTimeoutType(string value) { return FindValue(value); } } }