AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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:
30 AWS_IOTSITEWISE_API DeleteAssetModelCompositeModelRequest() = default;
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 template<typename AssetModelIdT = Aws::String>
52 void SetAssetModelId(AssetModelIdT&& value) { m_assetModelIdHasBeenSet = true; m_assetModelId = std::forward<AssetModelIdT>(value); }
53 template<typename AssetModelIdT = Aws::String>
54 DeleteAssetModelCompositeModelRequest& WithAssetModelId(AssetModelIdT&& value) { SetAssetModelId(std::forward<AssetModelIdT>(value)); return *this;}
56
58
61 inline const Aws::String& GetAssetModelCompositeModelId() const { return m_assetModelCompositeModelId; }
62 inline bool AssetModelCompositeModelIdHasBeenSet() const { return m_assetModelCompositeModelIdHasBeenSet; }
63 template<typename AssetModelCompositeModelIdT = Aws::String>
64 void SetAssetModelCompositeModelId(AssetModelCompositeModelIdT&& value) { m_assetModelCompositeModelIdHasBeenSet = true; m_assetModelCompositeModelId = std::forward<AssetModelCompositeModelIdT>(value); }
65 template<typename AssetModelCompositeModelIdT = Aws::String>
66 DeleteAssetModelCompositeModelRequest& WithAssetModelCompositeModelId(AssetModelCompositeModelIdT&& value) { SetAssetModelCompositeModelId(std::forward<AssetModelCompositeModelIdT>(value)); return *this;}
68
70
75 inline const Aws::String& GetClientToken() const { return m_clientToken; }
76 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
77 template<typename ClientTokenT = Aws::String>
78 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
79 template<typename ClientTokenT = Aws::String>
80 DeleteAssetModelCompositeModelRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
82
84
92 inline const Aws::String& GetIfMatch() const { return m_ifMatch; }
93 inline bool IfMatchHasBeenSet() const { return m_ifMatchHasBeenSet; }
94 template<typename IfMatchT = Aws::String>
95 void SetIfMatch(IfMatchT&& value) { m_ifMatchHasBeenSet = true; m_ifMatch = std::forward<IfMatchT>(value); }
96 template<typename IfMatchT = Aws::String>
97 DeleteAssetModelCompositeModelRequest& WithIfMatch(IfMatchT&& value) { SetIfMatch(std::forward<IfMatchT>(value)); return *this;}
99
101
106 inline const Aws::String& GetIfNoneMatch() const { return m_ifNoneMatch; }
107 inline bool IfNoneMatchHasBeenSet() const { return m_ifNoneMatchHasBeenSet; }
108 template<typename IfNoneMatchT = Aws::String>
109 void SetIfNoneMatch(IfNoneMatchT&& value) { m_ifNoneMatchHasBeenSet = true; m_ifNoneMatch = std::forward<IfNoneMatchT>(value); }
110 template<typename IfNoneMatchT = Aws::String>
111 DeleteAssetModelCompositeModelRequest& WithIfNoneMatch(IfNoneMatchT&& value) { SetIfNoneMatch(std::forward<IfNoneMatchT>(value)); return *this;}
113
115
121 inline AssetModelVersionType GetMatchForVersionType() const { return m_matchForVersionType; }
122 inline bool MatchForVersionTypeHasBeenSet() const { return m_matchForVersionTypeHasBeenSet; }
123 inline void SetMatchForVersionType(AssetModelVersionType value) { m_matchForVersionTypeHasBeenSet = true; m_matchForVersionType = value; }
126 private:
127
128 Aws::String m_assetModelId;
129 bool m_assetModelIdHasBeenSet = false;
130
131 Aws::String m_assetModelCompositeModelId;
132 bool m_assetModelCompositeModelIdHasBeenSet = false;
133
135 bool m_clientTokenHasBeenSet = true;
136
137 Aws::String m_ifMatch;
138 bool m_ifMatchHasBeenSet = false;
139
140 Aws::String m_ifNoneMatch;
141 bool m_ifNoneMatchHasBeenSet = false;
142
144 bool m_matchForVersionTypeHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace IoTSiteWise
149} // namespace Aws
DeleteAssetModelCompositeModelRequest & WithIfNoneMatch(IfNoneMatchT &&value)
DeleteAssetModelCompositeModelRequest & WithClientToken(ClientTokenT &&value)
DeleteAssetModelCompositeModelRequest & WithMatchForVersionType(AssetModelVersionType value)
AWS_IOTSITEWISE_API Aws::String SerializePayload() const override
AWS_IOTSITEWISE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DeleteAssetModelCompositeModelRequest & WithAssetModelId(AssetModelIdT &&value)
DeleteAssetModelCompositeModelRequest & WithIfMatch(IfMatchT &&value)
AWS_IOTSITEWISE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DeleteAssetModelCompositeModelRequest & WithAssetModelCompositeModelId(AssetModelCompositeModelIdT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String