/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #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 an application's configuration.

See Also:

* AWS * API Reference

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

Describes updates to a SQL-based Kinesis Data Analytics application's * configuration.

*/ inline const SqlApplicationConfigurationUpdate& GetSqlApplicationConfigurationUpdate() const{ return m_sqlApplicationConfigurationUpdate; } /** *

Describes updates to a SQL-based Kinesis Data Analytics application's * configuration.

*/ inline bool SqlApplicationConfigurationUpdateHasBeenSet() const { return m_sqlApplicationConfigurationUpdateHasBeenSet; } /** *

Describes updates to a SQL-based Kinesis Data Analytics application's * configuration.

*/ inline void SetSqlApplicationConfigurationUpdate(const SqlApplicationConfigurationUpdate& value) { m_sqlApplicationConfigurationUpdateHasBeenSet = true; m_sqlApplicationConfigurationUpdate = value; } /** *

Describes updates to a SQL-based Kinesis Data Analytics application's * configuration.

*/ inline void SetSqlApplicationConfigurationUpdate(SqlApplicationConfigurationUpdate&& value) { m_sqlApplicationConfigurationUpdateHasBeenSet = true; m_sqlApplicationConfigurationUpdate = std::move(value); } /** *

Describes updates to a SQL-based Kinesis Data Analytics application's * configuration.

*/ inline ApplicationConfigurationUpdate& WithSqlApplicationConfigurationUpdate(const SqlApplicationConfigurationUpdate& value) { SetSqlApplicationConfigurationUpdate(value); return *this;} /** *

Describes updates to a SQL-based Kinesis Data Analytics application's * configuration.

*/ inline ApplicationConfigurationUpdate& WithSqlApplicationConfigurationUpdate(SqlApplicationConfigurationUpdate&& value) { SetSqlApplicationConfigurationUpdate(std::move(value)); return *this;} /** *

Describes updates to an application's code configuration.

*/ inline const ApplicationCodeConfigurationUpdate& GetApplicationCodeConfigurationUpdate() const{ return m_applicationCodeConfigurationUpdate; } /** *

Describes updates to an application's code configuration.

*/ inline bool ApplicationCodeConfigurationUpdateHasBeenSet() const { return m_applicationCodeConfigurationUpdateHasBeenSet; } /** *

Describes updates to an application's code configuration.

*/ inline void SetApplicationCodeConfigurationUpdate(const ApplicationCodeConfigurationUpdate& value) { m_applicationCodeConfigurationUpdateHasBeenSet = true; m_applicationCodeConfigurationUpdate = value; } /** *

Describes updates to an application's code configuration.

*/ inline void SetApplicationCodeConfigurationUpdate(ApplicationCodeConfigurationUpdate&& value) { m_applicationCodeConfigurationUpdateHasBeenSet = true; m_applicationCodeConfigurationUpdate = std::move(value); } /** *

Describes updates to an application's code configuration.

*/ inline ApplicationConfigurationUpdate& WithApplicationCodeConfigurationUpdate(const ApplicationCodeConfigurationUpdate& value) { SetApplicationCodeConfigurationUpdate(value); return *this;} /** *

Describes updates to an application's code configuration.

*/ inline ApplicationConfigurationUpdate& WithApplicationCodeConfigurationUpdate(ApplicationCodeConfigurationUpdate&& value) { SetApplicationCodeConfigurationUpdate(std::move(value)); return *this;} /** *

Describes updates to a Flink-based Kinesis Data Analytics application's * configuration.

*/ inline const FlinkApplicationConfigurationUpdate& GetFlinkApplicationConfigurationUpdate() const{ return m_flinkApplicationConfigurationUpdate; } /** *

Describes updates to a Flink-based Kinesis Data Analytics application's * configuration.

*/ inline bool FlinkApplicationConfigurationUpdateHasBeenSet() const { return m_flinkApplicationConfigurationUpdateHasBeenSet; } /** *

Describes updates to a Flink-based Kinesis Data Analytics application's * configuration.

*/ inline void SetFlinkApplicationConfigurationUpdate(const FlinkApplicationConfigurationUpdate& value) { m_flinkApplicationConfigurationUpdateHasBeenSet = true; m_flinkApplicationConfigurationUpdate = value; } /** *

Describes updates to a Flink-based Kinesis Data Analytics application's * configuration.

*/ inline void SetFlinkApplicationConfigurationUpdate(FlinkApplicationConfigurationUpdate&& value) { m_flinkApplicationConfigurationUpdateHasBeenSet = true; m_flinkApplicationConfigurationUpdate = std::move(value); } /** *

Describes updates to a Flink-based Kinesis Data Analytics application's * configuration.

*/ inline ApplicationConfigurationUpdate& WithFlinkApplicationConfigurationUpdate(const FlinkApplicationConfigurationUpdate& value) { SetFlinkApplicationConfigurationUpdate(value); return *this;} /** *

Describes updates to a Flink-based Kinesis Data Analytics application's * configuration.

*/ inline ApplicationConfigurationUpdate& WithFlinkApplicationConfigurationUpdate(FlinkApplicationConfigurationUpdate&& value) { SetFlinkApplicationConfigurationUpdate(std::move(value)); return *this;} /** *

Describes updates to the environment properties for a Flink-based Kinesis * Data Analytics application.

*/ inline const EnvironmentPropertyUpdates& GetEnvironmentPropertyUpdates() const{ return m_environmentPropertyUpdates; } /** *

Describes updates to the environment properties for a Flink-based Kinesis * Data Analytics application.

*/ inline bool EnvironmentPropertyUpdatesHasBeenSet() const { return m_environmentPropertyUpdatesHasBeenSet; } /** *

Describes updates to the environment properties for a Flink-based Kinesis * Data Analytics application.

*/ inline void SetEnvironmentPropertyUpdates(const EnvironmentPropertyUpdates& value) { m_environmentPropertyUpdatesHasBeenSet = true; m_environmentPropertyUpdates = value; } /** *

Describes updates to the environment properties for a Flink-based Kinesis * Data Analytics application.

*/ inline void SetEnvironmentPropertyUpdates(EnvironmentPropertyUpdates&& value) { m_environmentPropertyUpdatesHasBeenSet = true; m_environmentPropertyUpdates = std::move(value); } /** *

Describes updates to the environment properties for a Flink-based Kinesis * Data Analytics application.

*/ inline ApplicationConfigurationUpdate& WithEnvironmentPropertyUpdates(const EnvironmentPropertyUpdates& value) { SetEnvironmentPropertyUpdates(value); return *this;} /** *

Describes updates to the environment properties for a Flink-based Kinesis * Data Analytics application.

*/ inline ApplicationConfigurationUpdate& WithEnvironmentPropertyUpdates(EnvironmentPropertyUpdates&& value) { SetEnvironmentPropertyUpdates(std::move(value)); return *this;} /** *

Describes whether snapshots are enabled for a Flink-based Kinesis Data * Analytics application.

*/ inline const ApplicationSnapshotConfigurationUpdate& GetApplicationSnapshotConfigurationUpdate() const{ return m_applicationSnapshotConfigurationUpdate; } /** *

Describes whether snapshots are enabled for a Flink-based Kinesis Data * Analytics application.

*/ inline bool ApplicationSnapshotConfigurationUpdateHasBeenSet() const { return m_applicationSnapshotConfigurationUpdateHasBeenSet; } /** *

Describes whether snapshots are enabled for a Flink-based Kinesis Data * Analytics application.

*/ inline void SetApplicationSnapshotConfigurationUpdate(const ApplicationSnapshotConfigurationUpdate& value) { m_applicationSnapshotConfigurationUpdateHasBeenSet = true; m_applicationSnapshotConfigurationUpdate = value; } /** *

Describes whether snapshots are enabled for a Flink-based Kinesis Data * Analytics application.

*/ inline void SetApplicationSnapshotConfigurationUpdate(ApplicationSnapshotConfigurationUpdate&& value) { m_applicationSnapshotConfigurationUpdateHasBeenSet = true; m_applicationSnapshotConfigurationUpdate = std::move(value); } /** *

Describes whether snapshots are enabled for a Flink-based Kinesis Data * Analytics application.

*/ inline ApplicationConfigurationUpdate& WithApplicationSnapshotConfigurationUpdate(const ApplicationSnapshotConfigurationUpdate& value) { SetApplicationSnapshotConfigurationUpdate(value); return *this;} /** *

Describes whether snapshots are enabled for a Flink-based Kinesis Data * Analytics application.

*/ inline ApplicationConfigurationUpdate& WithApplicationSnapshotConfigurationUpdate(ApplicationSnapshotConfigurationUpdate&& value) { SetApplicationSnapshotConfigurationUpdate(std::move(value)); return *this;} /** *

Updates to the array of descriptions of VPC configurations available to the * application.

*/ inline const Aws::Vector& GetVpcConfigurationUpdates() const{ return m_vpcConfigurationUpdates; } /** *

Updates to the array of descriptions of VPC configurations available to the * application.

*/ inline bool VpcConfigurationUpdatesHasBeenSet() const { return m_vpcConfigurationUpdatesHasBeenSet; } /** *

Updates to the array of descriptions of VPC configurations available to the * application.

*/ inline void SetVpcConfigurationUpdates(const Aws::Vector& value) { m_vpcConfigurationUpdatesHasBeenSet = true; m_vpcConfigurationUpdates = value; } /** *

Updates to the array of descriptions of VPC configurations available to the * application.

*/ inline void SetVpcConfigurationUpdates(Aws::Vector&& value) { m_vpcConfigurationUpdatesHasBeenSet = true; m_vpcConfigurationUpdates = std::move(value); } /** *

Updates to the array of descriptions of VPC configurations available to the * application.

*/ inline ApplicationConfigurationUpdate& WithVpcConfigurationUpdates(const Aws::Vector& value) { SetVpcConfigurationUpdates(value); return *this;} /** *

Updates to the array of descriptions of VPC configurations available to the * application.

*/ inline ApplicationConfigurationUpdate& WithVpcConfigurationUpdates(Aws::Vector&& value) { SetVpcConfigurationUpdates(std::move(value)); return *this;} /** *

Updates to the array of descriptions of VPC configurations available to the * application.

*/ inline ApplicationConfigurationUpdate& AddVpcConfigurationUpdates(const VpcConfigurationUpdate& value) { m_vpcConfigurationUpdatesHasBeenSet = true; m_vpcConfigurationUpdates.push_back(value); return *this; } /** *

Updates to the array of descriptions of VPC configurations available to the * application.

*/ inline ApplicationConfigurationUpdate& AddVpcConfigurationUpdates(VpcConfigurationUpdate&& value) { m_vpcConfigurationUpdatesHasBeenSet = true; m_vpcConfigurationUpdates.push_back(std::move(value)); return *this; } /** *

Updates to the configuration of a Kinesis Data Analytics Studio notebook.

*/ inline const ZeppelinApplicationConfigurationUpdate& GetZeppelinApplicationConfigurationUpdate() const{ return m_zeppelinApplicationConfigurationUpdate; } /** *

Updates to the configuration of a Kinesis Data Analytics Studio notebook.

*/ inline bool ZeppelinApplicationConfigurationUpdateHasBeenSet() const { return m_zeppelinApplicationConfigurationUpdateHasBeenSet; } /** *

Updates to the configuration of a Kinesis Data Analytics Studio notebook.

*/ inline void SetZeppelinApplicationConfigurationUpdate(const ZeppelinApplicationConfigurationUpdate& value) { m_zeppelinApplicationConfigurationUpdateHasBeenSet = true; m_zeppelinApplicationConfigurationUpdate = value; } /** *

Updates to the configuration of a Kinesis Data Analytics Studio notebook.

*/ inline void SetZeppelinApplicationConfigurationUpdate(ZeppelinApplicationConfigurationUpdate&& value) { m_zeppelinApplicationConfigurationUpdateHasBeenSet = true; m_zeppelinApplicationConfigurationUpdate = std::move(value); } /** *

Updates to the configuration of a Kinesis Data Analytics Studio notebook.

*/ inline ApplicationConfigurationUpdate& WithZeppelinApplicationConfigurationUpdate(const ZeppelinApplicationConfigurationUpdate& value) { SetZeppelinApplicationConfigurationUpdate(value); return *this;} /** *

Updates to the configuration of a Kinesis Data Analytics Studio notebook.

*/ inline ApplicationConfigurationUpdate& WithZeppelinApplicationConfigurationUpdate(ZeppelinApplicationConfigurationUpdate&& value) { SetZeppelinApplicationConfigurationUpdate(std::move(value)); return *this;} private: SqlApplicationConfigurationUpdate m_sqlApplicationConfigurationUpdate; bool m_sqlApplicationConfigurationUpdateHasBeenSet = false; ApplicationCodeConfigurationUpdate m_applicationCodeConfigurationUpdate; bool m_applicationCodeConfigurationUpdateHasBeenSet = false; FlinkApplicationConfigurationUpdate m_flinkApplicationConfigurationUpdate; bool m_flinkApplicationConfigurationUpdateHasBeenSet = false; EnvironmentPropertyUpdates m_environmentPropertyUpdates; bool m_environmentPropertyUpdatesHasBeenSet = false; ApplicationSnapshotConfigurationUpdate m_applicationSnapshotConfigurationUpdate; bool m_applicationSnapshotConfigurationUpdateHasBeenSet = false; Aws::Vector m_vpcConfigurationUpdates; bool m_vpcConfigurationUpdatesHasBeenSet = false; ZeppelinApplicationConfigurationUpdate m_zeppelinApplicationConfigurationUpdate; bool m_zeppelinApplicationConfigurationUpdateHasBeenSet = false; }; } // namespace Model } // namespace KinesisAnalyticsV2 } // namespace Aws