/*
* 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 logs-2014-03-28.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.CloudWatchLogs
{
///
/// Constants used for properties of type DataProtectionStatus.
///
public class DataProtectionStatus : ConstantClass
{
///
/// Constant ACTIVATED for DataProtectionStatus
///
public static readonly DataProtectionStatus ACTIVATED = new DataProtectionStatus("ACTIVATED");
///
/// Constant ARCHIVED for DataProtectionStatus
///
public static readonly DataProtectionStatus ARCHIVED = new DataProtectionStatus("ARCHIVED");
///
/// Constant DELETED for DataProtectionStatus
///
public static readonly DataProtectionStatus DELETED = new DataProtectionStatus("DELETED");
///
/// Constant DISABLED for DataProtectionStatus
///
public static readonly DataProtectionStatus DISABLED = new DataProtectionStatus("DISABLED");
///
/// 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 DataProtectionStatus(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 DataProtectionStatus 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 DataProtectionStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type Distribution.
///
public class Distribution : ConstantClass
{
///
/// Constant ByLogStream for Distribution
///
public static readonly Distribution ByLogStream = new Distribution("ByLogStream");
///
/// Constant Random for Distribution
///
public static readonly Distribution Random = new Distribution("Random");
///
/// 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 Distribution(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 Distribution 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 Distribution(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ExportTaskStatusCode.
///
public class ExportTaskStatusCode : ConstantClass
{
///
/// Constant CANCELLED for ExportTaskStatusCode
///
public static readonly ExportTaskStatusCode CANCELLED = new ExportTaskStatusCode("CANCELLED");
///
/// Constant COMPLETED for ExportTaskStatusCode
///
public static readonly ExportTaskStatusCode COMPLETED = new ExportTaskStatusCode("COMPLETED");
///
/// Constant FAILED for ExportTaskStatusCode
///
public static readonly ExportTaskStatusCode FAILED = new ExportTaskStatusCode("FAILED");
///
/// Constant PENDING for ExportTaskStatusCode
///
public static readonly ExportTaskStatusCode PENDING = new ExportTaskStatusCode("PENDING");
///
/// Constant PENDING_CANCEL for ExportTaskStatusCode
///
public static readonly ExportTaskStatusCode PENDING_CANCEL = new ExportTaskStatusCode("PENDING_CANCEL");
///
/// Constant RUNNING for ExportTaskStatusCode
///
public static readonly ExportTaskStatusCode RUNNING = new ExportTaskStatusCode("RUNNING");
///
/// 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 ExportTaskStatusCode(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 ExportTaskStatusCode 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 ExportTaskStatusCode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type InheritedProperty.
///
public class InheritedProperty : ConstantClass
{
///
/// Constant ACCOUNT_DATA_PROTECTION for InheritedProperty
///
public static readonly InheritedProperty ACCOUNT_DATA_PROTECTION = new InheritedProperty("ACCOUNT_DATA_PROTECTION");
///
/// 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 InheritedProperty(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 InheritedProperty 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 InheritedProperty(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type OrderBy.
///
public class OrderBy : ConstantClass
{
///
/// Constant LastEventTime for OrderBy
///
public static readonly OrderBy LastEventTime = new OrderBy("LastEventTime");
///
/// Constant LogStreamName for OrderBy
///
public static readonly OrderBy LogStreamName = new OrderBy("LogStreamName");
///
/// 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 OrderBy(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 OrderBy 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 OrderBy(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type PolicyType.
///
public class PolicyType : ConstantClass
{
///
/// Constant DATA_PROTECTION_POLICY for PolicyType
///
public static readonly PolicyType DATA_PROTECTION_POLICY = new PolicyType("DATA_PROTECTION_POLICY");
///
/// 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 PolicyType(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 PolicyType 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 PolicyType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type QueryStatus.
///
public class QueryStatus : ConstantClass
{
///
/// Constant Cancelled for QueryStatus
///
public static readonly QueryStatus Cancelled = new QueryStatus("Cancelled");
///
/// Constant Complete for QueryStatus
///
public static readonly QueryStatus Complete = new QueryStatus("Complete");
///
/// Constant Failed for QueryStatus
///
public static readonly QueryStatus Failed = new QueryStatus("Failed");
///
/// Constant Running for QueryStatus
///
public static readonly QueryStatus Running = new QueryStatus("Running");
///
/// Constant Scheduled for QueryStatus
///
public static readonly QueryStatus Scheduled = new QueryStatus("Scheduled");
///
/// Constant Timeout for QueryStatus
///
public static readonly QueryStatus Timeout = new QueryStatus("Timeout");
///
/// Constant Unknown for QueryStatus
///
public static readonly QueryStatus Unknown = new QueryStatus("Unknown");
///
/// 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 QueryStatus(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 QueryStatus 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 QueryStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type Scope.
///
public class Scope : ConstantClass
{
///
/// Constant ALL for Scope
///
public static readonly Scope ALL = new Scope("ALL");
///
/// 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 Scope(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 Scope 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 Scope(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type StandardUnit.
///
public class StandardUnit : ConstantClass
{
///
/// Constant Bits for StandardUnit
///
public static readonly StandardUnit Bits = new StandardUnit("Bits");
///
/// Constant BitsSecond for StandardUnit
///
public static readonly StandardUnit BitsSecond = new StandardUnit("Bits/Second");
///
/// Constant Bytes for StandardUnit
///
public static readonly StandardUnit Bytes = new StandardUnit("Bytes");
///
/// Constant BytesSecond for StandardUnit
///
public static readonly StandardUnit BytesSecond = new StandardUnit("Bytes/Second");
///
/// Constant Count for StandardUnit
///
public static readonly StandardUnit Count = new StandardUnit("Count");
///
/// Constant CountSecond for StandardUnit
///
public static readonly StandardUnit CountSecond = new StandardUnit("Count/Second");
///
/// Constant Gigabits for StandardUnit
///
public static readonly StandardUnit Gigabits = new StandardUnit("Gigabits");
///
/// Constant GigabitsSecond for StandardUnit
///
public static readonly StandardUnit GigabitsSecond = new StandardUnit("Gigabits/Second");
///
/// Constant Gigabytes for StandardUnit
///
public static readonly StandardUnit Gigabytes = new StandardUnit("Gigabytes");
///
/// Constant GigabytesSecond for StandardUnit
///
public static readonly StandardUnit GigabytesSecond = new StandardUnit("Gigabytes/Second");
///
/// Constant Kilobits for StandardUnit
///
public static readonly StandardUnit Kilobits = new StandardUnit("Kilobits");
///
/// Constant KilobitsSecond for StandardUnit
///
public static readonly StandardUnit KilobitsSecond = new StandardUnit("Kilobits/Second");
///
/// Constant Kilobytes for StandardUnit
///
public static readonly StandardUnit Kilobytes = new StandardUnit("Kilobytes");
///
/// Constant KilobytesSecond for StandardUnit
///
public static readonly StandardUnit KilobytesSecond = new StandardUnit("Kilobytes/Second");
///
/// Constant Megabits for StandardUnit
///
public static readonly StandardUnit Megabits = new StandardUnit("Megabits");
///
/// Constant MegabitsSecond for StandardUnit
///
public static readonly StandardUnit MegabitsSecond = new StandardUnit("Megabits/Second");
///
/// Constant Megabytes for StandardUnit
///
public static readonly StandardUnit Megabytes = new StandardUnit("Megabytes");
///
/// Constant MegabytesSecond for StandardUnit
///
public static readonly StandardUnit MegabytesSecond = new StandardUnit("Megabytes/Second");
///
/// Constant Microseconds for StandardUnit
///
public static readonly StandardUnit Microseconds = new StandardUnit("Microseconds");
///
/// Constant Milliseconds for StandardUnit
///
public static readonly StandardUnit Milliseconds = new StandardUnit("Milliseconds");
///
/// Constant None for StandardUnit
///
public static readonly StandardUnit None = new StandardUnit("None");
///
/// Constant Percent for StandardUnit
///
public static readonly StandardUnit Percent = new StandardUnit("Percent");
///
/// Constant Seconds for StandardUnit
///
public static readonly StandardUnit Seconds = new StandardUnit("Seconds");
///
/// Constant Terabits for StandardUnit
///
public static readonly StandardUnit Terabits = new StandardUnit("Terabits");
///
/// Constant TerabitsSecond for StandardUnit
///
public static readonly StandardUnit TerabitsSecond = new StandardUnit("Terabits/Second");
///
/// Constant Terabytes for StandardUnit
///
public static readonly StandardUnit Terabytes = new StandardUnit("Terabytes");
///
/// Constant TerabytesSecond for StandardUnit
///
public static readonly StandardUnit TerabytesSecond = new StandardUnit("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 StandardUnit(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 StandardUnit 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 StandardUnit(string value)
{
return FindValue(value);
}
}
}