text: ﻿/*
  * Copyright 2010-2016 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.
  */
  #pragma once
  #include <aws/swf/SWF_EXPORTS.h>
  #include <aws/core/utils/memory/stl/AWSString.h>
  
  namespace Aws
  {
  namespace SWF
  {
  namespace Model
  {
    enum class EventType
    {
      NOT_SET,
      WorkflowExecutionStarted,
      WorkflowExecutionCancelRequested,
      WorkflowExecutionCompleted,
      CompleteWorkflowExecutionFailed,
      WorkflowExecutionFailed,
      FailWorkflowExecutionFailed,
      WorkflowExecutionTimedOut,
      WorkflowExecutionCanceled,
      CancelWorkflowExecutionFailed,
      WorkflowExecutionContinuedAsNew,
      ContinueAsNewWorkflowExecutionFailed,
      WorkflowExecutionTerminated,
      DecisionTaskScheduled,
      DecisionTaskStarted,
      DecisionTaskCompleted,
      DecisionTaskTimedOut,
      ActivityTaskScheduled,
      ScheduleActivityTaskFailed,
      ActivityTaskStarted,
      ActivityTaskCompleted,
      ActivityTaskFailed,
      ActivityTaskTimedOut,
      ActivityTaskCanceled,
      ActivityTaskCancelRequested,
      RequestCancelActivityTaskFailed,
      WorkflowExecutionSignaled,
      MarkerRecorded,
      RecordMarkerFailed,
      TimerStarted,
      StartTimerFailed,
      TimerFired,
      TimerCanceled,
      CancelTimerFailed,
      StartChildWorkflowExecutionInitiated,
      StartChildWorkflowExecutionFailed,
      ChildWorkflowExecutionStarted,
      ChildWorkflowExecutionCompleted,
      ChildWorkflowExecutionFailed,
      ChildWorkflowExecutionTimedOut,
      ChildWorkflowExecutionCanceled,
      ChildWorkflowExecutionTerminated,
      SignalExternalWorkflowExecutionInitiated,
      SignalExternalWorkflowExecutionFailed,
      ExternalWorkflowExecutionSignaled,
      RequestCancelExternalWorkflowExecutionInitiated,
      RequestCancelExternalWorkflowExecutionFailed,
      ExternalWorkflowExecutionCancelRequested,
      LambdaFunctionScheduled,
      LambdaFunctionStarted,
      LambdaFunctionCompleted,
      LambdaFunctionFailed,
      LambdaFunctionTimedOut,
      ScheduleLambdaFunctionFailed,
      StartLambdaFunctionFailed
    };
  
  namespace EventTypeMapper
  {
  AWS_SWF_API EventType GetEventTypeForName(const Aws::String& name);
  
  AWS_SWF_API Aws::String GetNameForEventType(EventType value);
  } // namespace EventTypeMapper
  } // namespace Model
  } // namespace SWF
  } // namespace Aws
  