/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace KinesisAnalyticsV2 { namespace Model { /** *

Describes the inputs, outputs, and reference data sources for a SQL-based * Kinesis Data Analytics application.

See Also:

AWS * API Reference

*/ class SqlApplicationConfiguration { public: AWS_KINESISANALYTICSV2_API SqlApplicationConfiguration(); AWS_KINESISANALYTICSV2_API SqlApplicationConfiguration(Aws::Utils::Json::JsonView jsonValue); AWS_KINESISANALYTICSV2_API SqlApplicationConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The array of Input objects describing the input streams used by the * application.

*/ inline const Aws::Vector& GetInputs() const{ return m_inputs; } /** *

The array of Input objects describing the input streams used by the * application.

*/ inline bool InputsHasBeenSet() const { return m_inputsHasBeenSet; } /** *

The array of Input objects describing the input streams used by the * application.

*/ inline void SetInputs(const Aws::Vector& value) { m_inputsHasBeenSet = true; m_inputs = value; } /** *

The array of Input objects describing the input streams used by the * application.

*/ inline void SetInputs(Aws::Vector&& value) { m_inputsHasBeenSet = true; m_inputs = std::move(value); } /** *

The array of Input objects describing the input streams used by the * application.

*/ inline SqlApplicationConfiguration& WithInputs(const Aws::Vector& value) { SetInputs(value); return *this;} /** *

The array of Input objects describing the input streams used by the * application.

*/ inline SqlApplicationConfiguration& WithInputs(Aws::Vector&& value) { SetInputs(std::move(value)); return *this;} /** *

The array of Input objects describing the input streams used by the * application.

*/ inline SqlApplicationConfiguration& AddInputs(const Input& value) { m_inputsHasBeenSet = true; m_inputs.push_back(value); return *this; } /** *

The array of Input objects describing the input streams used by the * application.

*/ inline SqlApplicationConfiguration& AddInputs(Input&& value) { m_inputsHasBeenSet = true; m_inputs.push_back(std::move(value)); return *this; } /** *

The array of Output objects describing the destination streams used by * the application.

*/ inline const Aws::Vector& GetOutputs() const{ return m_outputs; } /** *

The array of Output objects describing the destination streams used by * the application.

*/ inline bool OutputsHasBeenSet() const { return m_outputsHasBeenSet; } /** *

The array of Output objects describing the destination streams used by * the application.

*/ inline void SetOutputs(const Aws::Vector& value) { m_outputsHasBeenSet = true; m_outputs = value; } /** *

The array of Output objects describing the destination streams used by * the application.

*/ inline void SetOutputs(Aws::Vector&& value) { m_outputsHasBeenSet = true; m_outputs = std::move(value); } /** *

The array of Output objects describing the destination streams used by * the application.

*/ inline SqlApplicationConfiguration& WithOutputs(const Aws::Vector& value) { SetOutputs(value); return *this;} /** *

The array of Output objects describing the destination streams used by * the application.

*/ inline SqlApplicationConfiguration& WithOutputs(Aws::Vector&& value) { SetOutputs(std::move(value)); return *this;} /** *

The array of Output objects describing the destination streams used by * the application.

*/ inline SqlApplicationConfiguration& AddOutputs(const Output& value) { m_outputsHasBeenSet = true; m_outputs.push_back(value); return *this; } /** *

The array of Output objects describing the destination streams used by * the application.

*/ inline SqlApplicationConfiguration& AddOutputs(Output&& value) { m_outputsHasBeenSet = true; m_outputs.push_back(std::move(value)); return *this; } /** *

The array of ReferenceDataSource objects describing the reference data * sources used by the application.

*/ inline const Aws::Vector& GetReferenceDataSources() const{ return m_referenceDataSources; } /** *

The array of ReferenceDataSource objects describing the reference data * sources used by the application.

*/ inline bool ReferenceDataSourcesHasBeenSet() const { return m_referenceDataSourcesHasBeenSet; } /** *

The array of ReferenceDataSource objects describing the reference data * sources used by the application.

*/ inline void SetReferenceDataSources(const Aws::Vector& value) { m_referenceDataSourcesHasBeenSet = true; m_referenceDataSources = value; } /** *

The array of ReferenceDataSource objects describing the reference data * sources used by the application.

*/ inline void SetReferenceDataSources(Aws::Vector&& value) { m_referenceDataSourcesHasBeenSet = true; m_referenceDataSources = std::move(value); } /** *

The array of ReferenceDataSource objects describing the reference data * sources used by the application.

*/ inline SqlApplicationConfiguration& WithReferenceDataSources(const Aws::Vector& value) { SetReferenceDataSources(value); return *this;} /** *

The array of ReferenceDataSource objects describing the reference data * sources used by the application.

*/ inline SqlApplicationConfiguration& WithReferenceDataSources(Aws::Vector&& value) { SetReferenceDataSources(std::move(value)); return *this;} /** *

The array of ReferenceDataSource objects describing the reference data * sources used by the application.

*/ inline SqlApplicationConfiguration& AddReferenceDataSources(const ReferenceDataSource& value) { m_referenceDataSourcesHasBeenSet = true; m_referenceDataSources.push_back(value); return *this; } /** *

The array of ReferenceDataSource objects describing the reference data * sources used by the application.

*/ inline SqlApplicationConfiguration& AddReferenceDataSources(ReferenceDataSource&& value) { m_referenceDataSourcesHasBeenSet = true; m_referenceDataSources.push_back(std::move(value)); return *this; } private: Aws::Vector m_inputs; bool m_inputsHasBeenSet = false; Aws::Vector m_outputs; bool m_outputsHasBeenSet = false; Aws::Vector m_referenceDataSources; bool m_referenceDataSourcesHasBeenSet = false; }; } // namespace Model } // namespace KinesisAnalyticsV2 } // namespace Aws