AWS SDK for C++  1.9.153
AWS SDK for C++
InterpolatedAssetPropertyValue.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace IoTSiteWise
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
42 
43  inline const TimeInNanos& GetTimestamp() const{ return m_timestamp; }
44 
45 
46  inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
47 
48 
49  inline void SetTimestamp(const TimeInNanos& value) { m_timestampHasBeenSet = true; m_timestamp = value; }
50 
51 
52  inline void SetTimestamp(TimeInNanos&& value) { m_timestampHasBeenSet = true; m_timestamp = std::move(value); }
53 
54 
55  inline InterpolatedAssetPropertyValue& WithTimestamp(const TimeInNanos& value) { SetTimestamp(value); return *this;}
56 
57 
58  inline InterpolatedAssetPropertyValue& WithTimestamp(TimeInNanos&& value) { SetTimestamp(std::move(value)); return *this;}
59 
60 
61 
62  inline const Variant& GetValue() const{ return m_value; }
63 
64 
65  inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
66 
67 
68  inline void SetValue(const Variant& value) { m_valueHasBeenSet = true; m_value = value; }
69 
70 
71  inline void SetValue(Variant&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
72 
73 
74  inline InterpolatedAssetPropertyValue& WithValue(const Variant& value) { SetValue(value); return *this;}
75 
76 
77  inline InterpolatedAssetPropertyValue& WithValue(Variant&& value) { SetValue(std::move(value)); return *this;}
78 
79  private:
80 
81  TimeInNanos m_timestamp;
82  bool m_timestampHasBeenSet;
83 
84  Variant m_value;
85  bool m_valueHasBeenSet;
86  };
87 
88 } // namespace Model
89 } // namespace IoTSiteWise
90 } // namespace Aws
Aws::IoTSiteWise::Model::InterpolatedAssetPropertyValue::WithValue
InterpolatedAssetPropertyValue & WithValue(const Variant &value)
Definition: InterpolatedAssetPropertyValue.h:74
Aws::IoTSiteWise::Model::InterpolatedAssetPropertyValue
Definition: InterpolatedAssetPropertyValue.h:34
Aws::IoTSiteWise::Model::InterpolatedAssetPropertyValue::ValueHasBeenSet
bool ValueHasBeenSet() const
Definition: InterpolatedAssetPropertyValue.h:65
Aws::IoTSiteWise::Model::InterpolatedAssetPropertyValue::GetValue
const Variant & GetValue() const
Definition: InterpolatedAssetPropertyValue.h:62
Aws::IoTSiteWise::Model::InterpolatedAssetPropertyValue::WithTimestamp
InterpolatedAssetPropertyValue & WithTimestamp(const TimeInNanos &value)
Definition: InterpolatedAssetPropertyValue.h:55
IoTSiteWise_EXPORTS.h
Aws::IoTSiteWise::Model::InterpolatedAssetPropertyValue::SetValue
void SetValue(Variant &&value)
Definition: InterpolatedAssetPropertyValue.h:71
AWS_IOTSITEWISE_API
#define AWS_IOTSITEWISE_API
Definition: IoTSiteWise_EXPORTS.h:28
Aws::IoTSiteWise::Model::InterpolatedAssetPropertyValue::WithValue
InterpolatedAssetPropertyValue & WithValue(Variant &&value)
Definition: InterpolatedAssetPropertyValue.h:77
Aws::IoTSiteWise::Model::TimeInNanos
Definition: TimeInNanos.h:31
Aws::IoTSiteWise::Model::InterpolatedAssetPropertyValue::InterpolatedAssetPropertyValue
InterpolatedAssetPropertyValue()
Aws::IoTSiteWise::Model::InterpolatedAssetPropertyValue::InterpolatedAssetPropertyValue
InterpolatedAssetPropertyValue(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTSiteWise::Model::InterpolatedAssetPropertyValue::SetValue
void SetValue(const Variant &value)
Definition: InterpolatedAssetPropertyValue.h:68
Aws::IoTSiteWise::Model::InterpolatedAssetPropertyValue::WithTimestamp
InterpolatedAssetPropertyValue & WithTimestamp(TimeInNanos &&value)
Definition: InterpolatedAssetPropertyValue.h:58
Aws::IoTSiteWise::Model::InterpolatedAssetPropertyValue::SetTimestamp
void SetTimestamp(const TimeInNanos &value)
Definition: InterpolatedAssetPropertyValue.h:49
Aws::IoTSiteWise::Model::InterpolatedAssetPropertyValue::SetTimestamp
void SetTimestamp(TimeInNanos &&value)
Definition: InterpolatedAssetPropertyValue.h:52
Aws::IoTSiteWise::Model::InterpolatedAssetPropertyValue::GetTimestamp
const TimeInNanos & GetTimestamp() const
Definition: InterpolatedAssetPropertyValue.h:43
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoTSiteWise::Model::Variant
Definition: Variant.h:33
Variant.h
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::IoTSiteWise::Model::InterpolatedAssetPropertyValue::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoTSiteWise::Model::InterpolatedAssetPropertyValue::TimestampHasBeenSet
bool TimestampHasBeenSet() const
Definition: InterpolatedAssetPropertyValue.h:46
Aws::IoTSiteWise::Model::InterpolatedAssetPropertyValue::operator=
InterpolatedAssetPropertyValue & operator=(Aws::Utils::Json::JsonView jsonValue)
TimeInNanos.h