/*
* 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 signer-2017-08-25.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.Signer
{
///
/// Constants used for properties of type Category.
///
public class Category : ConstantClass
{
///
/// Constant AWSIoT for Category
///
public static readonly Category AWSIoT = new Category("AWSIoT");
///
/// 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 Category(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 Category 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 Category(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type EncryptionAlgorithm.
///
public class EncryptionAlgorithm : ConstantClass
{
///
/// Constant ECDSA for EncryptionAlgorithm
///
public static readonly EncryptionAlgorithm ECDSA = new EncryptionAlgorithm("ECDSA");
///
/// Constant RSA for EncryptionAlgorithm
///
public static readonly EncryptionAlgorithm RSA = new EncryptionAlgorithm("RSA");
///
/// 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 EncryptionAlgorithm(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 EncryptionAlgorithm 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 EncryptionAlgorithm(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type HashAlgorithm.
///
public class HashAlgorithm : ConstantClass
{
///
/// Constant SHA1 for HashAlgorithm
///
public static readonly HashAlgorithm SHA1 = new HashAlgorithm("SHA1");
///
/// Constant SHA256 for HashAlgorithm
///
public static readonly HashAlgorithm SHA256 = new HashAlgorithm("SHA256");
///
/// 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 HashAlgorithm(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 HashAlgorithm 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 HashAlgorithm(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ImageFormat.
///
public class ImageFormat : ConstantClass
{
///
/// Constant JSON for ImageFormat
///
public static readonly ImageFormat JSON = new ImageFormat("JSON");
///
/// Constant JSONDetached for ImageFormat
///
public static readonly ImageFormat JSONDetached = new ImageFormat("JSONDetached");
///
/// Constant JSONEmbedded for ImageFormat
///
public static readonly ImageFormat JSONEmbedded = new ImageFormat("JSONEmbedded");
///
/// 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 ImageFormat(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 ImageFormat 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 ImageFormat(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type SigningProfileStatus.
///
public class SigningProfileStatus : ConstantClass
{
///
/// Constant Active for SigningProfileStatus
///
public static readonly SigningProfileStatus Active = new SigningProfileStatus("Active");
///
/// Constant Canceled for SigningProfileStatus
///
public static readonly SigningProfileStatus Canceled = new SigningProfileStatus("Canceled");
///
/// Constant Revoked for SigningProfileStatus
///
public static readonly SigningProfileStatus Revoked = new SigningProfileStatus("Revoked");
///
/// 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 SigningProfileStatus(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 SigningProfileStatus 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 SigningProfileStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type SigningStatus.
///
public class SigningStatus : ConstantClass
{
///
/// Constant Failed for SigningStatus
///
public static readonly SigningStatus Failed = new SigningStatus("Failed");
///
/// Constant InProgress for SigningStatus
///
public static readonly SigningStatus InProgress = new SigningStatus("InProgress");
///
/// Constant Succeeded for SigningStatus
///
public static readonly SigningStatus Succeeded = new SigningStatus("Succeeded");
///
/// 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 SigningStatus(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 SigningStatus 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 SigningStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ValidityType.
///
public class ValidityType : ConstantClass
{
///
/// Constant DAYS for ValidityType
///
public static readonly ValidityType DAYS = new ValidityType("DAYS");
///
/// Constant MONTHS for ValidityType
///
public static readonly ValidityType MONTHS = new ValidityType("MONTHS");
///
/// Constant YEARS for ValidityType
///
public static readonly ValidityType YEARS = new ValidityType("YEARS");
///
/// 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 ValidityType(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 ValidityType 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 ValidityType(string value)
{
return FindValue(value);
}
}
}