/*
* 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 firehose-2015-08-04.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.KinesisFirehose.Model
{
///
/// Container for the parameters to the ListDeliveryStreams operation.
/// Lists your delivery streams in alphabetical order of their names.
///
///
///
/// The number of delivery streams might be too large to return using a single call to
/// ListDeliveryStreams
. You can limit the number of delivery streams returned,
/// using the Limit
parameter. To determine whether there are more delivery
/// streams to list, check the value of HasMoreDeliveryStreams
in the output.
/// If there are more delivery streams to list, you can request them by calling this operation
/// again and setting the ExclusiveStartDeliveryStreamName
parameter to the
/// name of the last delivery stream returned in the last call.
///
///
public partial class ListDeliveryStreamsRequest : AmazonKinesisFirehoseRequest
{
private DeliveryStreamType _deliveryStreamType;
private string _exclusiveStartDeliveryStreamName;
private int? _limit;
///
/// Gets and sets the property DeliveryStreamType.
///
/// The delivery stream type. This can be one of the following values:
///
/// -
///
///
DirectPut
: Provider applications access the delivery stream directly.
///
/// -
///
///
KinesisStreamAsSource
: The delivery stream uses a Kinesis data stream
/// as a source.
///
///
///
/// This parameter is optional. If this parameter is omitted, delivery streams of all
/// types are returned.
///
///
public DeliveryStreamType DeliveryStreamType
{
get { return this._deliveryStreamType; }
set { this._deliveryStreamType = value; }
}
// Check to see if DeliveryStreamType property is set
internal bool IsSetDeliveryStreamType()
{
return this._deliveryStreamType != null;
}
///
/// Gets and sets the property ExclusiveStartDeliveryStreamName.
///
/// The list of delivery streams returned by this call to ListDeliveryStreams
/// will start with the delivery stream whose name comes alphabetically immediately after
/// the name you specify in ExclusiveStartDeliveryStreamName
.
///
///
[AWSProperty(Min=1, Max=64)]
public string ExclusiveStartDeliveryStreamName
{
get { return this._exclusiveStartDeliveryStreamName; }
set { this._exclusiveStartDeliveryStreamName = value; }
}
// Check to see if ExclusiveStartDeliveryStreamName property is set
internal bool IsSetExclusiveStartDeliveryStreamName()
{
return this._exclusiveStartDeliveryStreamName != null;
}
///
/// Gets and sets the property Limit.
///
/// The maximum number of delivery streams to list. The default value is 10.
///
///
[AWSProperty(Min=1, Max=10000)]
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;
}
}
}