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

A structure that contains the configuration information of a delta time * session window.

* DeltaTime specifies a time interval. You can use * DeltaTime to create dataset contents with data that has arrived in * the data store since the last execution. For an example of * DeltaTime, see * Creating a SQL dataset with a delta window (CLI) in the IoT Analytics * User Guide.

See Also:

AWS * API Reference

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

A time interval. You can use timeoutInMinutes so that IoT * Analytics can batch up late data notifications that have been generated since * the last execution. IoT Analytics sends one batch of notifications to Amazon * CloudWatch Events at one time.

For more information about how to write a * timestamp expression, see Date and Time * Functions and Operators, in the Presto 0.172 Documentation.

*/ inline int GetTimeoutInMinutes() const{ return m_timeoutInMinutes; } /** *

A time interval. You can use timeoutInMinutes so that IoT * Analytics can batch up late data notifications that have been generated since * the last execution. IoT Analytics sends one batch of notifications to Amazon * CloudWatch Events at one time.

For more information about how to write a * timestamp expression, see Date and Time * Functions and Operators, in the Presto 0.172 Documentation.

*/ inline bool TimeoutInMinutesHasBeenSet() const { return m_timeoutInMinutesHasBeenSet; } /** *

A time interval. You can use timeoutInMinutes so that IoT * Analytics can batch up late data notifications that have been generated since * the last execution. IoT Analytics sends one batch of notifications to Amazon * CloudWatch Events at one time.

For more information about how to write a * timestamp expression, see Date and Time * Functions and Operators, in the Presto 0.172 Documentation.

*/ inline void SetTimeoutInMinutes(int value) { m_timeoutInMinutesHasBeenSet = true; m_timeoutInMinutes = value; } /** *

A time interval. You can use timeoutInMinutes so that IoT * Analytics can batch up late data notifications that have been generated since * the last execution. IoT Analytics sends one batch of notifications to Amazon * CloudWatch Events at one time.

For more information about how to write a * timestamp expression, see Date and Time * Functions and Operators, in the Presto 0.172 Documentation.

*/ inline DeltaTimeSessionWindowConfiguration& WithTimeoutInMinutes(int value) { SetTimeoutInMinutes(value); return *this;} private: int m_timeoutInMinutes; bool m_timeoutInMinutesHasBeenSet = false; }; } // namespace Model } // namespace IoTAnalytics } // namespace Aws