/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include When you configure the application input, you specify the streaming source,
* the in-application stream name that is created, and the mapping between the two.
* For more information, see Configuring
* Application Input. See Also:
AWS
* API Reference
Name prefix to use when creating an in-application stream. Suppose that you
* specify a prefix "MyInApplicationStream." Amazon Kinesis Analytics then creates
* one or more (as per the InputParallelism
count you specified)
* in-application streams with names "MyInApplicationStream_001,"
* "MyInApplicationStream_002," and so on.
Name prefix to use when creating an in-application stream. Suppose that you
* specify a prefix "MyInApplicationStream." Amazon Kinesis Analytics then creates
* one or more (as per the InputParallelism
count you specified)
* in-application streams with names "MyInApplicationStream_001,"
* "MyInApplicationStream_002," and so on.
Name prefix to use when creating an in-application stream. Suppose that you
* specify a prefix "MyInApplicationStream." Amazon Kinesis Analytics then creates
* one or more (as per the InputParallelism
count you specified)
* in-application streams with names "MyInApplicationStream_001,"
* "MyInApplicationStream_002," and so on.
Name prefix to use when creating an in-application stream. Suppose that you
* specify a prefix "MyInApplicationStream." Amazon Kinesis Analytics then creates
* one or more (as per the InputParallelism
count you specified)
* in-application streams with names "MyInApplicationStream_001,"
* "MyInApplicationStream_002," and so on.
Name prefix to use when creating an in-application stream. Suppose that you
* specify a prefix "MyInApplicationStream." Amazon Kinesis Analytics then creates
* one or more (as per the InputParallelism
count you specified)
* in-application streams with names "MyInApplicationStream_001,"
* "MyInApplicationStream_002," and so on.
Name prefix to use when creating an in-application stream. Suppose that you
* specify a prefix "MyInApplicationStream." Amazon Kinesis Analytics then creates
* one or more (as per the InputParallelism
count you specified)
* in-application streams with names "MyInApplicationStream_001,"
* "MyInApplicationStream_002," and so on.
Name prefix to use when creating an in-application stream. Suppose that you
* specify a prefix "MyInApplicationStream." Amazon Kinesis Analytics then creates
* one or more (as per the InputParallelism
count you specified)
* in-application streams with names "MyInApplicationStream_001,"
* "MyInApplicationStream_002," and so on.
Name prefix to use when creating an in-application stream. Suppose that you
* specify a prefix "MyInApplicationStream." Amazon Kinesis Analytics then creates
* one or more (as per the InputParallelism
count you specified)
* in-application streams with names "MyInApplicationStream_001,"
* "MyInApplicationStream_002," and so on.
The InputProcessingConfiguration * for the input. An input processor transforms records as they are received from * the stream, before the application's SQL code executes. Currently, the only * input processing configuration available is InputLambdaProcessor.
*/ inline const InputProcessingConfiguration& GetInputProcessingConfiguration() const{ return m_inputProcessingConfiguration; } /** *The InputProcessingConfiguration * for the input. An input processor transforms records as they are received from * the stream, before the application's SQL code executes. Currently, the only * input processing configuration available is InputLambdaProcessor.
*/ inline bool InputProcessingConfigurationHasBeenSet() const { return m_inputProcessingConfigurationHasBeenSet; } /** *The InputProcessingConfiguration * for the input. An input processor transforms records as they are received from * the stream, before the application's SQL code executes. Currently, the only * input processing configuration available is InputLambdaProcessor.
*/ inline void SetInputProcessingConfiguration(const InputProcessingConfiguration& value) { m_inputProcessingConfigurationHasBeenSet = true; m_inputProcessingConfiguration = value; } /** *The InputProcessingConfiguration * for the input. An input processor transforms records as they are received from * the stream, before the application's SQL code executes. Currently, the only * input processing configuration available is InputLambdaProcessor.
*/ inline void SetInputProcessingConfiguration(InputProcessingConfiguration&& value) { m_inputProcessingConfigurationHasBeenSet = true; m_inputProcessingConfiguration = std::move(value); } /** *The InputProcessingConfiguration * for the input. An input processor transforms records as they are received from * the stream, before the application's SQL code executes. Currently, the only * input processing configuration available is InputLambdaProcessor.
*/ inline Input& WithInputProcessingConfiguration(const InputProcessingConfiguration& value) { SetInputProcessingConfiguration(value); return *this;} /** *The InputProcessingConfiguration * for the input. An input processor transforms records as they are received from * the stream, before the application's SQL code executes. Currently, the only * input processing configuration available is InputLambdaProcessor.
*/ inline Input& WithInputProcessingConfiguration(InputProcessingConfiguration&& value) { SetInputProcessingConfiguration(std::move(value)); return *this;} /** *If the streaming source is an Amazon Kinesis stream, identifies the stream's * Amazon Resource Name (ARN) and an IAM role that enables Amazon Kinesis Analytics * to access the stream on your behalf.
Note: Either
* KinesisStreamsInput
or KinesisFirehoseInput
is
* required.
If the streaming source is an Amazon Kinesis stream, identifies the stream's * Amazon Resource Name (ARN) and an IAM role that enables Amazon Kinesis Analytics * to access the stream on your behalf.
Note: Either
* KinesisStreamsInput
or KinesisFirehoseInput
is
* required.
If the streaming source is an Amazon Kinesis stream, identifies the stream's * Amazon Resource Name (ARN) and an IAM role that enables Amazon Kinesis Analytics * to access the stream on your behalf.
Note: Either
* KinesisStreamsInput
or KinesisFirehoseInput
is
* required.
If the streaming source is an Amazon Kinesis stream, identifies the stream's * Amazon Resource Name (ARN) and an IAM role that enables Amazon Kinesis Analytics * to access the stream on your behalf.
Note: Either
* KinesisStreamsInput
or KinesisFirehoseInput
is
* required.
If the streaming source is an Amazon Kinesis stream, identifies the stream's * Amazon Resource Name (ARN) and an IAM role that enables Amazon Kinesis Analytics * to access the stream on your behalf.
Note: Either
* KinesisStreamsInput
or KinesisFirehoseInput
is
* required.
If the streaming source is an Amazon Kinesis stream, identifies the stream's * Amazon Resource Name (ARN) and an IAM role that enables Amazon Kinesis Analytics * to access the stream on your behalf.
Note: Either
* KinesisStreamsInput
or KinesisFirehoseInput
is
* required.
If the streaming source is an Amazon Kinesis Firehose delivery stream, * identifies the delivery stream's ARN and an IAM role that enables Amazon Kinesis * Analytics to access the stream on your behalf.
Note: Either
* KinesisStreamsInput
or KinesisFirehoseInput
is
* required.
If the streaming source is an Amazon Kinesis Firehose delivery stream, * identifies the delivery stream's ARN and an IAM role that enables Amazon Kinesis * Analytics to access the stream on your behalf.
Note: Either
* KinesisStreamsInput
or KinesisFirehoseInput
is
* required.
If the streaming source is an Amazon Kinesis Firehose delivery stream, * identifies the delivery stream's ARN and an IAM role that enables Amazon Kinesis * Analytics to access the stream on your behalf.
Note: Either
* KinesisStreamsInput
or KinesisFirehoseInput
is
* required.
If the streaming source is an Amazon Kinesis Firehose delivery stream, * identifies the delivery stream's ARN and an IAM role that enables Amazon Kinesis * Analytics to access the stream on your behalf.
Note: Either
* KinesisStreamsInput
or KinesisFirehoseInput
is
* required.
If the streaming source is an Amazon Kinesis Firehose delivery stream, * identifies the delivery stream's ARN and an IAM role that enables Amazon Kinesis * Analytics to access the stream on your behalf.
Note: Either
* KinesisStreamsInput
or KinesisFirehoseInput
is
* required.
If the streaming source is an Amazon Kinesis Firehose delivery stream, * identifies the delivery stream's ARN and an IAM role that enables Amazon Kinesis * Analytics to access the stream on your behalf.
Note: Either
* KinesisStreamsInput
or KinesisFirehoseInput
is
* required.
Describes the number of in-application streams to create.
Data from * your source is routed to these in-application input streams.
(see Configuring * Application Input.
*/ inline const InputParallelism& GetInputParallelism() const{ return m_inputParallelism; } /** *Describes the number of in-application streams to create.
Data from * your source is routed to these in-application input streams.
(see Configuring * Application Input.
*/ inline bool InputParallelismHasBeenSet() const { return m_inputParallelismHasBeenSet; } /** *Describes the number of in-application streams to create.
Data from * your source is routed to these in-application input streams.
(see Configuring * Application Input.
*/ inline void SetInputParallelism(const InputParallelism& value) { m_inputParallelismHasBeenSet = true; m_inputParallelism = value; } /** *Describes the number of in-application streams to create.
Data from * your source is routed to these in-application input streams.
(see Configuring * Application Input.
*/ inline void SetInputParallelism(InputParallelism&& value) { m_inputParallelismHasBeenSet = true; m_inputParallelism = std::move(value); } /** *Describes the number of in-application streams to create.
Data from * your source is routed to these in-application input streams.
(see Configuring * Application Input.
*/ inline Input& WithInputParallelism(const InputParallelism& value) { SetInputParallelism(value); return *this;} /** *Describes the number of in-application streams to create.
Data from * your source is routed to these in-application input streams.
(see Configuring * Application Input.
*/ inline Input& WithInputParallelism(InputParallelism&& value) { SetInputParallelism(std::move(value)); return *this;} /** *Describes the format of the data in the streaming source, and how each data * element maps to corresponding columns in the in-application stream that is being * created.
Also used to describe the format of the reference data * source.
*/ inline const SourceSchema& GetInputSchema() const{ return m_inputSchema; } /** *Describes the format of the data in the streaming source, and how each data * element maps to corresponding columns in the in-application stream that is being * created.
Also used to describe the format of the reference data * source.
*/ inline bool InputSchemaHasBeenSet() const { return m_inputSchemaHasBeenSet; } /** *Describes the format of the data in the streaming source, and how each data * element maps to corresponding columns in the in-application stream that is being * created.
Also used to describe the format of the reference data * source.
*/ inline void SetInputSchema(const SourceSchema& value) { m_inputSchemaHasBeenSet = true; m_inputSchema = value; } /** *Describes the format of the data in the streaming source, and how each data * element maps to corresponding columns in the in-application stream that is being * created.
Also used to describe the format of the reference data * source.
*/ inline void SetInputSchema(SourceSchema&& value) { m_inputSchemaHasBeenSet = true; m_inputSchema = std::move(value); } /** *Describes the format of the data in the streaming source, and how each data * element maps to corresponding columns in the in-application stream that is being * created.
Also used to describe the format of the reference data * source.
*/ inline Input& WithInputSchema(const SourceSchema& value) { SetInputSchema(value); return *this;} /** *Describes the format of the data in the streaming source, and how each data * element maps to corresponding columns in the in-application stream that is being * created.
Also used to describe the format of the reference data * source.
*/ inline Input& WithInputSchema(SourceSchema&& value) { SetInputSchema(std::move(value)); return *this;} private: Aws::String m_namePrefix; bool m_namePrefixHasBeenSet = false; InputProcessingConfiguration m_inputProcessingConfiguration; bool m_inputProcessingConfigurationHasBeenSet = false; KinesisStreamsInput m_kinesisStreamsInput; bool m_kinesisStreamsInputHasBeenSet = false; KinesisFirehoseInput m_kinesisFirehoseInput; bool m_kinesisFirehoseInputHasBeenSet = false; InputParallelism m_inputParallelism; bool m_inputParallelismHasBeenSet = false; SourceSchema m_inputSchema; bool m_inputSchemaHasBeenSet = false; }; } // namespace Model } // namespace KinesisAnalytics } // namespace Aws