/* * 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 ssm-contacts-2021-05-03.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.SSMContacts { /// /// Constants used for properties of type AcceptCodeValidation. /// public class AcceptCodeValidation : ConstantClass { /// /// Constant ENFORCE for AcceptCodeValidation /// public static readonly AcceptCodeValidation ENFORCE = new AcceptCodeValidation("ENFORCE"); /// /// Constant IGNORE for AcceptCodeValidation /// public static readonly AcceptCodeValidation IGNORE = new AcceptCodeValidation("IGNORE"); /// /// 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 AcceptCodeValidation(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 AcceptCodeValidation 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 AcceptCodeValidation(string value) { return FindValue(value); } } /// /// Constants used for properties of type AcceptType. /// public class AcceptType : ConstantClass { /// /// Constant DELIVERED for AcceptType /// public static readonly AcceptType DELIVERED = new AcceptType("DELIVERED"); /// /// Constant READ for AcceptType /// public static readonly AcceptType READ = new AcceptType("READ"); /// /// 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 AcceptType(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 AcceptType 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 AcceptType(string value) { return FindValue(value); } } /// /// Constants used for properties of type ActivationStatus. /// public class ActivationStatus : ConstantClass { /// /// Constant ACTIVATED for ActivationStatus /// public static readonly ActivationStatus ACTIVATED = new ActivationStatus("ACTIVATED"); /// /// Constant NOT_ACTIVATED for ActivationStatus /// public static readonly ActivationStatus NOT_ACTIVATED = new ActivationStatus("NOT_ACTIVATED"); /// /// 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 ActivationStatus(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 ActivationStatus 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 ActivationStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type ChannelType. /// public class ChannelType : ConstantClass { /// /// Constant EMAIL for ChannelType /// public static readonly ChannelType EMAIL = new ChannelType("EMAIL"); /// /// Constant SMS for ChannelType /// public static readonly ChannelType SMS = new ChannelType("SMS"); /// /// Constant VOICE for ChannelType /// public static readonly ChannelType VOICE = new ChannelType("VOICE"); /// /// 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 ChannelType(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 ChannelType 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 ChannelType(string value) { return FindValue(value); } } /// /// Constants used for properties of type ContactType. /// public class ContactType : ConstantClass { /// /// Constant ESCALATION for ContactType /// public static readonly ContactType ESCALATION = new ContactType("ESCALATION"); /// /// Constant ONCALL_SCHEDULE for ContactType /// public static readonly ContactType ONCALL_SCHEDULE = new ContactType("ONCALL_SCHEDULE"); /// /// Constant PERSONAL for ContactType /// public static readonly ContactType PERSONAL = new ContactType("PERSONAL"); /// /// 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 ContactType(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 ContactType 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 ContactType(string value) { return FindValue(value); } } /// /// Constants used for properties of type DayOfWeek. /// public class DayOfWeek : ConstantClass { /// /// Constant FRI for DayOfWeek /// public static readonly DayOfWeek FRI = new DayOfWeek("FRI"); /// /// Constant MON for DayOfWeek /// public static readonly DayOfWeek MON = new DayOfWeek("MON"); /// /// Constant SAT for DayOfWeek /// public static readonly DayOfWeek SAT = new DayOfWeek("SAT"); /// /// Constant SUN for DayOfWeek /// public static readonly DayOfWeek SUN = new DayOfWeek("SUN"); /// /// Constant THU for DayOfWeek /// public static readonly DayOfWeek THU = new DayOfWeek("THU"); /// /// Constant TUE for DayOfWeek /// public static readonly DayOfWeek TUE = new DayOfWeek("TUE"); /// /// Constant WED for DayOfWeek /// public static readonly DayOfWeek WED = new DayOfWeek("WED"); /// /// 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 DayOfWeek(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 DayOfWeek 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 DayOfWeek(string value) { return FindValue(value); } } /// /// Constants used for properties of type ReceiptType. /// public class ReceiptType : ConstantClass { /// /// Constant DELIVERED for ReceiptType /// public static readonly ReceiptType DELIVERED = new ReceiptType("DELIVERED"); /// /// Constant ERROR for ReceiptType /// public static readonly ReceiptType ERROR = new ReceiptType("ERROR"); /// /// Constant READ for ReceiptType /// public static readonly ReceiptType READ = new ReceiptType("READ"); /// /// Constant SENT for ReceiptType /// public static readonly ReceiptType SENT = new ReceiptType("SENT"); /// /// Constant STOP for ReceiptType /// public static readonly ReceiptType STOP = new ReceiptType("STOP"); /// /// 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 ReceiptType(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 ReceiptType 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 ReceiptType(string value) { return FindValue(value); } } /// /// Constants used for properties of type ShiftType. /// public class ShiftType : ConstantClass { /// /// Constant OVERRIDDEN for ShiftType /// public static readonly ShiftType OVERRIDDEN = new ShiftType("OVERRIDDEN"); /// /// Constant REGULAR for ShiftType /// public static readonly ShiftType REGULAR = new ShiftType("REGULAR"); /// /// 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 ShiftType(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 ShiftType 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 ShiftType(string value) { return FindValue(value); } } /// /// Constants used for properties of type ValidationExceptionReason. /// public class ValidationExceptionReason : ConstantClass { /// /// Constant CANNOT_PARSE for ValidationExceptionReason /// public static readonly ValidationExceptionReason CANNOT_PARSE = new ValidationExceptionReason("CANNOT_PARSE"); /// /// Constant FIELD_VALIDATION_FAILED for ValidationExceptionReason /// public static readonly ValidationExceptionReason FIELD_VALIDATION_FAILED = new ValidationExceptionReason("FIELD_VALIDATION_FAILED"); /// /// Constant OTHER for ValidationExceptionReason /// public static readonly ValidationExceptionReason OTHER = new ValidationExceptionReason("OTHER"); /// /// Constant UNKNOWN_OPERATION for ValidationExceptionReason /// public static readonly ValidationExceptionReason UNKNOWN_OPERATION = new ValidationExceptionReason("UNKNOWN_OPERATION"); /// /// 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 ValidationExceptionReason(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 ValidationExceptionReason 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 ValidationExceptionReason(string value) { return FindValue(value); } } }