/* * Copyright 2010-2014 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 cognito-identity-2014-06-30.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.CognitoIdentity { /// /// Constants used for properties of type AmbiguousRoleResolutionType. /// public class AmbiguousRoleResolutionType : ConstantClass { /// /// Constant AuthenticatedRole for AmbiguousRoleResolutionType /// public static readonly AmbiguousRoleResolutionType AuthenticatedRole = new AmbiguousRoleResolutionType("AuthenticatedRole"); /// /// Constant Deny for AmbiguousRoleResolutionType /// public static readonly AmbiguousRoleResolutionType Deny = new AmbiguousRoleResolutionType("Deny"); /// /// 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 AmbiguousRoleResolutionType(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 AmbiguousRoleResolutionType 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 AmbiguousRoleResolutionType(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 InternalServerError for ErrorCode /// public static readonly ErrorCode InternalServerError = new ErrorCode("InternalServerError"); /// /// 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 MappingRuleMatchType. /// public class MappingRuleMatchType : ConstantClass { /// /// Constant Contains for MappingRuleMatchType /// public static readonly MappingRuleMatchType Contains = new MappingRuleMatchType("Contains"); /// /// Constant Equals for MappingRuleMatchType /// public static readonly MappingRuleMatchType Equals = new MappingRuleMatchType("Equals"); /// /// Constant NotEqual for MappingRuleMatchType /// public static readonly MappingRuleMatchType NotEqual = new MappingRuleMatchType("NotEqual"); /// /// Constant StartsWith for MappingRuleMatchType /// public static readonly MappingRuleMatchType StartsWith = new MappingRuleMatchType("StartsWith"); /// /// 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 MappingRuleMatchType(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 MappingRuleMatchType 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 MappingRuleMatchType(string value) { return FindValue(value); } } /// /// Constants used for properties of type RoleMappingType. /// public class RoleMappingType : ConstantClass { /// /// Constant Rules for RoleMappingType /// public static readonly RoleMappingType Rules = new RoleMappingType("Rules"); /// /// Constant Token for RoleMappingType /// public static readonly RoleMappingType Token = new RoleMappingType("Token"); /// /// 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 RoleMappingType(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 RoleMappingType 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 RoleMappingType(string value) { return FindValue(value); } } }