AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetComponentName(const Aws::String& value) { m_componentNameHasBeenSet = true; m_componentName = value; }
51 inline void SetComponentName(Aws::String&& value) { m_componentNameHasBeenSet = true; m_componentName = std::move(value); }
52 inline void SetComponentName(const char* value) { m_componentNameHasBeenSet = true; m_componentName.assign(value); }
53 inline ComponentSummary& WithComponentName(const Aws::String& value) { SetComponentName(value); return *this;}
54 inline ComponentSummary& WithComponentName(Aws::String&& value) { SetComponentName(std::move(value)); return *this;}
55 inline ComponentSummary& WithComponentName(const char* value) { SetComponentName(value); return *this;}
57
59
62 inline const Aws::String& GetComponentTypeId() const{ return m_componentTypeId; }
63 inline bool ComponentTypeIdHasBeenSet() const { return m_componentTypeIdHasBeenSet; }
64 inline void SetComponentTypeId(const Aws::String& value) { m_componentTypeIdHasBeenSet = true; m_componentTypeId = value; }
65 inline void SetComponentTypeId(Aws::String&& value) { m_componentTypeIdHasBeenSet = true; m_componentTypeId = std::move(value); }
66 inline void SetComponentTypeId(const char* value) { m_componentTypeIdHasBeenSet = true; m_componentTypeId.assign(value); }
67 inline ComponentSummary& WithComponentTypeId(const Aws::String& value) { SetComponentTypeId(value); return *this;}
68 inline ComponentSummary& WithComponentTypeId(Aws::String&& value) { SetComponentTypeId(std::move(value)); return *this;}
69 inline ComponentSummary& WithComponentTypeId(const char* value) { SetComponentTypeId(value); return *this;}
71
73
76 inline const Aws::String& GetDefinedIn() const{ return m_definedIn; }
77 inline bool DefinedInHasBeenSet() const { return m_definedInHasBeenSet; }
78 inline void SetDefinedIn(const Aws::String& value) { m_definedInHasBeenSet = true; m_definedIn = value; }
79 inline void SetDefinedIn(Aws::String&& value) { m_definedInHasBeenSet = true; m_definedIn = std::move(value); }
80 inline void SetDefinedIn(const char* value) { m_definedInHasBeenSet = true; m_definedIn.assign(value); }
81 inline ComponentSummary& WithDefinedIn(const Aws::String& value) { SetDefinedIn(value); return *this;}
82 inline ComponentSummary& WithDefinedIn(Aws::String&& value) { SetDefinedIn(std::move(value)); return *this;}
83 inline ComponentSummary& WithDefinedIn(const char* value) { SetDefinedIn(value); return *this;}
85
87
90 inline const Aws::String& GetDescription() const{ return m_description; }
91 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
92 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
93 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
94 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
95 inline ComponentSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
96 inline ComponentSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
97 inline ComponentSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
99
101
104 inline const Aws::Map<Aws::String, ComponentPropertyGroupResponse>& GetPropertyGroups() const{ return m_propertyGroups; }
105 inline bool PropertyGroupsHasBeenSet() const { return m_propertyGroupsHasBeenSet; }
106 inline void SetPropertyGroups(const Aws::Map<Aws::String, ComponentPropertyGroupResponse>& value) { m_propertyGroupsHasBeenSet = true; m_propertyGroups = value; }
107 inline void SetPropertyGroups(Aws::Map<Aws::String, ComponentPropertyGroupResponse>&& value) { m_propertyGroupsHasBeenSet = true; m_propertyGroups = std::move(value); }
110 inline ComponentSummary& AddPropertyGroups(const Aws::String& key, const ComponentPropertyGroupResponse& value) { m_propertyGroupsHasBeenSet = true; m_propertyGroups.emplace(key, value); return *this; }
111 inline ComponentSummary& AddPropertyGroups(Aws::String&& key, const ComponentPropertyGroupResponse& value) { m_propertyGroupsHasBeenSet = true; m_propertyGroups.emplace(std::move(key), value); return *this; }
112 inline ComponentSummary& AddPropertyGroups(const Aws::String& key, ComponentPropertyGroupResponse&& value) { m_propertyGroupsHasBeenSet = true; m_propertyGroups.emplace(key, std::move(value)); return *this; }
113 inline ComponentSummary& AddPropertyGroups(Aws::String&& key, ComponentPropertyGroupResponse&& value) { m_propertyGroupsHasBeenSet = true; m_propertyGroups.emplace(std::move(key), std::move(value)); return *this; }
114 inline ComponentSummary& AddPropertyGroups(const char* key, ComponentPropertyGroupResponse&& value) { m_propertyGroupsHasBeenSet = true; m_propertyGroups.emplace(key, std::move(value)); return *this; }
115 inline ComponentSummary& AddPropertyGroups(const char* key, const ComponentPropertyGroupResponse& value) { m_propertyGroupsHasBeenSet = true; m_propertyGroups.emplace(key, value); return *this; }
117
119
122 inline const Status& GetStatus() const{ return m_status; }
123 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
124 inline void SetStatus(const Status& value) { m_statusHasBeenSet = true; m_status = value; }
125 inline void SetStatus(Status&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
126 inline ComponentSummary& WithStatus(const Status& value) { SetStatus(value); return *this;}
127 inline ComponentSummary& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;}
129
131
135 inline const Aws::String& GetSyncSource() const{ return m_syncSource; }
136 inline bool SyncSourceHasBeenSet() const { return m_syncSourceHasBeenSet; }
137 inline void SetSyncSource(const Aws::String& value) { m_syncSourceHasBeenSet = true; m_syncSource = value; }
138 inline void SetSyncSource(Aws::String&& value) { m_syncSourceHasBeenSet = true; m_syncSource = std::move(value); }
139 inline void SetSyncSource(const char* value) { m_syncSourceHasBeenSet = true; m_syncSource.assign(value); }
140 inline ComponentSummary& WithSyncSource(const Aws::String& value) { SetSyncSource(value); return *this;}
141 inline ComponentSummary& WithSyncSource(Aws::String&& value) { SetSyncSource(std::move(value)); return *this;}
142 inline ComponentSummary& WithSyncSource(const char* value) { SetSyncSource(value); return *this;}
144
146
150 inline const Aws::String& GetComponentPath() const{ return m_componentPath; }
151 inline bool ComponentPathHasBeenSet() const { return m_componentPathHasBeenSet; }
152 inline void SetComponentPath(const Aws::String& value) { m_componentPathHasBeenSet = true; m_componentPath = value; }
153 inline void SetComponentPath(Aws::String&& value) { m_componentPathHasBeenSet = true; m_componentPath = std::move(value); }
154 inline void SetComponentPath(const char* value) { m_componentPathHasBeenSet = true; m_componentPath.assign(value); }
155 inline ComponentSummary& WithComponentPath(const Aws::String& value) { SetComponentPath(value); return *this;}
156 inline ComponentSummary& WithComponentPath(Aws::String&& value) { SetComponentPath(std::move(value)); return *this;}
157 inline ComponentSummary& WithComponentPath(const char* value) { SetComponentPath(value); return *this;}
159 private:
160
161 Aws::String m_componentName;
162 bool m_componentNameHasBeenSet = false;
163
164 Aws::String m_componentTypeId;
165 bool m_componentTypeIdHasBeenSet = false;
166
167 Aws::String m_definedIn;
168 bool m_definedInHasBeenSet = false;
169
170 Aws::String m_description;
171 bool m_descriptionHasBeenSet = false;
172
174 bool m_propertyGroupsHasBeenSet = false;
175
176 Status m_status;
177 bool m_statusHasBeenSet = false;
178
179 Aws::String m_syncSource;
180 bool m_syncSourceHasBeenSet = false;
181
182 Aws::String m_componentPath;
183 bool m_componentPathHasBeenSet = false;
184 };
185
186} // namespace Model
187} // namespace IoTTwinMaker
188} // namespace Aws
const Aws::String & GetComponentPath() const
void SetComponentPath(const Aws::String &value)
ComponentSummary & AddPropertyGroups(const char *key, const ComponentPropertyGroupResponse &value)
ComponentSummary & WithStatus(const Status &value)
void SetComponentTypeId(const Aws::String &value)
ComponentSummary & WithComponentPath(const char *value)
ComponentSummary & WithComponentName(const char *value)
void SetPropertyGroups(Aws::Map< Aws::String, ComponentPropertyGroupResponse > &&value)
ComponentSummary & WithComponentPath(const Aws::String &value)
ComponentSummary & WithComponentTypeId(const Aws::String &value)
ComponentSummary & WithDefinedIn(const char *value)
const Aws::String & GetComponentTypeId() const
ComponentSummary & WithDescription(const char *value)
ComponentSummary & AddPropertyGroups(const char *key, ComponentPropertyGroupResponse &&value)
const Aws::String & GetComponentName() const
ComponentSummary & WithSyncSource(Aws::String &&value)
ComponentSummary & WithComponentName(Aws::String &&value)
ComponentSummary & AddPropertyGroups(Aws::String &&key, ComponentPropertyGroupResponse &&value)
void SetPropertyGroups(const Aws::Map< Aws::String, ComponentPropertyGroupResponse > &value)
ComponentSummary & WithComponentTypeId(const char *value)
AWS_IOTTWINMAKER_API ComponentSummary(Aws::Utils::Json::JsonView jsonValue)
void SetSyncSource(const Aws::String &value)
const Aws::String & GetDescription() const
void SetDefinedIn(const Aws::String &value)
ComponentSummary & WithComponentPath(Aws::String &&value)
ComponentSummary & WithSyncSource(const Aws::String &value)
ComponentSummary & WithDescription(Aws::String &&value)
const Aws::Map< Aws::String, ComponentPropertyGroupResponse > & GetPropertyGroups() const
AWS_IOTTWINMAKER_API ComponentSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ComponentSummary & WithDescription(const Aws::String &value)
ComponentSummary & WithComponentName(const Aws::String &value)
ComponentSummary & WithDefinedIn(Aws::String &&value)
void SetComponentName(const Aws::String &value)
ComponentSummary & WithPropertyGroups(const Aws::Map< Aws::String, ComponentPropertyGroupResponse > &value)
ComponentSummary & WithStatus(Status &&value)
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ComponentSummary & WithPropertyGroups(Aws::Map< Aws::String, ComponentPropertyGroupResponse > &&value)
ComponentSummary & WithComponentTypeId(Aws::String &&value)
ComponentSummary & AddPropertyGroups(const Aws::String &key, const ComponentPropertyGroupResponse &value)
ComponentSummary & AddPropertyGroups(const Aws::String &key, ComponentPropertyGroupResponse &&value)
ComponentSummary & AddPropertyGroups(Aws::String &&key, const ComponentPropertyGroupResponse &value)
ComponentSummary & WithDefinedIn(const Aws::String &value)
ComponentSummary & WithSyncSource(const char *value)
void SetDescription(const Aws::String &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