AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
DeleteAssetModelRequest.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 DeleteAssetModelRequest() = 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 "DeleteAssetModel"; }
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
53 inline const Aws::String& GetAssetModelId() const { return m_assetModelId; }
54 inline bool AssetModelIdHasBeenSet() const { return m_assetModelIdHasBeenSet; }
55 template<typename AssetModelIdT = Aws::String>
56 void SetAssetModelId(AssetModelIdT&& value) { m_assetModelIdHasBeenSet = true; m_assetModelId = std::forward<AssetModelIdT>(value); }
57 template<typename AssetModelIdT = Aws::String>
58 DeleteAssetModelRequest& WithAssetModelId(AssetModelIdT&& value) { SetAssetModelId(std::forward<AssetModelIdT>(value)); return *this;}
60
62
67 inline const Aws::String& GetClientToken() const { return m_clientToken; }
68 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
69 template<typename ClientTokenT = Aws::String>
70 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
71 template<typename ClientTokenT = Aws::String>
72 DeleteAssetModelRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
74
76
84 inline const Aws::String& GetIfMatch() const { return m_ifMatch; }
85 inline bool IfMatchHasBeenSet() const { return m_ifMatchHasBeenSet; }
86 template<typename IfMatchT = Aws::String>
87 void SetIfMatch(IfMatchT&& value) { m_ifMatchHasBeenSet = true; m_ifMatch = std::forward<IfMatchT>(value); }
88 template<typename IfMatchT = Aws::String>
89 DeleteAssetModelRequest& WithIfMatch(IfMatchT&& value) { SetIfMatch(std::forward<IfMatchT>(value)); return *this;}
91
93
98 inline const Aws::String& GetIfNoneMatch() const { return m_ifNoneMatch; }
99 inline bool IfNoneMatchHasBeenSet() const { return m_ifNoneMatchHasBeenSet; }
100 template<typename IfNoneMatchT = Aws::String>
101 void SetIfNoneMatch(IfNoneMatchT&& value) { m_ifNoneMatchHasBeenSet = true; m_ifNoneMatch = std::forward<IfNoneMatchT>(value); }
102 template<typename IfNoneMatchT = Aws::String>
103 DeleteAssetModelRequest& WithIfNoneMatch(IfNoneMatchT&& value) { SetIfNoneMatch(std::forward<IfNoneMatchT>(value)); return *this;}
105
107
113 inline AssetModelVersionType GetMatchForVersionType() const { return m_matchForVersionType; }
114 inline bool MatchForVersionTypeHasBeenSet() const { return m_matchForVersionTypeHasBeenSet; }
115 inline void SetMatchForVersionType(AssetModelVersionType value) { m_matchForVersionTypeHasBeenSet = true; m_matchForVersionType = value; }
118 private:
119
120 Aws::String m_assetModelId;
121 bool m_assetModelIdHasBeenSet = false;
122
124 bool m_clientTokenHasBeenSet = true;
125
126 Aws::String m_ifMatch;
127 bool m_ifMatchHasBeenSet = false;
128
129 Aws::String m_ifNoneMatch;
130 bool m_ifNoneMatchHasBeenSet = false;
131
133 bool m_matchForVersionTypeHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace IoTSiteWise
138} // namespace Aws
DeleteAssetModelRequest & WithMatchForVersionType(AssetModelVersionType value)
DeleteAssetModelRequest & WithIfNoneMatch(IfNoneMatchT &&value)
AWS_IOTSITEWISE_API Aws::String SerializePayload() const override
AWS_IOTSITEWISE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DeleteAssetModelRequest & WithClientToken(ClientTokenT &&value)
DeleteAssetModelRequest & WithIfMatch(IfMatchT &&value)
DeleteAssetModelRequest & WithAssetModelId(AssetModelIdT &&value)
virtual const char * GetServiceRequestName() const override
AWS_IOTSITEWISE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_IOTSITEWISE_API DeleteAssetModelRequest()=default
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String