/* * 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 kinesisanalyticsv2-2018-05-23.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.KinesisAnalyticsV2.Model { /// /// For a SQL-based Kinesis Data Analytics application, describes the application output /// configuration, which includes the in-application stream name and the destination where /// the stream data is written. The destination can be a Kinesis data stream or a Kinesis /// Data Firehose delivery stream. /// public partial class OutputDescription { private DestinationSchema _destinationSchema; private KinesisFirehoseOutputDescription _kinesisFirehoseOutputDescription; private KinesisStreamsOutputDescription _kinesisStreamsOutputDescription; private LambdaOutputDescription _lambdaOutputDescription; private string _name; private string _outputId; /// /// Gets and sets the property DestinationSchema. /// /// The data format used for writing data to the destination. /// /// public DestinationSchema DestinationSchema { get { return this._destinationSchema; } set { this._destinationSchema = value; } } // Check to see if DestinationSchema property is set internal bool IsSetDestinationSchema() { return this._destinationSchema != null; } /// /// Gets and sets the property KinesisFirehoseOutputDescription. /// /// Describes the Kinesis Data Firehose delivery stream that is configured as the destination /// where output is written. /// /// public KinesisFirehoseOutputDescription KinesisFirehoseOutputDescription { get { return this._kinesisFirehoseOutputDescription; } set { this._kinesisFirehoseOutputDescription = value; } } // Check to see if KinesisFirehoseOutputDescription property is set internal bool IsSetKinesisFirehoseOutputDescription() { return this._kinesisFirehoseOutputDescription != null; } /// /// Gets and sets the property KinesisStreamsOutputDescription. /// /// Describes the Kinesis data stream that is configured as the destination where output /// is written. /// /// public KinesisStreamsOutputDescription KinesisStreamsOutputDescription { get { return this._kinesisStreamsOutputDescription; } set { this._kinesisStreamsOutputDescription = value; } } // Check to see if KinesisStreamsOutputDescription property is set internal bool IsSetKinesisStreamsOutputDescription() { return this._kinesisStreamsOutputDescription != null; } /// /// Gets and sets the property LambdaOutputDescription. /// /// Describes the Lambda function that is configured as the destination where output is /// written. /// /// public LambdaOutputDescription LambdaOutputDescription { get { return this._lambdaOutputDescription; } set { this._lambdaOutputDescription = value; } } // Check to see if LambdaOutputDescription property is set internal bool IsSetLambdaOutputDescription() { return this._lambdaOutputDescription != null; } /// /// Gets and sets the property Name. /// /// The name of the in-application stream that is configured as output. /// /// [AWSProperty(Min=1, Max=32)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// /// Gets and sets the property OutputId. /// /// A unique identifier for the output configuration. /// /// [AWSProperty(Min=1, Max=50)] public string OutputId { get { return this._outputId; } set { this._outputId = value; } } // Check to see if OutputId property is set internal bool IsSetOutputId() { return this._outputId != null; } } }