7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/iotsitewise/model/Quality.h>
10#include <aws/iotsitewise/model/Aggregates.h>
49 template<
typename TimestampT = Aws::Utils::DateTime>
50 void SetTimestamp(TimestampT&& value) { m_timestampHasBeenSet =
true; m_timestamp = std::forward<TimestampT>(value); }
51 template<
typename TimestampT = Aws::Utils::DateTime>
71 template<
typename ValueT = Aggregates>
72 void SetValue(ValueT&& value) { m_valueHasBeenSet =
true; m_value = std::forward<ValueT>(value); }
73 template<
typename ValueT = Aggregates>
79 bool m_timestampHasBeenSet =
false;
82 bool m_qualityHasBeenSet =
false;
85 bool m_valueHasBeenSet =
false;
AggregatedValue & WithValue(ValueT &&value)
void SetValue(ValueT &&value)
const Aggregates & GetValue() const
bool QualityHasBeenSet() const
void SetTimestamp(TimestampT &&value)
bool ValueHasBeenSet() const
void SetQuality(Quality value)
Quality GetQuality() const
AggregatedValue & WithQuality(Quality value)
AWS_IOTSITEWISE_API AggregatedValue()=default
bool TimestampHasBeenSet() const
AWS_IOTSITEWISE_API AggregatedValue(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTSITEWISE_API AggregatedValue & operator=(Aws::Utils::Json::JsonView jsonValue)
AggregatedValue & WithTimestamp(TimestampT &&value)
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetTimestamp() const
Aws::Utils::Json::JsonValue JsonValue