/* * 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 codeguru-reviewer-2019-09-19.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.CodeGuruReviewer { /// /// Constants used for properties of type AnalysisType. /// public class AnalysisType : ConstantClass { /// /// Constant CodeQuality for AnalysisType /// public static readonly AnalysisType CodeQuality = new AnalysisType("CodeQuality"); /// /// Constant Security for AnalysisType /// public static readonly AnalysisType Security = new AnalysisType("Security"); /// /// 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 AnalysisType(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 AnalysisType 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 AnalysisType(string value) { return FindValue(value); } } /// /// Constants used for properties of type ConfigFileState. /// public class ConfigFileState : ConstantClass { /// /// Constant Absent for ConfigFileState /// public static readonly ConfigFileState Absent = new ConfigFileState("Absent"); /// /// Constant Present for ConfigFileState /// public static readonly ConfigFileState Present = new ConfigFileState("Present"); /// /// Constant PresentWithErrors for ConfigFileState /// public static readonly ConfigFileState PresentWithErrors = new ConfigFileState("PresentWithErrors"); /// /// 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 ConfigFileState(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 ConfigFileState 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 ConfigFileState(string value) { return FindValue(value); } } /// /// Constants used for properties of type EncryptionOption. /// public class EncryptionOption : ConstantClass { /// /// Constant AWS_OWNED_CMK for EncryptionOption /// public static readonly EncryptionOption AWS_OWNED_CMK = new EncryptionOption("AWS_OWNED_CMK"); /// /// Constant CUSTOMER_MANAGED_CMK for EncryptionOption /// public static readonly EncryptionOption CUSTOMER_MANAGED_CMK = new EncryptionOption("CUSTOMER_MANAGED_CMK"); /// /// 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 EncryptionOption(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 EncryptionOption 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 EncryptionOption(string value) { return FindValue(value); } } /// /// Constants used for properties of type JobState. /// public class JobState : ConstantClass { /// /// Constant Completed for JobState /// public static readonly JobState Completed = new JobState("Completed"); /// /// Constant Deleting for JobState /// public static readonly JobState Deleting = new JobState("Deleting"); /// /// Constant Failed for JobState /// public static readonly JobState Failed = new JobState("Failed"); /// /// Constant Pending for JobState /// public static readonly JobState Pending = new JobState("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 JobState(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 JobState 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 JobState(string value) { return FindValue(value); } } /// /// Constants used for properties of type ProviderType. /// public class ProviderType : ConstantClass { /// /// Constant Bitbucket for ProviderType /// public static readonly ProviderType Bitbucket = new ProviderType("Bitbucket"); /// /// Constant CodeCommit for ProviderType /// public static readonly ProviderType CodeCommit = new ProviderType("CodeCommit"); /// /// Constant GitHub for ProviderType /// public static readonly ProviderType GitHub = new ProviderType("GitHub"); /// /// Constant GitHubEnterpriseServer for ProviderType /// public static readonly ProviderType GitHubEnterpriseServer = new ProviderType("GitHubEnterpriseServer"); /// /// Constant S3Bucket for ProviderType /// public static readonly ProviderType S3Bucket = new ProviderType("S3Bucket"); /// /// 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 ProviderType(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 ProviderType 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 ProviderType(string value) { return FindValue(value); } } /// /// Constants used for properties of type Reaction. /// public class Reaction : ConstantClass { /// /// Constant ThumbsDown for Reaction /// public static readonly Reaction ThumbsDown = new Reaction("ThumbsDown"); /// /// Constant ThumbsUp for Reaction /// public static readonly Reaction ThumbsUp = new Reaction("ThumbsUp"); /// /// 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 Reaction(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 Reaction 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 Reaction(string value) { return FindValue(value); } } /// /// Constants used for properties of type RecommendationCategory. /// public class RecommendationCategory : ConstantClass { /// /// Constant AWSBestPractices for RecommendationCategory /// public static readonly RecommendationCategory AWSBestPractices = new RecommendationCategory("AWSBestPractices"); /// /// Constant AWSCloudFormationIssues for RecommendationCategory /// public static readonly RecommendationCategory AWSCloudFormationIssues = new RecommendationCategory("AWSCloudFormationIssues"); /// /// Constant CodeInconsistencies for RecommendationCategory /// public static readonly RecommendationCategory CodeInconsistencies = new RecommendationCategory("CodeInconsistencies"); /// /// Constant CodeMaintenanceIssues for RecommendationCategory /// public static readonly RecommendationCategory CodeMaintenanceIssues = new RecommendationCategory("CodeMaintenanceIssues"); /// /// Constant ConcurrencyIssues for RecommendationCategory /// public static readonly RecommendationCategory ConcurrencyIssues = new RecommendationCategory("ConcurrencyIssues"); /// /// Constant DuplicateCode for RecommendationCategory /// public static readonly RecommendationCategory DuplicateCode = new RecommendationCategory("DuplicateCode"); /// /// Constant InputValidations for RecommendationCategory /// public static readonly RecommendationCategory InputValidations = new RecommendationCategory("InputValidations"); /// /// Constant JavaBestPractices for RecommendationCategory /// public static readonly RecommendationCategory JavaBestPractices = new RecommendationCategory("JavaBestPractices"); /// /// Constant PythonBestPractices for RecommendationCategory /// public static readonly RecommendationCategory PythonBestPractices = new RecommendationCategory("PythonBestPractices"); /// /// Constant ResourceLeaks for RecommendationCategory /// public static readonly RecommendationCategory ResourceLeaks = new RecommendationCategory("ResourceLeaks"); /// /// Constant SecurityIssues for RecommendationCategory /// public static readonly RecommendationCategory SecurityIssues = new RecommendationCategory("SecurityIssues"); /// /// 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 RecommendationCategory(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 RecommendationCategory 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 RecommendationCategory(string value) { return FindValue(value); } } /// /// Constants used for properties of type RepositoryAssociationState. /// public class RepositoryAssociationState : ConstantClass { /// /// Constant Associated for RepositoryAssociationState /// public static readonly RepositoryAssociationState Associated = new RepositoryAssociationState("Associated"); /// /// Constant Associating for RepositoryAssociationState /// public static readonly RepositoryAssociationState Associating = new RepositoryAssociationState("Associating"); /// /// Constant Disassociated for RepositoryAssociationState /// public static readonly RepositoryAssociationState Disassociated = new RepositoryAssociationState("Disassociated"); /// /// Constant Disassociating for RepositoryAssociationState /// public static readonly RepositoryAssociationState Disassociating = new RepositoryAssociationState("Disassociating"); /// /// Constant Failed for RepositoryAssociationState /// public static readonly RepositoryAssociationState Failed = new RepositoryAssociationState("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 RepositoryAssociationState(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 RepositoryAssociationState 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 RepositoryAssociationState(string value) { return FindValue(value); } } /// /// Constants used for properties of type Severity. /// public class Severity : ConstantClass { /// /// Constant Critical for Severity /// public static readonly Severity Critical = new Severity("Critical"); /// /// Constant High for Severity /// public static readonly Severity High = new Severity("High"); /// /// Constant Info for Severity /// public static readonly Severity Info = new Severity("Info"); /// /// Constant Low for Severity /// public static readonly Severity Low = new Severity("Low"); /// /// Constant Medium for Severity /// public static readonly Severity Medium = new Severity("Medium"); /// /// 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 Severity(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 Severity 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 Severity(string value) { return FindValue(value); } } /// /// Constants used for properties of type Type. /// public class Type : ConstantClass { /// /// Constant PullRequest for Type /// public static readonly Type PullRequest = new Type("PullRequest"); /// /// Constant RepositoryAnalysis for Type /// public static readonly Type RepositoryAnalysis = new Type("RepositoryAnalysis"); /// /// 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 Type(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 Type 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 Type(string value) { return FindValue(value); } } /// /// Constants used for properties of type VendorName. /// public class VendorName : ConstantClass { /// /// Constant GitHub for VendorName /// public static readonly VendorName GitHub = new VendorName("GitHub"); /// /// Constant GitLab for VendorName /// public static readonly VendorName GitLab = new VendorName("GitLab"); /// /// Constant NativeS3 for VendorName /// public static readonly VendorName NativeS3 = new VendorName("NativeS3"); /// /// 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 VendorName(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 VendorName 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 VendorName(string value) { return FindValue(value); } } }