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>
46 inline void SetWorkspaceId(
const char* value) { m_workspaceIdHasBeenSet =
true; m_workspaceId.assign(value); }
60 inline void SetEntityId(
const char* value) { m_entityIdHasBeenSet =
true; m_entityId.assign(value); }
74 inline void SetEntityName(
const char* value) { m_entityNameHasBeenSet =
true; m_entityName.assign(value); }
88 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
141 inline void SetParentEntityId(
const char* value) { m_parentEntityIdHasBeenSet =
true; m_parentEntityId.assign(value); }
163 inline CreateEntityRequest&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
168 bool m_workspaceIdHasBeenSet =
false;
171 bool m_entityIdHasBeenSet =
false;
174 bool m_entityNameHasBeenSet =
false;
177 bool m_descriptionHasBeenSet =
false;
180 bool m_componentsHasBeenSet =
false;
183 bool m_compositeComponentsHasBeenSet =
false;
186 bool m_parentEntityIdHasBeenSet =
false;
189 bool m_tagsHasBeenSet =
false;
void SetWorkspaceId(const char *value)
CreateEntityRequest & WithWorkspaceId(const char *value)
void SetParentEntityId(const char *value)
const Aws::String & GetParentEntityId() const
CreateEntityRequest & AddComponents(const Aws::String &key, ComponentRequest &&value)
CreateEntityRequest & AddCompositeComponents(const Aws::String &key, CompositeComponentRequest &&value)
void SetEntityName(const Aws::String &value)
CreateEntityRequest & WithCompositeComponents(Aws::Map< Aws::String, CompositeComponentRequest > &&value)
void SetDescription(const char *value)
CreateEntityRequest & AddComponents(const char *key, ComponentRequest &&value)
CreateEntityRequest & AddCompositeComponents(Aws::String &&key, const CompositeComponentRequest &value)
bool TagsHasBeenSet() const
CreateEntityRequest & AddCompositeComponents(const char *key, const CompositeComponentRequest &value)
void SetEntityId(const Aws::String &value)
void SetCompositeComponents(const Aws::Map< Aws::String, CompositeComponentRequest > &value)
CreateEntityRequest & WithDescription(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetComponents(const Aws::Map< Aws::String, ComponentRequest > &value)
void SetEntityName(const char *value)
void SetDescription(const Aws::String &value)
void SetWorkspaceId(Aws::String &&value)
void SetParentEntityId(Aws::String &&value)
CreateEntityRequest & WithParentEntityId(const char *value)
const Aws::Map< Aws::String, ComponentRequest > & GetComponents() const
CreateEntityRequest & WithEntityId(const Aws::String &value)
AWS_IOTTWINMAKER_API Aws::String SerializePayload() const override
CreateEntityRequest & WithCompositeComponents(const Aws::Map< Aws::String, CompositeComponentRequest > &value)
void SetEntityId(Aws::String &&value)
CreateEntityRequest & AddCompositeComponents(const Aws::String &key, const CompositeComponentRequest &value)
void SetEntityId(const char *value)
CreateEntityRequest & WithWorkspaceId(const Aws::String &value)
CreateEntityRequest & AddComponents(Aws::String &&key, ComponentRequest &&value)
CreateEntityRequest & WithEntityName(const char *value)
CreateEntityRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateEntityRequest & AddTags(const char *key, const char *value)
void SetComponents(Aws::Map< Aws::String, ComponentRequest > &&value)
void SetCompositeComponents(Aws::Map< Aws::String, CompositeComponentRequest > &&value)
bool DescriptionHasBeenSet() const
CreateEntityRequest & AddCompositeComponents(const char *key, CompositeComponentRequest &&value)
void SetEntityName(Aws::String &&value)
CreateEntityRequest & AddCompositeComponents(Aws::String &&key, CompositeComponentRequest &&value)
CreateEntityRequest & WithEntityId(const char *value)
CreateEntityRequest & WithParentEntityId(const Aws::String &value)
CreateEntityRequest & AddComponents(const char *key, const ComponentRequest &value)
CreateEntityRequest & WithDescription(const Aws::String &value)
CreateEntityRequest & WithDescription(Aws::String &&value)
CreateEntityRequest & AddComponents(Aws::String &&key, const ComponentRequest &value)
CreateEntityRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateEntityRequest & WithComponents(Aws::Map< Aws::String, ComponentRequest > &&value)
bool CompositeComponentsHasBeenSet() const
CreateEntityRequest & AddTags(const char *key, Aws::String &&value)
CreateEntityRequest & WithWorkspaceId(Aws::String &&value)
CreateEntityRequest & WithEntityId(Aws::String &&value)
CreateEntityRequest & WithEntityName(Aws::String &&value)
void SetParentEntityId(const Aws::String &value)
CreateEntityRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetDescription() const
bool ComponentsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
bool WorkspaceIdHasBeenSet() const
const Aws::String & GetWorkspaceId() const
AWS_IOTTWINMAKER_API CreateEntityRequest()
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::String & GetEntityId() const
CreateEntityRequest & AddTags(Aws::String &&key, const Aws::String &value)
bool ParentEntityIdHasBeenSet() const
CreateEntityRequest & WithParentEntityId(Aws::String &&value)
bool EntityIdHasBeenSet() const
CreateEntityRequest & WithEntityName(const Aws::String &value)
const Aws::String & GetEntityName() const
void SetWorkspaceId(const Aws::String &value)
CreateEntityRequest & AddTags(Aws::String &&key, const char *value)
const Aws::Map< Aws::String, CompositeComponentRequest > & GetCompositeComponents() const
CreateEntityRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateEntityRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateEntityRequest & WithComponents(const Aws::Map< Aws::String, ComponentRequest > &value)
bool EntityNameHasBeenSet() const
void SetDescription(Aws::String &&value)
CreateEntityRequest & AddComponents(const Aws::String &key, const ComponentRequest &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