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

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

See Also:

AWS * API Reference

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

Describes updates to whether snapshots are enabled for an application.

*/ inline bool GetSnapshotsEnabledUpdate() const{ return m_snapshotsEnabledUpdate; } /** *

Describes updates to whether snapshots are enabled for an application.

*/ inline bool SnapshotsEnabledUpdateHasBeenSet() const { return m_snapshotsEnabledUpdateHasBeenSet; } /** *

Describes updates to whether snapshots are enabled for an application.

*/ inline void SetSnapshotsEnabledUpdate(bool value) { m_snapshotsEnabledUpdateHasBeenSet = true; m_snapshotsEnabledUpdate = value; } /** *

Describes updates to whether snapshots are enabled for an application.

*/ inline ApplicationSnapshotConfigurationUpdate& WithSnapshotsEnabledUpdate(bool value) { SetSnapshotsEnabledUpdate(value); return *this;} private: bool m_snapshotsEnabledUpdate; bool m_snapshotsEnabledUpdateHasBeenSet = false; }; } // namespace Model } // namespace KinesisAnalyticsV2 } // namespace Aws