AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchDisassociateProjectAssetsRequest.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 <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace IoTSiteWise
17{
18namespace Model
19{
20
24 {
25 public:
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "BatchDisassociateProjectAssets"; }
33
34 AWS_IOTSITEWISE_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetProjectId() const{ return m_projectId; }
42 inline bool ProjectIdHasBeenSet() const { return m_projectIdHasBeenSet; }
43 inline void SetProjectId(const Aws::String& value) { m_projectIdHasBeenSet = true; m_projectId = value; }
44 inline void SetProjectId(Aws::String&& value) { m_projectIdHasBeenSet = true; m_projectId = std::move(value); }
45 inline void SetProjectId(const char* value) { m_projectIdHasBeenSet = true; m_projectId.assign(value); }
46 inline BatchDisassociateProjectAssetsRequest& WithProjectId(const Aws::String& value) { SetProjectId(value); return *this;}
47 inline BatchDisassociateProjectAssetsRequest& WithProjectId(Aws::String&& value) { SetProjectId(std::move(value)); return *this;}
48 inline BatchDisassociateProjectAssetsRequest& WithProjectId(const char* value) { SetProjectId(value); return *this;}
50
52
55 inline const Aws::Vector<Aws::String>& GetAssetIds() const{ return m_assetIds; }
56 inline bool AssetIdsHasBeenSet() const { return m_assetIdsHasBeenSet; }
57 inline void SetAssetIds(const Aws::Vector<Aws::String>& value) { m_assetIdsHasBeenSet = true; m_assetIds = value; }
58 inline void SetAssetIds(Aws::Vector<Aws::String>&& value) { m_assetIdsHasBeenSet = true; m_assetIds = std::move(value); }
61 inline BatchDisassociateProjectAssetsRequest& AddAssetIds(const Aws::String& value) { m_assetIdsHasBeenSet = true; m_assetIds.push_back(value); return *this; }
62 inline BatchDisassociateProjectAssetsRequest& AddAssetIds(Aws::String&& value) { m_assetIdsHasBeenSet = true; m_assetIds.push_back(std::move(value)); return *this; }
63 inline BatchDisassociateProjectAssetsRequest& AddAssetIds(const char* value) { m_assetIdsHasBeenSet = true; m_assetIds.push_back(value); return *this; }
65
67
72 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
73 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
74 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
75 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
76 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
78 inline BatchDisassociateProjectAssetsRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
79 inline BatchDisassociateProjectAssetsRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
81 private:
82
83 Aws::String m_projectId;
84 bool m_projectIdHasBeenSet = false;
85
86 Aws::Vector<Aws::String> m_assetIds;
87 bool m_assetIdsHasBeenSet = false;
88
89 Aws::String m_clientToken;
90 bool m_clientTokenHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace IoTSiteWise
95} // namespace Aws
BatchDisassociateProjectAssetsRequest & WithProjectId(const Aws::String &value)
BatchDisassociateProjectAssetsRequest & WithProjectId(const char *value)
BatchDisassociateProjectAssetsRequest & WithAssetIds(const Aws::Vector< Aws::String > &value)
BatchDisassociateProjectAssetsRequest & AddAssetIds(const char *value)
BatchDisassociateProjectAssetsRequest & AddAssetIds(const Aws::String &value)
BatchDisassociateProjectAssetsRequest & AddAssetIds(Aws::String &&value)
BatchDisassociateProjectAssetsRequest & WithAssetIds(Aws::Vector< Aws::String > &&value)
BatchDisassociateProjectAssetsRequest & WithClientToken(const Aws::String &value)
BatchDisassociateProjectAssetsRequest & WithClientToken(Aws::String &&value)
BatchDisassociateProjectAssetsRequest & WithProjectId(Aws::String &&value)
AWS_IOTSITEWISE_API Aws::String SerializePayload() const override
BatchDisassociateProjectAssetsRequest & WithClientToken(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector