/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes application 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 an Amazon Kinesis stream or an Amazon
* Kinesis Firehose delivery stream. For limits on how many
* destinations an application can write and other limitations, see Limits.
* See Also:
AWS
* API Reference
Name of the in-application stream.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *Name of the in-application stream.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *Name of the in-application stream.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *Name of the in-application stream.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *Name of the in-application stream.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *Name of the in-application stream.
*/ inline Output& WithName(const Aws::String& value) { SetName(value); return *this;} /** *Name of the in-application stream.
*/ inline Output& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *Name of the in-application stream.
*/ inline Output& WithName(const char* value) { SetName(value); return *this;} /** *Identifies an Amazon Kinesis stream as the destination.
*/ inline const KinesisStreamsOutput& GetKinesisStreamsOutput() const{ return m_kinesisStreamsOutput; } /** *Identifies an Amazon Kinesis stream as the destination.
*/ inline bool KinesisStreamsOutputHasBeenSet() const { return m_kinesisStreamsOutputHasBeenSet; } /** *Identifies an Amazon Kinesis stream as the destination.
*/ inline void SetKinesisStreamsOutput(const KinesisStreamsOutput& value) { m_kinesisStreamsOutputHasBeenSet = true; m_kinesisStreamsOutput = value; } /** *Identifies an Amazon Kinesis stream as the destination.
*/ inline void SetKinesisStreamsOutput(KinesisStreamsOutput&& value) { m_kinesisStreamsOutputHasBeenSet = true; m_kinesisStreamsOutput = std::move(value); } /** *Identifies an Amazon Kinesis stream as the destination.
*/ inline Output& WithKinesisStreamsOutput(const KinesisStreamsOutput& value) { SetKinesisStreamsOutput(value); return *this;} /** *Identifies an Amazon Kinesis stream as the destination.
*/ inline Output& WithKinesisStreamsOutput(KinesisStreamsOutput&& value) { SetKinesisStreamsOutput(std::move(value)); return *this;} /** *Identifies an Amazon Kinesis Firehose delivery stream as the destination.
*/ inline const KinesisFirehoseOutput& GetKinesisFirehoseOutput() const{ return m_kinesisFirehoseOutput; } /** *Identifies an Amazon Kinesis Firehose delivery stream as the destination.
*/ inline bool KinesisFirehoseOutputHasBeenSet() const { return m_kinesisFirehoseOutputHasBeenSet; } /** *Identifies an Amazon Kinesis Firehose delivery stream as the destination.
*/ inline void SetKinesisFirehoseOutput(const KinesisFirehoseOutput& value) { m_kinesisFirehoseOutputHasBeenSet = true; m_kinesisFirehoseOutput = value; } /** *Identifies an Amazon Kinesis Firehose delivery stream as the destination.
*/ inline void SetKinesisFirehoseOutput(KinesisFirehoseOutput&& value) { m_kinesisFirehoseOutputHasBeenSet = true; m_kinesisFirehoseOutput = std::move(value); } /** *Identifies an Amazon Kinesis Firehose delivery stream as the destination.
*/ inline Output& WithKinesisFirehoseOutput(const KinesisFirehoseOutput& value) { SetKinesisFirehoseOutput(value); return *this;} /** *Identifies an Amazon Kinesis Firehose delivery stream as the destination.
*/ inline Output& WithKinesisFirehoseOutput(KinesisFirehoseOutput&& value) { SetKinesisFirehoseOutput(std::move(value)); return *this;} /** *Identifies an AWS Lambda function as the destination.
*/ inline const LambdaOutput& GetLambdaOutput() const{ return m_lambdaOutput; } /** *Identifies an AWS Lambda function as the destination.
*/ inline bool LambdaOutputHasBeenSet() const { return m_lambdaOutputHasBeenSet; } /** *Identifies an AWS Lambda function as the destination.
*/ inline void SetLambdaOutput(const LambdaOutput& value) { m_lambdaOutputHasBeenSet = true; m_lambdaOutput = value; } /** *Identifies an AWS Lambda function as the destination.
*/ inline void SetLambdaOutput(LambdaOutput&& value) { m_lambdaOutputHasBeenSet = true; m_lambdaOutput = std::move(value); } /** *Identifies an AWS Lambda function as the destination.
*/ inline Output& WithLambdaOutput(const LambdaOutput& value) { SetLambdaOutput(value); return *this;} /** *Identifies an AWS 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. For * more information, see Configuring * Application Output.
*/ inline const DestinationSchema& GetDestinationSchema() const{ return m_destinationSchema; } /** *Describes the data format when records are written to the destination. For * more information, see Configuring * Application Output.
*/ inline bool DestinationSchemaHasBeenSet() const { return m_destinationSchemaHasBeenSet; } /** *Describes the data format when records are written to the destination. For * more information, see Configuring * Application Output.
*/ inline void SetDestinationSchema(const DestinationSchema& value) { m_destinationSchemaHasBeenSet = true; m_destinationSchema = value; } /** *Describes the data format when records are written to the destination. For * more information, see Configuring * Application Output.
*/ inline void SetDestinationSchema(DestinationSchema&& value) { m_destinationSchemaHasBeenSet = true; m_destinationSchema = std::move(value); } /** *Describes the data format when records are written to the destination. For * more information, see Configuring * Application Output.
*/ inline Output& WithDestinationSchema(const DestinationSchema& value) { SetDestinationSchema(value); return *this;} /** *Describes the data format when records are written to the destination. For * more information, see Configuring * Application Output.
*/ 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 KinesisAnalytics } // namespace Aws