1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/databrew/GlueDataBrew_EXPORTS.h> 8 #include <aws/core/utils/memory/stl/AWSString.h> 9 10 namespace Aws 11 { 12 namespace GlueDataBrew 13 { 14 namespace Model 15 { 16 enum class JobRunState 17 { 18 NOT_SET, 19 STARTING, 20 RUNNING, 21 STOPPING, 22 STOPPED, 23 SUCCEEDED, 24 FAILED, 25 TIMEOUT 26 }; 27 28 namespace JobRunStateMapper 29 { 30 AWS_GLUEDATABREW_API JobRunState GetJobRunStateForName(const Aws::String& name); 31 32 AWS_GLUEDATABREW_API Aws::String GetNameForJobRunState(JobRunState value); 33 } // namespace JobRunStateMapper 34 } // namespace Model 35 } // namespace GlueDataBrew 36 } // namespace Aws 37