AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DisassociateAssetsRequest.h
1
6#pragma once
7#include <aws/iotsitewise/IoTSiteWise_EXPORTS.h>
8#include <aws/iotsitewise/IoTSiteWiseRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace IoTSiteWise
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_IOTSITEWISE_API DisassociateAssetsRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DisassociateAssets"; }
32
33 AWS_IOTSITEWISE_API Aws::String SerializePayload() const override;
34
35
37
44 inline const Aws::String& GetAssetId() const{ return m_assetId; }
45 inline bool AssetIdHasBeenSet() const { return m_assetIdHasBeenSet; }
46 inline void SetAssetId(const Aws::String& value) { m_assetIdHasBeenSet = true; m_assetId = value; }
47 inline void SetAssetId(Aws::String&& value) { m_assetIdHasBeenSet = true; m_assetId = std::move(value); }
48 inline void SetAssetId(const char* value) { m_assetIdHasBeenSet = true; m_assetId.assign(value); }
49 inline DisassociateAssetsRequest& WithAssetId(const Aws::String& value) { SetAssetId(value); return *this;}
50 inline DisassociateAssetsRequest& WithAssetId(Aws::String&& value) { SetAssetId(std::move(value)); return *this;}
51 inline DisassociateAssetsRequest& WithAssetId(const char* value) { SetAssetId(value); return *this;}
53
55
67 inline const Aws::String& GetHierarchyId() const{ return m_hierarchyId; }
68 inline bool HierarchyIdHasBeenSet() const { return m_hierarchyIdHasBeenSet; }
69 inline void SetHierarchyId(const Aws::String& value) { m_hierarchyIdHasBeenSet = true; m_hierarchyId = value; }
70 inline void SetHierarchyId(Aws::String&& value) { m_hierarchyIdHasBeenSet = true; m_hierarchyId = std::move(value); }
71 inline void SetHierarchyId(const char* value) { m_hierarchyIdHasBeenSet = true; m_hierarchyId.assign(value); }
72 inline DisassociateAssetsRequest& WithHierarchyId(const Aws::String& value) { SetHierarchyId(value); return *this;}
73 inline DisassociateAssetsRequest& WithHierarchyId(Aws::String&& value) { SetHierarchyId(std::move(value)); return *this;}
74 inline DisassociateAssetsRequest& WithHierarchyId(const char* value) { SetHierarchyId(value); return *this;}
76
78
85 inline const Aws::String& GetChildAssetId() const{ return m_childAssetId; }
86 inline bool ChildAssetIdHasBeenSet() const { return m_childAssetIdHasBeenSet; }
87 inline void SetChildAssetId(const Aws::String& value) { m_childAssetIdHasBeenSet = true; m_childAssetId = value; }
88 inline void SetChildAssetId(Aws::String&& value) { m_childAssetIdHasBeenSet = true; m_childAssetId = std::move(value); }
89 inline void SetChildAssetId(const char* value) { m_childAssetIdHasBeenSet = true; m_childAssetId.assign(value); }
90 inline DisassociateAssetsRequest& WithChildAssetId(const Aws::String& value) { SetChildAssetId(value); return *this;}
91 inline DisassociateAssetsRequest& WithChildAssetId(Aws::String&& value) { SetChildAssetId(std::move(value)); return *this;}
92 inline DisassociateAssetsRequest& WithChildAssetId(const char* value) { SetChildAssetId(value); return *this;}
94
96
101 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
102 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
103 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
104 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
105 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
106 inline DisassociateAssetsRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
107 inline DisassociateAssetsRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
108 inline DisassociateAssetsRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
110 private:
111
112 Aws::String m_assetId;
113 bool m_assetIdHasBeenSet = false;
114
115 Aws::String m_hierarchyId;
116 bool m_hierarchyIdHasBeenSet = false;
117
118 Aws::String m_childAssetId;
119 bool m_childAssetIdHasBeenSet = false;
120
121 Aws::String m_clientToken;
122 bool m_clientTokenHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace IoTSiteWise
127} // namespace Aws
DisassociateAssetsRequest & WithClientToken(const Aws::String &value)
DisassociateAssetsRequest & WithAssetId(const Aws::String &value)
AWS_IOTSITEWISE_API Aws::String SerializePayload() const override
DisassociateAssetsRequest & WithAssetId(Aws::String &&value)
DisassociateAssetsRequest & WithAssetId(const char *value)
DisassociateAssetsRequest & WithClientToken(const char *value)
virtual const char * GetServiceRequestName() const override
DisassociateAssetsRequest & WithChildAssetId(Aws::String &&value)
DisassociateAssetsRequest & WithHierarchyId(Aws::String &&value)
DisassociateAssetsRequest & WithChildAssetId(const char *value)
DisassociateAssetsRequest & WithClientToken(Aws::String &&value)
DisassociateAssetsRequest & WithHierarchyId(const Aws::String &value)
DisassociateAssetsRequest & WithHierarchyId(const char *value)
DisassociateAssetsRequest & WithChildAssetId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String