/*
* 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 redshift-data-2019-12-20.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.RedshiftDataAPIService
{
///
/// Constants used for properties of type StatementStatusString.
///
public class StatementStatusString : ConstantClass
{
///
/// Constant ABORTED for StatementStatusString
///
public static readonly StatementStatusString ABORTED = new StatementStatusString("ABORTED");
///
/// Constant FAILED for StatementStatusString
///
public static readonly StatementStatusString FAILED = new StatementStatusString("FAILED");
///
/// Constant FINISHED for StatementStatusString
///
public static readonly StatementStatusString FINISHED = new StatementStatusString("FINISHED");
///
/// Constant PICKED for StatementStatusString
///
public static readonly StatementStatusString PICKED = new StatementStatusString("PICKED");
///
/// Constant STARTED for StatementStatusString
///
public static readonly StatementStatusString STARTED = new StatementStatusString("STARTED");
///
/// Constant SUBMITTED for StatementStatusString
///
public static readonly StatementStatusString SUBMITTED = new StatementStatusString("SUBMITTED");
///
/// 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 StatementStatusString(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 StatementStatusString 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 StatementStatusString(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type StatusString.
///
public class StatusString : ConstantClass
{
///
/// Constant ABORTED for StatusString
///
public static readonly StatusString ABORTED = new StatusString("ABORTED");
///
/// Constant ALL for StatusString
///
public static readonly StatusString ALL = new StatusString("ALL");
///
/// Constant FAILED for StatusString
///
public static readonly StatusString FAILED = new StatusString("FAILED");
///
/// Constant FINISHED for StatusString
///
public static readonly StatusString FINISHED = new StatusString("FINISHED");
///
/// Constant PICKED for StatusString
///
public static readonly StatusString PICKED = new StatusString("PICKED");
///
/// Constant STARTED for StatusString
///
public static readonly StatusString STARTED = new StatusString("STARTED");
///
/// Constant SUBMITTED for StatusString
///
public static readonly StatusString SUBMITTED = new StatusString("SUBMITTED");
///
/// 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 StatusString(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 StatusString 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 StatusString(string value)
{
return FindValue(value);
}
}
}