7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iottwinmaker/IoTTwinMakerRequest.h>
10#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
11#include <aws/iottwinmaker/model/ComponentUpdateRequest.h>
12#include <aws/iottwinmaker/model/CompositeComponentUpdateRequest.h>
13#include <aws/iottwinmaker/model/ParentEntityUpdateRequest.h>
18namespace IoTTwinMaker {
41 template <
typename WorkspaceIdT = Aws::String>
43 m_workspaceIdHasBeenSet =
true;
44 m_workspaceId = std::forward<WorkspaceIdT>(value);
46 template <
typename WorkspaceIdT = Aws::String>
59 template <
typename EntityIdT = Aws::String>
61 m_entityIdHasBeenSet =
true;
62 m_entityId = std::forward<EntityIdT>(value);
64 template <
typename EntityIdT = Aws::String>
77 template <
typename EntityNameT = Aws::String>
79 m_entityNameHasBeenSet =
true;
80 m_entityName = std::forward<EntityNameT>(value);
82 template <
typename EntityNameT = Aws::String>
95 template <
typename DescriptionT = Aws::String>
97 m_descriptionHasBeenSet =
true;
98 m_description = std::forward<DescriptionT>(value);
100 template <
typename DescriptionT = Aws::String>
114 template <
typename ComponentUpdatesT = Aws::Map<Aws::String, ComponentUpdateRequest>>
116 m_componentUpdatesHasBeenSet =
true;
117 m_componentUpdates = std::forward<ComponentUpdatesT>(value);
119 template <
typename ComponentUpdatesT = Aws::Map<Aws::String, ComponentUpdateRequest>>
124 template <
typename ComponentUpdatesKeyT = Aws::String,
typename ComponentUpdatesValueT = ComponentUpdateRequest>
126 m_componentUpdatesHasBeenSet =
true;
127 m_componentUpdates.emplace(std::forward<ComponentUpdatesKeyT>(key), std::forward<ComponentUpdatesValueT>(value));
139 return m_compositeComponentUpdates;
142 template <
typename CompositeComponentUpdatesT = Aws::Map<Aws::String, CompositeComponentUpdateRequest>>
144 m_compositeComponentUpdatesHasBeenSet =
true;
145 m_compositeComponentUpdates = std::forward<CompositeComponentUpdatesT>(value);
147 template <
typename CompositeComponentUpdatesT = Aws::Map<Aws::String, CompositeComponentUpdateRequest>>
152 template <
typename CompositeComponentUpdatesKeyT =
Aws::String,
155 m_compositeComponentUpdatesHasBeenSet =
true;
156 m_compositeComponentUpdates.emplace(std::forward<CompositeComponentUpdatesKeyT>(key),
157 std::forward<CompositeComponentUpdatesValueT>(value));
168 template <
typename ParentEntityUpdateT = ParentEntityUpdateRequest>
170 m_parentEntityUpdateHasBeenSet =
true;
171 m_parentEntityUpdate = std::forward<ParentEntityUpdateT>(value);
173 template <
typename ParentEntityUpdateT = ParentEntityUpdateRequest>
193 bool m_workspaceIdHasBeenSet =
false;
194 bool m_entityIdHasBeenSet =
false;
195 bool m_entityNameHasBeenSet =
false;
196 bool m_descriptionHasBeenSet =
false;
197 bool m_componentUpdatesHasBeenSet =
false;
198 bool m_compositeComponentUpdatesHasBeenSet =
false;
199 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