/* * 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 sagemaker-featurestore-runtime-2020-07-01.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.SageMakerFeatureStoreRuntime { /// /// Constants used for properties of type DeletionMode. /// public class DeletionMode : ConstantClass { /// /// Constant HardDelete for DeletionMode /// public static readonly DeletionMode HardDelete = new DeletionMode("HardDelete"); /// /// Constant SoftDelete for DeletionMode /// public static readonly DeletionMode SoftDelete = new DeletionMode("SoftDelete"); /// /// 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 DeletionMode(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 DeletionMode 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 DeletionMode(string value) { return FindValue(value); } } /// /// Constants used for properties of type ExpirationTimeResponse. /// public class ExpirationTimeResponse : ConstantClass { /// /// Constant Disabled for ExpirationTimeResponse /// public static readonly ExpirationTimeResponse Disabled = new ExpirationTimeResponse("Disabled"); /// /// Constant Enabled for ExpirationTimeResponse /// public static readonly ExpirationTimeResponse Enabled = new ExpirationTimeResponse("Enabled"); /// /// 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 ExpirationTimeResponse(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 ExpirationTimeResponse 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 ExpirationTimeResponse(string value) { return FindValue(value); } } /// /// Constants used for properties of type TargetStore. /// public class TargetStore : ConstantClass { /// /// Constant OfflineStore for TargetStore /// public static readonly TargetStore OfflineStore = new TargetStore("OfflineStore"); /// /// Constant OnlineStore for TargetStore /// public static readonly TargetStore OnlineStore = new TargetStore("OnlineStore"); /// /// 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 TargetStore(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 TargetStore 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 TargetStore(string value) { return FindValue(value); } } /// /// Constants used for properties of type TtlDurationUnit. /// public class TtlDurationUnit : ConstantClass { /// /// Constant Days for TtlDurationUnit /// public static readonly TtlDurationUnit Days = new TtlDurationUnit("Days"); /// /// Constant Hours for TtlDurationUnit /// public static readonly TtlDurationUnit Hours = new TtlDurationUnit("Hours"); /// /// Constant Minutes for TtlDurationUnit /// public static readonly TtlDurationUnit Minutes = new TtlDurationUnit("Minutes"); /// /// Constant Seconds for TtlDurationUnit /// public static readonly TtlDurationUnit Seconds = new TtlDurationUnit("Seconds"); /// /// Constant Weeks for TtlDurationUnit /// public static readonly TtlDurationUnit Weeks = new TtlDurationUnit("Weeks"); /// /// 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 TtlDurationUnit(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 TtlDurationUnit 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 TtlDurationUnit(string value) { return FindValue(value); } } }