/* * 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 opensearchserverless-2021-11-01.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.OpenSearchServerless { /// /// Constants used for properties of type AccessPolicyType. /// public class AccessPolicyType : ConstantClass { /// /// Constant Data for AccessPolicyType /// public static readonly AccessPolicyType Data = new AccessPolicyType("data"); /// /// 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 AccessPolicyType(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 AccessPolicyType 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 AccessPolicyType(string value) { return FindValue(value); } } /// /// Constants used for properties of type CollectionStatus. /// public class CollectionStatus : ConstantClass { /// /// Constant ACTIVE for CollectionStatus /// public static readonly CollectionStatus ACTIVE = new CollectionStatus("ACTIVE"); /// /// Constant CREATING for CollectionStatus /// public static readonly CollectionStatus CREATING = new CollectionStatus("CREATING"); /// /// Constant DELETING for CollectionStatus /// public static readonly CollectionStatus DELETING = new CollectionStatus("DELETING"); /// /// Constant FAILED for CollectionStatus /// public static readonly CollectionStatus FAILED = new CollectionStatus("FAILED"); /// /// 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 CollectionStatus(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 CollectionStatus 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 CollectionStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type CollectionType. /// public class CollectionType : ConstantClass { /// /// Constant SEARCH for CollectionType /// public static readonly CollectionType SEARCH = new CollectionType("SEARCH"); /// /// Constant TIMESERIES for CollectionType /// public static readonly CollectionType TIMESERIES = new CollectionType("TIMESERIES"); /// /// Constant VECTORSEARCH for CollectionType /// public static readonly CollectionType VECTORSEARCH = new CollectionType("VECTORSEARCH"); /// /// 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 CollectionType(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 CollectionType 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 CollectionType(string value) { return FindValue(value); } } /// /// Constants used for properties of type SecurityConfigType. /// public class SecurityConfigType : ConstantClass { /// /// Constant Saml for SecurityConfigType /// public static readonly SecurityConfigType Saml = new SecurityConfigType("saml"); /// /// 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 SecurityConfigType(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 SecurityConfigType 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 SecurityConfigType(string value) { return FindValue(value); } } /// /// Constants used for properties of type SecurityPolicyType. /// public class SecurityPolicyType : ConstantClass { /// /// Constant Encryption for SecurityPolicyType /// public static readonly SecurityPolicyType Encryption = new SecurityPolicyType("encryption"); /// /// Constant Network for SecurityPolicyType /// public static readonly SecurityPolicyType Network = new SecurityPolicyType("network"); /// /// 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 SecurityPolicyType(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 SecurityPolicyType 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 SecurityPolicyType(string value) { return FindValue(value); } } /// /// Constants used for properties of type VpcEndpointStatus. /// public class VpcEndpointStatus : ConstantClass { /// /// Constant ACTIVE for VpcEndpointStatus /// public static readonly VpcEndpointStatus ACTIVE = new VpcEndpointStatus("ACTIVE"); /// /// Constant DELETING for VpcEndpointStatus /// public static readonly VpcEndpointStatus DELETING = new VpcEndpointStatus("DELETING"); /// /// Constant FAILED for VpcEndpointStatus /// public static readonly VpcEndpointStatus FAILED = new VpcEndpointStatus("FAILED"); /// /// Constant PENDING for VpcEndpointStatus /// public static readonly VpcEndpointStatus PENDING = new VpcEndpointStatus("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 VpcEndpointStatus(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 VpcEndpointStatus 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 VpcEndpointStatus(string value) { return FindValue(value); } } }