/*
* 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 dlm-2018-01-12.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.DLM
{
///
/// Constants used for properties of type EventSourceValues.
///
public class EventSourceValues : ConstantClass
{
///
/// Constant MANAGED_CWE for EventSourceValues
///
public static readonly EventSourceValues MANAGED_CWE = new EventSourceValues("MANAGED_CWE");
///
/// 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 EventSourceValues(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 EventSourceValues 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 EventSourceValues(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type EventTypeValues.
///
public class EventTypeValues : ConstantClass
{
///
/// Constant ShareSnapshot for EventTypeValues
///
public static readonly EventTypeValues ShareSnapshot = new EventTypeValues("shareSnapshot");
///
/// 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 EventTypeValues(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 EventTypeValues 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 EventTypeValues(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type GettablePolicyStateValues.
///
public class GettablePolicyStateValues : ConstantClass
{
///
/// Constant DISABLED for GettablePolicyStateValues
///
public static readonly GettablePolicyStateValues DISABLED = new GettablePolicyStateValues("DISABLED");
///
/// Constant ENABLED for GettablePolicyStateValues
///
public static readonly GettablePolicyStateValues ENABLED = new GettablePolicyStateValues("ENABLED");
///
/// Constant ERROR for GettablePolicyStateValues
///
public static readonly GettablePolicyStateValues ERROR = new GettablePolicyStateValues("ERROR");
///
/// 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 GettablePolicyStateValues(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 GettablePolicyStateValues 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 GettablePolicyStateValues(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type IntervalUnitValues.
///
public class IntervalUnitValues : ConstantClass
{
///
/// Constant HOURS for IntervalUnitValues
///
public static readonly IntervalUnitValues HOURS = new IntervalUnitValues("HOURS");
///
/// 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 IntervalUnitValues(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 IntervalUnitValues 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 IntervalUnitValues(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type LocationValues.
///
public class LocationValues : ConstantClass
{
///
/// Constant CLOUD for LocationValues
///
public static readonly LocationValues CLOUD = new LocationValues("CLOUD");
///
/// Constant OUTPOST_LOCAL for LocationValues
///
public static readonly LocationValues OUTPOST_LOCAL = new LocationValues("OUTPOST_LOCAL");
///
/// 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 LocationValues(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 LocationValues 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 LocationValues(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type PolicyTypeValues.
///
public class PolicyTypeValues : ConstantClass
{
///
/// Constant EBS_SNAPSHOT_MANAGEMENT for PolicyTypeValues
///
public static readonly PolicyTypeValues EBS_SNAPSHOT_MANAGEMENT = new PolicyTypeValues("EBS_SNAPSHOT_MANAGEMENT");
///
/// Constant EVENT_BASED_POLICY for PolicyTypeValues
///
public static readonly PolicyTypeValues EVENT_BASED_POLICY = new PolicyTypeValues("EVENT_BASED_POLICY");
///
/// Constant IMAGE_MANAGEMENT for PolicyTypeValues
///
public static readonly PolicyTypeValues IMAGE_MANAGEMENT = new PolicyTypeValues("IMAGE_MANAGEMENT");
///
/// 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 PolicyTypeValues(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 PolicyTypeValues 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 PolicyTypeValues(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ResourceLocationValues.
///
public class ResourceLocationValues : ConstantClass
{
///
/// Constant CLOUD for ResourceLocationValues
///
public static readonly ResourceLocationValues CLOUD = new ResourceLocationValues("CLOUD");
///
/// Constant OUTPOST for ResourceLocationValues
///
public static readonly ResourceLocationValues OUTPOST = new ResourceLocationValues("OUTPOST");
///
/// 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 ResourceLocationValues(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 ResourceLocationValues 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 ResourceLocationValues(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ResourceTypeValues.
///
public class ResourceTypeValues : ConstantClass
{
///
/// Constant INSTANCE for ResourceTypeValues
///
public static readonly ResourceTypeValues INSTANCE = new ResourceTypeValues("INSTANCE");
///
/// Constant VOLUME for ResourceTypeValues
///
public static readonly ResourceTypeValues VOLUME = new ResourceTypeValues("VOLUME");
///
/// 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 ResourceTypeValues(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 ResourceTypeValues 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 ResourceTypeValues(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type RetentionIntervalUnitValues.
///
public class RetentionIntervalUnitValues : ConstantClass
{
///
/// Constant DAYS for RetentionIntervalUnitValues
///
public static readonly RetentionIntervalUnitValues DAYS = new RetentionIntervalUnitValues("DAYS");
///
/// Constant MONTHS for RetentionIntervalUnitValues
///
public static readonly RetentionIntervalUnitValues MONTHS = new RetentionIntervalUnitValues("MONTHS");
///
/// Constant WEEKS for RetentionIntervalUnitValues
///
public static readonly RetentionIntervalUnitValues WEEKS = new RetentionIntervalUnitValues("WEEKS");
///
/// Constant YEARS for RetentionIntervalUnitValues
///
public static readonly RetentionIntervalUnitValues YEARS = new RetentionIntervalUnitValues("YEARS");
///
/// 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 RetentionIntervalUnitValues(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 RetentionIntervalUnitValues 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 RetentionIntervalUnitValues(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type SettablePolicyStateValues.
///
public class SettablePolicyStateValues : ConstantClass
{
///
/// Constant DISABLED for SettablePolicyStateValues
///
public static readonly SettablePolicyStateValues DISABLED = new SettablePolicyStateValues("DISABLED");
///
/// Constant ENABLED for SettablePolicyStateValues
///
public static readonly SettablePolicyStateValues ENABLED = new SettablePolicyStateValues("ENABLED");
///
/// 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 SettablePolicyStateValues(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 SettablePolicyStateValues 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 SettablePolicyStateValues(string value)
{
return FindValue(value);
}
}
}