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/ComponentRequest.h>
12#include <aws/iottwinmaker/model/CompositeComponentRequest.h>
44 template<
typename WorkspaceIdT = Aws::String>
45 void SetWorkspaceId(WorkspaceIdT&& value) { m_workspaceIdHasBeenSet =
true; m_workspaceId = std::forward<WorkspaceIdT>(value); }
46 template<
typename WorkspaceIdT = Aws::String>
56 template<
typename EntityIdT = Aws::String>
57 void SetEntityId(EntityIdT&& value) { m_entityIdHasBeenSet =
true; m_entityId = std::forward<EntityIdT>(value); }
58 template<
typename EntityIdT = Aws::String>
68 template<
typename EntityNameT = Aws::String>
69 void SetEntityName(EntityNameT&& value) { m_entityNameHasBeenSet =
true; m_entityName = std::forward<EntityNameT>(value); }
70 template<
typename EntityNameT = Aws::String>
80 template<
typename DescriptionT = Aws::String>
81 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
82 template<
typename DescriptionT = Aws::String>
93 template<
typename ComponentsT = Aws::Map<Aws::String, ComponentRequest>>
94 void SetComponents(ComponentsT&& value) { m_componentsHasBeenSet =
true; m_components = std::forward<ComponentsT>(value); }
95 template<
typename ComponentsT = Aws::Map<Aws::String, ComponentRequest>>
97 template<
typename ComponentsKeyT = Aws::String,
typename ComponentsValueT = ComponentRequest>
99 m_componentsHasBeenSet =
true; m_components.emplace(std::forward<ComponentsKeyT>(key), std::forward<ComponentsValueT>(value));
return *
this;
111 template<
typename CompositeComponentsT = Aws::Map<Aws::String, CompositeComponentRequest>>
112 void SetCompositeComponents(CompositeComponentsT&& value) { m_compositeComponentsHasBeenSet =
true; m_compositeComponents = std::forward<CompositeComponentsT>(value); }
113 template<
typename CompositeComponentsT = Aws::Map<Aws::String, CompositeComponentRequest>>
115 template<
typename CompositeComponentsKeyT = Aws::String,
typename CompositeComponentsValueT = CompositeComponentRequest>
117 m_compositeComponentsHasBeenSet =
true; m_compositeComponents.emplace(std::forward<CompositeComponentsKeyT>(key), std::forward<CompositeComponentsValueT>(value));
return *
this;
127 template<
typename ParentEntityIdT = Aws::String>
128 void SetParentEntityId(ParentEntityIdT&& value) { m_parentEntityIdHasBeenSet =
true; m_parentEntityId = std::forward<ParentEntityIdT>(value); }
129 template<
typename ParentEntityIdT = Aws::String>
139 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
140 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
141 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
143 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
145 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
151 bool m_workspaceIdHasBeenSet =
false;
154 bool m_entityIdHasBeenSet =
false;
157 bool m_entityNameHasBeenSet =
false;
160 bool m_descriptionHasBeenSet =
false;
163 bool m_componentsHasBeenSet =
false;
166 bool m_compositeComponentsHasBeenSet =
false;
169 bool m_parentEntityIdHasBeenSet =
false;
172 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