AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ComponentSummary.h
1
6#pragma once
7#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/iottwinmaker/model/Status.h>
11#include <aws/iottwinmaker/model/ComponentPropertyGroupResponse.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace IoTTwinMaker
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_IOTTWINMAKER_API ComponentSummary() = default;
39 AWS_IOTTWINMAKER_API ComponentSummary(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IOTTWINMAKER_API ComponentSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetComponentName() const { return m_componentName; }
49 inline bool ComponentNameHasBeenSet() const { return m_componentNameHasBeenSet; }
50 template<typename ComponentNameT = Aws::String>
51 void SetComponentName(ComponentNameT&& value) { m_componentNameHasBeenSet = true; m_componentName = std::forward<ComponentNameT>(value); }
52 template<typename ComponentNameT = Aws::String>
53 ComponentSummary& WithComponentName(ComponentNameT&& value) { SetComponentName(std::forward<ComponentNameT>(value)); return *this;}
55
57
60 inline const Aws::String& GetComponentTypeId() const { return m_componentTypeId; }
61 inline bool ComponentTypeIdHasBeenSet() const { return m_componentTypeIdHasBeenSet; }
62 template<typename ComponentTypeIdT = Aws::String>
63 void SetComponentTypeId(ComponentTypeIdT&& value) { m_componentTypeIdHasBeenSet = true; m_componentTypeId = std::forward<ComponentTypeIdT>(value); }
64 template<typename ComponentTypeIdT = Aws::String>
65 ComponentSummary& WithComponentTypeId(ComponentTypeIdT&& value) { SetComponentTypeId(std::forward<ComponentTypeIdT>(value)); return *this;}
67
69
72 inline const Aws::String& GetDefinedIn() const { return m_definedIn; }
73 inline bool DefinedInHasBeenSet() const { return m_definedInHasBeenSet; }
74 template<typename DefinedInT = Aws::String>
75 void SetDefinedIn(DefinedInT&& value) { m_definedInHasBeenSet = true; m_definedIn = std::forward<DefinedInT>(value); }
76 template<typename DefinedInT = Aws::String>
77 ComponentSummary& WithDefinedIn(DefinedInT&& value) { SetDefinedIn(std::forward<DefinedInT>(value)); return *this;}
79
81
84 inline const Aws::String& GetDescription() const { return m_description; }
85 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
86 template<typename DescriptionT = Aws::String>
87 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
88 template<typename DescriptionT = Aws::String>
89 ComponentSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
91
93
96 inline const Aws::Map<Aws::String, ComponentPropertyGroupResponse>& GetPropertyGroups() const { return m_propertyGroups; }
97 inline bool PropertyGroupsHasBeenSet() const { return m_propertyGroupsHasBeenSet; }
98 template<typename PropertyGroupsT = Aws::Map<Aws::String, ComponentPropertyGroupResponse>>
99 void SetPropertyGroups(PropertyGroupsT&& value) { m_propertyGroupsHasBeenSet = true; m_propertyGroups = std::forward<PropertyGroupsT>(value); }
100 template<typename PropertyGroupsT = Aws::Map<Aws::String, ComponentPropertyGroupResponse>>
101 ComponentSummary& WithPropertyGroups(PropertyGroupsT&& value) { SetPropertyGroups(std::forward<PropertyGroupsT>(value)); return *this;}
102 template<typename PropertyGroupsKeyT = Aws::String, typename PropertyGroupsValueT = ComponentPropertyGroupResponse>
103 ComponentSummary& AddPropertyGroups(PropertyGroupsKeyT&& key, PropertyGroupsValueT&& value) {
104 m_propertyGroupsHasBeenSet = true; m_propertyGroups.emplace(std::forward<PropertyGroupsKeyT>(key), std::forward<PropertyGroupsValueT>(value)); return *this;
105 }
107
109
112 inline const Status& GetStatus() const { return m_status; }
113 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
114 template<typename StatusT = Status>
115 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
116 template<typename StatusT = Status>
117 ComponentSummary& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
119
121
125 inline const Aws::String& GetSyncSource() const { return m_syncSource; }
126 inline bool SyncSourceHasBeenSet() const { return m_syncSourceHasBeenSet; }
127 template<typename SyncSourceT = Aws::String>
128 void SetSyncSource(SyncSourceT&& value) { m_syncSourceHasBeenSet = true; m_syncSource = std::forward<SyncSourceT>(value); }
129 template<typename SyncSourceT = Aws::String>
130 ComponentSummary& WithSyncSource(SyncSourceT&& value) { SetSyncSource(std::forward<SyncSourceT>(value)); return *this;}
132
134
138 inline const Aws::String& GetComponentPath() const { return m_componentPath; }
139 inline bool ComponentPathHasBeenSet() const { return m_componentPathHasBeenSet; }
140 template<typename ComponentPathT = Aws::String>
141 void SetComponentPath(ComponentPathT&& value) { m_componentPathHasBeenSet = true; m_componentPath = std::forward<ComponentPathT>(value); }
142 template<typename ComponentPathT = Aws::String>
143 ComponentSummary& WithComponentPath(ComponentPathT&& value) { SetComponentPath(std::forward<ComponentPathT>(value)); return *this;}
145 private:
146
147 Aws::String m_componentName;
148 bool m_componentNameHasBeenSet = false;
149
150 Aws::String m_componentTypeId;
151 bool m_componentTypeIdHasBeenSet = false;
152
153 Aws::String m_definedIn;
154 bool m_definedInHasBeenSet = false;
155
156 Aws::String m_description;
157 bool m_descriptionHasBeenSet = false;
158
160 bool m_propertyGroupsHasBeenSet = false;
161
162 Status m_status;
163 bool m_statusHasBeenSet = false;
164
165 Aws::String m_syncSource;
166 bool m_syncSourceHasBeenSet = false;
167
168 Aws::String m_componentPath;
169 bool m_componentPathHasBeenSet = false;
170 };
171
172} // namespace Model
173} // namespace IoTTwinMaker
174} // namespace Aws
const Aws::String & GetComponentPath() const
void SetComponentPath(ComponentPathT &&value)
ComponentSummary & WithComponentTypeId(ComponentTypeIdT &&value)
AWS_IOTTWINMAKER_API ComponentSummary()=default
const Aws::String & GetComponentTypeId() const
ComponentSummary & WithDescription(DescriptionT &&value)
const Aws::String & GetComponentName() const
ComponentSummary & WithSyncSource(SyncSourceT &&value)
AWS_IOTTWINMAKER_API ComponentSummary(Aws::Utils::Json::JsonView jsonValue)
ComponentSummary & WithPropertyGroups(PropertyGroupsT &&value)
const Aws::String & GetDescription() const
const Aws::Map< Aws::String, ComponentPropertyGroupResponse > & GetPropertyGroups() const
AWS_IOTTWINMAKER_API ComponentSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ComponentSummary & WithComponentPath(ComponentPathT &&value)
ComponentSummary & WithStatus(StatusT &&value)
void SetComponentName(ComponentNameT &&value)
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ComponentSummary & AddPropertyGroups(PropertyGroupsKeyT &&key, PropertyGroupsValueT &&value)
void SetPropertyGroups(PropertyGroupsT &&value)
void SetComponentTypeId(ComponentTypeIdT &&value)
ComponentSummary & WithDefinedIn(DefinedInT &&value)
ComponentSummary & WithComponentName(ComponentNameT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue