/** * 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 whether snapshots are enabled for a Flink-based Kinesis Data * Analytics application.

See Also:

AWS * API Reference

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

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

*/ inline bool GetSnapshotsEnabled() const{ return m_snapshotsEnabled; } /** *

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

*/ inline bool SnapshotsEnabledHasBeenSet() const { return m_snapshotsEnabledHasBeenSet; } /** *

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

*/ inline void SetSnapshotsEnabled(bool value) { m_snapshotsEnabledHasBeenSet = true; m_snapshotsEnabled = value; } /** *

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

*/ inline ApplicationSnapshotConfigurationDescription& WithSnapshotsEnabled(bool value) { SetSnapshotsEnabled(value); return *this;} private: bool m_snapshotsEnabled; bool m_snapshotsEnabledHasBeenSet = false; }; } // namespace Model } // namespace KinesisAnalyticsV2 } // namespace Aws