/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a collection scheme that uses a simple logical expression
* to recognize what data to collect.See Also:
AWS
* API Reference
The logical expression used to recognize what data to collect. For example,
* $variable.Vehicle.OutsideAirTemperature >= 105.0
.
The logical expression used to recognize what data to collect. For example,
* $variable.Vehicle.OutsideAirTemperature >= 105.0
.
The logical expression used to recognize what data to collect. For example,
* $variable.Vehicle.OutsideAirTemperature >= 105.0
.
The logical expression used to recognize what data to collect. For example,
* $variable.Vehicle.OutsideAirTemperature >= 105.0
.
The logical expression used to recognize what data to collect. For example,
* $variable.Vehicle.OutsideAirTemperature >= 105.0
.
The logical expression used to recognize what data to collect. For example,
* $variable.Vehicle.OutsideAirTemperature >= 105.0
.
The logical expression used to recognize what data to collect. For example,
* $variable.Vehicle.OutsideAirTemperature >= 105.0
.
The logical expression used to recognize what data to collect. For example,
* $variable.Vehicle.OutsideAirTemperature >= 105.0
.
The minimum duration of time between two triggering events to collect data, * in milliseconds.
If a signal changes often, you might want to * collect data at a slower rate.
*/ inline long long GetMinimumTriggerIntervalMs() const{ return m_minimumTriggerIntervalMs; } /** *The minimum duration of time between two triggering events to collect data, * in milliseconds.
If a signal changes often, you might want to * collect data at a slower rate.
*/ inline bool MinimumTriggerIntervalMsHasBeenSet() const { return m_minimumTriggerIntervalMsHasBeenSet; } /** *The minimum duration of time between two triggering events to collect data, * in milliseconds.
If a signal changes often, you might want to * collect data at a slower rate.
*/ inline void SetMinimumTriggerIntervalMs(long long value) { m_minimumTriggerIntervalMsHasBeenSet = true; m_minimumTriggerIntervalMs = value; } /** *The minimum duration of time between two triggering events to collect data, * in milliseconds.
If a signal changes often, you might want to * collect data at a slower rate.
*/ inline ConditionBasedCollectionScheme& WithMinimumTriggerIntervalMs(long long value) { SetMinimumTriggerIntervalMs(value); return *this;} /** *Whether to collect data for all triggering events (ALWAYS
).
* Specify (RISING_EDGE
), or specify only when the condition first
* evaluates to false. For example, triggering on "AirbagDeployed"; Users aren't
* interested on triggering when the airbag is already exploded; they only care
* about the change from not deployed => deployed.
Whether to collect data for all triggering events (ALWAYS
).
* Specify (RISING_EDGE
), or specify only when the condition first
* evaluates to false. For example, triggering on "AirbagDeployed"; Users aren't
* interested on triggering when the airbag is already exploded; they only care
* about the change from not deployed => deployed.
Whether to collect data for all triggering events (ALWAYS
).
* Specify (RISING_EDGE
), or specify only when the condition first
* evaluates to false. For example, triggering on "AirbagDeployed"; Users aren't
* interested on triggering when the airbag is already exploded; they only care
* about the change from not deployed => deployed.
Whether to collect data for all triggering events (ALWAYS
).
* Specify (RISING_EDGE
), or specify only when the condition first
* evaluates to false. For example, triggering on "AirbagDeployed"; Users aren't
* interested on triggering when the airbag is already exploded; they only care
* about the change from not deployed => deployed.
Whether to collect data for all triggering events (ALWAYS
).
* Specify (RISING_EDGE
), or specify only when the condition first
* evaluates to false. For example, triggering on "AirbagDeployed"; Users aren't
* interested on triggering when the airbag is already exploded; they only care
* about the change from not deployed => deployed.
Whether to collect data for all triggering events (ALWAYS
).
* Specify (RISING_EDGE
), or specify only when the condition first
* evaluates to false. For example, triggering on "AirbagDeployed"; Users aren't
* interested on triggering when the airbag is already exploded; they only care
* about the change from not deployed => deployed.
Specifies the version of the conditional expression language.
*/ inline int GetConditionLanguageVersion() const{ return m_conditionLanguageVersion; } /** *Specifies the version of the conditional expression language.
*/ inline bool ConditionLanguageVersionHasBeenSet() const { return m_conditionLanguageVersionHasBeenSet; } /** *Specifies the version of the conditional expression language.
*/ inline void SetConditionLanguageVersion(int value) { m_conditionLanguageVersionHasBeenSet = true; m_conditionLanguageVersion = value; } /** *Specifies the version of the conditional expression language.
*/ inline ConditionBasedCollectionScheme& WithConditionLanguageVersion(int value) { SetConditionLanguageVersion(value); return *this;} private: Aws::String m_expression; bool m_expressionHasBeenSet = false; long long m_minimumTriggerIntervalMs; bool m_minimumTriggerIntervalMsHasBeenSet = false; TriggerMode m_triggerMode; bool m_triggerModeHasBeenSet = false; int m_conditionLanguageVersion; bool m_conditionLanguageVersionHasBeenSet = false; }; } // namespace Model } // namespace IoTFleetWise } // namespace Aws