AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateAssetModelCompositeModelRequest.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 <aws/iotsitewise/model/AssetModelVersionType.h>
12#include <aws/iotsitewise/model/AssetModelPropertyDefinition.h>
13#include <utility>
14#include <aws/core/utils/UUID.h>
15
16namespace Aws
17{
18namespace IoTSiteWise
19{
20namespace Model
21{
22
26 {
27 public:
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 "CreateAssetModelCompositeModel"; }
35
36 AWS_IOTSITEWISE_API Aws::String SerializePayload() const override;
37
38 AWS_IOTSITEWISE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
39
40
42
45 inline const Aws::String& GetAssetModelId() const{ return m_assetModelId; }
46 inline bool AssetModelIdHasBeenSet() const { return m_assetModelIdHasBeenSet; }
47 inline void SetAssetModelId(const Aws::String& value) { m_assetModelIdHasBeenSet = true; m_assetModelId = value; }
48 inline void SetAssetModelId(Aws::String&& value) { m_assetModelIdHasBeenSet = true; m_assetModelId = std::move(value); }
49 inline void SetAssetModelId(const char* value) { m_assetModelIdHasBeenSet = true; m_assetModelId.assign(value); }
51 inline CreateAssetModelCompositeModelRequest& WithAssetModelId(Aws::String&& value) { SetAssetModelId(std::move(value)); return *this;}
52 inline CreateAssetModelCompositeModelRequest& WithAssetModelId(const char* value) { SetAssetModelId(value); return *this;}
54
56
63 inline const Aws::String& GetAssetModelCompositeModelExternalId() const{ return m_assetModelCompositeModelExternalId; }
64 inline bool AssetModelCompositeModelExternalIdHasBeenSet() const { return m_assetModelCompositeModelExternalIdHasBeenSet; }
65 inline void SetAssetModelCompositeModelExternalId(const Aws::String& value) { m_assetModelCompositeModelExternalIdHasBeenSet = true; m_assetModelCompositeModelExternalId = value; }
66 inline void SetAssetModelCompositeModelExternalId(Aws::String&& value) { m_assetModelCompositeModelExternalIdHasBeenSet = true; m_assetModelCompositeModelExternalId = std::move(value); }
67 inline void SetAssetModelCompositeModelExternalId(const char* value) { m_assetModelCompositeModelExternalIdHasBeenSet = true; m_assetModelCompositeModelExternalId.assign(value); }
72
74
77 inline const Aws::String& GetParentAssetModelCompositeModelId() const{ return m_parentAssetModelCompositeModelId; }
78 inline bool ParentAssetModelCompositeModelIdHasBeenSet() const { return m_parentAssetModelCompositeModelIdHasBeenSet; }
79 inline void SetParentAssetModelCompositeModelId(const Aws::String& value) { m_parentAssetModelCompositeModelIdHasBeenSet = true; m_parentAssetModelCompositeModelId = value; }
80 inline void SetParentAssetModelCompositeModelId(Aws::String&& value) { m_parentAssetModelCompositeModelIdHasBeenSet = true; m_parentAssetModelCompositeModelId = std::move(value); }
81 inline void SetParentAssetModelCompositeModelId(const char* value) { m_parentAssetModelCompositeModelIdHasBeenSet = true; m_parentAssetModelCompositeModelId.assign(value); }
86
88
94 inline const Aws::String& GetAssetModelCompositeModelId() const{ return m_assetModelCompositeModelId; }
95 inline bool AssetModelCompositeModelIdHasBeenSet() const { return m_assetModelCompositeModelIdHasBeenSet; }
96 inline void SetAssetModelCompositeModelId(const Aws::String& value) { m_assetModelCompositeModelIdHasBeenSet = true; m_assetModelCompositeModelId = value; }
97 inline void SetAssetModelCompositeModelId(Aws::String&& value) { m_assetModelCompositeModelIdHasBeenSet = true; m_assetModelCompositeModelId = std::move(value); }
98 inline void SetAssetModelCompositeModelId(const char* value) { m_assetModelCompositeModelIdHasBeenSet = true; m_assetModelCompositeModelId.assign(value); }
103
105
108 inline const Aws::String& GetAssetModelCompositeModelDescription() const{ return m_assetModelCompositeModelDescription; }
109 inline bool AssetModelCompositeModelDescriptionHasBeenSet() const { return m_assetModelCompositeModelDescriptionHasBeenSet; }
110 inline void SetAssetModelCompositeModelDescription(const Aws::String& value) { m_assetModelCompositeModelDescriptionHasBeenSet = true; m_assetModelCompositeModelDescription = value; }
111 inline void SetAssetModelCompositeModelDescription(Aws::String&& value) { m_assetModelCompositeModelDescriptionHasBeenSet = true; m_assetModelCompositeModelDescription = std::move(value); }
112 inline void SetAssetModelCompositeModelDescription(const char* value) { m_assetModelCompositeModelDescriptionHasBeenSet = true; m_assetModelCompositeModelDescription.assign(value); }
117
119
122 inline const Aws::String& GetAssetModelCompositeModelName() const{ return m_assetModelCompositeModelName; }
123 inline bool AssetModelCompositeModelNameHasBeenSet() const { return m_assetModelCompositeModelNameHasBeenSet; }
124 inline void SetAssetModelCompositeModelName(const Aws::String& value) { m_assetModelCompositeModelNameHasBeenSet = true; m_assetModelCompositeModelName = value; }
125 inline void SetAssetModelCompositeModelName(Aws::String&& value) { m_assetModelCompositeModelNameHasBeenSet = true; m_assetModelCompositeModelName = std::move(value); }
126 inline void SetAssetModelCompositeModelName(const char* value) { m_assetModelCompositeModelNameHasBeenSet = true; m_assetModelCompositeModelName.assign(value); }
131
133
137 inline const Aws::String& GetAssetModelCompositeModelType() const{ return m_assetModelCompositeModelType; }
138 inline bool AssetModelCompositeModelTypeHasBeenSet() const { return m_assetModelCompositeModelTypeHasBeenSet; }
139 inline void SetAssetModelCompositeModelType(const Aws::String& value) { m_assetModelCompositeModelTypeHasBeenSet = true; m_assetModelCompositeModelType = value; }
140 inline void SetAssetModelCompositeModelType(Aws::String&& value) { m_assetModelCompositeModelTypeHasBeenSet = true; m_assetModelCompositeModelType = std::move(value); }
141 inline void SetAssetModelCompositeModelType(const char* value) { m_assetModelCompositeModelTypeHasBeenSet = true; m_assetModelCompositeModelType.assign(value); }
146
148
153 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
154 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
155 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
156 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
157 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
159 inline CreateAssetModelCompositeModelRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
160 inline CreateAssetModelCompositeModelRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
162
164
168 inline const Aws::String& GetComposedAssetModelId() const{ return m_composedAssetModelId; }
169 inline bool ComposedAssetModelIdHasBeenSet() const { return m_composedAssetModelIdHasBeenSet; }
170 inline void SetComposedAssetModelId(const Aws::String& value) { m_composedAssetModelIdHasBeenSet = true; m_composedAssetModelId = value; }
171 inline void SetComposedAssetModelId(Aws::String&& value) { m_composedAssetModelIdHasBeenSet = true; m_composedAssetModelId = std::move(value); }
172 inline void SetComposedAssetModelId(const char* value) { m_composedAssetModelIdHasBeenSet = true; m_composedAssetModelId.assign(value); }
177
179
188 inline const Aws::Vector<AssetModelPropertyDefinition>& GetAssetModelCompositeModelProperties() const{ return m_assetModelCompositeModelProperties; }
189 inline bool AssetModelCompositeModelPropertiesHasBeenSet() const { return m_assetModelCompositeModelPropertiesHasBeenSet; }
190 inline void SetAssetModelCompositeModelProperties(const Aws::Vector<AssetModelPropertyDefinition>& value) { m_assetModelCompositeModelPropertiesHasBeenSet = true; m_assetModelCompositeModelProperties = value; }
191 inline void SetAssetModelCompositeModelProperties(Aws::Vector<AssetModelPropertyDefinition>&& value) { m_assetModelCompositeModelPropertiesHasBeenSet = true; m_assetModelCompositeModelProperties = std::move(value); }
194 inline CreateAssetModelCompositeModelRequest& AddAssetModelCompositeModelProperties(const AssetModelPropertyDefinition& value) { m_assetModelCompositeModelPropertiesHasBeenSet = true; m_assetModelCompositeModelProperties.push_back(value); return *this; }
195 inline CreateAssetModelCompositeModelRequest& AddAssetModelCompositeModelProperties(AssetModelPropertyDefinition&& value) { m_assetModelCompositeModelPropertiesHasBeenSet = true; m_assetModelCompositeModelProperties.push_back(std::move(value)); return *this; }
197
199
207 inline const Aws::String& GetIfMatch() const{ return m_ifMatch; }
208 inline bool IfMatchHasBeenSet() const { return m_ifMatchHasBeenSet; }
209 inline void SetIfMatch(const Aws::String& value) { m_ifMatchHasBeenSet = true; m_ifMatch = value; }
210 inline void SetIfMatch(Aws::String&& value) { m_ifMatchHasBeenSet = true; m_ifMatch = std::move(value); }
211 inline void SetIfMatch(const char* value) { m_ifMatchHasBeenSet = true; m_ifMatch.assign(value); }
212 inline CreateAssetModelCompositeModelRequest& WithIfMatch(const Aws::String& value) { SetIfMatch(value); return *this;}
213 inline CreateAssetModelCompositeModelRequest& WithIfMatch(Aws::String&& value) { SetIfMatch(std::move(value)); return *this;}
214 inline CreateAssetModelCompositeModelRequest& WithIfMatch(const char* value) { SetIfMatch(value); return *this;}
216
218
223 inline const Aws::String& GetIfNoneMatch() const{ return m_ifNoneMatch; }
224 inline bool IfNoneMatchHasBeenSet() const { return m_ifNoneMatchHasBeenSet; }
225 inline void SetIfNoneMatch(const Aws::String& value) { m_ifNoneMatchHasBeenSet = true; m_ifNoneMatch = value; }
226 inline void SetIfNoneMatch(Aws::String&& value) { m_ifNoneMatchHasBeenSet = true; m_ifNoneMatch = std::move(value); }
227 inline void SetIfNoneMatch(const char* value) { m_ifNoneMatchHasBeenSet = true; m_ifNoneMatch.assign(value); }
229 inline CreateAssetModelCompositeModelRequest& WithIfNoneMatch(Aws::String&& value) { SetIfNoneMatch(std::move(value)); return *this;}
230 inline CreateAssetModelCompositeModelRequest& WithIfNoneMatch(const char* value) { SetIfNoneMatch(value); return *this;}
232
234
240 inline const AssetModelVersionType& GetMatchForVersionType() const{ return m_matchForVersionType; }
241 inline bool MatchForVersionTypeHasBeenSet() const { return m_matchForVersionTypeHasBeenSet; }
242 inline void SetMatchForVersionType(const AssetModelVersionType& value) { m_matchForVersionTypeHasBeenSet = true; m_matchForVersionType = value; }
243 inline void SetMatchForVersionType(AssetModelVersionType&& value) { m_matchForVersionTypeHasBeenSet = true; m_matchForVersionType = std::move(value); }
247 private:
248
249 Aws::String m_assetModelId;
250 bool m_assetModelIdHasBeenSet = false;
251
252 Aws::String m_assetModelCompositeModelExternalId;
253 bool m_assetModelCompositeModelExternalIdHasBeenSet = false;
254
255 Aws::String m_parentAssetModelCompositeModelId;
256 bool m_parentAssetModelCompositeModelIdHasBeenSet = false;
257
258 Aws::String m_assetModelCompositeModelId;
259 bool m_assetModelCompositeModelIdHasBeenSet = false;
260
261 Aws::String m_assetModelCompositeModelDescription;
262 bool m_assetModelCompositeModelDescriptionHasBeenSet = false;
263
264 Aws::String m_assetModelCompositeModelName;
265 bool m_assetModelCompositeModelNameHasBeenSet = false;
266
267 Aws::String m_assetModelCompositeModelType;
268 bool m_assetModelCompositeModelTypeHasBeenSet = false;
269
270 Aws::String m_clientToken;
271 bool m_clientTokenHasBeenSet = false;
272
273 Aws::String m_composedAssetModelId;
274 bool m_composedAssetModelIdHasBeenSet = false;
275
276 Aws::Vector<AssetModelPropertyDefinition> m_assetModelCompositeModelProperties;
277 bool m_assetModelCompositeModelPropertiesHasBeenSet = false;
278
279 Aws::String m_ifMatch;
280 bool m_ifMatchHasBeenSet = false;
281
282 Aws::String m_ifNoneMatch;
283 bool m_ifNoneMatchHasBeenSet = false;
284
285 AssetModelVersionType m_matchForVersionType;
286 bool m_matchForVersionTypeHasBeenSet = false;
287 };
288
289} // namespace Model
290} // namespace IoTSiteWise
291} // namespace Aws
CreateAssetModelCompositeModelRequest & WithAssetModelCompositeModelExternalId(const char *value)
CreateAssetModelCompositeModelRequest & WithIfNoneMatch(Aws::String &&value)
CreateAssetModelCompositeModelRequest & WithComposedAssetModelId(const char *value)
CreateAssetModelCompositeModelRequest & WithComposedAssetModelId(Aws::String &&value)
AWS_IOTSITEWISE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateAssetModelCompositeModelRequest & WithAssetModelCompositeModelName(Aws::String &&value)
CreateAssetModelCompositeModelRequest & WithComposedAssetModelId(const Aws::String &value)
CreateAssetModelCompositeModelRequest & WithAssetModelCompositeModelName(const Aws::String &value)
CreateAssetModelCompositeModelRequest & WithMatchForVersionType(const AssetModelVersionType &value)
CreateAssetModelCompositeModelRequest & WithAssetModelCompositeModelDescription(const char *value)
CreateAssetModelCompositeModelRequest & WithAssetModelCompositeModelProperties(const Aws::Vector< AssetModelPropertyDefinition > &value)
CreateAssetModelCompositeModelRequest & WithParentAssetModelCompositeModelId(const Aws::String &value)
CreateAssetModelCompositeModelRequest & AddAssetModelCompositeModelProperties(AssetModelPropertyDefinition &&value)
CreateAssetModelCompositeModelRequest & WithAssetModelCompositeModelType(const char *value)
CreateAssetModelCompositeModelRequest & WithAssetModelId(Aws::String &&value)
CreateAssetModelCompositeModelRequest & WithIfNoneMatch(const Aws::String &value)
CreateAssetModelCompositeModelRequest & AddAssetModelCompositeModelProperties(const AssetModelPropertyDefinition &value)
void SetAssetModelCompositeModelProperties(const Aws::Vector< AssetModelPropertyDefinition > &value)
CreateAssetModelCompositeModelRequest & WithAssetModelCompositeModelDescription(const Aws::String &value)
CreateAssetModelCompositeModelRequest & WithAssetModelId(const Aws::String &value)
CreateAssetModelCompositeModelRequest & WithAssetModelCompositeModelProperties(Aws::Vector< AssetModelPropertyDefinition > &&value)
CreateAssetModelCompositeModelRequest & WithClientToken(Aws::String &&value)
CreateAssetModelCompositeModelRequest & WithAssetModelId(const char *value)
AWS_IOTSITEWISE_API Aws::String SerializePayload() const override
CreateAssetModelCompositeModelRequest & WithAssetModelCompositeModelType(const Aws::String &value)
CreateAssetModelCompositeModelRequest & WithMatchForVersionType(AssetModelVersionType &&value)
CreateAssetModelCompositeModelRequest & WithIfMatch(Aws::String &&value)
CreateAssetModelCompositeModelRequest & WithAssetModelCompositeModelName(const char *value)
CreateAssetModelCompositeModelRequest & WithAssetModelCompositeModelExternalId(Aws::String &&value)
CreateAssetModelCompositeModelRequest & WithAssetModelCompositeModelType(Aws::String &&value)
CreateAssetModelCompositeModelRequest & WithParentAssetModelCompositeModelId(const char *value)
CreateAssetModelCompositeModelRequest & WithAssetModelCompositeModelDescription(Aws::String &&value)
CreateAssetModelCompositeModelRequest & WithIfMatch(const Aws::String &value)
CreateAssetModelCompositeModelRequest & WithIfMatch(const char *value)
CreateAssetModelCompositeModelRequest & WithIfNoneMatch(const char *value)
CreateAssetModelCompositeModelRequest & WithParentAssetModelCompositeModelId(Aws::String &&value)
CreateAssetModelCompositeModelRequest & WithClientToken(const char *value)
CreateAssetModelCompositeModelRequest & WithAssetModelCompositeModelId(Aws::String &&value)
void SetAssetModelCompositeModelProperties(Aws::Vector< AssetModelPropertyDefinition > &&value)
CreateAssetModelCompositeModelRequest & WithClientToken(const Aws::String &value)
const Aws::Vector< AssetModelPropertyDefinition > & GetAssetModelCompositeModelProperties() const
CreateAssetModelCompositeModelRequest & WithAssetModelCompositeModelId(const Aws::String &value)
CreateAssetModelCompositeModelRequest & WithAssetModelCompositeModelExternalId(const Aws::String &value)
CreateAssetModelCompositeModelRequest & WithAssetModelCompositeModelId(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector