AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateAssetModelCompositeModelRequest.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/AssetModelProperty.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 "UpdateAssetModelCompositeModel"; }
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 UpdateAssetModelCompositeModelRequest& WithAssetModelId(Aws::String&& value) { SetAssetModelId(std::move(value)); return *this;}
52 inline UpdateAssetModelCompositeModelRequest& WithAssetModelId(const char* value) { SetAssetModelId(value); return *this;}
54
56
59 inline const Aws::String& GetAssetModelCompositeModelId() const{ return m_assetModelCompositeModelId; }
60 inline bool AssetModelCompositeModelIdHasBeenSet() const { return m_assetModelCompositeModelIdHasBeenSet; }
61 inline void SetAssetModelCompositeModelId(const Aws::String& value) { m_assetModelCompositeModelIdHasBeenSet = true; m_assetModelCompositeModelId = value; }
62 inline void SetAssetModelCompositeModelId(Aws::String&& value) { m_assetModelCompositeModelIdHasBeenSet = true; m_assetModelCompositeModelId = std::move(value); }
63 inline void SetAssetModelCompositeModelId(const char* value) { m_assetModelCompositeModelIdHasBeenSet = true; m_assetModelCompositeModelId.assign(value); }
68
70
75 inline const Aws::String& GetAssetModelCompositeModelExternalId() const{ return m_assetModelCompositeModelExternalId; }
76 inline bool AssetModelCompositeModelExternalIdHasBeenSet() const { return m_assetModelCompositeModelExternalIdHasBeenSet; }
77 inline void SetAssetModelCompositeModelExternalId(const Aws::String& value) { m_assetModelCompositeModelExternalIdHasBeenSet = true; m_assetModelCompositeModelExternalId = value; }
78 inline void SetAssetModelCompositeModelExternalId(Aws::String&& value) { m_assetModelCompositeModelExternalIdHasBeenSet = true; m_assetModelCompositeModelExternalId = std::move(value); }
79 inline void SetAssetModelCompositeModelExternalId(const char* value) { m_assetModelCompositeModelExternalIdHasBeenSet = true; m_assetModelCompositeModelExternalId.assign(value); }
84
86
89 inline const Aws::String& GetAssetModelCompositeModelDescription() const{ return m_assetModelCompositeModelDescription; }
90 inline bool AssetModelCompositeModelDescriptionHasBeenSet() const { return m_assetModelCompositeModelDescriptionHasBeenSet; }
91 inline void SetAssetModelCompositeModelDescription(const Aws::String& value) { m_assetModelCompositeModelDescriptionHasBeenSet = true; m_assetModelCompositeModelDescription = value; }
92 inline void SetAssetModelCompositeModelDescription(Aws::String&& value) { m_assetModelCompositeModelDescriptionHasBeenSet = true; m_assetModelCompositeModelDescription = std::move(value); }
93 inline void SetAssetModelCompositeModelDescription(const char* value) { m_assetModelCompositeModelDescriptionHasBeenSet = true; m_assetModelCompositeModelDescription.assign(value); }
98
100
103 inline const Aws::String& GetAssetModelCompositeModelName() const{ return m_assetModelCompositeModelName; }
104 inline bool AssetModelCompositeModelNameHasBeenSet() const { return m_assetModelCompositeModelNameHasBeenSet; }
105 inline void SetAssetModelCompositeModelName(const Aws::String& value) { m_assetModelCompositeModelNameHasBeenSet = true; m_assetModelCompositeModelName = value; }
106 inline void SetAssetModelCompositeModelName(Aws::String&& value) { m_assetModelCompositeModelNameHasBeenSet = true; m_assetModelCompositeModelName = std::move(value); }
107 inline void SetAssetModelCompositeModelName(const char* value) { m_assetModelCompositeModelNameHasBeenSet = true; m_assetModelCompositeModelName.assign(value); }
112
114
119 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
120 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
121 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
122 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
123 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
125 inline UpdateAssetModelCompositeModelRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
126 inline UpdateAssetModelCompositeModelRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
128
130
139 inline const Aws::Vector<AssetModelProperty>& GetAssetModelCompositeModelProperties() const{ return m_assetModelCompositeModelProperties; }
140 inline bool AssetModelCompositeModelPropertiesHasBeenSet() const { return m_assetModelCompositeModelPropertiesHasBeenSet; }
141 inline void SetAssetModelCompositeModelProperties(const Aws::Vector<AssetModelProperty>& value) { m_assetModelCompositeModelPropertiesHasBeenSet = true; m_assetModelCompositeModelProperties = value; }
142 inline void SetAssetModelCompositeModelProperties(Aws::Vector<AssetModelProperty>&& value) { m_assetModelCompositeModelPropertiesHasBeenSet = true; m_assetModelCompositeModelProperties = std::move(value); }
145 inline UpdateAssetModelCompositeModelRequest& AddAssetModelCompositeModelProperties(const AssetModelProperty& value) { m_assetModelCompositeModelPropertiesHasBeenSet = true; m_assetModelCompositeModelProperties.push_back(value); return *this; }
146 inline UpdateAssetModelCompositeModelRequest& AddAssetModelCompositeModelProperties(AssetModelProperty&& value) { m_assetModelCompositeModelPropertiesHasBeenSet = true; m_assetModelCompositeModelProperties.push_back(std::move(value)); return *this; }
148
150
158 inline const Aws::String& GetIfMatch() const{ return m_ifMatch; }
159 inline bool IfMatchHasBeenSet() const { return m_ifMatchHasBeenSet; }
160 inline void SetIfMatch(const Aws::String& value) { m_ifMatchHasBeenSet = true; m_ifMatch = value; }
161 inline void SetIfMatch(Aws::String&& value) { m_ifMatchHasBeenSet = true; m_ifMatch = std::move(value); }
162 inline void SetIfMatch(const char* value) { m_ifMatchHasBeenSet = true; m_ifMatch.assign(value); }
163 inline UpdateAssetModelCompositeModelRequest& WithIfMatch(const Aws::String& value) { SetIfMatch(value); return *this;}
164 inline UpdateAssetModelCompositeModelRequest& WithIfMatch(Aws::String&& value) { SetIfMatch(std::move(value)); return *this;}
165 inline UpdateAssetModelCompositeModelRequest& WithIfMatch(const char* value) { SetIfMatch(value); return *this;}
167
169
174 inline const Aws::String& GetIfNoneMatch() const{ return m_ifNoneMatch; }
175 inline bool IfNoneMatchHasBeenSet() const { return m_ifNoneMatchHasBeenSet; }
176 inline void SetIfNoneMatch(const Aws::String& value) { m_ifNoneMatchHasBeenSet = true; m_ifNoneMatch = value; }
177 inline void SetIfNoneMatch(Aws::String&& value) { m_ifNoneMatchHasBeenSet = true; m_ifNoneMatch = std::move(value); }
178 inline void SetIfNoneMatch(const char* value) { m_ifNoneMatchHasBeenSet = true; m_ifNoneMatch.assign(value); }
180 inline UpdateAssetModelCompositeModelRequest& WithIfNoneMatch(Aws::String&& value) { SetIfNoneMatch(std::move(value)); return *this;}
181 inline UpdateAssetModelCompositeModelRequest& WithIfNoneMatch(const char* value) { SetIfNoneMatch(value); return *this;}
183
185
191 inline const AssetModelVersionType& GetMatchForVersionType() const{ return m_matchForVersionType; }
192 inline bool MatchForVersionTypeHasBeenSet() const { return m_matchForVersionTypeHasBeenSet; }
193 inline void SetMatchForVersionType(const AssetModelVersionType& value) { m_matchForVersionTypeHasBeenSet = true; m_matchForVersionType = value; }
194 inline void SetMatchForVersionType(AssetModelVersionType&& value) { m_matchForVersionTypeHasBeenSet = true; m_matchForVersionType = std::move(value); }
198 private:
199
200 Aws::String m_assetModelId;
201 bool m_assetModelIdHasBeenSet = false;
202
203 Aws::String m_assetModelCompositeModelId;
204 bool m_assetModelCompositeModelIdHasBeenSet = false;
205
206 Aws::String m_assetModelCompositeModelExternalId;
207 bool m_assetModelCompositeModelExternalIdHasBeenSet = false;
208
209 Aws::String m_assetModelCompositeModelDescription;
210 bool m_assetModelCompositeModelDescriptionHasBeenSet = false;
211
212 Aws::String m_assetModelCompositeModelName;
213 bool m_assetModelCompositeModelNameHasBeenSet = false;
214
215 Aws::String m_clientToken;
216 bool m_clientTokenHasBeenSet = false;
217
218 Aws::Vector<AssetModelProperty> m_assetModelCompositeModelProperties;
219 bool m_assetModelCompositeModelPropertiesHasBeenSet = false;
220
221 Aws::String m_ifMatch;
222 bool m_ifMatchHasBeenSet = false;
223
224 Aws::String m_ifNoneMatch;
225 bool m_ifNoneMatchHasBeenSet = false;
226
227 AssetModelVersionType m_matchForVersionType;
228 bool m_matchForVersionTypeHasBeenSet = false;
229 };
230
231} // namespace Model
232} // namespace IoTSiteWise
233} // namespace Aws
UpdateAssetModelCompositeModelRequest & WithAssetModelId(Aws::String &&value)
UpdateAssetModelCompositeModelRequest & WithAssetModelCompositeModelDescription(const char *value)
UpdateAssetModelCompositeModelRequest & WithMatchForVersionType(AssetModelVersionType &&value)
UpdateAssetModelCompositeModelRequest & WithAssetModelCompositeModelExternalId(const char *value)
UpdateAssetModelCompositeModelRequest & WithAssetModelId(const Aws::String &value)
UpdateAssetModelCompositeModelRequest & WithClientToken(const char *value)
UpdateAssetModelCompositeModelRequest & AddAssetModelCompositeModelProperties(const AssetModelProperty &value)
UpdateAssetModelCompositeModelRequest & WithAssetModelCompositeModelId(Aws::String &&value)
UpdateAssetModelCompositeModelRequest & WithAssetModelCompositeModelDescription(Aws::String &&value)
UpdateAssetModelCompositeModelRequest & WithAssetModelId(const char *value)
UpdateAssetModelCompositeModelRequest & WithAssetModelCompositeModelExternalId(const Aws::String &value)
UpdateAssetModelCompositeModelRequest & WithIfNoneMatch(const Aws::String &value)
UpdateAssetModelCompositeModelRequest & WithAssetModelCompositeModelName(const char *value)
UpdateAssetModelCompositeModelRequest & WithAssetModelCompositeModelName(const Aws::String &value)
const Aws::Vector< AssetModelProperty > & GetAssetModelCompositeModelProperties() const
UpdateAssetModelCompositeModelRequest & WithAssetModelCompositeModelName(Aws::String &&value)
UpdateAssetModelCompositeModelRequest & WithIfMatch(const Aws::String &value)
UpdateAssetModelCompositeModelRequest & AddAssetModelCompositeModelProperties(AssetModelProperty &&value)
UpdateAssetModelCompositeModelRequest & WithClientToken(Aws::String &&value)
void SetAssetModelCompositeModelProperties(Aws::Vector< AssetModelProperty > &&value)
UpdateAssetModelCompositeModelRequest & WithMatchForVersionType(const AssetModelVersionType &value)
UpdateAssetModelCompositeModelRequest & WithAssetModelCompositeModelDescription(const Aws::String &value)
UpdateAssetModelCompositeModelRequest & WithAssetModelCompositeModelProperties(Aws::Vector< AssetModelProperty > &&value)
UpdateAssetModelCompositeModelRequest & WithIfMatch(Aws::String &&value)
UpdateAssetModelCompositeModelRequest & WithAssetModelCompositeModelExternalId(Aws::String &&value)
UpdateAssetModelCompositeModelRequest & WithClientToken(const Aws::String &value)
UpdateAssetModelCompositeModelRequest & WithIfNoneMatch(const char *value)
UpdateAssetModelCompositeModelRequest & WithAssetModelCompositeModelProperties(const Aws::Vector< AssetModelProperty > &value)
AWS_IOTSITEWISE_API Aws::String SerializePayload() const override
UpdateAssetModelCompositeModelRequest & WithIfNoneMatch(Aws::String &&value)
void SetAssetModelCompositeModelProperties(const Aws::Vector< AssetModelProperty > &value)
UpdateAssetModelCompositeModelRequest & WithIfMatch(const char *value)
AWS_IOTSITEWISE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateAssetModelCompositeModelRequest & WithAssetModelCompositeModelId(const Aws::String &value)
UpdateAssetModelCompositeModelRequest & 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