/*
* 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 kinesisanalytics-2015-08-14.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.KinesisAnalytics
{
///
/// Constants used for properties of type ApplicationStatus.
///
public class ApplicationStatus : ConstantClass
{
///
/// Constant DELETING for ApplicationStatus
///
public static readonly ApplicationStatus DELETING = new ApplicationStatus("DELETING");
///
/// Constant READY for ApplicationStatus
///
public static readonly ApplicationStatus READY = new ApplicationStatus("READY");
///
/// Constant RUNNING for ApplicationStatus
///
public static readonly ApplicationStatus RUNNING = new ApplicationStatus("RUNNING");
///
/// Constant STARTING for ApplicationStatus
///
public static readonly ApplicationStatus STARTING = new ApplicationStatus("STARTING");
///
/// Constant STOPPING for ApplicationStatus
///
public static readonly ApplicationStatus STOPPING = new ApplicationStatus("STOPPING");
///
/// Constant UPDATING for ApplicationStatus
///
public static readonly ApplicationStatus UPDATING = new ApplicationStatus("UPDATING");
///
/// 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 ApplicationStatus(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 ApplicationStatus 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 ApplicationStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type InputStartingPosition.
///
public class InputStartingPosition : ConstantClass
{
///
/// Constant LAST_STOPPED_POINT for InputStartingPosition
///
public static readonly InputStartingPosition LAST_STOPPED_POINT = new InputStartingPosition("LAST_STOPPED_POINT");
///
/// Constant NOW for InputStartingPosition
///
public static readonly InputStartingPosition NOW = new InputStartingPosition("NOW");
///
/// Constant TRIM_HORIZON for InputStartingPosition
///
public static readonly InputStartingPosition TRIM_HORIZON = new InputStartingPosition("TRIM_HORIZON");
///
/// 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 InputStartingPosition(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 InputStartingPosition 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 InputStartingPosition(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type RecordFormatType.
///
public class RecordFormatType : ConstantClass
{
///
/// Constant CSV for RecordFormatType
///
public static readonly RecordFormatType CSV = new RecordFormatType("CSV");
///
/// Constant JSON for RecordFormatType
///
public static readonly RecordFormatType JSON = new RecordFormatType("JSON");
///
/// 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 RecordFormatType(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 RecordFormatType 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 RecordFormatType(string value)
{
return FindValue(value);
}
}
}