/*
* Copyright 2010-2014 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 dynamodbstreams-2012-08-10.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.DynamoDBv2
{
///
/// Constants used for properties of type OperationType.
///
public class OperationType : ConstantClass
{
///
/// Constant INSERT for OperationType
///
public static readonly OperationType INSERT = new OperationType("INSERT");
///
/// Constant MODIFY for OperationType
///
public static readonly OperationType MODIFY = new OperationType("MODIFY");
///
/// Constant REMOVE for OperationType
///
public static readonly OperationType REMOVE = new OperationType("REMOVE");
///
/// 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 OperationType(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 OperationType 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 OperationType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type ShardIteratorType.
///
public class ShardIteratorType : ConstantClass
{
///
/// Constant AFTER_SEQUENCE_NUMBER for ShardIteratorType
///
public static readonly ShardIteratorType AFTER_SEQUENCE_NUMBER = new ShardIteratorType("AFTER_SEQUENCE_NUMBER");
///
/// Constant AT_SEQUENCE_NUMBER for ShardIteratorType
///
public static readonly ShardIteratorType AT_SEQUENCE_NUMBER = new ShardIteratorType("AT_SEQUENCE_NUMBER");
///
/// Constant LATEST for ShardIteratorType
///
public static readonly ShardIteratorType LATEST = new ShardIteratorType("LATEST");
///
/// Constant TRIM_HORIZON for ShardIteratorType
///
public static readonly ShardIteratorType TRIM_HORIZON = new ShardIteratorType("TRIM_HORIZON");
///
/// 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 ShardIteratorType(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 ShardIteratorType 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 ShardIteratorType(string value)
{
return FindValue(value);
}
}
///
/// Constants used for properties of type StreamStatus.
///
public class StreamStatus : ConstantClass
{
///
/// Constant DISABLED for StreamStatus
///
public static readonly StreamStatus DISABLED = new StreamStatus("DISABLED");
///
/// Constant DISABLING for StreamStatus
///
public static readonly StreamStatus DISABLING = new StreamStatus("DISABLING");
///
/// Constant ENABLED for StreamStatus
///
public static readonly StreamStatus ENABLED = new StreamStatus("ENABLED");
///
/// Constant ENABLING for StreamStatus
///
public static readonly StreamStatus ENABLING = new StreamStatus("ENABLING");
///
/// 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);
}
}
}