AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetAssetModelId(const Aws::String& value) { m_assetModelIdHasBeenSet = true; m_assetModelId = value; }
56 inline void SetAssetModelId(Aws::String&& value) { m_assetModelIdHasBeenSet = true; m_assetModelId = std::move(value); }
57 inline void SetAssetModelId(const char* value) { m_assetModelIdHasBeenSet = true; m_assetModelId.assign(value); }
58 inline DeleteAssetModelRequest& WithAssetModelId(const Aws::String& value) { SetAssetModelId(value); return *this;}
59 inline DeleteAssetModelRequest& WithAssetModelId(Aws::String&& value) { SetAssetModelId(std::move(value)); return *this;}
60 inline DeleteAssetModelRequest& WithAssetModelId(const char* value) { SetAssetModelId(value); return *this;}
62
64
69 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
70 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
71 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
72 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
73 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
74 inline DeleteAssetModelRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
75 inline DeleteAssetModelRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
76 inline DeleteAssetModelRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
78
80
88 inline const Aws::String& GetIfMatch() const{ return m_ifMatch; }
89 inline bool IfMatchHasBeenSet() const { return m_ifMatchHasBeenSet; }
90 inline void SetIfMatch(const Aws::String& value) { m_ifMatchHasBeenSet = true; m_ifMatch = value; }
91 inline void SetIfMatch(Aws::String&& value) { m_ifMatchHasBeenSet = true; m_ifMatch = std::move(value); }
92 inline void SetIfMatch(const char* value) { m_ifMatchHasBeenSet = true; m_ifMatch.assign(value); }
93 inline DeleteAssetModelRequest& WithIfMatch(const Aws::String& value) { SetIfMatch(value); return *this;}
94 inline DeleteAssetModelRequest& WithIfMatch(Aws::String&& value) { SetIfMatch(std::move(value)); return *this;}
95 inline DeleteAssetModelRequest& WithIfMatch(const char* value) { SetIfMatch(value); return *this;}
97
99
104 inline const Aws::String& GetIfNoneMatch() const{ return m_ifNoneMatch; }
105 inline bool IfNoneMatchHasBeenSet() const { return m_ifNoneMatchHasBeenSet; }
106 inline void SetIfNoneMatch(const Aws::String& value) { m_ifNoneMatchHasBeenSet = true; m_ifNoneMatch = value; }
107 inline void SetIfNoneMatch(Aws::String&& value) { m_ifNoneMatchHasBeenSet = true; m_ifNoneMatch = std::move(value); }
108 inline void SetIfNoneMatch(const char* value) { m_ifNoneMatchHasBeenSet = true; m_ifNoneMatch.assign(value); }
109 inline DeleteAssetModelRequest& WithIfNoneMatch(const Aws::String& value) { SetIfNoneMatch(value); return *this;}
110 inline DeleteAssetModelRequest& WithIfNoneMatch(Aws::String&& value) { SetIfNoneMatch(std::move(value)); return *this;}
111 inline DeleteAssetModelRequest& WithIfNoneMatch(const char* value) { SetIfNoneMatch(value); return *this;}
113
115
121 inline const AssetModelVersionType& GetMatchForVersionType() const{ return m_matchForVersionType; }
122 inline bool MatchForVersionTypeHasBeenSet() const { return m_matchForVersionTypeHasBeenSet; }
123 inline void SetMatchForVersionType(const AssetModelVersionType& value) { m_matchForVersionTypeHasBeenSet = true; m_matchForVersionType = value; }
124 inline void SetMatchForVersionType(AssetModelVersionType&& value) { m_matchForVersionTypeHasBeenSet = true; m_matchForVersionType = std::move(value); }
128 private:
129
130 Aws::String m_assetModelId;
131 bool m_assetModelIdHasBeenSet = false;
132
133 Aws::String m_clientToken;
134 bool m_clientTokenHasBeenSet = false;
135
136 Aws::String m_ifMatch;
137 bool m_ifMatchHasBeenSet = false;
138
139 Aws::String m_ifNoneMatch;
140 bool m_ifNoneMatchHasBeenSet = false;
141
142 AssetModelVersionType m_matchForVersionType;
143 bool m_matchForVersionTypeHasBeenSet = false;
144 };
145
146} // namespace Model
147} // namespace IoTSiteWise
148} // namespace Aws
void SetMatchForVersionType(const AssetModelVersionType &value)
DeleteAssetModelRequest & WithClientToken(const char *value)
DeleteAssetModelRequest & WithMatchForVersionType(const AssetModelVersionType &value)
DeleteAssetModelRequest & WithIfNoneMatch(const Aws::String &value)
AWS_IOTSITEWISE_API Aws::String SerializePayload() const override
AWS_IOTSITEWISE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DeleteAssetModelRequest & WithIfMatch(const char *value)
DeleteAssetModelRequest & WithIfNoneMatch(Aws::String &&value)
DeleteAssetModelRequest & WithIfNoneMatch(const char *value)
DeleteAssetModelRequest & WithIfMatch(Aws::String &&value)
DeleteAssetModelRequest & WithAssetModelId(const char *value)
DeleteAssetModelRequest & WithIfMatch(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
DeleteAssetModelRequest & WithClientToken(const Aws::String &value)
AWS_IOTSITEWISE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DeleteAssetModelRequest & WithClientToken(Aws::String &&value)
const AssetModelVersionType & GetMatchForVersionType() const
DeleteAssetModelRequest & WithAssetModelId(const Aws::String &value)
void SetMatchForVersionType(AssetModelVersionType &&value)
DeleteAssetModelRequest & WithMatchForVersionType(AssetModelVersionType &&value)
DeleteAssetModelRequest & WithAssetModelId(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String