AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AggregatedValue.h
1
6#pragma once
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>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace IoTSiteWise
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_IOTSITEWISE_API AggregatedValue();
38 AWS_IOTSITEWISE_API AggregatedValue(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTSITEWISE_API AggregatedValue& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Utils::DateTime& GetTimestamp() const{ return m_timestamp; }
48 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
49 inline void SetTimestamp(const Aws::Utils::DateTime& value) { m_timestampHasBeenSet = true; m_timestamp = value; }
50 inline void SetTimestamp(Aws::Utils::DateTime&& value) { m_timestampHasBeenSet = true; m_timestamp = std::move(value); }
51 inline AggregatedValue& WithTimestamp(const Aws::Utils::DateTime& value) { SetTimestamp(value); return *this;}
52 inline AggregatedValue& WithTimestamp(Aws::Utils::DateTime&& value) { SetTimestamp(std::move(value)); return *this;}
54
56
59 inline const Quality& GetQuality() const{ return m_quality; }
60 inline bool QualityHasBeenSet() const { return m_qualityHasBeenSet; }
61 inline void SetQuality(const Quality& value) { m_qualityHasBeenSet = true; m_quality = value; }
62 inline void SetQuality(Quality&& value) { m_qualityHasBeenSet = true; m_quality = std::move(value); }
63 inline AggregatedValue& WithQuality(const Quality& value) { SetQuality(value); return *this;}
64 inline AggregatedValue& WithQuality(Quality&& value) { SetQuality(std::move(value)); return *this;}
66
68
71 inline const Aggregates& GetValue() const{ return m_value; }
72 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
73 inline void SetValue(const Aggregates& value) { m_valueHasBeenSet = true; m_value = value; }
74 inline void SetValue(Aggregates&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
75 inline AggregatedValue& WithValue(const Aggregates& value) { SetValue(value); return *this;}
76 inline AggregatedValue& WithValue(Aggregates&& value) { SetValue(std::move(value)); return *this;}
78 private:
79
80 Aws::Utils::DateTime m_timestamp;
81 bool m_timestampHasBeenSet = false;
82
83 Quality m_quality;
84 bool m_qualityHasBeenSet = false;
85
86 Aggregates m_value;
87 bool m_valueHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace IoTSiteWise
92} // namespace Aws
void SetTimestamp(Aws::Utils::DateTime &&value)
void SetTimestamp(const Aws::Utils::DateTime &value)
AggregatedValue & WithQuality(const Quality &value)
AggregatedValue & WithValue(Aggregates &&value)
void SetValue(const Aggregates &value)
AggregatedValue & WithTimestamp(Aws::Utils::DateTime &&value)
AWS_IOTSITEWISE_API AggregatedValue(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTSITEWISE_API AggregatedValue & operator=(Aws::Utils::Json::JsonView jsonValue)
AggregatedValue & WithTimestamp(const Aws::Utils::DateTime &value)
AggregatedValue & WithValue(const Aggregates &value)
void SetQuality(const Quality &value)
AWS_IOTSITEWISE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetTimestamp() const
AggregatedValue & WithQuality(Quality &&value)
Aws::Utils::Json::JsonValue JsonValue