AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PropertyLatestValue.h
1
6#pragma once
7#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
8#include <aws/iottwinmaker/model/EntityPropertyReference.h>
9#include <aws/iottwinmaker/model/DataValue.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 IoTTwinMaker
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_IOTTWINMAKER_API PropertyLatestValue();
36 AWS_IOTTWINMAKER_API PropertyLatestValue(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const EntityPropertyReference& GetPropertyReference() const{ return m_propertyReference; }
46 inline bool PropertyReferenceHasBeenSet() const { return m_propertyReferenceHasBeenSet; }
47 inline void SetPropertyReference(const EntityPropertyReference& value) { m_propertyReferenceHasBeenSet = true; m_propertyReference = value; }
48 inline void SetPropertyReference(EntityPropertyReference&& value) { m_propertyReferenceHasBeenSet = true; m_propertyReference = std::move(value); }
52
54
57 inline const DataValue& GetPropertyValue() const{ return m_propertyValue; }
58 inline bool PropertyValueHasBeenSet() const { return m_propertyValueHasBeenSet; }
59 inline void SetPropertyValue(const DataValue& value) { m_propertyValueHasBeenSet = true; m_propertyValue = value; }
60 inline void SetPropertyValue(DataValue&& value) { m_propertyValueHasBeenSet = true; m_propertyValue = std::move(value); }
61 inline PropertyLatestValue& WithPropertyValue(const DataValue& value) { SetPropertyValue(value); return *this;}
62 inline PropertyLatestValue& WithPropertyValue(DataValue&& value) { SetPropertyValue(std::move(value)); return *this;}
64 private:
65
66 EntityPropertyReference m_propertyReference;
67 bool m_propertyReferenceHasBeenSet = false;
68
69 DataValue m_propertyValue;
70 bool m_propertyValueHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace IoTTwinMaker
75} // namespace Aws
void SetPropertyReference(EntityPropertyReference &&value)
PropertyLatestValue & WithPropertyValue(const DataValue &value)
const EntityPropertyReference & GetPropertyReference() const
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPropertyReference(const EntityPropertyReference &value)
PropertyLatestValue & WithPropertyValue(DataValue &&value)
AWS_IOTTWINMAKER_API PropertyLatestValue & operator=(Aws::Utils::Json::JsonView jsonValue)
PropertyLatestValue & WithPropertyReference(EntityPropertyReference &&value)
AWS_IOTTWINMAKER_API PropertyLatestValue(Aws::Utils::Json::JsonView jsonValue)
PropertyLatestValue & WithPropertyReference(const EntityPropertyReference &value)
Aws::Utils::Json::JsonValue JsonValue