AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssetPropertyValue.h
1
6#pragma once
7#include <aws/iotevents/IoTEvents_EXPORTS.h>
8#include <aws/iotevents/model/AssetPropertyVariant.h>
9#include <aws/iotevents/model/AssetPropertyTimestamp.h>
10#include <aws/core/utils/memory/stl/AWSString.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 IoTEvents
24{
25namespace Model
26{
27
47 {
48 public:
49 AWS_IOTEVENTS_API AssetPropertyValue();
50 AWS_IOTEVENTS_API AssetPropertyValue(Aws::Utils::Json::JsonView jsonValue);
52 AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const;
53
54
56
59 inline const AssetPropertyVariant& GetValue() const{ return m_value; }
60 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
61 inline void SetValue(const AssetPropertyVariant& value) { m_valueHasBeenSet = true; m_value = value; }
62 inline void SetValue(AssetPropertyVariant&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
63 inline AssetPropertyValue& WithValue(const AssetPropertyVariant& value) { SetValue(value); return *this;}
64 inline AssetPropertyValue& WithValue(AssetPropertyVariant&& value) { SetValue(std::move(value)); return *this;}
66
68
72 inline const AssetPropertyTimestamp& GetTimestamp() const{ return m_timestamp; }
73 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
74 inline void SetTimestamp(const AssetPropertyTimestamp& value) { m_timestampHasBeenSet = true; m_timestamp = value; }
75 inline void SetTimestamp(AssetPropertyTimestamp&& value) { m_timestampHasBeenSet = true; m_timestamp = std::move(value); }
76 inline AssetPropertyValue& WithTimestamp(const AssetPropertyTimestamp& value) { SetTimestamp(value); return *this;}
77 inline AssetPropertyValue& WithTimestamp(AssetPropertyTimestamp&& value) { SetTimestamp(std::move(value)); return *this;}
79
81
85 inline const Aws::String& GetQuality() const{ return m_quality; }
86 inline bool QualityHasBeenSet() const { return m_qualityHasBeenSet; }
87 inline void SetQuality(const Aws::String& value) { m_qualityHasBeenSet = true; m_quality = value; }
88 inline void SetQuality(Aws::String&& value) { m_qualityHasBeenSet = true; m_quality = std::move(value); }
89 inline void SetQuality(const char* value) { m_qualityHasBeenSet = true; m_quality.assign(value); }
90 inline AssetPropertyValue& WithQuality(const Aws::String& value) { SetQuality(value); return *this;}
91 inline AssetPropertyValue& WithQuality(Aws::String&& value) { SetQuality(std::move(value)); return *this;}
92 inline AssetPropertyValue& WithQuality(const char* value) { SetQuality(value); return *this;}
94 private:
95
97 bool m_valueHasBeenSet = false;
98
99 AssetPropertyTimestamp m_timestamp;
100 bool m_timestampHasBeenSet = false;
101
102 Aws::String m_quality;
103 bool m_qualityHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace IoTEvents
108} // namespace Aws
AWS_IOTEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetQuality(const Aws::String &value)
const AssetPropertyVariant & GetValue() const
AssetPropertyValue & WithQuality(Aws::String &&value)
void SetValue(AssetPropertyVariant &&value)
AWS_IOTEVENTS_API AssetPropertyValue(Aws::Utils::Json::JsonView jsonValue)
void SetTimestamp(const AssetPropertyTimestamp &value)
AssetPropertyValue & WithTimestamp(const AssetPropertyTimestamp &value)
void SetValue(const AssetPropertyVariant &value)
const AssetPropertyTimestamp & GetTimestamp() const
AssetPropertyValue & WithValue(const AssetPropertyVariant &value)
AWS_IOTEVENTS_API AssetPropertyValue & operator=(Aws::Utils::Json::JsonView jsonValue)
AssetPropertyValue & WithQuality(const char *value)
void SetTimestamp(AssetPropertyTimestamp &&value)
AssetPropertyValue & WithValue(AssetPropertyVariant &&value)
AssetPropertyValue & WithQuality(const Aws::String &value)
AssetPropertyValue & WithTimestamp(AssetPropertyTimestamp &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue