101 lines
3.8 KiB
C++
101 lines
3.8 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/kinesisanalytics/KinesisAnalytics_EXPORTS.h>
|
|
#include <aws/kinesisanalytics/model/InputLambdaProcessor.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
class JsonView;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace KinesisAnalytics
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
* <p>Provides a description of a processor that is used to preprocess the records
|
|
* in the stream before being processed by your application code. Currently, the
|
|
* only input processor available is <a
|
|
* href="https://docs.aws.amazon.com/lambda/">AWS Lambda</a>.</p><p><h3>See
|
|
* Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/kinesisanalytics-2015-08-14/InputProcessingConfiguration">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_KINESISANALYTICS_API InputProcessingConfiguration
|
|
{
|
|
public:
|
|
InputProcessingConfiguration();
|
|
InputProcessingConfiguration(Aws::Utils::Json::JsonView jsonValue);
|
|
InputProcessingConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|
|
|
|
|
/**
|
|
* <p>The <a
|
|
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_InputLambdaProcessor.html">InputLambdaProcessor</a>
|
|
* that is used to preprocess the records in the stream before being processed by
|
|
* your application code.</p>
|
|
*/
|
|
inline const InputLambdaProcessor& GetInputLambdaProcessor() const{ return m_inputLambdaProcessor; }
|
|
|
|
/**
|
|
* <p>The <a
|
|
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_InputLambdaProcessor.html">InputLambdaProcessor</a>
|
|
* that is used to preprocess the records in the stream before being processed by
|
|
* your application code.</p>
|
|
*/
|
|
inline bool InputLambdaProcessorHasBeenSet() const { return m_inputLambdaProcessorHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The <a
|
|
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_InputLambdaProcessor.html">InputLambdaProcessor</a>
|
|
* that is used to preprocess the records in the stream before being processed by
|
|
* your application code.</p>
|
|
*/
|
|
inline void SetInputLambdaProcessor(const InputLambdaProcessor& value) { m_inputLambdaProcessorHasBeenSet = true; m_inputLambdaProcessor = value; }
|
|
|
|
/**
|
|
* <p>The <a
|
|
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_InputLambdaProcessor.html">InputLambdaProcessor</a>
|
|
* that is used to preprocess the records in the stream before being processed by
|
|
* your application code.</p>
|
|
*/
|
|
inline void SetInputLambdaProcessor(InputLambdaProcessor&& value) { m_inputLambdaProcessorHasBeenSet = true; m_inputLambdaProcessor = std::move(value); }
|
|
|
|
/**
|
|
* <p>The <a
|
|
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_InputLambdaProcessor.html">InputLambdaProcessor</a>
|
|
* that is used to preprocess the records in the stream before being processed by
|
|
* your application code.</p>
|
|
*/
|
|
inline InputProcessingConfiguration& WithInputLambdaProcessor(const InputLambdaProcessor& value) { SetInputLambdaProcessor(value); return *this;}
|
|
|
|
/**
|
|
* <p>The <a
|
|
* href="https://docs.aws.amazon.com/kinesisanalytics/latest/dev/API_InputLambdaProcessor.html">InputLambdaProcessor</a>
|
|
* that is used to preprocess the records in the stream before being processed by
|
|
* your application code.</p>
|
|
*/
|
|
inline InputProcessingConfiguration& WithInputLambdaProcessor(InputLambdaProcessor&& value) { SetInputLambdaProcessor(std::move(value)); return *this;}
|
|
|
|
private:
|
|
|
|
InputLambdaProcessor m_inputLambdaProcessor;
|
|
bool m_inputLambdaProcessorHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace KinesisAnalytics
|
|
} // namespace Aws
|