7#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
8#include <aws/iottwinmaker/IoTTwinMakerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/iottwinmaker/model/ParentEntityUpdateRequest.h>
12#include <aws/iottwinmaker/model/ComponentUpdateRequest.h>
13#include <aws/iottwinmaker/model/CompositeComponentUpdateRequest.h>
45 template<
typename WorkspaceIdT = Aws::String>
46 void SetWorkspaceId(WorkspaceIdT&& value) { m_workspaceIdHasBeenSet =
true; m_workspaceId = std::forward<WorkspaceIdT>(value); }
47 template<
typename WorkspaceIdT = Aws::String>
57 template<
typename EntityIdT = Aws::String>
58 void SetEntityId(EntityIdT&& value) { m_entityIdHasBeenSet =
true; m_entityId = std::forward<EntityIdT>(value); }
59 template<
typename EntityIdT = Aws::String>
69 template<
typename EntityNameT = Aws::String>
70 void SetEntityName(EntityNameT&& value) { m_entityNameHasBeenSet =
true; m_entityName = std::forward<EntityNameT>(value); }
71 template<
typename EntityNameT = Aws::String>
81 template<
typename DescriptionT = Aws::String>
82 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
83 template<
typename DescriptionT = Aws::String>
94 template<
typename ComponentUpdatesT = Aws::Map<Aws::String, ComponentUpdateRequest>>
95 void SetComponentUpdates(ComponentUpdatesT&& value) { m_componentUpdatesHasBeenSet =
true; m_componentUpdates = std::forward<ComponentUpdatesT>(value); }
96 template<
typename ComponentUpdatesT = Aws::Map<Aws::String, ComponentUpdateRequest>>
98 template<
typename ComponentUpdatesKeyT = Aws::String,
typename ComponentUpdatesValueT = ComponentUpdateRequest>
100 m_componentUpdatesHasBeenSet =
true; m_componentUpdates.emplace(std::forward<ComponentUpdatesKeyT>(key), std::forward<ComponentUpdatesValueT>(value));
return *
this;
112 template<
typename CompositeComponentUpdatesT = Aws::Map<Aws::String, CompositeComponentUpdateRequest>>
113 void SetCompositeComponentUpdates(CompositeComponentUpdatesT&& value) { m_compositeComponentUpdatesHasBeenSet =
true; m_compositeComponentUpdates = std::forward<CompositeComponentUpdatesT>(value); }
114 template<
typename CompositeComponentUpdatesT = Aws::Map<Aws::String, CompositeComponentUpdateRequest>>
116 template<
typename CompositeComponentUpdatesKeyT = Aws::String,
typename CompositeComponentUpdatesValueT = CompositeComponentUpdateRequest>
118 m_compositeComponentUpdatesHasBeenSet =
true; m_compositeComponentUpdates.emplace(std::forward<CompositeComponentUpdatesKeyT>(key), std::forward<CompositeComponentUpdatesValueT>(value));
return *
this;
128 template<
typename ParentEntityUpdateT = ParentEntityUpdateRequest>
129 void SetParentEntityUpdate(ParentEntityUpdateT&& value) { m_parentEntityUpdateHasBeenSet =
true; m_parentEntityUpdate = std::forward<ParentEntityUpdateT>(value); }
130 template<
typename ParentEntityUpdateT = ParentEntityUpdateRequest>
136 bool m_workspaceIdHasBeenSet =
false;
139 bool m_entityIdHasBeenSet =
false;
142 bool m_entityNameHasBeenSet =
false;
145 bool m_descriptionHasBeenSet =
false;
148 bool m_componentUpdatesHasBeenSet =
false;
151 bool m_compositeComponentUpdatesHasBeenSet =
false;
154 bool m_parentEntityUpdateHasBeenSet =
false;
UpdateEntityRequest & WithWorkspaceId(WorkspaceIdT &&value)
bool WorkspaceIdHasBeenSet() const
const Aws::String & GetDescription() const
UpdateEntityRequest & WithParentEntityUpdate(ParentEntityUpdateT &&value)
bool EntityNameHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetDescription(DescriptionT &&value)
UpdateEntityRequest & WithComponentUpdates(ComponentUpdatesT &&value)
void SetParentEntityUpdate(ParentEntityUpdateT &&value)
AWS_IOTTWINMAKER_API Aws::String SerializePayload() const override
const Aws::String & GetWorkspaceId() const
UpdateEntityRequest & WithEntityName(EntityNameT &&value)
const ParentEntityUpdateRequest & GetParentEntityUpdate() const
void SetCompositeComponentUpdates(CompositeComponentUpdatesT &&value)
void SetEntityId(EntityIdT &&value)
const Aws::Map< Aws::String, CompositeComponentUpdateRequest > & GetCompositeComponentUpdates() const
UpdateEntityRequest & AddComponentUpdates(ComponentUpdatesKeyT &&key, ComponentUpdatesValueT &&value)
bool EntityIdHasBeenSet() const
AWS_IOTTWINMAKER_API UpdateEntityRequest()=default
UpdateEntityRequest & AddCompositeComponentUpdates(CompositeComponentUpdatesKeyT &&key, CompositeComponentUpdatesValueT &&value)
bool ParentEntityUpdateHasBeenSet() const
bool ComponentUpdatesHasBeenSet() const
void SetEntityName(EntityNameT &&value)
const Aws::Map< Aws::String, ComponentUpdateRequest > & GetComponentUpdates() const
void SetWorkspaceId(WorkspaceIdT &&value)
const Aws::String & GetEntityId() const
UpdateEntityRequest & WithCompositeComponentUpdates(CompositeComponentUpdatesT &&value)
void SetComponentUpdates(ComponentUpdatesT &&value)
bool DescriptionHasBeenSet() const
bool CompositeComponentUpdatesHasBeenSet() const
UpdateEntityRequest & WithEntityId(EntityIdT &&value)
const Aws::String & GetEntityName() const
UpdateEntityRequest & 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