/* * 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 internetmonitor-2021-06-03.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.InternetMonitor { /// /// Constants used for properties of type HealthEventImpactType. /// public class HealthEventImpactType : ConstantClass { /// /// Constant AVAILABILITY for HealthEventImpactType /// public static readonly HealthEventImpactType AVAILABILITY = new HealthEventImpactType("AVAILABILITY"); /// /// Constant PERFORMANCE for HealthEventImpactType /// public static readonly HealthEventImpactType PERFORMANCE = new HealthEventImpactType("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 HealthEventImpactType(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 HealthEventImpactType 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 HealthEventImpactType(string value) { return FindValue(value); } } /// /// Constants used for properties of type HealthEventStatus. /// public class HealthEventStatus : ConstantClass { /// /// Constant ACTIVE for HealthEventStatus /// public static readonly HealthEventStatus ACTIVE = new HealthEventStatus("ACTIVE"); /// /// Constant RESOLVED for HealthEventStatus /// public static readonly HealthEventStatus RESOLVED = new HealthEventStatus("RESOLVED"); /// /// 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 HealthEventStatus(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 HealthEventStatus 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 HealthEventStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type LogDeliveryStatus. /// public class LogDeliveryStatus : ConstantClass { /// /// Constant DISABLED for LogDeliveryStatus /// public static readonly LogDeliveryStatus DISABLED = new LogDeliveryStatus("DISABLED"); /// /// Constant ENABLED for LogDeliveryStatus /// public static readonly LogDeliveryStatus ENABLED = new LogDeliveryStatus("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 LogDeliveryStatus(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 LogDeliveryStatus 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 LogDeliveryStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type MonitorConfigState. /// public class MonitorConfigState : ConstantClass { /// /// Constant ACTIVE for MonitorConfigState /// public static readonly MonitorConfigState ACTIVE = new MonitorConfigState("ACTIVE"); /// /// Constant ERROR for MonitorConfigState /// public static readonly MonitorConfigState ERROR = new MonitorConfigState("ERROR"); /// /// Constant INACTIVE for MonitorConfigState /// public static readonly MonitorConfigState INACTIVE = new MonitorConfigState("INACTIVE"); /// /// Constant PENDING for MonitorConfigState /// public static readonly MonitorConfigState PENDING = new MonitorConfigState("PENDING"); /// /// 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 MonitorConfigState(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 MonitorConfigState 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 MonitorConfigState(string value) { return FindValue(value); } } /// /// Constants used for properties of type MonitorProcessingStatusCode. /// public class MonitorProcessingStatusCode : ConstantClass { /// /// Constant COLLECTING_DATA for MonitorProcessingStatusCode /// public static readonly MonitorProcessingStatusCode COLLECTING_DATA = new MonitorProcessingStatusCode("COLLECTING_DATA"); /// /// Constant FAULT_ACCESS_CLOUDWATCH for MonitorProcessingStatusCode /// public static readonly MonitorProcessingStatusCode FAULT_ACCESS_CLOUDWATCH = new MonitorProcessingStatusCode("FAULT_ACCESS_CLOUDWATCH"); /// /// Constant FAULT_SERVICE for MonitorProcessingStatusCode /// public static readonly MonitorProcessingStatusCode FAULT_SERVICE = new MonitorProcessingStatusCode("FAULT_SERVICE"); /// /// Constant INACTIVE for MonitorProcessingStatusCode /// public static readonly MonitorProcessingStatusCode INACTIVE = new MonitorProcessingStatusCode("INACTIVE"); /// /// Constant INSUFFICIENT_DATA for MonitorProcessingStatusCode /// public static readonly MonitorProcessingStatusCode INSUFFICIENT_DATA = new MonitorProcessingStatusCode("INSUFFICIENT_DATA"); /// /// Constant OK for MonitorProcessingStatusCode /// public static readonly MonitorProcessingStatusCode OK = new MonitorProcessingStatusCode("OK"); /// /// 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 MonitorProcessingStatusCode(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 MonitorProcessingStatusCode 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 MonitorProcessingStatusCode(string value) { return FindValue(value); } } /// /// Constants used for properties of type TriangulationEventType. /// public class TriangulationEventType : ConstantClass { /// /// Constant AWS for TriangulationEventType /// public static readonly TriangulationEventType AWS = new TriangulationEventType("AWS"); /// /// Constant Internet for TriangulationEventType /// public static readonly TriangulationEventType Internet = new TriangulationEventType("Internet"); /// /// 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 TriangulationEventType(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 TriangulationEventType 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 TriangulationEventType(string value) { return FindValue(value); } } }