/**
* 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. For parameters that are
* string data type, you can specify the following options: Use a
* string. For example, the Use an expression. For example, the
* For more
* information, see Expressions
* in the AWS IoT Events Developer Guide.
quality value can be
* 'GOOD'.quality value 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. You can also specify an
* expression.
The quality of the asset property value. The value must be GOOD,
* BAD, or UNCERTAIN. You can also specify an
* expression.
The quality of the asset property value. The value must be GOOD,
* BAD, or UNCERTAIN. You can also specify an
* expression.
The quality of the asset property value. The value must be GOOD,
* BAD, or UNCERTAIN. You can also specify an
* expression.
The quality of the asset property value. The value must be GOOD,
* BAD, or UNCERTAIN. You can also specify an
* expression.
The quality of the asset property value. The value must be GOOD,
* BAD, or UNCERTAIN. You can also specify an
* expression.
The quality of the asset property value. The value must be GOOD,
* BAD, or UNCERTAIN. You can also specify an
* expression.
The quality of the asset property value. The value must be GOOD,
* BAD, or UNCERTAIN. You can also specify an
* expression.