AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetEntityResult.h
1
6#pragma once
7#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iottwinmaker/model/Status.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/iottwinmaker/model/ComponentResponse.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace IoTTwinMaker
28{
29namespace Model
30{
32 {
33 public:
34 AWS_IOTTWINMAKER_API GetEntityResult();
37
38
40
43 inline const Aws::String& GetEntityId() const{ return m_entityId; }
44 inline void SetEntityId(const Aws::String& value) { m_entityId = value; }
45 inline void SetEntityId(Aws::String&& value) { m_entityId = std::move(value); }
46 inline void SetEntityId(const char* value) { m_entityId.assign(value); }
47 inline GetEntityResult& WithEntityId(const Aws::String& value) { SetEntityId(value); return *this;}
48 inline GetEntityResult& WithEntityId(Aws::String&& value) { SetEntityId(std::move(value)); return *this;}
49 inline GetEntityResult& WithEntityId(const char* value) { SetEntityId(value); return *this;}
51
53
56 inline const Aws::String& GetEntityName() const{ return m_entityName; }
57 inline void SetEntityName(const Aws::String& value) { m_entityName = value; }
58 inline void SetEntityName(Aws::String&& value) { m_entityName = std::move(value); }
59 inline void SetEntityName(const char* value) { m_entityName.assign(value); }
60 inline GetEntityResult& WithEntityName(const Aws::String& value) { SetEntityName(value); return *this;}
61 inline GetEntityResult& WithEntityName(Aws::String&& value) { SetEntityName(std::move(value)); return *this;}
62 inline GetEntityResult& WithEntityName(const char* value) { SetEntityName(value); return *this;}
64
66
69 inline const Aws::String& GetArn() const{ return m_arn; }
70 inline void SetArn(const Aws::String& value) { m_arn = value; }
71 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
72 inline void SetArn(const char* value) { m_arn.assign(value); }
73 inline GetEntityResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
74 inline GetEntityResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
75 inline GetEntityResult& WithArn(const char* value) { SetArn(value); return *this;}
77
79
82 inline const Status& GetStatus() const{ return m_status; }
83 inline void SetStatus(const Status& value) { m_status = value; }
84 inline void SetStatus(Status&& value) { m_status = std::move(value); }
85 inline GetEntityResult& WithStatus(const Status& value) { SetStatus(value); return *this;}
86 inline GetEntityResult& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;}
88
90
93 inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; }
94 inline void SetWorkspaceId(const Aws::String& value) { m_workspaceId = value; }
95 inline void SetWorkspaceId(Aws::String&& value) { m_workspaceId = std::move(value); }
96 inline void SetWorkspaceId(const char* value) { m_workspaceId.assign(value); }
97 inline GetEntityResult& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;}
98 inline GetEntityResult& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;}
99 inline GetEntityResult& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;}
101
103
106 inline const Aws::String& GetDescription() const{ return m_description; }
107 inline void SetDescription(const Aws::String& value) { m_description = value; }
108 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
109 inline void SetDescription(const char* value) { m_description.assign(value); }
110 inline GetEntityResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
111 inline GetEntityResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
112 inline GetEntityResult& WithDescription(const char* value) { SetDescription(value); return *this;}
114
116
120 inline const Aws::Map<Aws::String, ComponentResponse>& GetComponents() const{ return m_components; }
121 inline void SetComponents(const Aws::Map<Aws::String, ComponentResponse>& value) { m_components = value; }
122 inline void SetComponents(Aws::Map<Aws::String, ComponentResponse>&& value) { m_components = std::move(value); }
125 inline GetEntityResult& AddComponents(const Aws::String& key, const ComponentResponse& value) { m_components.emplace(key, value); return *this; }
126 inline GetEntityResult& AddComponents(Aws::String&& key, const ComponentResponse& value) { m_components.emplace(std::move(key), value); return *this; }
127 inline GetEntityResult& AddComponents(const Aws::String& key, ComponentResponse&& value) { m_components.emplace(key, std::move(value)); return *this; }
128 inline GetEntityResult& AddComponents(Aws::String&& key, ComponentResponse&& value) { m_components.emplace(std::move(key), std::move(value)); return *this; }
129 inline GetEntityResult& AddComponents(const char* key, ComponentResponse&& value) { m_components.emplace(key, std::move(value)); return *this; }
130 inline GetEntityResult& AddComponents(const char* key, const ComponentResponse& value) { m_components.emplace(key, value); return *this; }
132
134
137 inline const Aws::String& GetParentEntityId() const{ return m_parentEntityId; }
138 inline void SetParentEntityId(const Aws::String& value) { m_parentEntityId = value; }
139 inline void SetParentEntityId(Aws::String&& value) { m_parentEntityId = std::move(value); }
140 inline void SetParentEntityId(const char* value) { m_parentEntityId.assign(value); }
141 inline GetEntityResult& WithParentEntityId(const Aws::String& value) { SetParentEntityId(value); return *this;}
142 inline GetEntityResult& WithParentEntityId(Aws::String&& value) { SetParentEntityId(std::move(value)); return *this;}
143 inline GetEntityResult& WithParentEntityId(const char* value) { SetParentEntityId(value); return *this;}
145
147
151 inline bool GetHasChildEntities() const{ return m_hasChildEntities; }
152 inline void SetHasChildEntities(bool value) { m_hasChildEntities = value; }
153 inline GetEntityResult& WithHasChildEntities(bool value) { SetHasChildEntities(value); return *this;}
155
157
160 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
161 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTime = value; }
162 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTime = std::move(value); }
164 inline GetEntityResult& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
166
168
171 inline const Aws::Utils::DateTime& GetUpdateDateTime() const{ return m_updateDateTime; }
172 inline void SetUpdateDateTime(const Aws::Utils::DateTime& value) { m_updateDateTime = value; }
173 inline void SetUpdateDateTime(Aws::Utils::DateTime&& value) { m_updateDateTime = std::move(value); }
174 inline GetEntityResult& WithUpdateDateTime(const Aws::Utils::DateTime& value) { SetUpdateDateTime(value); return *this;}
175 inline GetEntityResult& WithUpdateDateTime(Aws::Utils::DateTime&& value) { SetUpdateDateTime(std::move(value)); return *this;}
177
179
182 inline const Aws::String& GetSyncSource() const{ return m_syncSource; }
183 inline void SetSyncSource(const Aws::String& value) { m_syncSource = value; }
184 inline void SetSyncSource(Aws::String&& value) { m_syncSource = std::move(value); }
185 inline void SetSyncSource(const char* value) { m_syncSource.assign(value); }
186 inline GetEntityResult& WithSyncSource(const Aws::String& value) { SetSyncSource(value); return *this;}
187 inline GetEntityResult& WithSyncSource(Aws::String&& value) { SetSyncSource(std::move(value)); return *this;}
188 inline GetEntityResult& WithSyncSource(const char* value) { SetSyncSource(value); return *this;}
190
192
196 inline bool GetAreAllComponentsReturned() const{ return m_areAllComponentsReturned; }
197 inline void SetAreAllComponentsReturned(bool value) { m_areAllComponentsReturned = value; }
200
202
203 inline const Aws::String& GetRequestId() const{ return m_requestId; }
204 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
205 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
206 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
207 inline GetEntityResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
208 inline GetEntityResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
209 inline GetEntityResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
211 private:
212
213 Aws::String m_entityId;
214
215 Aws::String m_entityName;
216
217 Aws::String m_arn;
218
219 Status m_status;
220
221 Aws::String m_workspaceId;
222
223 Aws::String m_description;
224
226
227 Aws::String m_parentEntityId;
228
229 bool m_hasChildEntities;
230
231 Aws::Utils::DateTime m_creationDateTime;
232
233 Aws::Utils::DateTime m_updateDateTime;
234
235 Aws::String m_syncSource;
236
237 bool m_areAllComponentsReturned;
238
239 Aws::String m_requestId;
240 };
241
242} // namespace Model
243} // namespace IoTTwinMaker
244} // namespace Aws
GetEntityResult & WithParentEntityId(Aws::String &&value)
const Aws::String & GetParentEntityId() const
GetEntityResult & WithEntityName(const char *value)
GetEntityResult & WithRequestId(const char *value)
const Aws::String & GetRequestId() const
GetEntityResult & WithArn(Aws::String &&value)
GetEntityResult & WithSyncSource(Aws::String &&value)
AWS_IOTTWINMAKER_API GetEntityResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetEntityResult & WithStatus(Status &&value)
GetEntityResult & WithWorkspaceId(const char *value)
GetEntityResult & WithUpdateDateTime(Aws::Utils::DateTime &&value)
GetEntityResult & WithDescription(const Aws::String &value)
void SetSyncSource(const Aws::String &value)
GetEntityResult & WithEntityName(Aws::String &&value)
GetEntityResult & WithEntityName(const Aws::String &value)
void SetUpdateDateTime(const Aws::Utils::DateTime &value)
void SetEntityId(const Aws::String &value)
void SetWorkspaceId(const Aws::String &value)
GetEntityResult & WithStatus(const Status &value)
void SetArn(const Aws::String &value)
const Aws::Map< Aws::String, ComponentResponse > & GetComponents() const
GetEntityResult & WithUpdateDateTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetUpdateDateTime() const
const Aws::String & GetWorkspaceId() const
void SetCreationDateTime(const Aws::Utils::DateTime &value)
void SetEntityName(const Aws::String &value)
GetEntityResult & WithArn(const Aws::String &value)
GetEntityResult & WithHasChildEntities(bool value)
GetEntityResult & WithComponents(Aws::Map< Aws::String, ComponentResponse > &&value)
GetEntityResult & AddComponents(const Aws::String &key, const ComponentResponse &value)
GetEntityResult & WithComponents(const Aws::Map< Aws::String, ComponentResponse > &value)
GetEntityResult & WithWorkspaceId(const Aws::String &value)
GetEntityResult & WithCreationDateTime(Aws::Utils::DateTime &&value)
AWS_IOTTWINMAKER_API GetEntityResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetEntityResult & WithParentEntityId(const Aws::String &value)
GetEntityResult & WithSyncSource(const char *value)
const Aws::Utils::DateTime & GetCreationDateTime() const
GetEntityResult & WithEntityId(Aws::String &&value)
const Aws::String & GetSyncSource() const
GetEntityResult & AddComponents(Aws::String &&key, const ComponentResponse &value)
void SetParentEntityId(const Aws::String &value)
GetEntityResult & WithWorkspaceId(Aws::String &&value)
const Aws::String & GetEntityId() const
GetEntityResult & WithArn(const char *value)
GetEntityResult & WithEntityId(const char *value)
const Aws::String & GetEntityName() const
GetEntityResult & WithSyncSource(const Aws::String &value)
const Aws::String & GetDescription() const
void SetParentEntityId(Aws::String &&value)
GetEntityResult & WithDescription(const char *value)
GetEntityResult & AddComponents(Aws::String &&key, ComponentResponse &&value)
void SetComponents(const Aws::Map< Aws::String, ComponentResponse > &value)
GetEntityResult & WithRequestId(Aws::String &&value)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
void SetDescription(const Aws::String &value)
GetEntityResult & WithRequestId(const Aws::String &value)
void SetComponents(Aws::Map< Aws::String, ComponentResponse > &&value)
GetEntityResult & WithCreationDateTime(const Aws::Utils::DateTime &value)
GetEntityResult & AddComponents(const Aws::String &key, ComponentResponse &&value)
GetEntityResult & WithEntityId(const Aws::String &value)
GetEntityResult & WithParentEntityId(const char *value)
void SetUpdateDateTime(Aws::Utils::DateTime &&value)
GetEntityResult & AddComponents(const char *key, ComponentResponse &&value)
GetEntityResult & AddComponents(const char *key, const ComponentResponse &value)
void SetRequestId(const Aws::String &value)
GetEntityResult & WithAreAllComponentsReturned(bool value)
GetEntityResult & WithDescription(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