/*
* 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 emr-serverless-2021-07-13.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.EMRServerless
{
///
/// Constants used for properties of type ApplicationState.
///
public class ApplicationState : ConstantClass
{
///
/// Constant CREATED for ApplicationState
///
public static readonly ApplicationState CREATED = new ApplicationState("CREATED");
///
/// Constant CREATING for ApplicationState
///
public static readonly ApplicationState CREATING = new ApplicationState("CREATING");
///
/// Constant STARTED for ApplicationState
///
public static readonly ApplicationState STARTED = new ApplicationState("STARTED");
///
/// Constant STARTING for ApplicationState
///
public static readonly ApplicationState STARTING = new ApplicationState("STARTING");
///
/// Constant STOPPED for ApplicationState
///
public static readonly ApplicationState STOPPED = new ApplicationState("STOPPED");
///
/// Constant STOPPING for ApplicationState
///
public static readonly ApplicationState STOPPING = new ApplicationState("STOPPING");
///
/// Constant TERMINATED for ApplicationState
///
public static readonly ApplicationState TERMINATED = new ApplicationState("TERMINATED");
///
/// 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 ApplicationState(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 ApplicationState 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 ApplicationState(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type Architecture.
///
public class Architecture : ConstantClass
{
///
/// Constant ARM64 for Architecture
///
public static readonly Architecture ARM64 = new Architecture("ARM64");
///
/// Constant X86_64 for Architecture
///
public static readonly Architecture X86_64 = new Architecture("X86_64");
///
/// 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 Architecture(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 Architecture 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 Architecture(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type JobRunState.
///
public class JobRunState : ConstantClass
{
///
/// Constant CANCELLED for JobRunState
///
public static readonly JobRunState CANCELLED = new JobRunState("CANCELLED");
///
/// Constant CANCELLING for JobRunState
///
public static readonly JobRunState CANCELLING = new JobRunState("CANCELLING");
///
/// Constant FAILED for JobRunState
///
public static readonly JobRunState FAILED = new JobRunState("FAILED");
///
/// Constant PENDING for JobRunState
///
public static readonly JobRunState PENDING = new JobRunState("PENDING");
///
/// Constant RUNNING for JobRunState
///
public static readonly JobRunState RUNNING = new JobRunState("RUNNING");
///
/// Constant SCHEDULED for JobRunState
///
public static readonly JobRunState SCHEDULED = new JobRunState("SCHEDULED");
///
/// Constant SUBMITTED for JobRunState
///
public static readonly JobRunState SUBMITTED = new JobRunState("SUBMITTED");
///
/// Constant SUCCESS for JobRunState
///
public static readonly JobRunState SUCCESS = new JobRunState("SUCCESS");
///
/// 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 JobRunState(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 JobRunState 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 JobRunState(string value)
{
return FindValue(value);
}
}
}