/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An input component that reports the environmental condition of a vehicle. You can collect data about fluid levels, temperatures, vibrations, or
* battery voltage from sensors.See Also:
AWS
* API Reference
The fully qualified name of the sensor. For example, the fully qualified name
* of a sensor might be Vehicle.Body.Engine.Battery
.
The fully qualified name of the sensor. For example, the fully qualified name
* of a sensor might be Vehicle.Body.Engine.Battery
.
The fully qualified name of the sensor. For example, the fully qualified name
* of a sensor might be Vehicle.Body.Engine.Battery
.
The fully qualified name of the sensor. For example, the fully qualified name
* of a sensor might be Vehicle.Body.Engine.Battery
.
The fully qualified name of the sensor. For example, the fully qualified name
* of a sensor might be Vehicle.Body.Engine.Battery
.
The fully qualified name of the sensor. For example, the fully qualified name
* of a sensor might be Vehicle.Body.Engine.Battery
.
The fully qualified name of the sensor. For example, the fully qualified name
* of a sensor might be Vehicle.Body.Engine.Battery
.
The fully qualified name of the sensor. For example, the fully qualified name
* of a sensor might be Vehicle.Body.Engine.Battery
.
The specified data type of the sensor.
*/ inline const NodeDataType& GetDataType() const{ return m_dataType; } /** *The specified data type of the sensor.
*/ inline bool DataTypeHasBeenSet() const { return m_dataTypeHasBeenSet; } /** *The specified data type of the sensor.
*/ inline void SetDataType(const NodeDataType& value) { m_dataTypeHasBeenSet = true; m_dataType = value; } /** *The specified data type of the sensor.
*/ inline void SetDataType(NodeDataType&& value) { m_dataTypeHasBeenSet = true; m_dataType = std::move(value); } /** *The specified data type of the sensor.
*/ inline Sensor& WithDataType(const NodeDataType& value) { SetDataType(value); return *this;} /** *The specified data type of the sensor.
*/ inline Sensor& WithDataType(NodeDataType&& value) { SetDataType(std::move(value)); return *this;} /** *A brief description of a sensor.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *A brief description of a sensor.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *A brief description of a sensor.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *A brief description of a sensor.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *A brief description of a sensor.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *A brief description of a sensor.
*/ inline Sensor& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *A brief description of a sensor.
*/ inline Sensor& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *A brief description of a sensor.
*/ inline Sensor& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The scientific unit of measurement for data collected by the sensor.
*/ inline const Aws::String& GetUnit() const{ return m_unit; } /** *The scientific unit of measurement for data collected by the sensor.
*/ inline bool UnitHasBeenSet() const { return m_unitHasBeenSet; } /** *The scientific unit of measurement for data collected by the sensor.
*/ inline void SetUnit(const Aws::String& value) { m_unitHasBeenSet = true; m_unit = value; } /** *The scientific unit of measurement for data collected by the sensor.
*/ inline void SetUnit(Aws::String&& value) { m_unitHasBeenSet = true; m_unit = std::move(value); } /** *The scientific unit of measurement for data collected by the sensor.
*/ inline void SetUnit(const char* value) { m_unitHasBeenSet = true; m_unit.assign(value); } /** *The scientific unit of measurement for data collected by the sensor.
*/ inline Sensor& WithUnit(const Aws::String& value) { SetUnit(value); return *this;} /** *The scientific unit of measurement for data collected by the sensor.
*/ inline Sensor& WithUnit(Aws::String&& value) { SetUnit(std::move(value)); return *this;} /** *The scientific unit of measurement for data collected by the sensor.
*/ inline Sensor& WithUnit(const char* value) { SetUnit(value); return *this;} /** *A list of possible values a sensor can take.
*/ inline const Aws::VectorA list of possible values a sensor can take.
*/ inline bool AllowedValuesHasBeenSet() const { return m_allowedValuesHasBeenSet; } /** *A list of possible values a sensor can take.
*/ inline void SetAllowedValues(const Aws::VectorA list of possible values a sensor can take.
*/ inline void SetAllowedValues(Aws::VectorA list of possible values a sensor can take.
*/ inline Sensor& WithAllowedValues(const Aws::VectorA list of possible values a sensor can take.
*/ inline Sensor& WithAllowedValues(Aws::VectorA list of possible values a sensor can take.
*/ inline Sensor& AddAllowedValues(const Aws::String& value) { m_allowedValuesHasBeenSet = true; m_allowedValues.push_back(value); return *this; } /** *A list of possible values a sensor can take.
*/ inline Sensor& AddAllowedValues(Aws::String&& value) { m_allowedValuesHasBeenSet = true; m_allowedValues.push_back(std::move(value)); return *this; } /** *A list of possible values a sensor can take.
*/ inline Sensor& AddAllowedValues(const char* value) { m_allowedValuesHasBeenSet = true; m_allowedValues.push_back(value); return *this; } /** *The specified possible minimum value of the sensor.
*/ inline double GetMin() const{ return m_min; } /** *The specified possible minimum value of the sensor.
*/ inline bool MinHasBeenSet() const { return m_minHasBeenSet; } /** *The specified possible minimum value of the sensor.
*/ inline void SetMin(double value) { m_minHasBeenSet = true; m_min = value; } /** *The specified possible minimum value of the sensor.
*/ inline Sensor& WithMin(double value) { SetMin(value); return *this;} /** *The specified possible maximum value of the sensor.
*/ inline double GetMax() const{ return m_max; } /** *The specified possible maximum value of the sensor.
*/ inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; } /** *The specified possible maximum value of the sensor.
*/ inline void SetMax(double value) { m_maxHasBeenSet = true; m_max = value; } /** *The specified possible maximum value of the sensor.
*/ inline Sensor& WithMax(double value) { SetMax(value); return *this;} /** *The deprecation message for the node or the branch that was moved or * deleted.
*/ inline const Aws::String& GetDeprecationMessage() const{ return m_deprecationMessage; } /** *The deprecation message for the node or the branch that was moved or * deleted.
*/ inline bool DeprecationMessageHasBeenSet() const { return m_deprecationMessageHasBeenSet; } /** *The deprecation message for the node or the branch that was moved or * deleted.
*/ inline void SetDeprecationMessage(const Aws::String& value) { m_deprecationMessageHasBeenSet = true; m_deprecationMessage = value; } /** *The deprecation message for the node or the branch that was moved or * deleted.
*/ inline void SetDeprecationMessage(Aws::String&& value) { m_deprecationMessageHasBeenSet = true; m_deprecationMessage = std::move(value); } /** *The deprecation message for the node or the branch that was moved or * deleted.
*/ inline void SetDeprecationMessage(const char* value) { m_deprecationMessageHasBeenSet = true; m_deprecationMessage.assign(value); } /** *The deprecation message for the node or the branch that was moved or * deleted.
*/ inline Sensor& WithDeprecationMessage(const Aws::String& value) { SetDeprecationMessage(value); return *this;} /** *The deprecation message for the node or the branch that was moved or * deleted.
*/ inline Sensor& WithDeprecationMessage(Aws::String&& value) { SetDeprecationMessage(std::move(value)); return *this;} /** *The deprecation message for the node or the branch that was moved or * deleted.
*/ inline Sensor& WithDeprecationMessage(const char* value) { SetDeprecationMessage(value); return *this;} /** *A comment in addition to the description.
*/ inline const Aws::String& GetComment() const{ return m_comment; } /** *A comment in addition to the description.
*/ inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; } /** *A comment in addition to the description.
*/ inline void SetComment(const Aws::String& value) { m_commentHasBeenSet = true; m_comment = value; } /** *A comment in addition to the description.
*/ inline void SetComment(Aws::String&& value) { m_commentHasBeenSet = true; m_comment = std::move(value); } /** *A comment in addition to the description.
*/ inline void SetComment(const char* value) { m_commentHasBeenSet = true; m_comment.assign(value); } /** *A comment in addition to the description.
*/ inline Sensor& WithComment(const Aws::String& value) { SetComment(value); return *this;} /** *A comment in addition to the description.
*/ inline Sensor& WithComment(Aws::String&& value) { SetComment(std::move(value)); return *this;} /** *A comment in addition to the description.
*/ inline Sensor& WithComment(const char* value) { SetComment(value); return *this;} private: Aws::String m_fullyQualifiedName; bool m_fullyQualifiedNameHasBeenSet = false; NodeDataType m_dataType; bool m_dataTypeHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_unit; bool m_unitHasBeenSet = false; Aws::Vector