/*
* 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 mwaa-2020-07-01.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.MWAA
{
///
/// Constants used for properties of type EnvironmentStatus.
///
public class EnvironmentStatus : ConstantClass
{
///
/// Constant AVAILABLE for EnvironmentStatus
///
public static readonly EnvironmentStatus AVAILABLE = new EnvironmentStatus("AVAILABLE");
///
/// Constant CREATE_FAILED for EnvironmentStatus
///
public static readonly EnvironmentStatus CREATE_FAILED = new EnvironmentStatus("CREATE_FAILED");
///
/// Constant CREATING for EnvironmentStatus
///
public static readonly EnvironmentStatus CREATING = new EnvironmentStatus("CREATING");
///
/// Constant CREATING_SNAPSHOT for EnvironmentStatus
///
public static readonly EnvironmentStatus CREATING_SNAPSHOT = new EnvironmentStatus("CREATING_SNAPSHOT");
///
/// Constant DELETED for EnvironmentStatus
///
public static readonly EnvironmentStatus DELETED = new EnvironmentStatus("DELETED");
///
/// Constant DELETING for EnvironmentStatus
///
public static readonly EnvironmentStatus DELETING = new EnvironmentStatus("DELETING");
///
/// Constant ROLLING_BACK for EnvironmentStatus
///
public static readonly EnvironmentStatus ROLLING_BACK = new EnvironmentStatus("ROLLING_BACK");
///
/// Constant UNAVAILABLE for EnvironmentStatus
///
public static readonly EnvironmentStatus UNAVAILABLE = new EnvironmentStatus("UNAVAILABLE");
///
/// Constant UPDATE_FAILED for EnvironmentStatus
///
public static readonly EnvironmentStatus UPDATE_FAILED = new EnvironmentStatus("UPDATE_FAILED");
///
/// Constant UPDATING for EnvironmentStatus
///
public static readonly EnvironmentStatus UPDATING = new EnvironmentStatus("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 EnvironmentStatus(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 EnvironmentStatus 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 EnvironmentStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type LoggingLevel.
///
public class LoggingLevel : ConstantClass
{
///
/// Constant CRITICAL for LoggingLevel
///
public static readonly LoggingLevel CRITICAL = new LoggingLevel("CRITICAL");
///
/// Constant DEBUG for LoggingLevel
///
public static readonly LoggingLevel DEBUG = new LoggingLevel("DEBUG");
///
/// Constant ERROR for LoggingLevel
///
public static readonly LoggingLevel ERROR = new LoggingLevel("ERROR");
///
/// Constant INFO for LoggingLevel
///
public static readonly LoggingLevel INFO = new LoggingLevel("INFO");
///
/// Constant WARNING for LoggingLevel
///
public static readonly LoggingLevel WARNING = new LoggingLevel("WARNING");
///
/// 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 LoggingLevel(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 LoggingLevel 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 LoggingLevel(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type Unit.
///
public class Unit : ConstantClass
{
///
/// Constant Bits for Unit
///
public static readonly Unit Bits = new Unit("Bits");
///
/// Constant BitsSecond for Unit
///
public static readonly Unit BitsSecond = new Unit("Bits/Second");
///
/// Constant Bytes for Unit
///
public static readonly Unit Bytes = new Unit("Bytes");
///
/// Constant BytesSecond for Unit
///
public static readonly Unit BytesSecond = new Unit("Bytes/Second");
///
/// Constant Count for Unit
///
public static readonly Unit Count = new Unit("Count");
///
/// Constant CountSecond for Unit
///
public static readonly Unit CountSecond = new Unit("Count/Second");
///
/// Constant Gigabits for Unit
///
public static readonly Unit Gigabits = new Unit("Gigabits");
///
/// Constant GigabitsSecond for Unit
///
public static readonly Unit GigabitsSecond = new Unit("Gigabits/Second");
///
/// Constant Gigabytes for Unit
///
public static readonly Unit Gigabytes = new Unit("Gigabytes");
///
/// Constant GigabytesSecond for Unit
///
public static readonly Unit GigabytesSecond = new Unit("Gigabytes/Second");
///
/// Constant Kilobits for Unit
///
public static readonly Unit Kilobits = new Unit("Kilobits");
///
/// Constant KilobitsSecond for Unit
///
public static readonly Unit KilobitsSecond = new Unit("Kilobits/Second");
///
/// Constant Kilobytes for Unit
///
public static readonly Unit Kilobytes = new Unit("Kilobytes");
///
/// Constant KilobytesSecond for Unit
///
public static readonly Unit KilobytesSecond = new Unit("Kilobytes/Second");
///
/// Constant Megabits for Unit
///
public static readonly Unit Megabits = new Unit("Megabits");
///
/// Constant MegabitsSecond for Unit
///
public static readonly Unit MegabitsSecond = new Unit("Megabits/Second");
///
/// Constant Megabytes for Unit
///
public static readonly Unit Megabytes = new Unit("Megabytes");
///
/// Constant MegabytesSecond for Unit
///
public static readonly Unit MegabytesSecond = new Unit("Megabytes/Second");
///
/// Constant Microseconds for Unit
///
public static readonly Unit Microseconds = new Unit("Microseconds");
///
/// Constant Milliseconds for Unit
///
public static readonly Unit Milliseconds = new Unit("Milliseconds");
///
/// Constant None for Unit
///
public static readonly Unit None = new Unit("None");
///
/// Constant Percent for Unit
///
public static readonly Unit Percent = new Unit("Percent");
///
/// Constant Seconds for Unit
///
public static readonly Unit Seconds = new Unit("Seconds");
///
/// Constant Terabits for Unit
///
public static readonly Unit Terabits = new Unit("Terabits");
///
/// Constant TerabitsSecond for Unit
///
public static readonly Unit TerabitsSecond = new Unit("Terabits/Second");
///
/// Constant Terabytes for Unit
///
public static readonly Unit Terabytes = new Unit("Terabytes");
///
/// Constant TerabytesSecond for Unit
///
public static readonly Unit TerabytesSecond = new Unit("Terabytes/Second");
///
/// 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 Unit(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 Unit 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 Unit(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type UpdateStatus.
///
public class UpdateStatus : ConstantClass
{
///
/// Constant FAILED for UpdateStatus
///
public static readonly UpdateStatus FAILED = new UpdateStatus("FAILED");
///
/// Constant PENDING for UpdateStatus
///
public static readonly UpdateStatus PENDING = new UpdateStatus("PENDING");
///
/// Constant SUCCESS for UpdateStatus
///
public static readonly UpdateStatus SUCCESS = new UpdateStatus("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 UpdateStatus(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 UpdateStatus 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 UpdateStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type WebserverAccessMode.
///
public class WebserverAccessMode : ConstantClass
{
///
/// Constant PRIVATE_ONLY for WebserverAccessMode
///
public static readonly WebserverAccessMode PRIVATE_ONLY = new WebserverAccessMode("PRIVATE_ONLY");
///
/// Constant PUBLIC_ONLY for WebserverAccessMode
///
public static readonly WebserverAccessMode PUBLIC_ONLY = new WebserverAccessMode("PUBLIC_ONLY");
///
/// 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 WebserverAccessMode(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 WebserverAccessMode 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 WebserverAccessMode(string value)
{
return FindValue(value);
}
}
}