/* * 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 apigateway-2015-07-09.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.APIGateway { /// /// Constants used for properties of type ApiKeysFormat. /// public class ApiKeysFormat : ConstantClass { /// /// Constant Csv for ApiKeysFormat /// public static readonly ApiKeysFormat Csv = new ApiKeysFormat("csv"); /// /// 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 ApiKeysFormat(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 ApiKeysFormat 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 ApiKeysFormat(string value) { return FindValue(value); } } /// /// Constants used for properties of type ApiKeySourceType. /// public class ApiKeySourceType : ConstantClass { /// /// Constant AUTHORIZER for ApiKeySourceType /// public static readonly ApiKeySourceType AUTHORIZER = new ApiKeySourceType("AUTHORIZER"); /// /// Constant HEADER for ApiKeySourceType /// public static readonly ApiKeySourceType HEADER = new ApiKeySourceType("HEADER"); /// /// 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 ApiKeySourceType(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 ApiKeySourceType 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 ApiKeySourceType(string value) { return FindValue(value); } } /// /// Constants used for properties of type AuthorizerType. /// public class AuthorizerType : ConstantClass { /// /// Constant COGNITO_USER_POOLS for AuthorizerType /// public static readonly AuthorizerType COGNITO_USER_POOLS = new AuthorizerType("COGNITO_USER_POOLS"); /// /// Constant REQUEST for AuthorizerType /// public static readonly AuthorizerType REQUEST = new AuthorizerType("REQUEST"); /// /// Constant TOKEN for AuthorizerType /// public static readonly AuthorizerType TOKEN = new AuthorizerType("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 AuthorizerType(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 AuthorizerType 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 AuthorizerType(string value) { return FindValue(value); } } /// /// Constants used for properties of type CacheClusterSize. /// public class CacheClusterSize : ConstantClass { /// /// Constant GB_0_5 for CacheClusterSize /// public static readonly CacheClusterSize GB_0_5 = new CacheClusterSize("0.5"); /// /// Constant GB_1_6 for CacheClusterSize /// public static readonly CacheClusterSize GB_1_6 = new CacheClusterSize("1.6"); /// /// Constant GB_118 for CacheClusterSize /// public static readonly CacheClusterSize GB_118 = new CacheClusterSize("118"); /// /// Constant GB_13_5 for CacheClusterSize /// public static readonly CacheClusterSize GB_13_5 = new CacheClusterSize("13.5"); /// /// Constant GB_237 for CacheClusterSize /// public static readonly CacheClusterSize GB_237 = new CacheClusterSize("237"); /// /// Constant GB_28_4 for CacheClusterSize /// public static readonly CacheClusterSize GB_28_4 = new CacheClusterSize("28.4"); /// /// Constant GB_58_2 for CacheClusterSize /// public static readonly CacheClusterSize GB_58_2 = new CacheClusterSize("58.2"); /// /// Constant GB_6_1 for CacheClusterSize /// public static readonly CacheClusterSize GB_6_1 = new CacheClusterSize("6.1"); /// /// 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 CacheClusterSize(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 CacheClusterSize 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 CacheClusterSize(string value) { return FindValue(value); } } /// /// Constants used for properties of type CacheClusterStatus. /// public class CacheClusterStatus : ConstantClass { /// /// Constant AVAILABLE for CacheClusterStatus /// public static readonly CacheClusterStatus AVAILABLE = new CacheClusterStatus("AVAILABLE"); /// /// Constant CREATE_IN_PROGRESS for CacheClusterStatus /// public static readonly CacheClusterStatus CREATE_IN_PROGRESS = new CacheClusterStatus("CREATE_IN_PROGRESS"); /// /// Constant DELETE_IN_PROGRESS for CacheClusterStatus /// public static readonly CacheClusterStatus DELETE_IN_PROGRESS = new CacheClusterStatus("DELETE_IN_PROGRESS"); /// /// Constant FLUSH_IN_PROGRESS for CacheClusterStatus /// public static readonly CacheClusterStatus FLUSH_IN_PROGRESS = new CacheClusterStatus("FLUSH_IN_PROGRESS"); /// /// Constant NOT_AVAILABLE for CacheClusterStatus /// public static readonly CacheClusterStatus NOT_AVAILABLE = new CacheClusterStatus("NOT_AVAILABLE"); /// /// 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 CacheClusterStatus(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 CacheClusterStatus 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 CacheClusterStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type ConnectionType. /// public class ConnectionType : ConstantClass { /// /// Constant INTERNET for ConnectionType /// public static readonly ConnectionType INTERNET = new ConnectionType("INTERNET"); /// /// Constant VPC_LINK for ConnectionType /// public static readonly ConnectionType VPC_LINK = new ConnectionType("VPC_LINK"); /// /// 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 ConnectionType(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 ConnectionType 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 ConnectionType(string value) { return FindValue(value); } } /// /// Constants used for properties of type ContentHandlingStrategy. /// public class ContentHandlingStrategy : ConstantClass { /// /// Constant CONVERT_TO_BINARY for ContentHandlingStrategy /// public static readonly ContentHandlingStrategy CONVERT_TO_BINARY = new ContentHandlingStrategy("CONVERT_TO_BINARY"); /// /// Constant CONVERT_TO_TEXT for ContentHandlingStrategy /// public static readonly ContentHandlingStrategy CONVERT_TO_TEXT = new ContentHandlingStrategy("CONVERT_TO_TEXT"); /// /// 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 ContentHandlingStrategy(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 ContentHandlingStrategy 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 ContentHandlingStrategy(string value) { return FindValue(value); } } /// /// Constants used for properties of type DocumentationPartType. /// public class DocumentationPartType : ConstantClass { /// /// Constant API for DocumentationPartType /// public static readonly DocumentationPartType API = new DocumentationPartType("API"); /// /// Constant AUTHORIZER for DocumentationPartType /// public static readonly DocumentationPartType AUTHORIZER = new DocumentationPartType("AUTHORIZER"); /// /// Constant METHOD for DocumentationPartType /// public static readonly DocumentationPartType METHOD = new DocumentationPartType("METHOD"); /// /// Constant MODEL for DocumentationPartType /// public static readonly DocumentationPartType MODEL = new DocumentationPartType("MODEL"); /// /// Constant PATH_PARAMETER for DocumentationPartType /// public static readonly DocumentationPartType PATH_PARAMETER = new DocumentationPartType("PATH_PARAMETER"); /// /// Constant QUERY_PARAMETER for DocumentationPartType /// public static readonly DocumentationPartType QUERY_PARAMETER = new DocumentationPartType("QUERY_PARAMETER"); /// /// Constant REQUEST_BODY for DocumentationPartType /// public static readonly DocumentationPartType REQUEST_BODY = new DocumentationPartType("REQUEST_BODY"); /// /// Constant REQUEST_HEADER for DocumentationPartType /// public static readonly DocumentationPartType REQUEST_HEADER = new DocumentationPartType("REQUEST_HEADER"); /// /// Constant RESOURCE for DocumentationPartType /// public static readonly DocumentationPartType RESOURCE = new DocumentationPartType("RESOURCE"); /// /// Constant RESPONSE for DocumentationPartType /// public static readonly DocumentationPartType RESPONSE = new DocumentationPartType("RESPONSE"); /// /// Constant RESPONSE_BODY for DocumentationPartType /// public static readonly DocumentationPartType RESPONSE_BODY = new DocumentationPartType("RESPONSE_BODY"); /// /// Constant RESPONSE_HEADER for DocumentationPartType /// public static readonly DocumentationPartType RESPONSE_HEADER = new DocumentationPartType("RESPONSE_HEADER"); /// /// 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 DocumentationPartType(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 DocumentationPartType 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 DocumentationPartType(string value) { return FindValue(value); } } /// /// Constants used for properties of type DomainNameStatus. /// public class DomainNameStatus : ConstantClass { /// /// Constant AVAILABLE for DomainNameStatus /// public static readonly DomainNameStatus AVAILABLE = new DomainNameStatus("AVAILABLE"); /// /// Constant PENDING for DomainNameStatus /// public static readonly DomainNameStatus PENDING = new DomainNameStatus("PENDING"); /// /// Constant PENDING_CERTIFICATE_REIMPORT for DomainNameStatus /// public static readonly DomainNameStatus PENDING_CERTIFICATE_REIMPORT = new DomainNameStatus("PENDING_CERTIFICATE_REIMPORT"); /// /// Constant PENDING_OWNERSHIP_VERIFICATION for DomainNameStatus /// public static readonly DomainNameStatus PENDING_OWNERSHIP_VERIFICATION = new DomainNameStatus("PENDING_OWNERSHIP_VERIFICATION"); /// /// Constant UPDATING for DomainNameStatus /// public static readonly DomainNameStatus UPDATING = new DomainNameStatus("UPDATING"); /// /// 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 DomainNameStatus(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 DomainNameStatus 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 DomainNameStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type EndpointType. /// public class EndpointType : ConstantClass { /// /// Constant EDGE for EndpointType /// public static readonly EndpointType EDGE = new EndpointType("EDGE"); /// /// Constant PRIVATE for EndpointType /// public static readonly EndpointType PRIVATE = new EndpointType("PRIVATE"); /// /// Constant REGIONAL for EndpointType /// public static readonly EndpointType REGIONAL = new EndpointType("REGIONAL"); /// /// 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 EndpointType(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 EndpointType 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 EndpointType(string value) { return FindValue(value); } } /// /// Constants used for properties of type GatewayResponseType. /// public class GatewayResponseType : ConstantClass { /// /// Constant ACCESS_DENIED for GatewayResponseType /// public static readonly GatewayResponseType ACCESS_DENIED = new GatewayResponseType("ACCESS_DENIED"); /// /// Constant API_CONFIGURATION_ERROR for GatewayResponseType /// public static readonly GatewayResponseType API_CONFIGURATION_ERROR = new GatewayResponseType("API_CONFIGURATION_ERROR"); /// /// Constant AUTHORIZER_CONFIGURATION_ERROR for GatewayResponseType /// public static readonly GatewayResponseType AUTHORIZER_CONFIGURATION_ERROR = new GatewayResponseType("AUTHORIZER_CONFIGURATION_ERROR"); /// /// Constant AUTHORIZER_FAILURE for GatewayResponseType /// public static readonly GatewayResponseType AUTHORIZER_FAILURE = new GatewayResponseType("AUTHORIZER_FAILURE"); /// /// Constant BAD_REQUEST_BODY for GatewayResponseType /// public static readonly GatewayResponseType BAD_REQUEST_BODY = new GatewayResponseType("BAD_REQUEST_BODY"); /// /// Constant BAD_REQUEST_PARAMETERS for GatewayResponseType /// public static readonly GatewayResponseType BAD_REQUEST_PARAMETERS = new GatewayResponseType("BAD_REQUEST_PARAMETERS"); /// /// Constant DEFAULT_4XX for GatewayResponseType /// public static readonly GatewayResponseType DEFAULT_4XX = new GatewayResponseType("DEFAULT_4XX"); /// /// Constant DEFAULT_5XX for GatewayResponseType /// public static readonly GatewayResponseType DEFAULT_5XX = new GatewayResponseType("DEFAULT_5XX"); /// /// Constant EXPIRED_TOKEN for GatewayResponseType /// public static readonly GatewayResponseType EXPIRED_TOKEN = new GatewayResponseType("EXPIRED_TOKEN"); /// /// Constant INTEGRATION_FAILURE for GatewayResponseType /// public static readonly GatewayResponseType INTEGRATION_FAILURE = new GatewayResponseType("INTEGRATION_FAILURE"); /// /// Constant INTEGRATION_TIMEOUT for GatewayResponseType /// public static readonly GatewayResponseType INTEGRATION_TIMEOUT = new GatewayResponseType("INTEGRATION_TIMEOUT"); /// /// Constant INVALID_API_KEY for GatewayResponseType /// public static readonly GatewayResponseType INVALID_API_KEY = new GatewayResponseType("INVALID_API_KEY"); /// /// Constant INVALID_SIGNATURE for GatewayResponseType /// public static readonly GatewayResponseType INVALID_SIGNATURE = new GatewayResponseType("INVALID_SIGNATURE"); /// /// Constant MISSING_AUTHENTICATION_TOKEN for GatewayResponseType /// public static readonly GatewayResponseType MISSING_AUTHENTICATION_TOKEN = new GatewayResponseType("MISSING_AUTHENTICATION_TOKEN"); /// /// Constant QUOTA_EXCEEDED for GatewayResponseType /// public static readonly GatewayResponseType QUOTA_EXCEEDED = new GatewayResponseType("QUOTA_EXCEEDED"); /// /// Constant REQUEST_TOO_LARGE for GatewayResponseType /// public static readonly GatewayResponseType REQUEST_TOO_LARGE = new GatewayResponseType("REQUEST_TOO_LARGE"); /// /// Constant RESOURCE_NOT_FOUND for GatewayResponseType /// public static readonly GatewayResponseType RESOURCE_NOT_FOUND = new GatewayResponseType("RESOURCE_NOT_FOUND"); /// /// Constant THROTTLED for GatewayResponseType /// public static readonly GatewayResponseType THROTTLED = new GatewayResponseType("THROTTLED"); /// /// Constant UNAUTHORIZED for GatewayResponseType /// public static readonly GatewayResponseType UNAUTHORIZED = new GatewayResponseType("UNAUTHORIZED"); /// /// Constant UNSUPPORTED_MEDIA_TYPE for GatewayResponseType /// public static readonly GatewayResponseType UNSUPPORTED_MEDIA_TYPE = new GatewayResponseType("UNSUPPORTED_MEDIA_TYPE"); /// /// Constant WAF_FILTERED for GatewayResponseType /// public static readonly GatewayResponseType WAF_FILTERED = new GatewayResponseType("WAF_FILTERED"); /// /// 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 GatewayResponseType(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 GatewayResponseType 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 GatewayResponseType(string value) { return FindValue(value); } } /// /// Constants used for properties of type IntegrationType. /// public class IntegrationType : ConstantClass { /// /// Constant AWS for IntegrationType /// public static readonly IntegrationType AWS = new IntegrationType("AWS"); /// /// Constant AWS_PROXY for IntegrationType /// public static readonly IntegrationType AWS_PROXY = new IntegrationType("AWS_PROXY"); /// /// Constant HTTP for IntegrationType /// public static readonly IntegrationType HTTP = new IntegrationType("HTTP"); /// /// Constant HTTP_PROXY for IntegrationType /// public static readonly IntegrationType HTTP_PROXY = new IntegrationType("HTTP_PROXY"); /// /// Constant MOCK for IntegrationType /// public static readonly IntegrationType MOCK = new IntegrationType("MOCK"); /// /// 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 IntegrationType(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 IntegrationType 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 IntegrationType(string value) { return FindValue(value); } } /// /// Constants used for properties of type LocationStatusType. /// public class LocationStatusType : ConstantClass { /// /// Constant DOCUMENTED for LocationStatusType /// public static readonly LocationStatusType DOCUMENTED = new LocationStatusType("DOCUMENTED"); /// /// Constant UNDOCUMENTED for LocationStatusType /// public static readonly LocationStatusType UNDOCUMENTED = new LocationStatusType("UNDOCUMENTED"); /// /// 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 LocationStatusType(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 LocationStatusType 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 LocationStatusType(string value) { return FindValue(value); } } /// /// Constants used for properties of type Op. /// public class Op : ConstantClass { /// /// Constant Add for Op /// public static readonly Op Add = new Op("add"); /// /// Constant Copy for Op /// public static readonly Op Copy = new Op("copy"); /// /// Constant Move for Op /// public static readonly Op Move = new Op("move"); /// /// Constant Remove for Op /// public static readonly Op Remove = new Op("remove"); /// /// Constant Replace for Op /// public static readonly Op Replace = new Op("replace"); /// /// Constant Test for Op /// public static readonly Op Test = new Op("test"); /// /// 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 Op(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 Op 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 Op(string value) { return FindValue(value); } } /// /// Constants used for properties of type PutMode. /// public class PutMode : ConstantClass { /// /// Constant Merge for PutMode /// public static readonly PutMode Merge = new PutMode("merge"); /// /// Constant Overwrite for PutMode /// public static readonly PutMode Overwrite = new PutMode("overwrite"); /// /// 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 PutMode(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 PutMode 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 PutMode(string value) { return FindValue(value); } } /// /// Constants used for properties of type QuotaPeriodType. /// public class QuotaPeriodType : ConstantClass { /// /// Constant DAY for QuotaPeriodType /// public static readonly QuotaPeriodType DAY = new QuotaPeriodType("DAY"); /// /// Constant MONTH for QuotaPeriodType /// public static readonly QuotaPeriodType MONTH = new QuotaPeriodType("MONTH"); /// /// Constant WEEK for QuotaPeriodType /// public static readonly QuotaPeriodType WEEK = new QuotaPeriodType("WEEK"); /// /// 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 QuotaPeriodType(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 QuotaPeriodType 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 QuotaPeriodType(string value) { return FindValue(value); } } /// /// Constants used for properties of type SecurityPolicy. /// public class SecurityPolicy : ConstantClass { /// /// Constant TLS_1_0 for SecurityPolicy /// public static readonly SecurityPolicy TLS_1_0 = new SecurityPolicy("TLS_1_0"); /// /// Constant TLS_1_2 for SecurityPolicy /// public static readonly SecurityPolicy TLS_1_2 = new SecurityPolicy("TLS_1_2"); /// /// 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 SecurityPolicy(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 SecurityPolicy 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 SecurityPolicy(string value) { return FindValue(value); } } /// /// Constants used for properties of type UnauthorizedCacheControlHeaderStrategy. /// public class UnauthorizedCacheControlHeaderStrategy : ConstantClass { /// /// Constant FAIL_WITH_403 for UnauthorizedCacheControlHeaderStrategy /// public static readonly UnauthorizedCacheControlHeaderStrategy FAIL_WITH_403 = new UnauthorizedCacheControlHeaderStrategy("FAIL_WITH_403"); /// /// Constant SUCCEED_WITH_RESPONSE_HEADER for UnauthorizedCacheControlHeaderStrategy /// public static readonly UnauthorizedCacheControlHeaderStrategy SUCCEED_WITH_RESPONSE_HEADER = new UnauthorizedCacheControlHeaderStrategy("SUCCEED_WITH_RESPONSE_HEADER"); /// /// Constant SUCCEED_WITHOUT_RESPONSE_HEADER for UnauthorizedCacheControlHeaderStrategy /// public static readonly UnauthorizedCacheControlHeaderStrategy SUCCEED_WITHOUT_RESPONSE_HEADER = new UnauthorizedCacheControlHeaderStrategy("SUCCEED_WITHOUT_RESPONSE_HEADER"); /// /// 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 UnauthorizedCacheControlHeaderStrategy(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 UnauthorizedCacheControlHeaderStrategy 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 UnauthorizedCacheControlHeaderStrategy(string value) { return FindValue(value); } } /// /// Constants used for properties of type VpcLinkStatus. /// public class VpcLinkStatus : ConstantClass { /// /// Constant AVAILABLE for VpcLinkStatus /// public static readonly VpcLinkStatus AVAILABLE = new VpcLinkStatus("AVAILABLE"); /// /// Constant DELETING for VpcLinkStatus /// public static readonly VpcLinkStatus DELETING = new VpcLinkStatus("DELETING"); /// /// Constant FAILED for VpcLinkStatus /// public static readonly VpcLinkStatus FAILED = new VpcLinkStatus("FAILED"); /// /// Constant PENDING for VpcLinkStatus /// public static readonly VpcLinkStatus PENDING = new VpcLinkStatus("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 VpcLinkStatus(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 VpcLinkStatus 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 VpcLinkStatus(string value) { return FindValue(value); } } }