/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A structure that contains an asset property value. For more information, see
* Variant
* in the AWS IoT SiteWise API Reference. You must
* specify one of the following value types, depending on the 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.dataType
* of the specified asset property. For more information, see AssetProperty
* in the AWS IoT SiteWise API Reference.
doubleValue value can be
* '47.9'.doubleValue value can be
* $input.TemperatureInput.sensorData.temperature.See
* Also:
AWS
* API Reference
The asset property value is a string. You can also specify an expression. If * you use an expression, the evaluated result should be a string.
*/ inline const Aws::String& GetStringValue() const{ return m_stringValue; } /** *The asset property value is a string. You can also specify an expression. If * you use an expression, the evaluated result should be a string.
*/ inline bool StringValueHasBeenSet() const { return m_stringValueHasBeenSet; } /** *The asset property value is a string. You can also specify an expression. If * you use an expression, the evaluated result should be a string.
*/ inline void SetStringValue(const Aws::String& value) { m_stringValueHasBeenSet = true; m_stringValue = value; } /** *The asset property value is a string. You can also specify an expression. If * you use an expression, the evaluated result should be a string.
*/ inline void SetStringValue(Aws::String&& value) { m_stringValueHasBeenSet = true; m_stringValue = std::move(value); } /** *The asset property value is a string. You can also specify an expression. If * you use an expression, the evaluated result should be a string.
*/ inline void SetStringValue(const char* value) { m_stringValueHasBeenSet = true; m_stringValue.assign(value); } /** *The asset property value is a string. You can also specify an expression. If * you use an expression, the evaluated result should be a string.
*/ inline AssetPropertyVariant& WithStringValue(const Aws::String& value) { SetStringValue(value); return *this;} /** *The asset property value is a string. You can also specify an expression. If * you use an expression, the evaluated result should be a string.
*/ inline AssetPropertyVariant& WithStringValue(Aws::String&& value) { SetStringValue(std::move(value)); return *this;} /** *The asset property value is a string. You can also specify an expression. If * you use an expression, the evaluated result should be a string.
*/ inline AssetPropertyVariant& WithStringValue(const char* value) { SetStringValue(value); return *this;} /** *The asset property value is an integer. You can also specify an expression. * If you use an expression, the evaluated result should be an integer.
*/ inline const Aws::String& GetIntegerValue() const{ return m_integerValue; } /** *The asset property value is an integer. You can also specify an expression. * If you use an expression, the evaluated result should be an integer.
*/ inline bool IntegerValueHasBeenSet() const { return m_integerValueHasBeenSet; } /** *The asset property value is an integer. You can also specify an expression. * If you use an expression, the evaluated result should be an integer.
*/ inline void SetIntegerValue(const Aws::String& value) { m_integerValueHasBeenSet = true; m_integerValue = value; } /** *The asset property value is an integer. You can also specify an expression. * If you use an expression, the evaluated result should be an integer.
*/ inline void SetIntegerValue(Aws::String&& value) { m_integerValueHasBeenSet = true; m_integerValue = std::move(value); } /** *The asset property value is an integer. You can also specify an expression. * If you use an expression, the evaluated result should be an integer.
*/ inline void SetIntegerValue(const char* value) { m_integerValueHasBeenSet = true; m_integerValue.assign(value); } /** *The asset property value is an integer. You can also specify an expression. * If you use an expression, the evaluated result should be an integer.
*/ inline AssetPropertyVariant& WithIntegerValue(const Aws::String& value) { SetIntegerValue(value); return *this;} /** *The asset property value is an integer. You can also specify an expression. * If you use an expression, the evaluated result should be an integer.
*/ inline AssetPropertyVariant& WithIntegerValue(Aws::String&& value) { SetIntegerValue(std::move(value)); return *this;} /** *The asset property value is an integer. You can also specify an expression. * If you use an expression, the evaluated result should be an integer.
*/ inline AssetPropertyVariant& WithIntegerValue(const char* value) { SetIntegerValue(value); return *this;} /** *The asset property value is a double. You can also specify an expression. If * you use an expression, the evaluated result should be a double.
*/ inline const Aws::String& GetDoubleValue() const{ return m_doubleValue; } /** *The asset property value is a double. You can also specify an expression. If * you use an expression, the evaluated result should be a double.
*/ inline bool DoubleValueHasBeenSet() const { return m_doubleValueHasBeenSet; } /** *The asset property value is a double. You can also specify an expression. If * you use an expression, the evaluated result should be a double.
*/ inline void SetDoubleValue(const Aws::String& value) { m_doubleValueHasBeenSet = true; m_doubleValue = value; } /** *The asset property value is a double. You can also specify an expression. If * you use an expression, the evaluated result should be a double.
*/ inline void SetDoubleValue(Aws::String&& value) { m_doubleValueHasBeenSet = true; m_doubleValue = std::move(value); } /** *The asset property value is a double. You can also specify an expression. If * you use an expression, the evaluated result should be a double.
*/ inline void SetDoubleValue(const char* value) { m_doubleValueHasBeenSet = true; m_doubleValue.assign(value); } /** *The asset property value is a double. You can also specify an expression. If * you use an expression, the evaluated result should be a double.
*/ inline AssetPropertyVariant& WithDoubleValue(const Aws::String& value) { SetDoubleValue(value); return *this;} /** *The asset property value is a double. You can also specify an expression. If * you use an expression, the evaluated result should be a double.
*/ inline AssetPropertyVariant& WithDoubleValue(Aws::String&& value) { SetDoubleValue(std::move(value)); return *this;} /** *The asset property value is a double. You can also specify an expression. If * you use an expression, the evaluated result should be a double.
*/ inline AssetPropertyVariant& WithDoubleValue(const char* value) { SetDoubleValue(value); return *this;} /** *The asset property value is a Boolean value that must be TRUE or
* FALSE. You can also specify an expression. If you use an
* expression, the evaluated result should be a Boolean value.
The asset property value is a Boolean value that must be TRUE or
* FALSE. You can also specify an expression. If you use an
* expression, the evaluated result should be a Boolean value.
The asset property value is a Boolean value that must be TRUE or
* FALSE. You can also specify an expression. If you use an
* expression, the evaluated result should be a Boolean value.
The asset property value is a Boolean value that must be TRUE or
* FALSE. You can also specify an expression. If you use an
* expression, the evaluated result should be a Boolean value.
The asset property value is a Boolean value that must be TRUE or
* FALSE. You can also specify an expression. If you use an
* expression, the evaluated result should be a Boolean value.
The asset property value is a Boolean value that must be TRUE or
* FALSE. You can also specify an expression. If you use an
* expression, the evaluated result should be a Boolean value.
The asset property value is a Boolean value that must be TRUE or
* FALSE. You can also specify an expression. If you use an
* expression, the evaluated result should be a Boolean value.
The asset property value is a Boolean value that must be TRUE or
* FALSE. You can also specify an expression. If you use an
* expression, the evaluated result should be a Boolean value.