/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Http { class URI; } //namespace Http namespace IoTTwinMaker { namespace Model { /** */ class DeleteEntityRequest : public IoTTwinMakerRequest { public: AWS_IOTTWINMAKER_API DeleteEntityRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DeleteEntity"; } AWS_IOTTWINMAKER_API Aws::String SerializePayload() const override; AWS_IOTTWINMAKER_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The ID of the workspace that contains the entity to delete.

*/ inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; } /** *

The ID of the workspace that contains the entity to delete.

*/ inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; } /** *

The ID of the workspace that contains the entity to delete.

*/ inline void SetWorkspaceId(const Aws::String& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = value; } /** *

The ID of the workspace that contains the entity to delete.

*/ inline void SetWorkspaceId(Aws::String&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::move(value); } /** *

The ID of the workspace that contains the entity to delete.

*/ inline void SetWorkspaceId(const char* value) { m_workspaceIdHasBeenSet = true; m_workspaceId.assign(value); } /** *

The ID of the workspace that contains the entity to delete.

*/ inline DeleteEntityRequest& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;} /** *

The ID of the workspace that contains the entity to delete.

*/ inline DeleteEntityRequest& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;} /** *

The ID of the workspace that contains the entity to delete.

*/ inline DeleteEntityRequest& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;} /** *

The ID of the entity to delete.

*/ inline const Aws::String& GetEntityId() const{ return m_entityId; } /** *

The ID of the entity to delete.

*/ inline bool EntityIdHasBeenSet() const { return m_entityIdHasBeenSet; } /** *

The ID of the entity to delete.

*/ inline void SetEntityId(const Aws::String& value) { m_entityIdHasBeenSet = true; m_entityId = value; } /** *

The ID of the entity to delete.

*/ inline void SetEntityId(Aws::String&& value) { m_entityIdHasBeenSet = true; m_entityId = std::move(value); } /** *

The ID of the entity to delete.

*/ inline void SetEntityId(const char* value) { m_entityIdHasBeenSet = true; m_entityId.assign(value); } /** *

The ID of the entity to delete.

*/ inline DeleteEntityRequest& WithEntityId(const Aws::String& value) { SetEntityId(value); return *this;} /** *

The ID of the entity to delete.

*/ inline DeleteEntityRequest& WithEntityId(Aws::String&& value) { SetEntityId(std::move(value)); return *this;} /** *

The ID of the entity to delete.

*/ inline DeleteEntityRequest& WithEntityId(const char* value) { SetEntityId(value); return *this;} /** *

A Boolean value that specifies whether the operation deletes child * entities.

*/ inline bool GetIsRecursive() const{ return m_isRecursive; } /** *

A Boolean value that specifies whether the operation deletes child * entities.

*/ inline bool IsRecursiveHasBeenSet() const { return m_isRecursiveHasBeenSet; } /** *

A Boolean value that specifies whether the operation deletes child * entities.

*/ inline void SetIsRecursive(bool value) { m_isRecursiveHasBeenSet = true; m_isRecursive = value; } /** *

A Boolean value that specifies whether the operation deletes child * entities.

*/ inline DeleteEntityRequest& WithIsRecursive(bool value) { SetIsRecursive(value); return *this;} private: Aws::String m_workspaceId; bool m_workspaceIdHasBeenSet = false; Aws::String m_entityId; bool m_entityIdHasBeenSet = false; bool m_isRecursive; bool m_isRecursiveHasBeenSet = false; }; } // namespace Model } // namespace IoTTwinMaker } // namespace Aws