/* * 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 System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.DynamoDBv2.Model { /// /// Container for the parameters to the ListStreams operation. /// Returns an array of stream ARNs associated with the current account and endpoint. /// If the TableName parameter is present, then ListStreams /// will return only the streams ARNs for that table. /// /// /// /// You can call ListStreams at a maximum rate of 5 times per second. /// /// /// public partial class ListStreamsRequest : AmazonDynamoDBStreamsRequest { private string _exclusiveStartStreamArn; private int? _limit; private string _tableName; /// /// Gets and sets the property ExclusiveStartStreamArn. /// /// The ARN (Amazon Resource Name) of the first item that this operation will evaluate. /// Use the value that was returned for LastEvaluatedStreamArn in the previous /// operation. /// /// [AWSProperty(Min=37, Max=1024)] public string ExclusiveStartStreamArn { get { return this._exclusiveStartStreamArn; } set { this._exclusiveStartStreamArn = value; } } // Check to see if ExclusiveStartStreamArn property is set internal bool IsSetExclusiveStartStreamArn() { return this._exclusiveStartStreamArn != null; } /// /// Gets and sets the property Limit. /// /// The maximum number of streams to return. The upper limit is 100. /// /// [AWSProperty(Min=1)] public int Limit { get { return this._limit.GetValueOrDefault(); } set { this._limit = value; } } // Check to see if Limit property is set internal bool IsSetLimit() { return this._limit.HasValue; } /// /// Gets and sets the property TableName. /// /// If this parameter is provided, then only the streams associated with this table name /// are returned. /// /// [AWSProperty(Min=3, Max=255)] public string TableName { get { return this._tableName; } set { this._tableName = value; } } // Check to see if TableName property is set internal bool IsSetTableName() { return this._tableName != null; } } }