/* * 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 rum-2018-05-10.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.CloudWatchRUM { /// /// Constants used for properties of type CustomEventsStatus. /// public class CustomEventsStatus : ConstantClass { /// /// Constant DISABLED for CustomEventsStatus /// public static readonly CustomEventsStatus DISABLED = new CustomEventsStatus("DISABLED"); /// /// Constant ENABLED for CustomEventsStatus /// public static readonly CustomEventsStatus ENABLED = new CustomEventsStatus("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 CustomEventsStatus(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 CustomEventsStatus 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 CustomEventsStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type MetricDestination. /// public class MetricDestination : ConstantClass { /// /// Constant CloudWatch for MetricDestination /// public static readonly MetricDestination CloudWatch = new MetricDestination("CloudWatch"); /// /// Constant Evidently for MetricDestination /// public static readonly MetricDestination Evidently = new MetricDestination("Evidently"); /// /// 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 MetricDestination(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 MetricDestination 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 MetricDestination(string value) { return FindValue(value); } } /// /// Constants used for properties of type StateEnum. /// public class StateEnum : ConstantClass { /// /// Constant ACTIVE for StateEnum /// public static readonly StateEnum ACTIVE = new StateEnum("ACTIVE"); /// /// Constant CREATED for StateEnum /// public static readonly StateEnum CREATED = new StateEnum("CREATED"); /// /// Constant DELETING for StateEnum /// public static readonly StateEnum DELETING = new StateEnum("DELETING"); /// /// 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 StateEnum(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 StateEnum 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 StateEnum(string value) { return FindValue(value); } } /// /// Constants used for properties of type Telemetry. /// public class Telemetry : ConstantClass { /// /// Constant Errors for Telemetry /// public static readonly Telemetry Errors = new Telemetry("errors"); /// /// Constant Http for Telemetry /// public static readonly Telemetry Http = new Telemetry("http"); /// /// Constant Performance for Telemetry /// public static readonly Telemetry Performance = new Telemetry("performance"); /// /// 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 Telemetry(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 Telemetry 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 Telemetry(string value) { return FindValue(value); } } }