AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteEntityRequest.h
1
6#pragma once
7#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
8#include <aws/iottwinmaker/IoTTwinMakerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace IoTTwinMaker
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_IOTTWINMAKER_API DeleteEntityRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "DeleteEntity"; }
35
36 AWS_IOTTWINMAKER_API Aws::String SerializePayload() const override;
37
38 AWS_IOTTWINMAKER_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
45 inline const Aws::String& GetWorkspaceId() const{ return m_workspaceId; }
46 inline bool WorkspaceIdHasBeenSet() const { return m_workspaceIdHasBeenSet; }
47 inline void SetWorkspaceId(const Aws::String& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = value; }
48 inline void SetWorkspaceId(Aws::String&& value) { m_workspaceIdHasBeenSet = true; m_workspaceId = std::move(value); }
49 inline void SetWorkspaceId(const char* value) { m_workspaceIdHasBeenSet = true; m_workspaceId.assign(value); }
50 inline DeleteEntityRequest& WithWorkspaceId(const Aws::String& value) { SetWorkspaceId(value); return *this;}
51 inline DeleteEntityRequest& WithWorkspaceId(Aws::String&& value) { SetWorkspaceId(std::move(value)); return *this;}
52 inline DeleteEntityRequest& WithWorkspaceId(const char* value) { SetWorkspaceId(value); return *this;}
54
56
59 inline const Aws::String& GetEntityId() const{ return m_entityId; }
60 inline bool EntityIdHasBeenSet() const { return m_entityIdHasBeenSet; }
61 inline void SetEntityId(const Aws::String& value) { m_entityIdHasBeenSet = true; m_entityId = value; }
62 inline void SetEntityId(Aws::String&& value) { m_entityIdHasBeenSet = true; m_entityId = std::move(value); }
63 inline void SetEntityId(const char* value) { m_entityIdHasBeenSet = true; m_entityId.assign(value); }
64 inline DeleteEntityRequest& WithEntityId(const Aws::String& value) { SetEntityId(value); return *this;}
65 inline DeleteEntityRequest& WithEntityId(Aws::String&& value) { SetEntityId(std::move(value)); return *this;}
66 inline DeleteEntityRequest& WithEntityId(const char* value) { SetEntityId(value); return *this;}
68
70
74 inline bool GetIsRecursive() const{ return m_isRecursive; }
75 inline bool IsRecursiveHasBeenSet() const { return m_isRecursiveHasBeenSet; }
76 inline void SetIsRecursive(bool value) { m_isRecursiveHasBeenSet = true; m_isRecursive = value; }
77 inline DeleteEntityRequest& WithIsRecursive(bool value) { SetIsRecursive(value); return *this;}
79 private:
80
81 Aws::String m_workspaceId;
82 bool m_workspaceIdHasBeenSet = false;
83
84 Aws::String m_entityId;
85 bool m_entityIdHasBeenSet = false;
86
87 bool m_isRecursive;
88 bool m_isRecursiveHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace IoTTwinMaker
93} // namespace Aws
DeleteEntityRequest & WithIsRecursive(bool value)
DeleteEntityRequest & WithEntityId(const char *value)
DeleteEntityRequest & WithEntityId(const Aws::String &value)
DeleteEntityRequest & WithEntityId(Aws::String &&value)
AWS_IOTTWINMAKER_API Aws::String SerializePayload() const override
DeleteEntityRequest & WithWorkspaceId(const char *value)
DeleteEntityRequest & WithWorkspaceId(const Aws::String &value)
AWS_IOTTWINMAKER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DeleteEntityRequest & WithWorkspaceId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String