AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PropertyResponse.h
1
6#pragma once
7#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
8#include <aws/iottwinmaker/model/PropertyDefinitionResponse.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
34 {
35 public:
36 AWS_IOTTWINMAKER_API PropertyResponse();
37 AWS_IOTTWINMAKER_API PropertyResponse(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTTWINMAKER_API PropertyResponse& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const PropertyDefinitionResponse& GetDefinition() const{ return m_definition; }
47 inline bool DefinitionHasBeenSet() const { return m_definitionHasBeenSet; }
48 inline void SetDefinition(const PropertyDefinitionResponse& value) { m_definitionHasBeenSet = true; m_definition = value; }
49 inline void SetDefinition(PropertyDefinitionResponse&& value) { m_definitionHasBeenSet = true; m_definition = std::move(value); }
50 inline PropertyResponse& WithDefinition(const PropertyDefinitionResponse& value) { SetDefinition(value); return *this;}
51 inline PropertyResponse& WithDefinition(PropertyDefinitionResponse&& value) { SetDefinition(std::move(value)); return *this;}
53
55
58 inline const DataValue& GetValue() const{ return m_value; }
59 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
60 inline void SetValue(const DataValue& value) { m_valueHasBeenSet = true; m_value = value; }
61 inline void SetValue(DataValue&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
62 inline PropertyResponse& WithValue(const DataValue& value) { SetValue(value); return *this;}
63 inline PropertyResponse& WithValue(DataValue&& value) { SetValue(std::move(value)); return *this;}
65
67
72 inline bool GetAreAllPropertyValuesReturned() const{ return m_areAllPropertyValuesReturned; }
73 inline bool AreAllPropertyValuesReturnedHasBeenSet() const { return m_areAllPropertyValuesReturnedHasBeenSet; }
74 inline void SetAreAllPropertyValuesReturned(bool value) { m_areAllPropertyValuesReturnedHasBeenSet = true; m_areAllPropertyValuesReturned = value; }
77 private:
78
79 PropertyDefinitionResponse m_definition;
80 bool m_definitionHasBeenSet = false;
81
82 DataValue m_value;
83 bool m_valueHasBeenSet = false;
84
85 bool m_areAllPropertyValuesReturned;
86 bool m_areAllPropertyValuesReturnedHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace IoTTwinMaker
91} // namespace Aws
PropertyResponse & WithAreAllPropertyValuesReturned(bool value)
PropertyResponse & WithValue(DataValue &&value)
AWS_IOTTWINMAKER_API PropertyResponse(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTTWINMAKER_API PropertyResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
PropertyResponse & WithValue(const DataValue &value)
PropertyResponse & WithDefinition(const PropertyDefinitionResponse &value)
PropertyResponse & WithDefinition(PropertyDefinitionResponse &&value)
void SetDefinition(PropertyDefinitionResponse &&value)
const PropertyDefinitionResponse & GetDefinition() const
void SetDefinition(const PropertyDefinitionResponse &value)
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue