/** * 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 LookoutMetrics { namespace Model { /** *

Settings for backtest mode.

See Also:

AWS * API Reference

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

Run a backtest instead of monitoring new data.

*/ inline bool GetRunBackTestMode() const{ return m_runBackTestMode; } /** *

Run a backtest instead of monitoring new data.

*/ inline bool RunBackTestModeHasBeenSet() const { return m_runBackTestModeHasBeenSet; } /** *

Run a backtest instead of monitoring new data.

*/ inline void SetRunBackTestMode(bool value) { m_runBackTestModeHasBeenSet = true; m_runBackTestMode = value; } /** *

Run a backtest instead of monitoring new data.

*/ inline BackTestConfiguration& WithRunBackTestMode(bool value) { SetRunBackTestMode(value); return *this;} private: bool m_runBackTestMode; bool m_runBackTestModeHasBeenSet = false; }; } // namespace Model } // namespace LookoutMetrics } // namespace Aws