/** * 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 updates to the input streams, destination streams, and reference * data sources for a SQL-based Kinesis Data Analytics application.

See * Also:

AWS * API Reference

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

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

*/ inline const Aws::Vector& GetInputUpdates() const{ return m_inputUpdates; } /** *

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

*/ inline bool InputUpdatesHasBeenSet() const { return m_inputUpdatesHasBeenSet; } /** *

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

*/ inline void SetInputUpdates(const Aws::Vector& value) { m_inputUpdatesHasBeenSet = true; m_inputUpdates = value; } /** *

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

*/ inline void SetInputUpdates(Aws::Vector&& value) { m_inputUpdatesHasBeenSet = true; m_inputUpdates = std::move(value); } /** *

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

*/ inline SqlApplicationConfigurationUpdate& WithInputUpdates(const Aws::Vector& value) { SetInputUpdates(value); return *this;} /** *

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

*/ inline SqlApplicationConfigurationUpdate& WithInputUpdates(Aws::Vector&& value) { SetInputUpdates(std::move(value)); return *this;} /** *

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

*/ inline SqlApplicationConfigurationUpdate& AddInputUpdates(const InputUpdate& value) { m_inputUpdatesHasBeenSet = true; m_inputUpdates.push_back(value); return *this; } /** *

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

*/ inline SqlApplicationConfigurationUpdate& AddInputUpdates(InputUpdate&& value) { m_inputUpdatesHasBeenSet = true; m_inputUpdates.push_back(std::move(value)); return *this; } /** *

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

*/ inline const Aws::Vector& GetOutputUpdates() const{ return m_outputUpdates; } /** *

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

*/ inline bool OutputUpdatesHasBeenSet() const { return m_outputUpdatesHasBeenSet; } /** *

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

*/ inline void SetOutputUpdates(const Aws::Vector& value) { m_outputUpdatesHasBeenSet = true; m_outputUpdates = value; } /** *

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

*/ inline void SetOutputUpdates(Aws::Vector&& value) { m_outputUpdatesHasBeenSet = true; m_outputUpdates = std::move(value); } /** *

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

*/ inline SqlApplicationConfigurationUpdate& WithOutputUpdates(const Aws::Vector& value) { SetOutputUpdates(value); return *this;} /** *

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

*/ inline SqlApplicationConfigurationUpdate& WithOutputUpdates(Aws::Vector&& value) { SetOutputUpdates(std::move(value)); return *this;} /** *

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

*/ inline SqlApplicationConfigurationUpdate& AddOutputUpdates(const OutputUpdate& value) { m_outputUpdatesHasBeenSet = true; m_outputUpdates.push_back(value); return *this; } /** *

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

*/ inline SqlApplicationConfigurationUpdate& AddOutputUpdates(OutputUpdate&& value) { m_outputUpdatesHasBeenSet = true; m_outputUpdates.push_back(std::move(value)); return *this; } /** *

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

*/ inline const Aws::Vector& GetReferenceDataSourceUpdates() const{ return m_referenceDataSourceUpdates; } /** *

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

*/ inline bool ReferenceDataSourceUpdatesHasBeenSet() const { return m_referenceDataSourceUpdatesHasBeenSet; } /** *

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

*/ inline void SetReferenceDataSourceUpdates(const Aws::Vector& value) { m_referenceDataSourceUpdatesHasBeenSet = true; m_referenceDataSourceUpdates = value; } /** *

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

*/ inline void SetReferenceDataSourceUpdates(Aws::Vector&& value) { m_referenceDataSourceUpdatesHasBeenSet = true; m_referenceDataSourceUpdates = std::move(value); } /** *

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

*/ inline SqlApplicationConfigurationUpdate& WithReferenceDataSourceUpdates(const Aws::Vector& value) { SetReferenceDataSourceUpdates(value); return *this;} /** *

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

*/ inline SqlApplicationConfigurationUpdate& WithReferenceDataSourceUpdates(Aws::Vector&& value) { SetReferenceDataSourceUpdates(std::move(value)); return *this;} /** *

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

*/ inline SqlApplicationConfigurationUpdate& AddReferenceDataSourceUpdates(const ReferenceDataSourceUpdate& value) { m_referenceDataSourceUpdatesHasBeenSet = true; m_referenceDataSourceUpdates.push_back(value); return *this; } /** *

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

*/ inline SqlApplicationConfigurationUpdate& AddReferenceDataSourceUpdates(ReferenceDataSourceUpdate&& value) { m_referenceDataSourceUpdatesHasBeenSet = true; m_referenceDataSourceUpdates.push_back(std::move(value)); return *this; } private: Aws::Vector m_inputUpdates; bool m_inputUpdatesHasBeenSet = false; Aws::Vector m_outputUpdates; bool m_outputUpdatesHasBeenSet = false; Aws::Vector m_referenceDataSourceUpdates; bool m_referenceDataSourceUpdatesHasBeenSet = false; }; } // namespace Model } // namespace KinesisAnalyticsV2 } // namespace Aws