AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteAssetRequest.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 Http
16{
17 class URI;
18} //namespace Http
19namespace IoTSiteWise
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_IOTSITEWISE_API DeleteAssetRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "DeleteAsset"; }
36
37 AWS_IOTSITEWISE_API Aws::String SerializePayload() const override;
38
39 AWS_IOTSITEWISE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
50 inline const Aws::String& GetAssetId() const{ return m_assetId; }
51 inline bool AssetIdHasBeenSet() const { return m_assetIdHasBeenSet; }
52 inline void SetAssetId(const Aws::String& value) { m_assetIdHasBeenSet = true; m_assetId = value; }
53 inline void SetAssetId(Aws::String&& value) { m_assetIdHasBeenSet = true; m_assetId = std::move(value); }
54 inline void SetAssetId(const char* value) { m_assetIdHasBeenSet = true; m_assetId.assign(value); }
55 inline DeleteAssetRequest& WithAssetId(const Aws::String& value) { SetAssetId(value); return *this;}
56 inline DeleteAssetRequest& WithAssetId(Aws::String&& value) { SetAssetId(std::move(value)); return *this;}
57 inline DeleteAssetRequest& WithAssetId(const char* value) { SetAssetId(value); return *this;}
59
61
66 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
67 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
68 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
69 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
70 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
71 inline DeleteAssetRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
72 inline DeleteAssetRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
73 inline DeleteAssetRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
75 private:
76
77 Aws::String m_assetId;
78 bool m_assetIdHasBeenSet = false;
79
80 Aws::String m_clientToken;
81 bool m_clientTokenHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace IoTSiteWise
86} // namespace Aws
DeleteAssetRequest & WithClientToken(const char *value)
AWS_IOTSITEWISE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DeleteAssetRequest & WithClientToken(Aws::String &&value)
DeleteAssetRequest & WithClientToken(const Aws::String &value)
DeleteAssetRequest & WithAssetId(const char *value)
AWS_IOTSITEWISE_API Aws::String SerializePayload() const override
void SetClientToken(const Aws::String &value)
DeleteAssetRequest & WithAssetId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
DeleteAssetRequest & WithAssetId(Aws::String &&value)
void SetAssetId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String