AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteAssetModelCompositeModelRequest.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/iotsitewise/model/AssetModelVersionType.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace IoTSiteWise
21{
22namespace Model
23{
24
28 {
29 public:
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "DeleteAssetModelCompositeModel"; }
37
38 AWS_IOTSITEWISE_API Aws::String SerializePayload() const override;
39
40 AWS_IOTSITEWISE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41
42 AWS_IOTSITEWISE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
43
44
46
49 inline const Aws::String& GetAssetModelId() const{ return m_assetModelId; }
50 inline bool AssetModelIdHasBeenSet() const { return m_assetModelIdHasBeenSet; }
51 inline void SetAssetModelId(const Aws::String& value) { m_assetModelIdHasBeenSet = true; m_assetModelId = value; }
52 inline void SetAssetModelId(Aws::String&& value) { m_assetModelIdHasBeenSet = true; m_assetModelId = std::move(value); }
53 inline void SetAssetModelId(const char* value) { m_assetModelIdHasBeenSet = true; m_assetModelId.assign(value); }
55 inline DeleteAssetModelCompositeModelRequest& WithAssetModelId(Aws::String&& value) { SetAssetModelId(std::move(value)); return *this;}
56 inline DeleteAssetModelCompositeModelRequest& WithAssetModelId(const char* value) { SetAssetModelId(value); return *this;}
58
60
63 inline const Aws::String& GetAssetModelCompositeModelId() const{ return m_assetModelCompositeModelId; }
64 inline bool AssetModelCompositeModelIdHasBeenSet() const { return m_assetModelCompositeModelIdHasBeenSet; }
65 inline void SetAssetModelCompositeModelId(const Aws::String& value) { m_assetModelCompositeModelIdHasBeenSet = true; m_assetModelCompositeModelId = value; }
66 inline void SetAssetModelCompositeModelId(Aws::String&& value) { m_assetModelCompositeModelIdHasBeenSet = true; m_assetModelCompositeModelId = std::move(value); }
67 inline void SetAssetModelCompositeModelId(const char* value) { m_assetModelCompositeModelIdHasBeenSet = true; m_assetModelCompositeModelId.assign(value); }
72
74
79 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
80 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
81 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
82 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
83 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
85 inline DeleteAssetModelCompositeModelRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
86 inline DeleteAssetModelCompositeModelRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
88
90
98 inline const Aws::String& GetIfMatch() const{ return m_ifMatch; }
99 inline bool IfMatchHasBeenSet() const { return m_ifMatchHasBeenSet; }
100 inline void SetIfMatch(const Aws::String& value) { m_ifMatchHasBeenSet = true; m_ifMatch = value; }
101 inline void SetIfMatch(Aws::String&& value) { m_ifMatchHasBeenSet = true; m_ifMatch = std::move(value); }
102 inline void SetIfMatch(const char* value) { m_ifMatchHasBeenSet = true; m_ifMatch.assign(value); }
103 inline DeleteAssetModelCompositeModelRequest& WithIfMatch(const Aws::String& value) { SetIfMatch(value); return *this;}
104 inline DeleteAssetModelCompositeModelRequest& WithIfMatch(Aws::String&& value) { SetIfMatch(std::move(value)); return *this;}
105 inline DeleteAssetModelCompositeModelRequest& WithIfMatch(const char* value) { SetIfMatch(value); return *this;}
107
109
114 inline const Aws::String& GetIfNoneMatch() const{ return m_ifNoneMatch; }
115 inline bool IfNoneMatchHasBeenSet() const { return m_ifNoneMatchHasBeenSet; }
116 inline void SetIfNoneMatch(const Aws::String& value) { m_ifNoneMatchHasBeenSet = true; m_ifNoneMatch = value; }
117 inline void SetIfNoneMatch(Aws::String&& value) { m_ifNoneMatchHasBeenSet = true; m_ifNoneMatch = std::move(value); }
118 inline void SetIfNoneMatch(const char* value) { m_ifNoneMatchHasBeenSet = true; m_ifNoneMatch.assign(value); }
120 inline DeleteAssetModelCompositeModelRequest& WithIfNoneMatch(Aws::String&& value) { SetIfNoneMatch(std::move(value)); return *this;}
121 inline DeleteAssetModelCompositeModelRequest& WithIfNoneMatch(const char* value) { SetIfNoneMatch(value); return *this;}
123
125
131 inline const AssetModelVersionType& GetMatchForVersionType() const{ return m_matchForVersionType; }
132 inline bool MatchForVersionTypeHasBeenSet() const { return m_matchForVersionTypeHasBeenSet; }
133 inline void SetMatchForVersionType(const AssetModelVersionType& value) { m_matchForVersionTypeHasBeenSet = true; m_matchForVersionType = value; }
134 inline void SetMatchForVersionType(AssetModelVersionType&& value) { m_matchForVersionTypeHasBeenSet = true; m_matchForVersionType = std::move(value); }
138 private:
139
140 Aws::String m_assetModelId;
141 bool m_assetModelIdHasBeenSet = false;
142
143 Aws::String m_assetModelCompositeModelId;
144 bool m_assetModelCompositeModelIdHasBeenSet = false;
145
146 Aws::String m_clientToken;
147 bool m_clientTokenHasBeenSet = false;
148
149 Aws::String m_ifMatch;
150 bool m_ifMatchHasBeenSet = false;
151
152 Aws::String m_ifNoneMatch;
153 bool m_ifNoneMatchHasBeenSet = false;
154
155 AssetModelVersionType m_matchForVersionType;
156 bool m_matchForVersionTypeHasBeenSet = false;
157 };
158
159} // namespace Model
160} // namespace IoTSiteWise
161} // namespace Aws
DeleteAssetModelCompositeModelRequest & WithAssetModelCompositeModelId(const char *value)
DeleteAssetModelCompositeModelRequest & WithAssetModelId(const char *value)
DeleteAssetModelCompositeModelRequest & WithMatchForVersionType(AssetModelVersionType &&value)
DeleteAssetModelCompositeModelRequest & WithAssetModelId(const Aws::String &value)
DeleteAssetModelCompositeModelRequest & WithIfNoneMatch(const char *value)
DeleteAssetModelCompositeModelRequest & WithIfNoneMatch(Aws::String &&value)
DeleteAssetModelCompositeModelRequest & WithClientToken(const char *value)
DeleteAssetModelCompositeModelRequest & WithIfMatch(const char *value)
AWS_IOTSITEWISE_API Aws::String SerializePayload() const override
DeleteAssetModelCompositeModelRequest & WithAssetModelCompositeModelId(Aws::String &&value)
DeleteAssetModelCompositeModelRequest & WithAssetModelCompositeModelId(const Aws::String &value)
AWS_IOTSITEWISE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DeleteAssetModelCompositeModelRequest & WithIfMatch(const Aws::String &value)
DeleteAssetModelCompositeModelRequest & WithIfMatch(Aws::String &&value)
DeleteAssetModelCompositeModelRequest & WithClientToken(const Aws::String &value)
DeleteAssetModelCompositeModelRequest & WithMatchForVersionType(const AssetModelVersionType &value)
DeleteAssetModelCompositeModelRequest & WithIfNoneMatch(const Aws::String &value)
AWS_IOTSITEWISE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DeleteAssetModelCompositeModelRequest & WithClientToken(Aws::String &&value)
DeleteAssetModelCompositeModelRequest & WithAssetModelId(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String