/*
* 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 qldb-2019-01-02.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.QLDB
{
///
/// Constants used for properties of type EncryptionStatus.
///
public class EncryptionStatus : ConstantClass
{
///
/// Constant ENABLED for EncryptionStatus
///
public static readonly EncryptionStatus ENABLED = new EncryptionStatus("ENABLED");
///
/// Constant KMS_KEY_INACCESSIBLE for EncryptionStatus
///
public static readonly EncryptionStatus KMS_KEY_INACCESSIBLE = new EncryptionStatus("KMS_KEY_INACCESSIBLE");
///
/// Constant UPDATING for EncryptionStatus
///
public static readonly EncryptionStatus UPDATING = new EncryptionStatus("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 EncryptionStatus(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 EncryptionStatus 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 EncryptionStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ErrorCause.
///
public class ErrorCause : ConstantClass
{
///
/// Constant IAM_PERMISSION_REVOKED for ErrorCause
///
public static readonly ErrorCause IAM_PERMISSION_REVOKED = new ErrorCause("IAM_PERMISSION_REVOKED");
///
/// Constant KINESIS_STREAM_NOT_FOUND for ErrorCause
///
public static readonly ErrorCause KINESIS_STREAM_NOT_FOUND = new ErrorCause("KINESIS_STREAM_NOT_FOUND");
///
/// 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 ErrorCause(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 ErrorCause 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 ErrorCause(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ExportStatus.
///
public class ExportStatus : ConstantClass
{
///
/// Constant CANCELLED for ExportStatus
///
public static readonly ExportStatus CANCELLED = new ExportStatus("CANCELLED");
///
/// Constant COMPLETED for ExportStatus
///
public static readonly ExportStatus COMPLETED = new ExportStatus("COMPLETED");
///
/// Constant IN_PROGRESS for ExportStatus
///
public static readonly ExportStatus IN_PROGRESS = new ExportStatus("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 ExportStatus(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 ExportStatus 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 ExportStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type LedgerState.
///
public class LedgerState : ConstantClass
{
///
/// Constant ACTIVE for LedgerState
///
public static readonly LedgerState ACTIVE = new LedgerState("ACTIVE");
///
/// Constant CREATING for LedgerState
///
public static readonly LedgerState CREATING = new LedgerState("CREATING");
///
/// Constant DELETED for LedgerState
///
public static readonly LedgerState DELETED = new LedgerState("DELETED");
///
/// Constant DELETING for LedgerState
///
public static readonly LedgerState DELETING = new LedgerState("DELETING");
///
/// 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 LedgerState(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 LedgerState 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 LedgerState(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type OutputFormat.
///
public class OutputFormat : ConstantClass
{
///
/// Constant ION_BINARY for OutputFormat
///
public static readonly OutputFormat ION_BINARY = new OutputFormat("ION_BINARY");
///
/// Constant ION_TEXT for OutputFormat
///
public static readonly OutputFormat ION_TEXT = new OutputFormat("ION_TEXT");
///
/// Constant JSON for OutputFormat
///
public static readonly OutputFormat JSON = new OutputFormat("JSON");
///
/// 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 OutputFormat(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 OutputFormat 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 OutputFormat(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type PermissionsMode.
///
public class PermissionsMode : ConstantClass
{
///
/// Constant ALLOW_ALL for PermissionsMode
///
public static readonly PermissionsMode ALLOW_ALL = new PermissionsMode("ALLOW_ALL");
///
/// Constant STANDARD for PermissionsMode
///
public static readonly PermissionsMode STANDARD = new PermissionsMode("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 PermissionsMode(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 PermissionsMode 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 PermissionsMode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type S3ObjectEncryptionType.
///
public class S3ObjectEncryptionType : ConstantClass
{
///
/// Constant NO_ENCRYPTION for S3ObjectEncryptionType
///
public static readonly S3ObjectEncryptionType NO_ENCRYPTION = new S3ObjectEncryptionType("NO_ENCRYPTION");
///
/// Constant SSE_KMS for S3ObjectEncryptionType
///
public static readonly S3ObjectEncryptionType SSE_KMS = new S3ObjectEncryptionType("SSE_KMS");
///
/// Constant SSE_S3 for S3ObjectEncryptionType
///
public static readonly S3ObjectEncryptionType SSE_S3 = new S3ObjectEncryptionType("SSE_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 S3ObjectEncryptionType(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 S3ObjectEncryptionType 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 S3ObjectEncryptionType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type StreamStatus.
///
public class StreamStatus : ConstantClass
{
///
/// Constant ACTIVE for StreamStatus
///
public static readonly StreamStatus ACTIVE = new StreamStatus("ACTIVE");
///
/// Constant CANCELED for StreamStatus
///
public static readonly StreamStatus CANCELED = new StreamStatus("CANCELED");
///
/// Constant COMPLETED for StreamStatus
///
public static readonly StreamStatus COMPLETED = new StreamStatus("COMPLETED");
///
/// Constant FAILED for StreamStatus
///
public static readonly StreamStatus FAILED = new StreamStatus("FAILED");
///
/// Constant IMPAIRED for StreamStatus
///
public static readonly StreamStatus IMPAIRED = new StreamStatus("IMPAIRED");
///
/// 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 StreamStatus(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 StreamStatus 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 StreamStatus(string value)
{
return FindValue(value);
}
}
}