37 lines
676 B
C
37 lines
676 B
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/glue/Glue_EXPORTS.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
namespace Glue
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
enum class JobRunState
|
|||
|
|
{
|
|||
|
|
NOT_SET,
|
|||
|
|
STARTING,
|
|||
|
|
RUNNING,
|
|||
|
|
STOPPING,
|
|||
|
|
STOPPED,
|
|||
|
|
SUCCEEDED,
|
|||
|
|
FAILED,
|
|||
|
|
TIMEOUT
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
namespace JobRunStateMapper
|
|||
|
|
{
|
|||
|
|
AWS_GLUE_API JobRunState GetJobRunStateForName(const Aws::String& name);
|
|||
|
|
|
|||
|
|
AWS_GLUE_API Aws::String GetNameForJobRunState(JobRunState value);
|
|||
|
|
} // namespace JobRunStateMapper
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace Glue
|
|||
|
|
} // namespace Aws
|