/* * 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 { /// /// Contains information about a delivery stream. /// public partial class DeliveryStreamDescription { private DateTime? _createTimestamp; private string _deliveryStreamARN; private DeliveryStreamEncryptionConfiguration _deliveryStreamEncryptionConfiguration; private string _deliveryStreamName; private DeliveryStreamStatus _deliveryStreamStatus; private DeliveryStreamType _deliveryStreamType; private List _destinations = new List(); private FailureDescription _failureDescription; private bool? _hasMoreDestinations; private DateTime? _lastUpdateTimestamp; private SourceDescription _source; private string _versionId; /// /// Gets and sets the property CreateTimestamp. /// /// The date and time that the delivery stream was created. /// /// public DateTime CreateTimestamp { get { return this._createTimestamp.GetValueOrDefault(); } set { this._createTimestamp = value; } } // Check to see if CreateTimestamp property is set internal bool IsSetCreateTimestamp() { return this._createTimestamp.HasValue; } /// /// Gets and sets the property DeliveryStreamARN. /// /// The Amazon Resource Name (ARN) of the delivery stream. For more information, see Amazon /// Resource Names (ARNs) and AWS Service Namespaces. /// /// [AWSProperty(Required=true, Min=1, Max=512)] public string DeliveryStreamARN { get { return this._deliveryStreamARN; } set { this._deliveryStreamARN = value; } } // Check to see if DeliveryStreamARN property is set internal bool IsSetDeliveryStreamARN() { return this._deliveryStreamARN != null; } /// /// Gets and sets the property DeliveryStreamEncryptionConfiguration. /// /// Indicates the server-side encryption (SSE) status for the delivery stream. /// /// public DeliveryStreamEncryptionConfiguration DeliveryStreamEncryptionConfiguration { get { return this._deliveryStreamEncryptionConfiguration; } set { this._deliveryStreamEncryptionConfiguration = value; } } // Check to see if DeliveryStreamEncryptionConfiguration property is set internal bool IsSetDeliveryStreamEncryptionConfiguration() { return this._deliveryStreamEncryptionConfiguration != null; } /// /// Gets and sets the property DeliveryStreamName. /// /// The name of the delivery stream. /// /// [AWSProperty(Required=true, Min=1, Max=64)] public string DeliveryStreamName { get { return this._deliveryStreamName; } set { this._deliveryStreamName = value; } } // Check to see if DeliveryStreamName property is set internal bool IsSetDeliveryStreamName() { return this._deliveryStreamName != null; } /// /// Gets and sets the property DeliveryStreamStatus. /// /// The status of the delivery stream. If the status of a delivery stream is CREATING_FAILED, /// this status doesn't change, and you can't invoke CreateDeliveryStream /// again on it. However, you can invoke the DeleteDeliveryStream operation to /// delete it. /// /// [AWSProperty(Required=true)] public DeliveryStreamStatus DeliveryStreamStatus { get { return this._deliveryStreamStatus; } set { this._deliveryStreamStatus = value; } } // Check to see if DeliveryStreamStatus property is set internal bool IsSetDeliveryStreamStatus() { return this._deliveryStreamStatus != null; } /// /// 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. /// ///
///
[AWSProperty(Required=true)] 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 Destinations. /// /// The destinations. /// /// [AWSProperty(Required=true)] public List Destinations { get { return this._destinations; } set { this._destinations = value; } } // Check to see if Destinations property is set internal bool IsSetDestinations() { return this._destinations != null && this._destinations.Count > 0; } /// /// Gets and sets the property FailureDescription. /// /// Provides details in case one of the following operations fails due to an error related /// to KMS: CreateDeliveryStream, DeleteDeliveryStream, StartDeliveryStreamEncryption, /// StopDeliveryStreamEncryption. /// /// public FailureDescription FailureDescription { get { return this._failureDescription; } set { this._failureDescription = value; } } // Check to see if FailureDescription property is set internal bool IsSetFailureDescription() { return this._failureDescription != null; } /// /// Gets and sets the property HasMoreDestinations. /// /// Indicates whether there are more destinations available to list. /// /// [AWSProperty(Required=true)] public bool HasMoreDestinations { get { return this._hasMoreDestinations.GetValueOrDefault(); } set { this._hasMoreDestinations = value; } } // Check to see if HasMoreDestinations property is set internal bool IsSetHasMoreDestinations() { return this._hasMoreDestinations.HasValue; } /// /// Gets and sets the property LastUpdateTimestamp. /// /// The date and time that the delivery stream was last updated. /// /// public DateTime LastUpdateTimestamp { get { return this._lastUpdateTimestamp.GetValueOrDefault(); } set { this._lastUpdateTimestamp = value; } } // Check to see if LastUpdateTimestamp property is set internal bool IsSetLastUpdateTimestamp() { return this._lastUpdateTimestamp.HasValue; } /// /// Gets and sets the property Source. /// /// If the DeliveryStreamType parameter is KinesisStreamAsSource, /// a SourceDescription object describing the source Kinesis data stream. /// /// public SourceDescription Source { get { return this._source; } set { this._source = value; } } // Check to see if Source property is set internal bool IsSetSource() { return this._source != null; } /// /// Gets and sets the property VersionId. /// /// Each time the destination is updated for a delivery stream, the version ID is changed, /// and the current version ID is required when updating the destination. This is so that /// the service knows it is applying the changes to the correct version of the delivery /// stream. /// /// [AWSProperty(Required=true, Min=1, Max=50)] public string VersionId { get { return this._versionId; } set { this._versionId = value; } } // Check to see if VersionId property is set internal bool IsSetVersionId() { return this._versionId != null; } } }