/*
* 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 keyspaces-2022-02-10.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.Keyspaces
{
///
/// Constants used for properties of type ClientSideTimestampsStatus.
///
public class ClientSideTimestampsStatus : ConstantClass
{
///
/// Constant ENABLED for ClientSideTimestampsStatus
///
public static readonly ClientSideTimestampsStatus ENABLED = new ClientSideTimestampsStatus("ENABLED");
///
/// 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 ClientSideTimestampsStatus(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 ClientSideTimestampsStatus 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 ClientSideTimestampsStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type EncryptionType.
///
public class EncryptionType : ConstantClass
{
///
/// Constant AWS_OWNED_KMS_KEY for EncryptionType
///
public static readonly EncryptionType AWS_OWNED_KMS_KEY = new EncryptionType("AWS_OWNED_KMS_KEY");
///
/// Constant CUSTOMER_MANAGED_KMS_KEY for EncryptionType
///
public static readonly EncryptionType CUSTOMER_MANAGED_KMS_KEY = new EncryptionType("CUSTOMER_MANAGED_KMS_KEY");
///
/// 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 EncryptionType(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 EncryptionType 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 EncryptionType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type PointInTimeRecoveryStatus.
///
public class PointInTimeRecoveryStatus : ConstantClass
{
///
/// Constant DISABLED for PointInTimeRecoveryStatus
///
public static readonly PointInTimeRecoveryStatus DISABLED = new PointInTimeRecoveryStatus("DISABLED");
///
/// Constant ENABLED for PointInTimeRecoveryStatus
///
public static readonly PointInTimeRecoveryStatus ENABLED = new PointInTimeRecoveryStatus("ENABLED");
///
/// 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 PointInTimeRecoveryStatus(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 PointInTimeRecoveryStatus 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 PointInTimeRecoveryStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type Rs.
///
public class Rs : ConstantClass
{
///
/// Constant MULTI_REGION for Rs
///
public static readonly Rs MULTI_REGION = new Rs("MULTI_REGION");
///
/// Constant SINGLE_REGION for Rs
///
public static readonly Rs SINGLE_REGION = new Rs("SINGLE_REGION");
///
/// 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 Rs(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 Rs 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 Rs(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type SortOrder.
///
public class SortOrder : ConstantClass
{
///
/// Constant ASC for SortOrder
///
public static readonly SortOrder ASC = new SortOrder("ASC");
///
/// Constant DESC for SortOrder
///
public static readonly SortOrder DESC = new SortOrder("DESC");
///
/// 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 SortOrder(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 SortOrder 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 SortOrder(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type TableStatus.
///
public class TableStatus : ConstantClass
{
///
/// Constant ACTIVE for TableStatus
///
public static readonly TableStatus ACTIVE = new TableStatus("ACTIVE");
///
/// Constant CREATING for TableStatus
///
public static readonly TableStatus CREATING = new TableStatus("CREATING");
///
/// Constant DELETED for TableStatus
///
public static readonly TableStatus DELETED = new TableStatus("DELETED");
///
/// Constant DELETING for TableStatus
///
public static readonly TableStatus DELETING = new TableStatus("DELETING");
///
/// Constant INACCESSIBLE_ENCRYPTION_CREDENTIALS for TableStatus
///
public static readonly TableStatus INACCESSIBLE_ENCRYPTION_CREDENTIALS = new TableStatus("INACCESSIBLE_ENCRYPTION_CREDENTIALS");
///
/// Constant RESTORING for TableStatus
///
public static readonly TableStatus RESTORING = new TableStatus("RESTORING");
///
/// Constant UPDATING for TableStatus
///
public static readonly TableStatus UPDATING = new TableStatus("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 TableStatus(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 TableStatus 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 TableStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ThroughputMode.
///
public class ThroughputMode : ConstantClass
{
///
/// Constant PAY_PER_REQUEST for ThroughputMode
///
public static readonly ThroughputMode PAY_PER_REQUEST = new ThroughputMode("PAY_PER_REQUEST");
///
/// Constant PROVISIONED for ThroughputMode
///
public static readonly ThroughputMode PROVISIONED = new ThroughputMode("PROVISIONED");
///
/// 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 ThroughputMode(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 ThroughputMode 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 ThroughputMode(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type TimeToLiveStatus.
///
public class TimeToLiveStatus : ConstantClass
{
///
/// Constant ENABLED for TimeToLiveStatus
///
public static readonly TimeToLiveStatus ENABLED = new TimeToLiveStatus("ENABLED");
///
/// 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 TimeToLiveStatus(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 TimeToLiveStatus 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 TimeToLiveStatus(string value)
{
return FindValue(value);
}
}
}