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>
17template<
typename RESULT_TYPE>
18class AmazonWebServiceResult;
44 template<
typename EntityIdT = Aws::String>
45 void SetEntityId(EntityIdT&& value) { m_entityIdHasBeenSet =
true; m_entityId = std::forward<EntityIdT>(value); }
46 template<
typename EntityIdT = Aws::String>
55 template<
typename EntityNameT = Aws::String>
56 void SetEntityName(EntityNameT&& value) { m_entityNameHasBeenSet =
true; m_entityName = std::forward<EntityNameT>(value); }
57 template<
typename EntityNameT = Aws::String>
66 template<
typename ArnT = Aws::String>
67 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
68 template<
typename ArnT = Aws::String>
77 template<
typename StatusT = Status>
78 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
79 template<
typename StatusT = Status>
88 template<
typename WorkspaceIdT = Aws::String>
89 void SetWorkspaceId(WorkspaceIdT&& value) { m_workspaceIdHasBeenSet =
true; m_workspaceId = std::forward<WorkspaceIdT>(value); }
90 template<
typename WorkspaceIdT = Aws::String>
99 template<
typename DescriptionT = Aws::String>
100 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
101 template<
typename DescriptionT = Aws::String>
111 template<
typename ComponentsT = Aws::Map<Aws::String, ComponentResponse>>
112 void SetComponents(ComponentsT&& value) { m_componentsHasBeenSet =
true; m_components = std::forward<ComponentsT>(value); }
113 template<
typename ComponentsT = Aws::Map<Aws::String, ComponentResponse>>
115 template<
typename ComponentsKeyT = Aws::String,
typename ComponentsValueT = ComponentResponse>
117 m_componentsHasBeenSet =
true; m_components.emplace(std::forward<ComponentsKeyT>(key), std::forward<ComponentsValueT>(value));
return *
this;
126 template<
typename ParentEntityIdT = Aws::String>
127 void SetParentEntityId(ParentEntityIdT&& value) { m_parentEntityIdHasBeenSet =
true; m_parentEntityId = std::forward<ParentEntityIdT>(value); }
128 template<
typename ParentEntityIdT = Aws::String>
138 inline void SetHasChildEntities(
bool value) { m_hasChildEntitiesHasBeenSet =
true; m_hasChildEntities = value; }
147 template<
typename CreationDateTimeT = Aws::Utils::DateTime>
148 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet =
true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
149 template<
typename CreationDateTimeT = Aws::Utils::DateTime>
158 template<
typename UpdateDateTimeT = Aws::Utils::DateTime>
159 void SetUpdateDateTime(UpdateDateTimeT&& value) { m_updateDateTimeHasBeenSet =
true; m_updateDateTime = std::forward<UpdateDateTimeT>(value); }
160 template<
typename UpdateDateTimeT = Aws::Utils::DateTime>
169 template<
typename SyncSourceT = Aws::String>
170 void SetSyncSource(SyncSourceT&& value) { m_syncSourceHasBeenSet =
true; m_syncSource = std::forward<SyncSourceT>(value); }
171 template<
typename SyncSourceT = Aws::String>
188 template<
typename RequestIdT = Aws::String>
189 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
190 template<
typename RequestIdT = Aws::String>
196 bool m_entityIdHasBeenSet =
false;
199 bool m_entityNameHasBeenSet =
false;
202 bool m_arnHasBeenSet =
false;
205 bool m_statusHasBeenSet =
false;
208 bool m_workspaceIdHasBeenSet =
false;
211 bool m_descriptionHasBeenSet =
false;
214 bool m_componentsHasBeenSet =
false;
217 bool m_parentEntityIdHasBeenSet =
false;
219 bool m_hasChildEntities{
false};
220 bool m_hasChildEntitiesHasBeenSet =
false;
223 bool m_creationDateTimeHasBeenSet =
false;
226 bool m_updateDateTimeHasBeenSet =
false;
229 bool m_syncSourceHasBeenSet =
false;
231 bool m_areAllComponentsReturned{
false};
232 bool m_areAllComponentsReturnedHasBeenSet =
false;
235 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)
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