/* * 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 xray-2016-04-12.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.XRay { /// /// Constants used for properties of type EncryptionStatus. /// public class EncryptionStatus : ConstantClass { /// /// Constant ACTIVE for EncryptionStatus /// public static readonly EncryptionStatus ACTIVE = new EncryptionStatus("ACTIVE"); /// /// Constant UPDATING for EncryptionStatus /// public static readonly EncryptionStatus UPDATING = new EncryptionStatus("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 EncryptionStatus(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 EncryptionStatus 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 EncryptionStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type EncryptionType. /// public class EncryptionType : ConstantClass { /// /// Constant KMS for EncryptionType /// public static readonly EncryptionType KMS = new EncryptionType("KMS"); /// /// Constant NONE for EncryptionType /// public static readonly EncryptionType NONE = new EncryptionType("NONE"); /// /// 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 EncryptionType(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 EncryptionType 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 EncryptionType(string value) { return FindValue(value); } } /// /// Constants used for properties of type InsightCategory. /// public class InsightCategory : ConstantClass { /// /// Constant FAULT for InsightCategory /// public static readonly InsightCategory FAULT = new InsightCategory("FAULT"); /// /// 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 InsightCategory(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 InsightCategory 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 InsightCategory(string value) { return FindValue(value); } } /// /// Constants used for properties of type InsightState. /// public class InsightState : ConstantClass { /// /// Constant ACTIVE for InsightState /// public static readonly InsightState ACTIVE = new InsightState("ACTIVE"); /// /// Constant CLOSED for InsightState /// public static readonly InsightState CLOSED = new InsightState("CLOSED"); /// /// 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 InsightState(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 InsightState 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 InsightState(string value) { return FindValue(value); } } /// /// Constants used for properties of type SamplingStrategyName. /// public class SamplingStrategyName : ConstantClass { /// /// Constant FixedRate for SamplingStrategyName /// public static readonly SamplingStrategyName FixedRate = new SamplingStrategyName("FixedRate"); /// /// Constant PartialScan for SamplingStrategyName /// public static readonly SamplingStrategyName PartialScan = new SamplingStrategyName("PartialScan"); /// /// 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 SamplingStrategyName(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 SamplingStrategyName 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 SamplingStrategyName(string value) { return FindValue(value); } } /// /// Constants used for properties of type TimeRangeType. /// public class TimeRangeType : ConstantClass { /// /// Constant Event for TimeRangeType /// public static readonly TimeRangeType Event = new TimeRangeType("Event"); /// /// Constant TraceId for TimeRangeType /// public static readonly TimeRangeType TraceId = new TimeRangeType("TraceId"); /// /// 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 TimeRangeType(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 TimeRangeType 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 TimeRangeType(string value) { return FindValue(value); } } }