/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A structure that contains value information. For more information, see AssetPropertyValue
* in the AWS IoT SiteWise API Reference. You must use expressions
* for all parameters in Examples For literal values, the
* expressions must contain single quotes. For example, the value for the
* For
* references, you must specify either variables or input values. For example, the
* value for the For
* more information, see Expressions
* in the AWS IoT Events Developer Guide.AssetPropertyValue
. The expressions accept
* literals, operators, functions, references, and substitution templates.
quality
parameter can be 'GOOD'
.quality
parameter can be
* $input.TemperatureInput.sensorData.quality
.See Also:
AWS
* API Reference
The value to send to an asset property.
*/ inline const AssetPropertyVariant& GetValue() const{ return m_value; } /** *The value to send to an asset property.
*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *The value to send to an asset property.
*/ inline void SetValue(const AssetPropertyVariant& value) { m_valueHasBeenSet = true; m_value = value; } /** *The value to send to an asset property.
*/ inline void SetValue(AssetPropertyVariant&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } /** *The value to send to an asset property.
*/ inline AssetPropertyValue& WithValue(const AssetPropertyVariant& value) { SetValue(value); return *this;} /** *The value to send to an asset property.
*/ inline AssetPropertyValue& WithValue(AssetPropertyVariant&& value) { SetValue(std::move(value)); return *this;} /** *The timestamp associated with the asset property value. The default is the * current event time.
*/ inline const AssetPropertyTimestamp& GetTimestamp() const{ return m_timestamp; } /** *The timestamp associated with the asset property value. The default is the * current event time.
*/ inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; } /** *The timestamp associated with the asset property value. The default is the * current event time.
*/ inline void SetTimestamp(const AssetPropertyTimestamp& value) { m_timestampHasBeenSet = true; m_timestamp = value; } /** *The timestamp associated with the asset property value. The default is the * current event time.
*/ inline void SetTimestamp(AssetPropertyTimestamp&& value) { m_timestampHasBeenSet = true; m_timestamp = std::move(value); } /** *The timestamp associated with the asset property value. The default is the * current event time.
*/ inline AssetPropertyValue& WithTimestamp(const AssetPropertyTimestamp& value) { SetTimestamp(value); return *this;} /** *The timestamp associated with the asset property value. The default is the * current event time.
*/ inline AssetPropertyValue& WithTimestamp(AssetPropertyTimestamp&& value) { SetTimestamp(std::move(value)); return *this;} /** *The quality of the asset property value. The value must be
* 'GOOD'
, 'BAD'
, or 'UNCERTAIN'
.
The quality of the asset property value. The value must be
* 'GOOD'
, 'BAD'
, or 'UNCERTAIN'
.
The quality of the asset property value. The value must be
* 'GOOD'
, 'BAD'
, or 'UNCERTAIN'
.
The quality of the asset property value. The value must be
* 'GOOD'
, 'BAD'
, or 'UNCERTAIN'
.
The quality of the asset property value. The value must be
* 'GOOD'
, 'BAD'
, or 'UNCERTAIN'
.
The quality of the asset property value. The value must be
* 'GOOD'
, 'BAD'
, or 'UNCERTAIN'
.
The quality of the asset property value. The value must be
* 'GOOD'
, 'BAD'
, or 'UNCERTAIN'
.
The quality of the asset property value. The value must be
* 'GOOD'
, 'BAD'
, or 'UNCERTAIN'
.