/* * 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 elasticbeanstalk-2010-12-01.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.ElasticBeanstalk { /// /// Constants used for properties of type ActionHistoryStatus. /// public class ActionHistoryStatus : ConstantClass { /// /// Constant Completed for ActionHistoryStatus /// public static readonly ActionHistoryStatus Completed = new ActionHistoryStatus("Completed"); /// /// Constant Failed for ActionHistoryStatus /// public static readonly ActionHistoryStatus Failed = new ActionHistoryStatus("Failed"); /// /// Constant Unknown for ActionHistoryStatus /// public static readonly ActionHistoryStatus Unknown = new ActionHistoryStatus("Unknown"); /// /// 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 ActionHistoryStatus(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 ActionHistoryStatus 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 ActionHistoryStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type ActionStatus. /// public class ActionStatus : ConstantClass { /// /// Constant Pending for ActionStatus /// public static readonly ActionStatus Pending = new ActionStatus("Pending"); /// /// Constant Running for ActionStatus /// public static readonly ActionStatus Running = new ActionStatus("Running"); /// /// Constant Scheduled for ActionStatus /// public static readonly ActionStatus Scheduled = new ActionStatus("Scheduled"); /// /// Constant Unknown for ActionStatus /// public static readonly ActionStatus Unknown = new ActionStatus("Unknown"); /// /// 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 ActionStatus(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 ActionStatus 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 ActionStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type ActionType. /// public class ActionType : ConstantClass { /// /// Constant InstanceRefresh for ActionType /// public static readonly ActionType InstanceRefresh = new ActionType("InstanceRefresh"); /// /// Constant PlatformUpdate for ActionType /// public static readonly ActionType PlatformUpdate = new ActionType("PlatformUpdate"); /// /// Constant Unknown for ActionType /// public static readonly ActionType Unknown = new ActionType("Unknown"); /// /// 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 ActionType(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 ActionType 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 ActionType(string value) { return FindValue(value); } } /// /// Constants used for properties of type ApplicationVersionStatus. /// public class ApplicationVersionStatus : ConstantClass { /// /// Constant Building for ApplicationVersionStatus /// public static readonly ApplicationVersionStatus Building = new ApplicationVersionStatus("Building"); /// /// Constant Failed for ApplicationVersionStatus /// public static readonly ApplicationVersionStatus Failed = new ApplicationVersionStatus("Failed"); /// /// Constant Processed for ApplicationVersionStatus /// public static readonly ApplicationVersionStatus Processed = new ApplicationVersionStatus("Processed"); /// /// Constant Processing for ApplicationVersionStatus /// public static readonly ApplicationVersionStatus Processing = new ApplicationVersionStatus("Processing"); /// /// Constant Unprocessed for ApplicationVersionStatus /// public static readonly ApplicationVersionStatus Unprocessed = new ApplicationVersionStatus("Unprocessed"); /// /// 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 ApplicationVersionStatus(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 ApplicationVersionStatus 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 ApplicationVersionStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type ComputeType. /// public class ComputeType : ConstantClass { /// /// Constant BUILD_GENERAL1_LARGE for ComputeType /// public static readonly ComputeType BUILD_GENERAL1_LARGE = new ComputeType("BUILD_GENERAL1_LARGE"); /// /// Constant BUILD_GENERAL1_MEDIUM for ComputeType /// public static readonly ComputeType BUILD_GENERAL1_MEDIUM = new ComputeType("BUILD_GENERAL1_MEDIUM"); /// /// Constant BUILD_GENERAL1_SMALL for ComputeType /// public static readonly ComputeType BUILD_GENERAL1_SMALL = new ComputeType("BUILD_GENERAL1_SMALL"); /// /// 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 ComputeType(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 ComputeType 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 ComputeType(string value) { return FindValue(value); } } /// /// Constants used for properties of type ConfigurationDeploymentStatus. /// public class ConfigurationDeploymentStatus : ConstantClass { /// /// Constant Deployed for ConfigurationDeploymentStatus /// public static readonly ConfigurationDeploymentStatus Deployed = new ConfigurationDeploymentStatus("deployed"); /// /// Constant Failed for ConfigurationDeploymentStatus /// public static readonly ConfigurationDeploymentStatus Failed = new ConfigurationDeploymentStatus("failed"); /// /// Constant Pending for ConfigurationDeploymentStatus /// public static readonly ConfigurationDeploymentStatus Pending = new ConfigurationDeploymentStatus("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 ConfigurationDeploymentStatus(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 ConfigurationDeploymentStatus 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 ConfigurationDeploymentStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type ConfigurationOptionValueType. /// public class ConfigurationOptionValueType : ConstantClass { /// /// Constant List for ConfigurationOptionValueType /// public static readonly ConfigurationOptionValueType List = new ConfigurationOptionValueType("List"); /// /// Constant Scalar for ConfigurationOptionValueType /// public static readonly ConfigurationOptionValueType Scalar = new ConfigurationOptionValueType("Scalar"); /// /// 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 ConfigurationOptionValueType(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 ConfigurationOptionValueType 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 ConfigurationOptionValueType(string value) { return FindValue(value); } } /// /// Constants used for properties of type EnvironmentHealth. /// public class EnvironmentHealth : ConstantClass { /// /// Constant Green for EnvironmentHealth /// public static readonly EnvironmentHealth Green = new EnvironmentHealth("Green"); /// /// Constant Grey for EnvironmentHealth /// public static readonly EnvironmentHealth Grey = new EnvironmentHealth("Grey"); /// /// Constant Red for EnvironmentHealth /// public static readonly EnvironmentHealth Red = new EnvironmentHealth("Red"); /// /// Constant Yellow for EnvironmentHealth /// public static readonly EnvironmentHealth Yellow = new EnvironmentHealth("Yellow"); /// /// 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 EnvironmentHealth(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 EnvironmentHealth 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 EnvironmentHealth(string value) { return FindValue(value); } } /// /// Constants used for properties of type EnvironmentHealthAttribute. /// public class EnvironmentHealthAttribute : ConstantClass { /// /// Constant All for EnvironmentHealthAttribute /// public static readonly EnvironmentHealthAttribute All = new EnvironmentHealthAttribute("All"); /// /// Constant ApplicationMetrics for EnvironmentHealthAttribute /// public static readonly EnvironmentHealthAttribute ApplicationMetrics = new EnvironmentHealthAttribute("ApplicationMetrics"); /// /// Constant Causes for EnvironmentHealthAttribute /// public static readonly EnvironmentHealthAttribute Causes = new EnvironmentHealthAttribute("Causes"); /// /// Constant Color for EnvironmentHealthAttribute /// public static readonly EnvironmentHealthAttribute Color = new EnvironmentHealthAttribute("Color"); /// /// Constant HealthStatus for EnvironmentHealthAttribute /// public static readonly EnvironmentHealthAttribute HealthStatus = new EnvironmentHealthAttribute("HealthStatus"); /// /// Constant InstancesHealth for EnvironmentHealthAttribute /// public static readonly EnvironmentHealthAttribute InstancesHealth = new EnvironmentHealthAttribute("InstancesHealth"); /// /// Constant RefreshedAt for EnvironmentHealthAttribute /// public static readonly EnvironmentHealthAttribute RefreshedAt = new EnvironmentHealthAttribute("RefreshedAt"); /// /// Constant Status for EnvironmentHealthAttribute /// public static readonly EnvironmentHealthAttribute Status = new EnvironmentHealthAttribute("Status"); /// /// 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 EnvironmentHealthAttribute(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 EnvironmentHealthAttribute 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 EnvironmentHealthAttribute(string value) { return FindValue(value); } } /// /// Constants used for properties of type EnvironmentHealthStatus. /// public class EnvironmentHealthStatus : ConstantClass { /// /// Constant Degraded for EnvironmentHealthStatus /// public static readonly EnvironmentHealthStatus Degraded = new EnvironmentHealthStatus("Degraded"); /// /// Constant Info for EnvironmentHealthStatus /// public static readonly EnvironmentHealthStatus Info = new EnvironmentHealthStatus("Info"); /// /// Constant NoData for EnvironmentHealthStatus /// public static readonly EnvironmentHealthStatus NoData = new EnvironmentHealthStatus("NoData"); /// /// Constant Ok for EnvironmentHealthStatus /// public static readonly EnvironmentHealthStatus Ok = new EnvironmentHealthStatus("Ok"); /// /// Constant Pending for EnvironmentHealthStatus /// public static readonly EnvironmentHealthStatus Pending = new EnvironmentHealthStatus("Pending"); /// /// Constant Severe for EnvironmentHealthStatus /// public static readonly EnvironmentHealthStatus Severe = new EnvironmentHealthStatus("Severe"); /// /// Constant Suspended for EnvironmentHealthStatus /// public static readonly EnvironmentHealthStatus Suspended = new EnvironmentHealthStatus("Suspended"); /// /// Constant Unknown for EnvironmentHealthStatus /// public static readonly EnvironmentHealthStatus Unknown = new EnvironmentHealthStatus("Unknown"); /// /// Constant Warning for EnvironmentHealthStatus /// public static readonly EnvironmentHealthStatus Warning = new EnvironmentHealthStatus("Warning"); /// /// 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 EnvironmentHealthStatus(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 EnvironmentHealthStatus 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 EnvironmentHealthStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type EnvironmentInfoType. /// public class EnvironmentInfoType : ConstantClass { /// /// Constant Bundle for EnvironmentInfoType /// public static readonly EnvironmentInfoType Bundle = new EnvironmentInfoType("bundle"); /// /// Constant Tail for EnvironmentInfoType /// public static readonly EnvironmentInfoType Tail = new EnvironmentInfoType("tail"); /// /// 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 EnvironmentInfoType(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 EnvironmentInfoType 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 EnvironmentInfoType(string value) { return FindValue(value); } } /// /// Constants used for properties of type EnvironmentStatus. /// public class EnvironmentStatus : ConstantClass { /// /// Constant Aborting for EnvironmentStatus /// public static readonly EnvironmentStatus Aborting = new EnvironmentStatus("Aborting"); /// /// Constant Launching for EnvironmentStatus /// public static readonly EnvironmentStatus Launching = new EnvironmentStatus("Launching"); /// /// Constant LinkingFrom for EnvironmentStatus /// public static readonly EnvironmentStatus LinkingFrom = new EnvironmentStatus("LinkingFrom"); /// /// Constant LinkingTo for EnvironmentStatus /// public static readonly EnvironmentStatus LinkingTo = new EnvironmentStatus("LinkingTo"); /// /// Constant Ready for EnvironmentStatus /// public static readonly EnvironmentStatus Ready = new EnvironmentStatus("Ready"); /// /// Constant Terminated for EnvironmentStatus /// public static readonly EnvironmentStatus Terminated = new EnvironmentStatus("Terminated"); /// /// Constant Terminating for EnvironmentStatus /// public static readonly EnvironmentStatus Terminating = new EnvironmentStatus("Terminating"); /// /// Constant Updating for EnvironmentStatus /// public static readonly EnvironmentStatus Updating = new EnvironmentStatus("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 EnvironmentStatus(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 EnvironmentStatus 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 EnvironmentStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type EventSeverity. /// public class EventSeverity : ConstantClass { /// /// Constant DEBUG for EventSeverity /// public static readonly EventSeverity DEBUG = new EventSeverity("DEBUG"); /// /// Constant ERROR for EventSeverity /// public static readonly EventSeverity ERROR = new EventSeverity("ERROR"); /// /// Constant FATAL for EventSeverity /// public static readonly EventSeverity FATAL = new EventSeverity("FATAL"); /// /// Constant INFO for EventSeverity /// public static readonly EventSeverity INFO = new EventSeverity("INFO"); /// /// Constant TRACE for EventSeverity /// public static readonly EventSeverity TRACE = new EventSeverity("TRACE"); /// /// Constant WARN for EventSeverity /// public static readonly EventSeverity WARN = new EventSeverity("WARN"); /// /// 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 EventSeverity(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 EventSeverity 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 EventSeverity(string value) { return FindValue(value); } } /// /// Constants used for properties of type FailureType. /// public class FailureType : ConstantClass { /// /// Constant CancellationFailed for FailureType /// public static readonly FailureType CancellationFailed = new FailureType("CancellationFailed"); /// /// Constant InternalFailure for FailureType /// public static readonly FailureType InternalFailure = new FailureType("InternalFailure"); /// /// Constant InvalidEnvironmentState for FailureType /// public static readonly FailureType InvalidEnvironmentState = new FailureType("InvalidEnvironmentState"); /// /// Constant PermissionsError for FailureType /// public static readonly FailureType PermissionsError = new FailureType("PermissionsError"); /// /// Constant RollbackFailed for FailureType /// public static readonly FailureType RollbackFailed = new FailureType("RollbackFailed"); /// /// Constant RollbackSuccessful for FailureType /// public static readonly FailureType RollbackSuccessful = new FailureType("RollbackSuccessful"); /// /// Constant UpdateCancelled for FailureType /// public static readonly FailureType UpdateCancelled = new FailureType("UpdateCancelled"); /// /// 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 FailureType(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 FailureType 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 FailureType(string value) { return FindValue(value); } } /// /// Constants used for properties of type InstancesHealthAttribute. /// public class InstancesHealthAttribute : ConstantClass { /// /// Constant All for InstancesHealthAttribute /// public static readonly InstancesHealthAttribute All = new InstancesHealthAttribute("All"); /// /// Constant ApplicationMetrics for InstancesHealthAttribute /// public static readonly InstancesHealthAttribute ApplicationMetrics = new InstancesHealthAttribute("ApplicationMetrics"); /// /// Constant AvailabilityZone for InstancesHealthAttribute /// public static readonly InstancesHealthAttribute AvailabilityZone = new InstancesHealthAttribute("AvailabilityZone"); /// /// Constant Causes for InstancesHealthAttribute /// public static readonly InstancesHealthAttribute Causes = new InstancesHealthAttribute("Causes"); /// /// Constant Color for InstancesHealthAttribute /// public static readonly InstancesHealthAttribute Color = new InstancesHealthAttribute("Color"); /// /// Constant Deployment for InstancesHealthAttribute /// public static readonly InstancesHealthAttribute Deployment = new InstancesHealthAttribute("Deployment"); /// /// Constant HealthStatus for InstancesHealthAttribute /// public static readonly InstancesHealthAttribute HealthStatus = new InstancesHealthAttribute("HealthStatus"); /// /// Constant InstanceType for InstancesHealthAttribute /// public static readonly InstancesHealthAttribute InstanceType = new InstancesHealthAttribute("InstanceType"); /// /// Constant LaunchedAt for InstancesHealthAttribute /// public static readonly InstancesHealthAttribute LaunchedAt = new InstancesHealthAttribute("LaunchedAt"); /// /// Constant RefreshedAt for InstancesHealthAttribute /// public static readonly InstancesHealthAttribute RefreshedAt = new InstancesHealthAttribute("RefreshedAt"); /// /// Constant System for InstancesHealthAttribute /// public static readonly InstancesHealthAttribute System = new InstancesHealthAttribute("System"); /// /// 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 InstancesHealthAttribute(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 InstancesHealthAttribute 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 InstancesHealthAttribute(string value) { return FindValue(value); } } /// /// Constants used for properties of type PlatformStatus. /// public class PlatformStatus : ConstantClass { /// /// Constant Creating for PlatformStatus /// public static readonly PlatformStatus Creating = new PlatformStatus("Creating"); /// /// Constant Deleted for PlatformStatus /// public static readonly PlatformStatus Deleted = new PlatformStatus("Deleted"); /// /// Constant Deleting for PlatformStatus /// public static readonly PlatformStatus Deleting = new PlatformStatus("Deleting"); /// /// Constant Failed for PlatformStatus /// public static readonly PlatformStatus Failed = new PlatformStatus("Failed"); /// /// Constant Ready for PlatformStatus /// public static readonly PlatformStatus Ready = new PlatformStatus("Ready"); /// /// 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 PlatformStatus(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 PlatformStatus 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 PlatformStatus(string value) { return FindValue(value); } } /// /// Constants used for properties of type SourceRepository. /// public class SourceRepository : ConstantClass { /// /// Constant CodeCommit for SourceRepository /// public static readonly SourceRepository CodeCommit = new SourceRepository("CodeCommit"); /// /// Constant S3 for SourceRepository /// public static readonly SourceRepository S3 = new SourceRepository("S3"); /// /// 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 SourceRepository(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 SourceRepository 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 SourceRepository(string value) { return FindValue(value); } } /// /// Constants used for properties of type SourceType. /// public class SourceType : ConstantClass { /// /// Constant Git for SourceType /// public static readonly SourceType Git = new SourceType("Git"); /// /// Constant Zip for SourceType /// public static readonly SourceType Zip = new SourceType("Zip"); /// /// 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 SourceType(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 SourceType 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 SourceType(string value) { return FindValue(value); } } /// /// Constants used for properties of type ValidationSeverity. /// public class ValidationSeverity : ConstantClass { /// /// Constant Error for ValidationSeverity /// public static readonly ValidationSeverity Error = new ValidationSeverity("error"); /// /// Constant Warning for ValidationSeverity /// public static readonly ValidationSeverity Warning = new ValidationSeverity("warning"); /// /// 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 ValidationSeverity(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 ValidationSeverity 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 ValidationSeverity(string value) { return FindValue(value); } } }