/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a SQL-based Kinesis Data Analytics application's output
* configuration, in which you identify an in-application stream and a destination
* where you want the in-application stream data to be written. The destination can
* be a Kinesis data stream or a Kinesis Data Firehose delivery stream. See Also:
AWS
* API Reference
The name of the in-application stream.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the in-application stream.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the in-application stream.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the in-application stream.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the in-application stream.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the in-application stream.
*/ inline Output& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the in-application stream.
*/ inline Output& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the in-application stream.
*/ inline Output& WithName(const char* value) { SetName(value); return *this;} /** *Identifies a Kinesis data stream as the destination.
*/ inline const KinesisStreamsOutput& GetKinesisStreamsOutput() const{ return m_kinesisStreamsOutput; } /** *Identifies a Kinesis data stream as the destination.
*/ inline bool KinesisStreamsOutputHasBeenSet() const { return m_kinesisStreamsOutputHasBeenSet; } /** *Identifies a Kinesis data stream as the destination.
*/ inline void SetKinesisStreamsOutput(const KinesisStreamsOutput& value) { m_kinesisStreamsOutputHasBeenSet = true; m_kinesisStreamsOutput = value; } /** *Identifies a Kinesis data stream as the destination.
*/ inline void SetKinesisStreamsOutput(KinesisStreamsOutput&& value) { m_kinesisStreamsOutputHasBeenSet = true; m_kinesisStreamsOutput = std::move(value); } /** *Identifies a Kinesis data stream as the destination.
*/ inline Output& WithKinesisStreamsOutput(const KinesisStreamsOutput& value) { SetKinesisStreamsOutput(value); return *this;} /** *Identifies a Kinesis data stream as the destination.
*/ inline Output& WithKinesisStreamsOutput(KinesisStreamsOutput&& value) { SetKinesisStreamsOutput(std::move(value)); return *this;} /** *Identifies a Kinesis Data Firehose delivery stream as the destination.
*/ inline const KinesisFirehoseOutput& GetKinesisFirehoseOutput() const{ return m_kinesisFirehoseOutput; } /** *Identifies a Kinesis Data Firehose delivery stream as the destination.
*/ inline bool KinesisFirehoseOutputHasBeenSet() const { return m_kinesisFirehoseOutputHasBeenSet; } /** *Identifies a Kinesis Data Firehose delivery stream as the destination.
*/ inline void SetKinesisFirehoseOutput(const KinesisFirehoseOutput& value) { m_kinesisFirehoseOutputHasBeenSet = true; m_kinesisFirehoseOutput = value; } /** *Identifies a Kinesis Data Firehose delivery stream as the destination.
*/ inline void SetKinesisFirehoseOutput(KinesisFirehoseOutput&& value) { m_kinesisFirehoseOutputHasBeenSet = true; m_kinesisFirehoseOutput = std::move(value); } /** *Identifies a Kinesis Data Firehose delivery stream as the destination.
*/ inline Output& WithKinesisFirehoseOutput(const KinesisFirehoseOutput& value) { SetKinesisFirehoseOutput(value); return *this;} /** *Identifies a Kinesis Data Firehose delivery stream as the destination.
*/ inline Output& WithKinesisFirehoseOutput(KinesisFirehoseOutput&& value) { SetKinesisFirehoseOutput(std::move(value)); return *this;} /** *Identifies an Amazon Lambda function as the destination.
*/ inline const LambdaOutput& GetLambdaOutput() const{ return m_lambdaOutput; } /** *Identifies an Amazon Lambda function as the destination.
*/ inline bool LambdaOutputHasBeenSet() const { return m_lambdaOutputHasBeenSet; } /** *Identifies an Amazon Lambda function as the destination.
*/ inline void SetLambdaOutput(const LambdaOutput& value) { m_lambdaOutputHasBeenSet = true; m_lambdaOutput = value; } /** *Identifies an Amazon Lambda function as the destination.
*/ inline void SetLambdaOutput(LambdaOutput&& value) { m_lambdaOutputHasBeenSet = true; m_lambdaOutput = std::move(value); } /** *Identifies an Amazon Lambda function as the destination.
*/ inline Output& WithLambdaOutput(const LambdaOutput& value) { SetLambdaOutput(value); return *this;} /** *Identifies an Amazon Lambda function as the destination.
*/ inline Output& WithLambdaOutput(LambdaOutput&& value) { SetLambdaOutput(std::move(value)); return *this;} /** *Describes the data format when records are written to the destination.
*/ inline const DestinationSchema& GetDestinationSchema() const{ return m_destinationSchema; } /** *Describes the data format when records are written to the destination.
*/ inline bool DestinationSchemaHasBeenSet() const { return m_destinationSchemaHasBeenSet; } /** *Describes the data format when records are written to the destination.
*/ inline void SetDestinationSchema(const DestinationSchema& value) { m_destinationSchemaHasBeenSet = true; m_destinationSchema = value; } /** *Describes the data format when records are written to the destination.
*/ inline void SetDestinationSchema(DestinationSchema&& value) { m_destinationSchemaHasBeenSet = true; m_destinationSchema = std::move(value); } /** *Describes the data format when records are written to the destination.
*/ inline Output& WithDestinationSchema(const DestinationSchema& value) { SetDestinationSchema(value); return *this;} /** *Describes the data format when records are written to the destination.
*/ inline Output& WithDestinationSchema(DestinationSchema&& value) { SetDestinationSchema(std::move(value)); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; KinesisStreamsOutput m_kinesisStreamsOutput; bool m_kinesisStreamsOutputHasBeenSet = false; KinesisFirehoseOutput m_kinesisFirehoseOutput; bool m_kinesisFirehoseOutputHasBeenSet = false; LambdaOutput m_lambdaOutput; bool m_lambdaOutputHasBeenSet = false; DestinationSchema m_destinationSchema; bool m_destinationSchemaHasBeenSet = false; }; } // namespace Model } // namespace KinesisAnalyticsV2 } // namespace Aws