/**
* 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 data set contents using message data from a specified time frame, * some message data may still be "in flight" when processing begins, and so will * 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 time frame will be included with the next time frame. Without this, * missed message data would be excluded from processing during the next time frame * as well, because its timestamp places it within the previous time frame.
*/ inline int GetOffsetSeconds() const{ return m_offsetSeconds; } /** *The number of seconds of estimated "in flight" lag time of message data. When * you create data set contents using message data from a specified time frame, * some message data may still be "in flight" when processing begins, and so will * 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 time frame will be included with the next time frame. Without this, * missed message data would be excluded from processing during the next time frame * as well, because its timestamp places it within the previous time frame.
*/ inline bool OffsetSecondsHasBeenSet() const { return m_offsetSecondsHasBeenSet; } /** *The number of seconds of estimated "in flight" lag time of message data. When * you create data set contents using message data from a specified time frame, * some message data may still be "in flight" when processing begins, and so will * 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 time frame will be included with the next time frame. Without this, * missed message data would be excluded from processing during the next time frame * as well, because its timestamp places it within the previous time frame.
*/ 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 data set contents using message data from a specified time frame, * some message data may still be "in flight" when processing begins, and so will * 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 time frame will be included with the next time frame. Without this, * missed message data would be excluded from processing during the next time frame * as well, because its timestamp places it within the previous time frame.
*/ inline DeltaTime& WithOffsetSeconds(int value) { SetOffsetSeconds(value); return *this;} /** *An expression by which the time of the message data may be determined. This * may be the name of a timestamp field, or a SQL expression which 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 may be determined. This * may be the name of a timestamp field, or a SQL expression which 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 may be determined. This * may be the name of a timestamp field, or a SQL expression which 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 may be determined. This * may be the name of a timestamp field, or a SQL expression which 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 may be determined. This * may be the name of a timestamp field, or a SQL expression which 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 may be determined. This * may be the name of a timestamp field, or a SQL expression which 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 may be determined. This * may be the name of a timestamp field, or a SQL expression which 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 may be determined. This * may be the name of a timestamp field, or a SQL expression which 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; Aws::String m_timeExpression; bool m_timeExpressionHasBeenSet; }; } // namespace Model } // namespace IoTAnalytics } // namespace Aws