AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
PropertySummary.h
1
6#pragma once
7#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
8#include <aws/iottwinmaker/model/PropertyDefinitionResponse.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iottwinmaker/model/DataValue.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 IoTTwinMaker
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_IOTTWINMAKER_API PropertySummary() = default;
38 AWS_IOTTWINMAKER_API PropertySummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTTWINMAKER_API PropertySummary& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const PropertyDefinitionResponse& GetDefinition() const { return m_definition; }
48 inline bool DefinitionHasBeenSet() const { return m_definitionHasBeenSet; }
49 template<typename DefinitionT = PropertyDefinitionResponse>
50 void SetDefinition(DefinitionT&& value) { m_definitionHasBeenSet = true; m_definition = std::forward<DefinitionT>(value); }
51 template<typename DefinitionT = PropertyDefinitionResponse>
52 PropertySummary& WithDefinition(DefinitionT&& value) { SetDefinition(std::forward<DefinitionT>(value)); return *this;}
54
56
59 inline const Aws::String& GetPropertyName() const { return m_propertyName; }
60 inline bool PropertyNameHasBeenSet() const { return m_propertyNameHasBeenSet; }
61 template<typename PropertyNameT = Aws::String>
62 void SetPropertyName(PropertyNameT&& value) { m_propertyNameHasBeenSet = true; m_propertyName = std::forward<PropertyNameT>(value); }
63 template<typename PropertyNameT = Aws::String>
64 PropertySummary& WithPropertyName(PropertyNameT&& value) { SetPropertyName(std::forward<PropertyNameT>(value)); return *this;}
66
68
71 inline const DataValue& GetValue() const { return m_value; }
72 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
73 template<typename ValueT = DataValue>
74 void SetValue(ValueT&& value) { m_valueHasBeenSet = true; m_value = std::forward<ValueT>(value); }
75 template<typename ValueT = DataValue>
76 PropertySummary& WithValue(ValueT&& value) { SetValue(std::forward<ValueT>(value)); return *this;}
78
80
85 inline bool GetAreAllPropertyValuesReturned() const { return m_areAllPropertyValuesReturned; }
86 inline bool AreAllPropertyValuesReturnedHasBeenSet() const { return m_areAllPropertyValuesReturnedHasBeenSet; }
87 inline void SetAreAllPropertyValuesReturned(bool value) { m_areAllPropertyValuesReturnedHasBeenSet = true; m_areAllPropertyValuesReturned = value; }
90 private:
91
92 PropertyDefinitionResponse m_definition;
93 bool m_definitionHasBeenSet = false;
94
95 Aws::String m_propertyName;
96 bool m_propertyNameHasBeenSet = false;
97
98 DataValue m_value;
99 bool m_valueHasBeenSet = false;
100
101 bool m_areAllPropertyValuesReturned{false};
102 bool m_areAllPropertyValuesReturnedHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace IoTTwinMaker
107} // namespace Aws
const Aws::String & GetPropertyName() const
PropertySummary & WithAreAllPropertyValuesReturned(bool value)
AWS_IOTTWINMAKER_API PropertySummary(Aws::Utils::Json::JsonView jsonValue)
const PropertyDefinitionResponse & GetDefinition() const
PropertySummary & WithDefinition(DefinitionT &&value)
AWS_IOTTWINMAKER_API PropertySummary()=default
PropertySummary & WithPropertyName(PropertyNameT &&value)
AWS_IOTTWINMAKER_API PropertySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPropertyName(PropertyNameT &&value)
PropertySummary & WithValue(ValueT &&value)
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue