AWS SDK for C++

AWS SDK for C++ Version 1.11.690

Loading...
Searching...
No Matches
UpdateDevEndpointRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/glue/GlueRequest.h>
11#include <aws/glue/Glue_EXPORTS.h>
12#include <aws/glue/model/DevEndpointCustomLibraries.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Glue {
18namespace Model {
19
23 public:
24 AWS_GLUE_API UpdateDevEndpointRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateDevEndpoint"; }
31
32 AWS_GLUE_API Aws::String SerializePayload() const override;
33
35
37
40 inline const Aws::String& GetEndpointName() const { return m_endpointName; }
41 inline bool EndpointNameHasBeenSet() const { return m_endpointNameHasBeenSet; }
42 template <typename EndpointNameT = Aws::String>
43 void SetEndpointName(EndpointNameT&& value) {
44 m_endpointNameHasBeenSet = true;
45 m_endpointName = std::forward<EndpointNameT>(value);
46 }
47 template <typename EndpointNameT = Aws::String>
49 SetEndpointName(std::forward<EndpointNameT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetPublicKey() const { return m_publicKey; }
59 inline bool PublicKeyHasBeenSet() const { return m_publicKeyHasBeenSet; }
60 template <typename PublicKeyT = Aws::String>
61 void SetPublicKey(PublicKeyT&& value) {
62 m_publicKeyHasBeenSet = true;
63 m_publicKey = std::forward<PublicKeyT>(value);
64 }
65 template <typename PublicKeyT = Aws::String>
67 SetPublicKey(std::forward<PublicKeyT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::Vector<Aws::String>& GetAddPublicKeys() const { return m_addPublicKeys; }
77 inline bool AddPublicKeysHasBeenSet() const { return m_addPublicKeysHasBeenSet; }
78 template <typename AddPublicKeysT = Aws::Vector<Aws::String>>
79 void SetAddPublicKeys(AddPublicKeysT&& value) {
80 m_addPublicKeysHasBeenSet = true;
81 m_addPublicKeys = std::forward<AddPublicKeysT>(value);
82 }
83 template <typename AddPublicKeysT = Aws::Vector<Aws::String>>
85 SetAddPublicKeys(std::forward<AddPublicKeysT>(value));
86 return *this;
87 }
88 template <typename AddPublicKeysT = Aws::String>
89 UpdateDevEndpointRequest& AddAddPublicKeys(AddPublicKeysT&& value) {
90 m_addPublicKeysHasBeenSet = true;
91 m_addPublicKeys.emplace_back(std::forward<AddPublicKeysT>(value));
92 return *this;
93 }
95
97
100 inline const Aws::Vector<Aws::String>& GetDeletePublicKeys() const { return m_deletePublicKeys; }
101 inline bool DeletePublicKeysHasBeenSet() const { return m_deletePublicKeysHasBeenSet; }
102 template <typename DeletePublicKeysT = Aws::Vector<Aws::String>>
103 void SetDeletePublicKeys(DeletePublicKeysT&& value) {
104 m_deletePublicKeysHasBeenSet = true;
105 m_deletePublicKeys = std::forward<DeletePublicKeysT>(value);
106 }
107 template <typename DeletePublicKeysT = Aws::Vector<Aws::String>>
108 UpdateDevEndpointRequest& WithDeletePublicKeys(DeletePublicKeysT&& value) {
109 SetDeletePublicKeys(std::forward<DeletePublicKeysT>(value));
110 return *this;
111 }
112 template <typename DeletePublicKeysT = Aws::String>
113 UpdateDevEndpointRequest& AddDeletePublicKeys(DeletePublicKeysT&& value) {
114 m_deletePublicKeysHasBeenSet = true;
115 m_deletePublicKeys.emplace_back(std::forward<DeletePublicKeysT>(value));
116 return *this;
117 }
119
121
125 inline const DevEndpointCustomLibraries& GetCustomLibraries() const { return m_customLibraries; }
126 inline bool CustomLibrariesHasBeenSet() const { return m_customLibrariesHasBeenSet; }
127 template <typename CustomLibrariesT = DevEndpointCustomLibraries>
128 void SetCustomLibraries(CustomLibrariesT&& value) {
129 m_customLibrariesHasBeenSet = true;
130 m_customLibraries = std::forward<CustomLibrariesT>(value);
131 }
132 template <typename CustomLibrariesT = DevEndpointCustomLibraries>
134 SetCustomLibraries(std::forward<CustomLibrariesT>(value));
135 return *this;
136 }
138
140
145 inline bool GetUpdateEtlLibraries() const { return m_updateEtlLibraries; }
146 inline bool UpdateEtlLibrariesHasBeenSet() const { return m_updateEtlLibrariesHasBeenSet; }
147 inline void SetUpdateEtlLibraries(bool value) {
148 m_updateEtlLibrariesHasBeenSet = true;
149 m_updateEtlLibraries = value;
150 }
153 return *this;
154 }
156
158
162 inline const Aws::Vector<Aws::String>& GetDeleteArguments() const { return m_deleteArguments; }
163 inline bool DeleteArgumentsHasBeenSet() const { return m_deleteArgumentsHasBeenSet; }
164 template <typename DeleteArgumentsT = Aws::Vector<Aws::String>>
165 void SetDeleteArguments(DeleteArgumentsT&& value) {
166 m_deleteArgumentsHasBeenSet = true;
167 m_deleteArguments = std::forward<DeleteArgumentsT>(value);
168 }
169 template <typename DeleteArgumentsT = Aws::Vector<Aws::String>>
171 SetDeleteArguments(std::forward<DeleteArgumentsT>(value));
172 return *this;
173 }
174 template <typename DeleteArgumentsT = Aws::String>
175 UpdateDevEndpointRequest& AddDeleteArguments(DeleteArgumentsT&& value) {
176 m_deleteArgumentsHasBeenSet = true;
177 m_deleteArguments.emplace_back(std::forward<DeleteArgumentsT>(value));
178 return *this;
179 }
181
183
192 inline const Aws::Map<Aws::String, Aws::String>& GetAddArguments() const { return m_addArguments; }
193 inline bool AddArgumentsHasBeenSet() const { return m_addArgumentsHasBeenSet; }
194 template <typename AddArgumentsT = Aws::Map<Aws::String, Aws::String>>
195 void SetAddArguments(AddArgumentsT&& value) {
196 m_addArgumentsHasBeenSet = true;
197 m_addArguments = std::forward<AddArgumentsT>(value);
198 }
199 template <typename AddArgumentsT = Aws::Map<Aws::String, Aws::String>>
201 SetAddArguments(std::forward<AddArgumentsT>(value));
202 return *this;
203 }
204 template <typename AddArgumentsKeyT = Aws::String, typename AddArgumentsValueT = Aws::String>
205 UpdateDevEndpointRequest& AddAddArguments(AddArgumentsKeyT&& key, AddArgumentsValueT&& value) {
206 m_addArgumentsHasBeenSet = true;
207 m_addArguments.emplace(std::forward<AddArgumentsKeyT>(key), std::forward<AddArgumentsValueT>(value));
208 return *this;
209 }
211 private:
212 Aws::String m_endpointName;
213 bool m_endpointNameHasBeenSet = false;
214
215 Aws::String m_publicKey;
216 bool m_publicKeyHasBeenSet = false;
217
218 Aws::Vector<Aws::String> m_addPublicKeys;
219 bool m_addPublicKeysHasBeenSet = false;
220
221 Aws::Vector<Aws::String> m_deletePublicKeys;
222 bool m_deletePublicKeysHasBeenSet = false;
223
224 DevEndpointCustomLibraries m_customLibraries;
225 bool m_customLibrariesHasBeenSet = false;
226
227 bool m_updateEtlLibraries{false};
228 bool m_updateEtlLibrariesHasBeenSet = false;
229
230 Aws::Vector<Aws::String> m_deleteArguments;
231 bool m_deleteArgumentsHasBeenSet = false;
232
234 bool m_addArgumentsHasBeenSet = false;
235};
236
237} // namespace Model
238} // namespace Glue
239} // namespace Aws
UpdateDevEndpointRequest & WithCustomLibraries(CustomLibrariesT &&value)
UpdateDevEndpointRequest & AddAddArguments(AddArgumentsKeyT &&key, AddArgumentsValueT &&value)
UpdateDevEndpointRequest & WithAddPublicKeys(AddPublicKeysT &&value)
UpdateDevEndpointRequest & WithPublicKey(PublicKeyT &&value)
const DevEndpointCustomLibraries & GetCustomLibraries() const
const Aws::Vector< Aws::String > & GetAddPublicKeys() const
void SetDeletePublicKeys(DeletePublicKeysT &&value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::Map< Aws::String, Aws::String > & GetAddArguments() const
virtual const char * GetServiceRequestName() const override
UpdateDevEndpointRequest & AddDeletePublicKeys(DeletePublicKeysT &&value)
AWS_GLUE_API Aws::String SerializePayload() const override
const Aws::Vector< Aws::String > & GetDeleteArguments() const
UpdateDevEndpointRequest & AddDeleteArguments(DeleteArgumentsT &&value)
const Aws::Vector< Aws::String > & GetDeletePublicKeys() const
AWS_GLUE_API UpdateDevEndpointRequest()=default
UpdateDevEndpointRequest & WithDeletePublicKeys(DeletePublicKeysT &&value)
UpdateDevEndpointRequest & AddAddPublicKeys(AddPublicKeysT &&value)
UpdateDevEndpointRequest & WithEndpointName(EndpointNameT &&value)
UpdateDevEndpointRequest & WithDeleteArguments(DeleteArgumentsT &&value)
UpdateDevEndpointRequest & WithAddArguments(AddArgumentsT &&value)
UpdateDevEndpointRequest & WithUpdateEtlLibraries(bool value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector