/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the starting parameters for an Apache Flink-based Kinesis Data
* Analytics application.See Also:
AWS
* API Reference
When restoring from a savepoint, specifies whether the runtime is allowed to * skip a state that cannot be mapped to the new program. This will happen if the * program is updated between savepoints to remove stateful parameters, and state * data in the savepoint no longer corresponds to valid application data. For more * information, see * Allowing Non-Restored State in the Apache Flink * documentation.
*/ inline bool GetAllowNonRestoredState() const{ return m_allowNonRestoredState; } /** *When restoring from a savepoint, specifies whether the runtime is allowed to * skip a state that cannot be mapped to the new program. This will happen if the * program is updated between savepoints to remove stateful parameters, and state * data in the savepoint no longer corresponds to valid application data. For more * information, see * Allowing Non-Restored State in the Apache Flink * documentation.
*/ inline bool AllowNonRestoredStateHasBeenSet() const { return m_allowNonRestoredStateHasBeenSet; } /** *When restoring from a savepoint, specifies whether the runtime is allowed to * skip a state that cannot be mapped to the new program. This will happen if the * program is updated between savepoints to remove stateful parameters, and state * data in the savepoint no longer corresponds to valid application data. For more * information, see * Allowing Non-Restored State in the Apache Flink * documentation.
*/ inline void SetAllowNonRestoredState(bool value) { m_allowNonRestoredStateHasBeenSet = true; m_allowNonRestoredState = value; } /** *When restoring from a savepoint, specifies whether the runtime is allowed to * skip a state that cannot be mapped to the new program. This will happen if the * program is updated between savepoints to remove stateful parameters, and state * data in the savepoint no longer corresponds to valid application data. For more * information, see * Allowing Non-Restored State in the Apache Flink * documentation.
*/ inline FlinkRunConfiguration& WithAllowNonRestoredState(bool value) { SetAllowNonRestoredState(value); return *this;} private: bool m_allowNonRestoredState; bool m_allowNonRestoredStateHasBeenSet; }; } // namespace Model } // namespace KinesisAnalyticsV2 } // namespace Aws