/*
* 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-security-2018-05-10.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.CodeGuruSecurity
{
///
/// Constants used for properties of type AnalysisType.
///
public class AnalysisType : ConstantClass
{
///
/// Constant All for AnalysisType
///
public static readonly AnalysisType All = new AnalysisType("All");
///
/// 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 ErrorCode.
///
public class ErrorCode : ConstantClass
{
///
/// Constant DUPLICATE_IDENTIFIER for ErrorCode
///
public static readonly ErrorCode DUPLICATE_IDENTIFIER = new ErrorCode("DUPLICATE_IDENTIFIER");
///
/// Constant INTERNAL_ERROR for ErrorCode
///
public static readonly ErrorCode INTERNAL_ERROR = new ErrorCode("INTERNAL_ERROR");
///
/// Constant INVALID_FINDING_ID for ErrorCode
///
public static readonly ErrorCode INVALID_FINDING_ID = new ErrorCode("INVALID_FINDING_ID");
///
/// Constant INVALID_SCAN_NAME for ErrorCode
///
public static readonly ErrorCode INVALID_SCAN_NAME = new ErrorCode("INVALID_SCAN_NAME");
///
/// Constant ITEM_DOES_NOT_EXIST for ErrorCode
///
public static readonly ErrorCode ITEM_DOES_NOT_EXIST = new ErrorCode("ITEM_DOES_NOT_EXIST");
///
/// 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 ErrorCode(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 ErrorCode 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 ErrorCode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ScanState.
///
public class ScanState : ConstantClass
{
///
/// Constant Failed for ScanState
///
public static readonly ScanState Failed = new ScanState("Failed");
///
/// Constant InProgress for ScanState
///
public static readonly ScanState InProgress = new ScanState("InProgress");
///
/// Constant Successful for ScanState
///
public static readonly ScanState Successful = new ScanState("Successful");
///
/// 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 ScanState(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 ScanState 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 ScanState(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ScanType.
///
public class ScanType : ConstantClass
{
///
/// Constant Express for ScanType
///
public static readonly ScanType Express = new ScanType("Express");
///
/// Constant Standard for ScanType
///
public static readonly ScanType Standard = new ScanType("Standard");
///
/// 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 ScanType(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 ScanType 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 ScanType(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 Status.
///
public class Status : ConstantClass
{
///
/// Constant All for Status
///
public static readonly Status All = new Status("All");
///
/// Constant Closed for Status
///
public static readonly Status Closed = new Status("Closed");
///
/// Constant Open for Status
///
public static readonly Status Open = new Status("Open");
///
/// 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 Status(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 Status 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 Status(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ValidationExceptionReason.
///
public class ValidationExceptionReason : ConstantClass
{
///
/// Constant CannotParse for ValidationExceptionReason
///
public static readonly ValidationExceptionReason CannotParse = new ValidationExceptionReason("cannotParse");
///
/// Constant FieldValidationFailed for ValidationExceptionReason
///
public static readonly ValidationExceptionReason FieldValidationFailed = new ValidationExceptionReason("fieldValidationFailed");
///
/// Constant LambdaCodeShaMisMatch for ValidationExceptionReason
///
public static readonly ValidationExceptionReason LambdaCodeShaMisMatch = new ValidationExceptionReason("lambdaCodeShaMisMatch");
///
/// Constant Other for ValidationExceptionReason
///
public static readonly ValidationExceptionReason Other = new ValidationExceptionReason("other");
///
/// Constant UnknownOperation for ValidationExceptionReason
///
public static readonly ValidationExceptionReason UnknownOperation = new ValidationExceptionReason("unknownOperation");
///
/// 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 ValidationExceptionReason(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 ValidationExceptionReason 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 ValidationExceptionReason(string value)
{
return FindValue(value);
}
}
}