AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InterpolatedAssetPropertyValue.h
1
6#pragma once
7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/iotsitewise/model/TimeInNanos.h>
9#include <aws/iotsitewise/model/Variant.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace IoTSiteWise
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_IOTSITEWISE_API InterpolatedAssetPropertyValue();
39 AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
44 inline const TimeInNanos& GetTimestamp() const{ return m_timestamp; }
45 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
46 inline void SetTimestamp(const TimeInNanos& value) { m_timestampHasBeenSet = true; m_timestamp = value; }
47 inline void SetTimestamp(TimeInNanos&& value) { m_timestampHasBeenSet = true; m_timestamp = std::move(value); }
48 inline InterpolatedAssetPropertyValue& WithTimestamp(const TimeInNanos& value) { SetTimestamp(value); return *this;}
49 inline InterpolatedAssetPropertyValue& WithTimestamp(TimeInNanos&& value) { SetTimestamp(std::move(value)); return *this;}
51
53
54 inline const Variant& GetValue() const{ return m_value; }
55 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
56 inline void SetValue(const Variant& value) { m_valueHasBeenSet = true; m_value = value; }
57 inline void SetValue(Variant&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
58 inline InterpolatedAssetPropertyValue& WithValue(const Variant& value) { SetValue(value); return *this;}
59 inline InterpolatedAssetPropertyValue& WithValue(Variant&& value) { SetValue(std::move(value)); return *this;}
61 private:
62
63 TimeInNanos m_timestamp;
64 bool m_timestampHasBeenSet = false;
65
66 Variant m_value;
67 bool m_valueHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace IoTSiteWise
72} // namespace Aws
InterpolatedAssetPropertyValue & WithValue(Variant &&value)
InterpolatedAssetPropertyValue & WithTimestamp(const TimeInNanos &value)
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTSITEWISE_API InterpolatedAssetPropertyValue(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTSITEWISE_API InterpolatedAssetPropertyValue & operator=(Aws::Utils::Json::JsonView jsonValue)
InterpolatedAssetPropertyValue & WithValue(const Variant &value)
InterpolatedAssetPropertyValue & WithTimestamp(TimeInNanos &&value)
Aws::Utils::Json::JsonValue JsonValue