/*
* 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 detective-2018-10-26.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.Detective
{
///
/// Constants used for properties of type DatasourcePackage.
///
public class DatasourcePackage : ConstantClass
{
///
/// Constant ASFF_SECURITYHUB_FINDING for DatasourcePackage
///
public static readonly DatasourcePackage ASFF_SECURITYHUB_FINDING = new DatasourcePackage("ASFF_SECURITYHUB_FINDING");
///
/// Constant DETECTIVE_CORE for DatasourcePackage
///
public static readonly DatasourcePackage DETECTIVE_CORE = new DatasourcePackage("DETECTIVE_CORE");
///
/// Constant EKS_AUDIT for DatasourcePackage
///
public static readonly DatasourcePackage EKS_AUDIT = new DatasourcePackage("EKS_AUDIT");
///
/// 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 DatasourcePackage(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 DatasourcePackage 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 DatasourcePackage(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type DatasourcePackageIngestState.
///
public class DatasourcePackageIngestState : ConstantClass
{
///
/// Constant DISABLED for DatasourcePackageIngestState
///
public static readonly DatasourcePackageIngestState DISABLED = new DatasourcePackageIngestState("DISABLED");
///
/// Constant STARTED for DatasourcePackageIngestState
///
public static readonly DatasourcePackageIngestState STARTED = new DatasourcePackageIngestState("STARTED");
///
/// Constant STOPPED for DatasourcePackageIngestState
///
public static readonly DatasourcePackageIngestState STOPPED = new DatasourcePackageIngestState("STOPPED");
///
/// 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 DatasourcePackageIngestState(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 DatasourcePackageIngestState 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 DatasourcePackageIngestState(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ErrorCode.
///
public class ErrorCode : ConstantClass
{
///
/// Constant INTERNAL_ERROR for ErrorCode
///
public static readonly ErrorCode INTERNAL_ERROR = new ErrorCode("INTERNAL_ERROR");
///
/// Constant INVALID_GRAPH_ARN for ErrorCode
///
public static readonly ErrorCode INVALID_GRAPH_ARN = new ErrorCode("INVALID_GRAPH_ARN");
///
/// Constant INVALID_REQUEST_BODY for ErrorCode
///
public static readonly ErrorCode INVALID_REQUEST_BODY = new ErrorCode("INVALID_REQUEST_BODY");
///
/// 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 InvitationType.
///
public class InvitationType : ConstantClass
{
///
/// Constant INVITATION for InvitationType
///
public static readonly InvitationType INVITATION = new InvitationType("INVITATION");
///
/// Constant ORGANIZATION for InvitationType
///
public static readonly InvitationType ORGANIZATION = new InvitationType("ORGANIZATION");
///
/// 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 InvitationType(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 InvitationType 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 InvitationType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type MemberDisabledReason.
///
public class MemberDisabledReason : ConstantClass
{
///
/// Constant VOLUME_TOO_HIGH for MemberDisabledReason
///
public static readonly MemberDisabledReason VOLUME_TOO_HIGH = new MemberDisabledReason("VOLUME_TOO_HIGH");
///
/// Constant VOLUME_UNKNOWN for MemberDisabledReason
///
public static readonly MemberDisabledReason VOLUME_UNKNOWN = new MemberDisabledReason("VOLUME_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 MemberDisabledReason(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 MemberDisabledReason 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 MemberDisabledReason(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type MemberStatus.
///
public class MemberStatus : ConstantClass
{
///
/// Constant ACCEPTED_BUT_DISABLED for MemberStatus
///
public static readonly MemberStatus ACCEPTED_BUT_DISABLED = new MemberStatus("ACCEPTED_BUT_DISABLED");
///
/// Constant ENABLED for MemberStatus
///
public static readonly MemberStatus ENABLED = new MemberStatus("ENABLED");
///
/// Constant INVITED for MemberStatus
///
public static readonly MemberStatus INVITED = new MemberStatus("INVITED");
///
/// Constant VERIFICATION_FAILED for MemberStatus
///
public static readonly MemberStatus VERIFICATION_FAILED = new MemberStatus("VERIFICATION_FAILED");
///
/// Constant VERIFICATION_IN_PROGRESS for MemberStatus
///
public static readonly MemberStatus VERIFICATION_IN_PROGRESS = new MemberStatus("VERIFICATION_IN_PROGRESS");
///
/// 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 MemberStatus(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 MemberStatus 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 MemberStatus(string value)
{
return FindValue(value);
}
}
}