/* * 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-edge-2020-09-23.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.SagemakerEdgeManager { /// /// Constants used for properties of type ChecksumType. /// public class ChecksumType : ConstantClass { /// /// Constant SHA1 for ChecksumType /// public static readonly ChecksumType SHA1 = new ChecksumType("SHA1"); /// /// 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 ChecksumType(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 ChecksumType 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 ChecksumType(string value) { return FindValue(value); } } /// /// Constants used for properties of type DeploymentStatus. /// public class DeploymentStatus : ConstantClass { /// /// Constant FAIL for DeploymentStatus /// public static readonly DeploymentStatus FAIL = new DeploymentStatus("FAIL"); /// /// Constant SUCCESS for DeploymentStatus /// public static readonly DeploymentStatus SUCCESS = new DeploymentStatus("SUCCESS"); /// /// 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 DeploymentStatus(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 DeploymentStatus 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 DeploymentStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type DeploymentType. /// public class DeploymentType : ConstantClass { /// /// Constant Model for DeploymentType /// public static readonly DeploymentType Model = new DeploymentType("Model"); /// /// 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 DeploymentType(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 DeploymentType 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 DeploymentType(string value) { return FindValue(value); } } /// /// Constants used for properties of type FailureHandlingPolicy. /// public class FailureHandlingPolicy : ConstantClass { /// /// Constant DO_NOTHING for FailureHandlingPolicy /// public static readonly FailureHandlingPolicy DO_NOTHING = new FailureHandlingPolicy("DO_NOTHING"); /// /// Constant ROLLBACK_ON_FAILURE for FailureHandlingPolicy /// public static readonly FailureHandlingPolicy ROLLBACK_ON_FAILURE = new FailureHandlingPolicy("ROLLBACK_ON_FAILURE"); /// /// 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 FailureHandlingPolicy(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 FailureHandlingPolicy 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 FailureHandlingPolicy(string value) { return FindValue(value); } } /// /// Constants used for properties of type ModelState. /// public class ModelState : ConstantClass { /// /// Constant DEPLOY for ModelState /// public static readonly ModelState DEPLOY = new ModelState("DEPLOY"); /// /// Constant UNDEPLOY for ModelState /// public static readonly ModelState UNDEPLOY = new ModelState("UNDEPLOY"); /// /// 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 ModelState(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 ModelState 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 ModelState(string value) { return FindValue(value); } } }