7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/model/AssetPropertyVariant.h>
9#include <aws/iot/model/AssetPropertyTimestamp.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
49 template<
typename ValueT = AssetPropertyVariant>
50 void SetValue(ValueT&& value) { m_valueHasBeenSet =
true; m_value = std::forward<ValueT>(value); }
51 template<
typename ValueT = AssetPropertyVariant>
61 template<
typename TimestampT = AssetPropertyTimestamp>
62 void SetTimestamp(TimestampT&& value) { m_timestampHasBeenSet =
true; m_timestamp = std::forward<TimestampT>(value); }
63 template<
typename TimestampT = AssetPropertyTimestamp>
75 template<
typename QualityT = Aws::String>
76 void SetQuality(QualityT&& value) { m_qualityHasBeenSet =
true; m_quality = std::forward<QualityT>(value); }
77 template<
typename QualityT = Aws::String>
83 bool m_valueHasBeenSet =
false;
86 bool m_timestampHasBeenSet =
false;
89 bool m_qualityHasBeenSet =
false;
AssetPropertyValue & WithValue(ValueT &&value)
bool ValueHasBeenSet() const
const AssetPropertyTimestamp & GetTimestamp() const
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTimestamp(TimestampT &&value)
const AssetPropertyVariant & GetValue() const
bool TimestampHasBeenSet() const
bool QualityHasBeenSet() const
const Aws::String & GetQuality() const
AWS_IOT_API AssetPropertyValue & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetQuality(QualityT &&value)
AWS_IOT_API AssetPropertyValue()=default
AWS_IOT_API AssetPropertyValue(Aws::Utils::Json::JsonView jsonValue)
AssetPropertyValue & WithQuality(QualityT &&value)
void SetValue(ValueT &&value)
AssetPropertyValue & WithTimestamp(TimestampT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue