/*
* 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 timestream-write-2018-11-01.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.TimestreamWrite
{
///
/// Constants used for properties of type BatchLoadDataFormat.
///
public class BatchLoadDataFormat : ConstantClass
{
///
/// Constant CSV for BatchLoadDataFormat
///
public static readonly BatchLoadDataFormat CSV = new BatchLoadDataFormat("CSV");
///
/// 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 BatchLoadDataFormat(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 BatchLoadDataFormat 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 BatchLoadDataFormat(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type BatchLoadStatus.
///
public class BatchLoadStatus : ConstantClass
{
///
/// Constant CREATED for BatchLoadStatus
///
public static readonly BatchLoadStatus CREATED = new BatchLoadStatus("CREATED");
///
/// Constant FAILED for BatchLoadStatus
///
public static readonly BatchLoadStatus FAILED = new BatchLoadStatus("FAILED");
///
/// Constant IN_PROGRESS for BatchLoadStatus
///
public static readonly BatchLoadStatus IN_PROGRESS = new BatchLoadStatus("IN_PROGRESS");
///
/// Constant PENDING_RESUME for BatchLoadStatus
///
public static readonly BatchLoadStatus PENDING_RESUME = new BatchLoadStatus("PENDING_RESUME");
///
/// Constant PROGRESS_STOPPED for BatchLoadStatus
///
public static readonly BatchLoadStatus PROGRESS_STOPPED = new BatchLoadStatus("PROGRESS_STOPPED");
///
/// Constant SUCCEEDED for BatchLoadStatus
///
public static readonly BatchLoadStatus SUCCEEDED = new BatchLoadStatus("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 BatchLoadStatus(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 BatchLoadStatus 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 BatchLoadStatus(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type DimensionValueType.
///
public class DimensionValueType : ConstantClass
{
///
/// Constant VARCHAR for DimensionValueType
///
public static readonly DimensionValueType VARCHAR = new DimensionValueType("VARCHAR");
///
/// 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 DimensionValueType(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 DimensionValueType 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 DimensionValueType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type MeasureValueType.
///
public class MeasureValueType : ConstantClass
{
///
/// Constant BIGINT for MeasureValueType
///
public static readonly MeasureValueType BIGINT = new MeasureValueType("BIGINT");
///
/// Constant BOOLEAN for MeasureValueType
///
public static readonly MeasureValueType BOOLEAN = new MeasureValueType("BOOLEAN");
///
/// Constant DOUBLE for MeasureValueType
///
public static readonly MeasureValueType DOUBLE = new MeasureValueType("DOUBLE");
///
/// Constant MULTI for MeasureValueType
///
public static readonly MeasureValueType MULTI = new MeasureValueType("MULTI");
///
/// Constant TIMESTAMP for MeasureValueType
///
public static readonly MeasureValueType TIMESTAMP = new MeasureValueType("TIMESTAMP");
///
/// Constant VARCHAR for MeasureValueType
///
public static readonly MeasureValueType VARCHAR = new MeasureValueType("VARCHAR");
///
/// 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 MeasureValueType(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 MeasureValueType 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 MeasureValueType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type PartitionKeyEnforcementLevel.
///
public class PartitionKeyEnforcementLevel : ConstantClass
{
///
/// Constant OPTIONAL for PartitionKeyEnforcementLevel
///
public static readonly PartitionKeyEnforcementLevel OPTIONAL = new PartitionKeyEnforcementLevel("OPTIONAL");
///
/// Constant REQUIRED for PartitionKeyEnforcementLevel
///
public static readonly PartitionKeyEnforcementLevel REQUIRED = new PartitionKeyEnforcementLevel("REQUIRED");
///
/// 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 PartitionKeyEnforcementLevel(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 PartitionKeyEnforcementLevel 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 PartitionKeyEnforcementLevel(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type PartitionKeyType.
///
public class PartitionKeyType : ConstantClass
{
///
/// Constant DIMENSION for PartitionKeyType
///
public static readonly PartitionKeyType DIMENSION = new PartitionKeyType("DIMENSION");
///
/// Constant MEASURE for PartitionKeyType
///
public static readonly PartitionKeyType MEASURE = new PartitionKeyType("MEASURE");
///
/// 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 PartitionKeyType(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 PartitionKeyType 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 PartitionKeyType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type S3EncryptionOption.
///
public class S3EncryptionOption : ConstantClass
{
///
/// Constant SSE_KMS for S3EncryptionOption
///
public static readonly S3EncryptionOption SSE_KMS = new S3EncryptionOption("SSE_KMS");
///
/// Constant SSE_S3 for S3EncryptionOption
///
public static readonly S3EncryptionOption SSE_S3 = new S3EncryptionOption("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 S3EncryptionOption(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 S3EncryptionOption 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 S3EncryptionOption(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ScalarMeasureValueType.
///
public class ScalarMeasureValueType : ConstantClass
{
///
/// Constant BIGINT for ScalarMeasureValueType
///
public static readonly ScalarMeasureValueType BIGINT = new ScalarMeasureValueType("BIGINT");
///
/// Constant BOOLEAN for ScalarMeasureValueType
///
public static readonly ScalarMeasureValueType BOOLEAN = new ScalarMeasureValueType("BOOLEAN");
///
/// Constant DOUBLE for ScalarMeasureValueType
///
public static readonly ScalarMeasureValueType DOUBLE = new ScalarMeasureValueType("DOUBLE");
///
/// Constant TIMESTAMP for ScalarMeasureValueType
///
public static readonly ScalarMeasureValueType TIMESTAMP = new ScalarMeasureValueType("TIMESTAMP");
///
/// Constant VARCHAR for ScalarMeasureValueType
///
public static readonly ScalarMeasureValueType VARCHAR = new ScalarMeasureValueType("VARCHAR");
///
/// 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 ScalarMeasureValueType(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 ScalarMeasureValueType 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 ScalarMeasureValueType(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 DELETING for TableStatus
///
public static readonly TableStatus DELETING = new TableStatus("DELETING");
///
/// Constant RESTORING for TableStatus
///
public static readonly TableStatus RESTORING = new TableStatus("RESTORING");
///
/// 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 TimeUnit.
///
public class TimeUnit : ConstantClass
{
///
/// Constant MICROSECONDS for TimeUnit
///
public static readonly TimeUnit MICROSECONDS = new TimeUnit("MICROSECONDS");
///
/// Constant MILLISECONDS for TimeUnit
///
public static readonly TimeUnit MILLISECONDS = new TimeUnit("MILLISECONDS");
///
/// Constant NANOSECONDS for TimeUnit
///
public static readonly TimeUnit NANOSECONDS = new TimeUnit("NANOSECONDS");
///
/// Constant SECONDS for TimeUnit
///
public static readonly TimeUnit SECONDS = new TimeUnit("SECONDS");
///
/// 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 TimeUnit(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 TimeUnit 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 TimeUnit(string value)
{
return FindValue(value);
}
}
}