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/iot/IoT_EXPORTS.h>
8#include <aws/iot/model/AssetPropertyVariant.h>
9#include <aws/iot/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 IoT
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_IOT_API AssetPropertyValue();
41
42
44
47 inline const AssetPropertyVariant& GetValue() const{ return m_value; }
48 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
49 inline void SetValue(const AssetPropertyVariant& value) { m_valueHasBeenSet = true; m_value = value; }
50 inline void SetValue(AssetPropertyVariant&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
51 inline AssetPropertyValue& WithValue(const AssetPropertyVariant& value) { SetValue(value); return *this;}
52 inline AssetPropertyValue& WithValue(AssetPropertyVariant&& value) { SetValue(std::move(value)); return *this;}
54
56
59 inline const AssetPropertyTimestamp& GetTimestamp() const{ return m_timestamp; }
60 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
61 inline void SetTimestamp(const AssetPropertyTimestamp& value) { m_timestampHasBeenSet = true; m_timestamp = value; }
62 inline void SetTimestamp(AssetPropertyTimestamp&& value) { m_timestampHasBeenSet = true; m_timestamp = std::move(value); }
63 inline AssetPropertyValue& WithTimestamp(const AssetPropertyTimestamp& value) { SetTimestamp(value); return *this;}
64 inline AssetPropertyValue& WithTimestamp(AssetPropertyTimestamp&& value) { SetTimestamp(std::move(value)); return *this;}
66
68
73 inline const Aws::String& GetQuality() const{ return m_quality; }
74 inline bool QualityHasBeenSet() const { return m_qualityHasBeenSet; }
75 inline void SetQuality(const Aws::String& value) { m_qualityHasBeenSet = true; m_quality = value; }
76 inline void SetQuality(Aws::String&& value) { m_qualityHasBeenSet = true; m_quality = std::move(value); }
77 inline void SetQuality(const char* value) { m_qualityHasBeenSet = true; m_quality.assign(value); }
78 inline AssetPropertyValue& WithQuality(const Aws::String& value) { SetQuality(value); return *this;}
79 inline AssetPropertyValue& WithQuality(Aws::String&& value) { SetQuality(std::move(value)); return *this;}
80 inline AssetPropertyValue& WithQuality(const char* value) { SetQuality(value); return *this;}
82 private:
83
85 bool m_valueHasBeenSet = false;
86
87 AssetPropertyTimestamp m_timestamp;
88 bool m_timestampHasBeenSet = false;
89
90 Aws::String m_quality;
91 bool m_qualityHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace IoT
96} // namespace Aws
void SetQuality(const Aws::String &value)
AssetPropertyValue & WithValue(AssetPropertyVariant &&value)
AssetPropertyValue & WithQuality(Aws::String &&value)
void SetValue(AssetPropertyVariant &&value)
AssetPropertyValue & WithQuality(const char *value)
const AssetPropertyTimestamp & GetTimestamp() const
AssetPropertyValue & WithTimestamp(AssetPropertyTimestamp &&value)
AssetPropertyValue & WithValue(const AssetPropertyVariant &value)
void SetQuality(Aws::String &&value)
AssetPropertyValue & WithTimestamp(const AssetPropertyTimestamp &value)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
const AssetPropertyVariant & GetValue() const
void SetValue(const AssetPropertyVariant &value)
const Aws::String & GetQuality() const
void SetTimestamp(AssetPropertyTimestamp &&value)
AWS_IOT_API AssetPropertyValue & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTimestamp(const AssetPropertyTimestamp &value)
AssetPropertyValue & WithQuality(const Aws::String &value)
AWS_IOT_API AssetPropertyValue(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue