7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
12#include <aws/iottwinmaker/model/ComponentResponse.h>
13#include <aws/iottwinmaker/model/Status.h>
18template <
typename RESULT_TYPE>
19class AmazonWebServiceResult;
26namespace IoTTwinMaker {
39 template <
typename EntityIdT = Aws::String>
41 m_entityIdHasBeenSet =
true;
42 m_entityId = std::forward<EntityIdT>(value);
44 template <
typename EntityIdT = Aws::String>
56 template <
typename EntityNameT = Aws::String>
58 m_entityNameHasBeenSet =
true;
59 m_entityName = std::forward<EntityNameT>(value);
61 template <
typename EntityNameT = Aws::String>
73 template <
typename ArnT = Aws::String>
75 m_arnHasBeenSet =
true;
76 m_arn = std::forward<ArnT>(value);
78 template <
typename ArnT = Aws::String>
80 SetArn(std::forward<ArnT>(value));
90 template <
typename StatusT = Status>
92 m_statusHasBeenSet =
true;
93 m_status = std::forward<StatusT>(value);
95 template <
typename StatusT = Status>
107 template <
typename WorkspaceIdT = Aws::String>
109 m_workspaceIdHasBeenSet =
true;
110 m_workspaceId = std::forward<WorkspaceIdT>(value);
112 template <
typename WorkspaceIdT = Aws::String>
124 template <
typename DescriptionT = Aws::String>
126 m_descriptionHasBeenSet =
true;
127 m_description = std::forward<DescriptionT>(value);
129 template <
typename DescriptionT = Aws::String>
142 template <
typename ComponentsT = Aws::Map<Aws::String, ComponentResponse>>
144 m_componentsHasBeenSet =
true;
145 m_components = std::forward<ComponentsT>(value);
147 template <
typename ComponentsT = Aws::Map<Aws::String, ComponentResponse>>
152 template <
typename ComponentsKeyT = Aws::String,
typename ComponentsValueT = ComponentResponse>
154 m_componentsHasBeenSet =
true;
155 m_components.emplace(std::forward<ComponentsKeyT>(key), std::forward<ComponentsValueT>(value));
165 template <
typename ParentEntityIdT = Aws::String>
167 m_parentEntityIdHasBeenSet =
true;
168 m_parentEntityId = std::forward<ParentEntityIdT>(value);
170 template <
typename ParentEntityIdT = Aws::String>
184 m_hasChildEntitiesHasBeenSet =
true;
185 m_hasChildEntities = value;
198 template <
typename CreationDateTimeT = Aws::Utils::DateTime>
200 m_creationDateTimeHasBeenSet =
true;
201 m_creationDateTime = std::forward<CreationDateTimeT>(value);
203 template <
typename CreationDateTimeT = Aws::Utils::DateTime>
215 template <
typename UpdateDateTimeT = Aws::Utils::DateTime>
217 m_updateDateTimeHasBeenSet =
true;
218 m_updateDateTime = std::forward<UpdateDateTimeT>(value);
220 template <
typename UpdateDateTimeT = Aws::Utils::DateTime>
232 template <
typename SyncSourceT = Aws::String>
234 m_syncSourceHasBeenSet =
true;
235 m_syncSource = std::forward<SyncSourceT>(value);
237 template <
typename SyncSourceT = Aws::String>
251 m_areAllComponentsReturnedHasBeenSet =
true;
252 m_areAllComponentsReturned = value;
263 template <
typename RequestIdT = Aws::String>
265 m_requestIdHasBeenSet =
true;
266 m_requestId = std::forward<RequestIdT>(value);
268 template <
typename RequestIdT = Aws::String>
293 bool m_hasChildEntities{
false};
301 bool m_areAllComponentsReturned{
false};
305 bool m_entityIdHasBeenSet =
false;
306 bool m_entityNameHasBeenSet =
false;
307 bool m_arnHasBeenSet =
false;
308 bool m_statusHasBeenSet =
false;
309 bool m_workspaceIdHasBeenSet =
false;
310 bool m_descriptionHasBeenSet =
false;
311 bool m_componentsHasBeenSet =
false;
312 bool m_parentEntityIdHasBeenSet =
false;
313 bool m_hasChildEntitiesHasBeenSet =
false;
314 bool m_creationDateTimeHasBeenSet =
false;
315 bool m_updateDateTimeHasBeenSet =
false;
316 bool m_syncSourceHasBeenSet =
false;
317 bool m_areAllComponentsReturnedHasBeenSet =
false;
318 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetParentEntityId() const
void SetWorkspaceId(WorkspaceIdT &&value)
GetEntityResult & WithParentEntityId(ParentEntityIdT &&value)
const Aws::String & GetRequestId() const
void SetStatus(StatusT &&value)
AWS_IOTTWINMAKER_API GetEntityResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetEntityResult & AddComponents(ComponentsKeyT &&key, ComponentsValueT &&value)
const Status & GetStatus() const
void SetHasChildEntities(bool value)
GetEntityResult & WithSyncSource(SyncSourceT &&value)
GetEntityResult & WithWorkspaceId(WorkspaceIdT &&value)
GetEntityResult & WithRequestId(RequestIdT &&value)
const Aws::Map< Aws::String, ComponentResponse > & GetComponents() const
void SetArn(ArnT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const Aws::Utils::DateTime & GetUpdateDateTime() const
const Aws::String & GetWorkspaceId() const
bool GetAreAllComponentsReturned() const
GetEntityResult & WithComponents(ComponentsT &&value)
GetEntityResult & WithHasChildEntities(bool value)
GetEntityResult & WithCreationDateTime(CreationDateTimeT &&value)
void SetRequestId(RequestIdT &&value)
GetEntityResult & WithEntityName(EntityNameT &&value)
void SetSyncSource(SyncSourceT &&value)
void SetAreAllComponentsReturned(bool value)
AWS_IOTTWINMAKER_API GetEntityResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetUpdateDateTime(UpdateDateTimeT &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
void SetEntityName(EntityNameT &&value)
const Aws::String & GetSyncSource() const
GetEntityResult & WithStatus(StatusT &&value)
const Aws::String & GetEntityId() const
GetEntityResult & WithEntityId(EntityIdT &&value)
const Aws::String & GetEntityName() const
const Aws::String & GetDescription() const
void SetCreationDateTime(CreationDateTimeT &&value)
GetEntityResult & WithUpdateDateTime(UpdateDateTimeT &&value)
const Aws::String & GetArn() const
void SetDescription(DescriptionT &&value)
void SetEntityId(EntityIdT &&value)
bool GetHasChildEntities() const
AWS_IOTTWINMAKER_API GetEntityResult()=default
GetEntityResult & WithArn(ArnT &&value)
void SetComponents(ComponentsT &&value)
void SetParentEntityId(ParentEntityIdT &&value)
GetEntityResult & WithAreAllComponentsReturned(bool value)
GetEntityResult & WithDescription(DescriptionT &&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