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/ComponentRequest.h>
12#include <aws/iottwinmaker/model/CompositeComponentRequest.h>
17namespace IoTTwinMaker {
40 template <
typename WorkspaceIdT = Aws::String>
42 m_workspaceIdHasBeenSet =
true;
43 m_workspaceId = std::forward<WorkspaceIdT>(value);
45 template <
typename WorkspaceIdT = Aws::String>
58 template <
typename EntityIdT = Aws::String>
60 m_entityIdHasBeenSet =
true;
61 m_entityId = std::forward<EntityIdT>(value);
63 template <
typename EntityIdT = Aws::String>
76 template <
typename EntityNameT = Aws::String>
78 m_entityNameHasBeenSet =
true;
79 m_entityName = std::forward<EntityNameT>(value);
81 template <
typename EntityNameT = Aws::String>
94 template <
typename DescriptionT = Aws::String>
96 m_descriptionHasBeenSet =
true;
97 m_description = std::forward<DescriptionT>(value);
99 template <
typename DescriptionT = Aws::String>
113 template <
typename ComponentsT = Aws::Map<Aws::String, ComponentRequest>>
115 m_componentsHasBeenSet =
true;
116 m_components = std::forward<ComponentsT>(value);
118 template <
typename ComponentsT = Aws::Map<Aws::String, ComponentRequest>>
123 template <
typename ComponentsKeyT = Aws::String,
typename ComponentsValueT = ComponentRequest>
125 m_componentsHasBeenSet =
true;
126 m_components.emplace(std::forward<ComponentsKeyT>(key), std::forward<ComponentsValueT>(value));
139 template <
typename CompositeComponentsT = Aws::Map<Aws::String, CompositeComponentRequest>>
141 m_compositeComponentsHasBeenSet =
true;
142 m_compositeComponents = std::forward<CompositeComponentsT>(value);
144 template <
typename CompositeComponentsT = Aws::Map<Aws::String, CompositeComponentRequest>>
149 template <
typename CompositeComponentsKeyT = Aws::String,
typename CompositeComponentsValueT = CompositeComponentRequest>
151 m_compositeComponentsHasBeenSet =
true;
152 m_compositeComponents.emplace(std::forward<CompositeComponentsKeyT>(key), std::forward<CompositeComponentsValueT>(value));
163 template <
typename ParentEntityIdT = Aws::String>
165 m_parentEntityIdHasBeenSet =
true;
166 m_parentEntityId = std::forward<ParentEntityIdT>(value);
168 template <
typename ParentEntityIdT = Aws::String>
181 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
183 m_tagsHasBeenSet =
true;
184 m_tags = std::forward<TagsT>(value);
186 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
188 SetTags(std::forward<TagsT>(value));
191 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
193 m_tagsHasBeenSet =
true;
194 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
214 bool m_workspaceIdHasBeenSet =
false;
215 bool m_entityIdHasBeenSet =
false;
216 bool m_entityNameHasBeenSet =
false;
217 bool m_descriptionHasBeenSet =
false;
218 bool m_componentsHasBeenSet =
false;
219 bool m_compositeComponentsHasBeenSet =
false;
220 bool m_parentEntityIdHasBeenSet =
false;
221 bool m_tagsHasBeenSet =
false;
CreateEntityRequest & WithCompositeComponents(CompositeComponentsT &&value)
const Aws::String & GetParentEntityId() const
CreateEntityRequest & WithDescription(DescriptionT &&value)
AWS_IOTTWINMAKER_API CreateEntityRequest()=default
bool TagsHasBeenSet() const
CreateEntityRequest & WithComponents(ComponentsT &&value)
void SetDescription(DescriptionT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetCompositeComponents(CompositeComponentsT &&value)
CreateEntityRequest & AddComponents(ComponentsKeyT &&key, ComponentsValueT &&value)
CreateEntityRequest & WithEntityName(EntityNameT &&value)
const Aws::Map< Aws::String, ComponentRequest > & GetComponents() const
AWS_IOTTWINMAKER_API Aws::String SerializePayload() const override
void SetComponents(ComponentsT &&value)
CreateEntityRequest & AddCompositeComponents(CompositeComponentsKeyT &&key, CompositeComponentsValueT &&value)
void SetWorkspaceId(WorkspaceIdT &&value)
void SetParentEntityId(ParentEntityIdT &&value)
bool DescriptionHasBeenSet() const
CreateEntityRequest & WithTags(TagsT &&value)
CreateEntityRequest & WithEntityId(EntityIdT &&value)
CreateEntityRequest & WithWorkspaceId(WorkspaceIdT &&value)
void SetEntityName(EntityNameT &&value)
bool CompositeComponentsHasBeenSet() const
CreateEntityRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetTags(TagsT &&value)
void SetEntityId(EntityIdT &&value)
const Aws::String & GetDescription() const
bool ComponentsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
bool WorkspaceIdHasBeenSet() const
const Aws::String & GetWorkspaceId() const
const Aws::String & GetEntityId() const
bool ParentEntityIdHasBeenSet() const
bool EntityIdHasBeenSet() const
const Aws::String & GetEntityName() const
CreateEntityRequest & WithParentEntityId(ParentEntityIdT &&value)
const Aws::Map< Aws::String, CompositeComponentRequest > & GetCompositeComponents() const
bool EntityNameHasBeenSet() const
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