/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Used to limit data to that which has arrived since the last execution of the
* action.See Also:
AWS
* API Reference
The number of seconds of estimated in-flight lag time of message data. When * you create dataset contents using message data from a specified timeframe, some * message data might still be in flight when processing begins, and so do not * arrive in time to be processed. Use this field to make allowances for the in * flight time of your message data, so that data not processed from a previous * timeframe is included with the next timeframe. Otherwise, missed message data * would be excluded from processing during the next timeframe too, because its * timestamp places it within the previous timeframe.
*/ inline int GetOffsetSeconds() const{ return m_offsetSeconds; } /** *The number of seconds of estimated in-flight lag time of message data. When * you create dataset contents using message data from a specified timeframe, some * message data might still be in flight when processing begins, and so do not * arrive in time to be processed. Use this field to make allowances for the in * flight time of your message data, so that data not processed from a previous * timeframe is included with the next timeframe. Otherwise, missed message data * would be excluded from processing during the next timeframe too, because its * timestamp places it within the previous timeframe.
*/ inline bool OffsetSecondsHasBeenSet() const { return m_offsetSecondsHasBeenSet; } /** *The number of seconds of estimated in-flight lag time of message data. When * you create dataset contents using message data from a specified timeframe, some * message data might still be in flight when processing begins, and so do not * arrive in time to be processed. Use this field to make allowances for the in * flight time of your message data, so that data not processed from a previous * timeframe is included with the next timeframe. Otherwise, missed message data * would be excluded from processing during the next timeframe too, because its * timestamp places it within the previous timeframe.
*/ inline void SetOffsetSeconds(int value) { m_offsetSecondsHasBeenSet = true; m_offsetSeconds = value; } /** *The number of seconds of estimated in-flight lag time of message data. When * you create dataset contents using message data from a specified timeframe, some * message data might still be in flight when processing begins, and so do not * arrive in time to be processed. Use this field to make allowances for the in * flight time of your message data, so that data not processed from a previous * timeframe is included with the next timeframe. Otherwise, missed message data * would be excluded from processing during the next timeframe too, because its * timestamp places it within the previous timeframe.
*/ inline DeltaTime& WithOffsetSeconds(int value) { SetOffsetSeconds(value); return *this;} /** *An expression by which the time of the message data might be determined. This * can be the name of a timestamp field or a SQL expression that is used to derive * the time the message data was generated.
*/ inline const Aws::String& GetTimeExpression() const{ return m_timeExpression; } /** *An expression by which the time of the message data might be determined. This * can be the name of a timestamp field or a SQL expression that is used to derive * the time the message data was generated.
*/ inline bool TimeExpressionHasBeenSet() const { return m_timeExpressionHasBeenSet; } /** *An expression by which the time of the message data might be determined. This * can be the name of a timestamp field or a SQL expression that is used to derive * the time the message data was generated.
*/ inline void SetTimeExpression(const Aws::String& value) { m_timeExpressionHasBeenSet = true; m_timeExpression = value; } /** *An expression by which the time of the message data might be determined. This * can be the name of a timestamp field or a SQL expression that is used to derive * the time the message data was generated.
*/ inline void SetTimeExpression(Aws::String&& value) { m_timeExpressionHasBeenSet = true; m_timeExpression = std::move(value); } /** *An expression by which the time of the message data might be determined. This * can be the name of a timestamp field or a SQL expression that is used to derive * the time the message data was generated.
*/ inline void SetTimeExpression(const char* value) { m_timeExpressionHasBeenSet = true; m_timeExpression.assign(value); } /** *An expression by which the time of the message data might be determined. This * can be the name of a timestamp field or a SQL expression that is used to derive * the time the message data was generated.
*/ inline DeltaTime& WithTimeExpression(const Aws::String& value) { SetTimeExpression(value); return *this;} /** *An expression by which the time of the message data might be determined. This * can be the name of a timestamp field or a SQL expression that is used to derive * the time the message data was generated.
*/ inline DeltaTime& WithTimeExpression(Aws::String&& value) { SetTimeExpression(std::move(value)); return *this;} /** *An expression by which the time of the message data might be determined. This * can be the name of a timestamp field or a SQL expression that is used to derive * the time the message data was generated.
*/ inline DeltaTime& WithTimeExpression(const char* value) { SetTimeExpression(value); return *this;} private: int m_offsetSeconds; bool m_offsetSecondsHasBeenSet = false; Aws::String m_timeExpression; bool m_timeExpressionHasBeenSet = false; }; } // namespace Model } // namespace IoTAnalytics } // namespace Aws