/* * 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 chime-sdk-identity-2021-04-20.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.ChimeSDKIdentity { /// /// Constants used for properties of type AllowMessages. /// public class AllowMessages : ConstantClass { /// /// Constant ALL for AllowMessages /// public static readonly AllowMessages ALL = new AllowMessages("ALL"); /// /// Constant NONE for AllowMessages /// public static readonly AllowMessages NONE = new AllowMessages("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 AllowMessages(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 AllowMessages 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 AllowMessages(string value) { return FindValue(value); } } /// /// Constants used for properties of type AppInstanceUserEndpointType. /// public class AppInstanceUserEndpointType : ConstantClass { /// /// Constant APNS for AppInstanceUserEndpointType /// public static readonly AppInstanceUserEndpointType APNS = new AppInstanceUserEndpointType("APNS"); /// /// Constant APNS_SANDBOX for AppInstanceUserEndpointType /// public static readonly AppInstanceUserEndpointType APNS_SANDBOX = new AppInstanceUserEndpointType("APNS_SANDBOX"); /// /// Constant GCM for AppInstanceUserEndpointType /// public static readonly AppInstanceUserEndpointType GCM = new AppInstanceUserEndpointType("GCM"); /// /// 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 AppInstanceUserEndpointType(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 AppInstanceUserEndpointType 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 AppInstanceUserEndpointType(string value) { return FindValue(value); } } /// /// Constants used for properties of type EndpointStatus. /// public class EndpointStatus : ConstantClass { /// /// Constant ACTIVE for EndpointStatus /// public static readonly EndpointStatus ACTIVE = new EndpointStatus("ACTIVE"); /// /// Constant INACTIVE for EndpointStatus /// public static readonly EndpointStatus INACTIVE = new EndpointStatus("INACTIVE"); /// /// 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 EndpointStatus(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 EndpointStatus 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 EndpointStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type EndpointStatusReason. /// public class EndpointStatusReason : ConstantClass { /// /// Constant INVALID_DEVICE_TOKEN for EndpointStatusReason /// public static readonly EndpointStatusReason INVALID_DEVICE_TOKEN = new EndpointStatusReason("INVALID_DEVICE_TOKEN"); /// /// Constant INVALID_PINPOINT_ARN for EndpointStatusReason /// public static readonly EndpointStatusReason INVALID_PINPOINT_ARN = new EndpointStatusReason("INVALID_PINPOINT_ARN"); /// /// 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 EndpointStatusReason(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 EndpointStatusReason 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 EndpointStatusReason(string value) { return FindValue(value); } } /// /// Constants used for properties of type ErrorCode. /// public class ErrorCode : ConstantClass { /// /// Constant AccessDenied for ErrorCode /// public static readonly ErrorCode AccessDenied = new ErrorCode("AccessDenied"); /// /// Constant BadRequest for ErrorCode /// public static readonly ErrorCode BadRequest = new ErrorCode("BadRequest"); /// /// Constant Conflict for ErrorCode /// public static readonly ErrorCode Conflict = new ErrorCode("Conflict"); /// /// Constant Forbidden for ErrorCode /// public static readonly ErrorCode Forbidden = new ErrorCode("Forbidden"); /// /// Constant NotFound for ErrorCode /// public static readonly ErrorCode NotFound = new ErrorCode("NotFound"); /// /// Constant PhoneNumberAssociationsExist for ErrorCode /// public static readonly ErrorCode PhoneNumberAssociationsExist = new ErrorCode("PhoneNumberAssociationsExist"); /// /// Constant PreconditionFailed for ErrorCode /// public static readonly ErrorCode PreconditionFailed = new ErrorCode("PreconditionFailed"); /// /// Constant ResourceLimitExceeded for ErrorCode /// public static readonly ErrorCode ResourceLimitExceeded = new ErrorCode("ResourceLimitExceeded"); /// /// Constant ServiceFailure for ErrorCode /// public static readonly ErrorCode ServiceFailure = new ErrorCode("ServiceFailure"); /// /// Constant ServiceUnavailable for ErrorCode /// public static readonly ErrorCode ServiceUnavailable = new ErrorCode("ServiceUnavailable"); /// /// Constant Throttled for ErrorCode /// public static readonly ErrorCode Throttled = new ErrorCode("Throttled"); /// /// Constant Throttling for ErrorCode /// public static readonly ErrorCode Throttling = new ErrorCode("Throttling"); /// /// Constant Unauthorized for ErrorCode /// public static readonly ErrorCode Unauthorized = new ErrorCode("Unauthorized"); /// /// Constant Unprocessable for ErrorCode /// public static readonly ErrorCode Unprocessable = new ErrorCode("Unprocessable"); /// /// Constant VoiceConnectorGroupAssociationsExist for ErrorCode /// public static readonly ErrorCode VoiceConnectorGroupAssociationsExist = new ErrorCode("VoiceConnectorGroupAssociationsExist"); /// /// 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 ErrorCode(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 ErrorCode 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 ErrorCode(string value) { return FindValue(value); } } /// /// Constants used for properties of type ExpirationCriterion. /// public class ExpirationCriterion : ConstantClass { /// /// Constant CREATED_TIMESTAMP for ExpirationCriterion /// public static readonly ExpirationCriterion CREATED_TIMESTAMP = new ExpirationCriterion("CREATED_TIMESTAMP"); /// /// 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 ExpirationCriterion(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 ExpirationCriterion 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 ExpirationCriterion(string value) { return FindValue(value); } } /// /// Constants used for properties of type RespondsTo. /// public class RespondsTo : ConstantClass { /// /// Constant STANDARD_MESSAGES for RespondsTo /// public static readonly RespondsTo STANDARD_MESSAGES = new RespondsTo("STANDARD_MESSAGES"); /// /// 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 RespondsTo(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 RespondsTo 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 RespondsTo(string value) { return FindValue(value); } } /// /// Constants used for properties of type StandardMessages. /// public class StandardMessages : ConstantClass { /// /// Constant ALL for StandardMessages /// public static readonly StandardMessages ALL = new StandardMessages("ALL"); /// /// Constant AUTO for StandardMessages /// public static readonly StandardMessages AUTO = new StandardMessages("AUTO"); /// /// Constant MENTIONS for StandardMessages /// public static readonly StandardMessages MENTIONS = new StandardMessages("MENTIONS"); /// /// Constant NONE for StandardMessages /// public static readonly StandardMessages NONE = new StandardMessages("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 StandardMessages(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 StandardMessages 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 StandardMessages(string value) { return FindValue(value); } } /// /// Constants used for properties of type TargetedMessages. /// public class TargetedMessages : ConstantClass { /// /// Constant ALL for TargetedMessages /// public static readonly TargetedMessages ALL = new TargetedMessages("ALL"); /// /// Constant NONE for TargetedMessages /// public static readonly TargetedMessages NONE = new TargetedMessages("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 TargetedMessages(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 TargetedMessages 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 TargetedMessages(string value) { return FindValue(value); } } }