/** * 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 SqlApplicationConfigurationDescription { public: AWS_KINESISANALYTICSV2_API SqlApplicationConfigurationDescription(); AWS_KINESISANALYTICSV2_API SqlApplicationConfigurationDescription(Aws::Utils::Json::JsonView jsonValue); AWS_KINESISANALYTICSV2_API SqlApplicationConfigurationDescription& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

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

*/ inline const Aws::Vector& GetInputDescriptions() const{ return m_inputDescriptions; } /** *

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

*/ inline bool InputDescriptionsHasBeenSet() const { return m_inputDescriptionsHasBeenSet; } /** *

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

*/ inline void SetInputDescriptions(const Aws::Vector& value) { m_inputDescriptionsHasBeenSet = true; m_inputDescriptions = value; } /** *

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

*/ inline void SetInputDescriptions(Aws::Vector&& value) { m_inputDescriptionsHasBeenSet = true; m_inputDescriptions = std::move(value); } /** *

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

*/ inline SqlApplicationConfigurationDescription& WithInputDescriptions(const Aws::Vector& value) { SetInputDescriptions(value); return *this;} /** *

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

*/ inline SqlApplicationConfigurationDescription& WithInputDescriptions(Aws::Vector&& value) { SetInputDescriptions(std::move(value)); return *this;} /** *

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

*/ inline SqlApplicationConfigurationDescription& AddInputDescriptions(const InputDescription& value) { m_inputDescriptionsHasBeenSet = true; m_inputDescriptions.push_back(value); return *this; } /** *

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

*/ inline SqlApplicationConfigurationDescription& AddInputDescriptions(InputDescription&& value) { m_inputDescriptionsHasBeenSet = true; m_inputDescriptions.push_back(std::move(value)); return *this; } /** *

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

*/ inline const Aws::Vector& GetOutputDescriptions() const{ return m_outputDescriptions; } /** *

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

*/ inline bool OutputDescriptionsHasBeenSet() const { return m_outputDescriptionsHasBeenSet; } /** *

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

*/ inline void SetOutputDescriptions(const Aws::Vector& value) { m_outputDescriptionsHasBeenSet = true; m_outputDescriptions = value; } /** *

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

*/ inline void SetOutputDescriptions(Aws::Vector&& value) { m_outputDescriptionsHasBeenSet = true; m_outputDescriptions = std::move(value); } /** *

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

*/ inline SqlApplicationConfigurationDescription& WithOutputDescriptions(const Aws::Vector& value) { SetOutputDescriptions(value); return *this;} /** *

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

*/ inline SqlApplicationConfigurationDescription& WithOutputDescriptions(Aws::Vector&& value) { SetOutputDescriptions(std::move(value)); return *this;} /** *

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

*/ inline SqlApplicationConfigurationDescription& AddOutputDescriptions(const OutputDescription& value) { m_outputDescriptionsHasBeenSet = true; m_outputDescriptions.push_back(value); return *this; } /** *

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

*/ inline SqlApplicationConfigurationDescription& AddOutputDescriptions(OutputDescription&& value) { m_outputDescriptionsHasBeenSet = true; m_outputDescriptions.push_back(std::move(value)); return *this; } /** *

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

*/ inline const Aws::Vector& GetReferenceDataSourceDescriptions() const{ return m_referenceDataSourceDescriptions; } /** *

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

*/ inline bool ReferenceDataSourceDescriptionsHasBeenSet() const { return m_referenceDataSourceDescriptionsHasBeenSet; } /** *

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

*/ inline void SetReferenceDataSourceDescriptions(const Aws::Vector& value) { m_referenceDataSourceDescriptionsHasBeenSet = true; m_referenceDataSourceDescriptions = value; } /** *

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

*/ inline void SetReferenceDataSourceDescriptions(Aws::Vector&& value) { m_referenceDataSourceDescriptionsHasBeenSet = true; m_referenceDataSourceDescriptions = std::move(value); } /** *

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

*/ inline SqlApplicationConfigurationDescription& WithReferenceDataSourceDescriptions(const Aws::Vector& value) { SetReferenceDataSourceDescriptions(value); return *this;} /** *

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

*/ inline SqlApplicationConfigurationDescription& WithReferenceDataSourceDescriptions(Aws::Vector&& value) { SetReferenceDataSourceDescriptions(std::move(value)); return *this;} /** *

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

*/ inline SqlApplicationConfigurationDescription& AddReferenceDataSourceDescriptions(const ReferenceDataSourceDescription& value) { m_referenceDataSourceDescriptionsHasBeenSet = true; m_referenceDataSourceDescriptions.push_back(value); return *this; } /** *

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

*/ inline SqlApplicationConfigurationDescription& AddReferenceDataSourceDescriptions(ReferenceDataSourceDescription&& value) { m_referenceDataSourceDescriptionsHasBeenSet = true; m_referenceDataSourceDescriptions.push_back(std::move(value)); return *this; } private: Aws::Vector m_inputDescriptions; bool m_inputDescriptionsHasBeenSet = false; Aws::Vector m_outputDescriptions; bool m_outputDescriptionsHasBeenSet = false; Aws::Vector m_referenceDataSourceDescriptions; bool m_referenceDataSourceDescriptionsHasBeenSet = false; }; } // namespace Model } // namespace KinesisAnalyticsV2 } // namespace Aws