AWS SDK for C++  1.8.71
AWS SDK for C++
UpdateDevEndpointRequest.h
Go to the documentation of this file.
1 
6 #pragma once
8 #include <aws/glue/GlueRequest.h>
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace Glue
18 {
19 namespace Model
20 {
21 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "UpdateDevEndpoint"; }
34 
35  Aws::String SerializePayload() const override;
36 
37  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38 
39 
43  inline const Aws::String& GetEndpointName() const{ return m_endpointName; }
44 
48  inline bool EndpointNameHasBeenSet() const { return m_endpointNameHasBeenSet; }
49 
53  inline void SetEndpointName(const Aws::String& value) { m_endpointNameHasBeenSet = true; m_endpointName = value; }
54 
58  inline void SetEndpointName(Aws::String&& value) { m_endpointNameHasBeenSet = true; m_endpointName = std::move(value); }
59 
63  inline void SetEndpointName(const char* value) { m_endpointNameHasBeenSet = true; m_endpointName.assign(value); }
64 
68  inline UpdateDevEndpointRequest& WithEndpointName(const Aws::String& value) { SetEndpointName(value); return *this;}
69 
73  inline UpdateDevEndpointRequest& WithEndpointName(Aws::String&& value) { SetEndpointName(std::move(value)); return *this;}
74 
78  inline UpdateDevEndpointRequest& WithEndpointName(const char* value) { SetEndpointName(value); return *this;}
79 
80 
84  inline const Aws::String& GetPublicKey() const{ return m_publicKey; }
85 
89  inline bool PublicKeyHasBeenSet() const { return m_publicKeyHasBeenSet; }
90 
94  inline void SetPublicKey(const Aws::String& value) { m_publicKeyHasBeenSet = true; m_publicKey = value; }
95 
99  inline void SetPublicKey(Aws::String&& value) { m_publicKeyHasBeenSet = true; m_publicKey = std::move(value); }
100 
104  inline void SetPublicKey(const char* value) { m_publicKeyHasBeenSet = true; m_publicKey.assign(value); }
105 
109  inline UpdateDevEndpointRequest& WithPublicKey(const Aws::String& value) { SetPublicKey(value); return *this;}
110 
114  inline UpdateDevEndpointRequest& WithPublicKey(Aws::String&& value) { SetPublicKey(std::move(value)); return *this;}
115 
119  inline UpdateDevEndpointRequest& WithPublicKey(const char* value) { SetPublicKey(value); return *this;}
120 
121 
125  inline const Aws::Vector<Aws::String>& GetAddPublicKeys() const{ return m_addPublicKeys; }
126 
130  inline bool AddPublicKeysHasBeenSet() const { return m_addPublicKeysHasBeenSet; }
131 
135  inline void SetAddPublicKeys(const Aws::Vector<Aws::String>& value) { m_addPublicKeysHasBeenSet = true; m_addPublicKeys = value; }
136 
140  inline void SetAddPublicKeys(Aws::Vector<Aws::String>&& value) { m_addPublicKeysHasBeenSet = true; m_addPublicKeys = std::move(value); }
141 
145  inline UpdateDevEndpointRequest& WithAddPublicKeys(const Aws::Vector<Aws::String>& value) { SetAddPublicKeys(value); return *this;}
146 
150  inline UpdateDevEndpointRequest& WithAddPublicKeys(Aws::Vector<Aws::String>&& value) { SetAddPublicKeys(std::move(value)); return *this;}
151 
155  inline UpdateDevEndpointRequest& AddAddPublicKeys(const Aws::String& value) { m_addPublicKeysHasBeenSet = true; m_addPublicKeys.push_back(value); return *this; }
156 
160  inline UpdateDevEndpointRequest& AddAddPublicKeys(Aws::String&& value) { m_addPublicKeysHasBeenSet = true; m_addPublicKeys.push_back(std::move(value)); return *this; }
161 
165  inline UpdateDevEndpointRequest& AddAddPublicKeys(const char* value) { m_addPublicKeysHasBeenSet = true; m_addPublicKeys.push_back(value); return *this; }
166 
167 
171  inline const Aws::Vector<Aws::String>& GetDeletePublicKeys() const{ return m_deletePublicKeys; }
172 
176  inline bool DeletePublicKeysHasBeenSet() const { return m_deletePublicKeysHasBeenSet; }
177 
181  inline void SetDeletePublicKeys(const Aws::Vector<Aws::String>& value) { m_deletePublicKeysHasBeenSet = true; m_deletePublicKeys = value; }
182 
186  inline void SetDeletePublicKeys(Aws::Vector<Aws::String>&& value) { m_deletePublicKeysHasBeenSet = true; m_deletePublicKeys = std::move(value); }
187 
191  inline UpdateDevEndpointRequest& WithDeletePublicKeys(const Aws::Vector<Aws::String>& value) { SetDeletePublicKeys(value); return *this;}
192 
196  inline UpdateDevEndpointRequest& WithDeletePublicKeys(Aws::Vector<Aws::String>&& value) { SetDeletePublicKeys(std::move(value)); return *this;}
197 
201  inline UpdateDevEndpointRequest& AddDeletePublicKeys(const Aws::String& value) { m_deletePublicKeysHasBeenSet = true; m_deletePublicKeys.push_back(value); return *this; }
202 
206  inline UpdateDevEndpointRequest& AddDeletePublicKeys(Aws::String&& value) { m_deletePublicKeysHasBeenSet = true; m_deletePublicKeys.push_back(std::move(value)); return *this; }
207 
211  inline UpdateDevEndpointRequest& AddDeletePublicKeys(const char* value) { m_deletePublicKeysHasBeenSet = true; m_deletePublicKeys.push_back(value); return *this; }
212 
213 
218  inline const DevEndpointCustomLibraries& GetCustomLibraries() const{ return m_customLibraries; }
219 
224  inline bool CustomLibrariesHasBeenSet() const { return m_customLibrariesHasBeenSet; }
225 
230  inline void SetCustomLibraries(const DevEndpointCustomLibraries& value) { m_customLibrariesHasBeenSet = true; m_customLibraries = value; }
231 
236  inline void SetCustomLibraries(DevEndpointCustomLibraries&& value) { m_customLibrariesHasBeenSet = true; m_customLibraries = std::move(value); }
237 
242  inline UpdateDevEndpointRequest& WithCustomLibraries(const DevEndpointCustomLibraries& value) { SetCustomLibraries(value); return *this;}
243 
248  inline UpdateDevEndpointRequest& WithCustomLibraries(DevEndpointCustomLibraries&& value) { SetCustomLibraries(std::move(value)); return *this;}
249 
250 
256  inline bool GetUpdateEtlLibraries() const{ return m_updateEtlLibraries; }
257 
263  inline bool UpdateEtlLibrariesHasBeenSet() const { return m_updateEtlLibrariesHasBeenSet; }
264 
270  inline void SetUpdateEtlLibraries(bool value) { m_updateEtlLibrariesHasBeenSet = true; m_updateEtlLibraries = value; }
271 
277  inline UpdateDevEndpointRequest& WithUpdateEtlLibraries(bool value) { SetUpdateEtlLibraries(value); return *this;}
278 
279 
284  inline const Aws::Vector<Aws::String>& GetDeleteArguments() const{ return m_deleteArguments; }
285 
290  inline bool DeleteArgumentsHasBeenSet() const { return m_deleteArgumentsHasBeenSet; }
291 
296  inline void SetDeleteArguments(const Aws::Vector<Aws::String>& value) { m_deleteArgumentsHasBeenSet = true; m_deleteArguments = value; }
297 
302  inline void SetDeleteArguments(Aws::Vector<Aws::String>&& value) { m_deleteArgumentsHasBeenSet = true; m_deleteArguments = std::move(value); }
303 
308  inline UpdateDevEndpointRequest& WithDeleteArguments(const Aws::Vector<Aws::String>& value) { SetDeleteArguments(value); return *this;}
309 
314  inline UpdateDevEndpointRequest& WithDeleteArguments(Aws::Vector<Aws::String>&& value) { SetDeleteArguments(std::move(value)); return *this;}
315 
320  inline UpdateDevEndpointRequest& AddDeleteArguments(const Aws::String& value) { m_deleteArgumentsHasBeenSet = true; m_deleteArguments.push_back(value); return *this; }
321 
326  inline UpdateDevEndpointRequest& AddDeleteArguments(Aws::String&& value) { m_deleteArgumentsHasBeenSet = true; m_deleteArguments.push_back(std::move(value)); return *this; }
327 
332  inline UpdateDevEndpointRequest& AddDeleteArguments(const char* value) { m_deleteArgumentsHasBeenSet = true; m_deleteArguments.push_back(value); return *this; }
333 
334 
346  inline const Aws::Map<Aws::String, Aws::String>& GetAddArguments() const{ return m_addArguments; }
347 
359  inline bool AddArgumentsHasBeenSet() const { return m_addArgumentsHasBeenSet; }
360 
372  inline void SetAddArguments(const Aws::Map<Aws::String, Aws::String>& value) { m_addArgumentsHasBeenSet = true; m_addArguments = value; }
373 
385  inline void SetAddArguments(Aws::Map<Aws::String, Aws::String>&& value) { m_addArgumentsHasBeenSet = true; m_addArguments = std::move(value); }
386 
398  inline UpdateDevEndpointRequest& WithAddArguments(const Aws::Map<Aws::String, Aws::String>& value) { SetAddArguments(value); return *this;}
399 
411  inline UpdateDevEndpointRequest& WithAddArguments(Aws::Map<Aws::String, Aws::String>&& value) { SetAddArguments(std::move(value)); return *this;}
412 
424  inline UpdateDevEndpointRequest& AddAddArguments(const Aws::String& key, const Aws::String& value) { m_addArgumentsHasBeenSet = true; m_addArguments.emplace(key, value); return *this; }
425 
437  inline UpdateDevEndpointRequest& AddAddArguments(Aws::String&& key, const Aws::String& value) { m_addArgumentsHasBeenSet = true; m_addArguments.emplace(std::move(key), value); return *this; }
438 
450  inline UpdateDevEndpointRequest& AddAddArguments(const Aws::String& key, Aws::String&& value) { m_addArgumentsHasBeenSet = true; m_addArguments.emplace(key, std::move(value)); return *this; }
451 
463  inline UpdateDevEndpointRequest& AddAddArguments(Aws::String&& key, Aws::String&& value) { m_addArgumentsHasBeenSet = true; m_addArguments.emplace(std::move(key), std::move(value)); return *this; }
464 
476  inline UpdateDevEndpointRequest& AddAddArguments(const char* key, Aws::String&& value) { m_addArgumentsHasBeenSet = true; m_addArguments.emplace(key, std::move(value)); return *this; }
477 
489  inline UpdateDevEndpointRequest& AddAddArguments(Aws::String&& key, const char* value) { m_addArgumentsHasBeenSet = true; m_addArguments.emplace(std::move(key), value); return *this; }
490 
502  inline UpdateDevEndpointRequest& AddAddArguments(const char* key, const char* value) { m_addArgumentsHasBeenSet = true; m_addArguments.emplace(key, value); return *this; }
503 
504  private:
505 
506  Aws::String m_endpointName;
507  bool m_endpointNameHasBeenSet;
508 
509  Aws::String m_publicKey;
510  bool m_publicKeyHasBeenSet;
511 
512  Aws::Vector<Aws::String> m_addPublicKeys;
513  bool m_addPublicKeysHasBeenSet;
514 
515  Aws::Vector<Aws::String> m_deletePublicKeys;
516  bool m_deletePublicKeysHasBeenSet;
517 
518  DevEndpointCustomLibraries m_customLibraries;
519  bool m_customLibrariesHasBeenSet;
520 
521  bool m_updateEtlLibraries;
522  bool m_updateEtlLibrariesHasBeenSet;
523 
524  Aws::Vector<Aws::String> m_deleteArguments;
525  bool m_deleteArgumentsHasBeenSet;
526 
527  Aws::Map<Aws::String, Aws::String> m_addArguments;
528  bool m_addArgumentsHasBeenSet;
529  };
530 
531 } // namespace Model
532 } // namespace Glue
533 } // namespace Aws
UpdateDevEndpointRequest & WithEndpointName(const Aws::String &value)
const DevEndpointCustomLibraries & GetCustomLibraries() const
void SetAddArguments(Aws::Map< Aws::String, Aws::String > &&value)
UpdateDevEndpointRequest & WithEndpointName(const char *value)
UpdateDevEndpointRequest & WithDeleteArguments(const Aws::Vector< Aws::String > &value)
UpdateDevEndpointRequest & WithDeleteArguments(Aws::Vector< Aws::String > &&value)
UpdateDevEndpointRequest & WithEndpointName(Aws::String &&value)
UpdateDevEndpointRequest & AddDeletePublicKeys(Aws::String &&value)
UpdateDevEndpointRequest & AddDeletePublicKeys(const Aws::String &value)
void SetAddPublicKeys(Aws::Vector< Aws::String > &&value)
UpdateDevEndpointRequest & WithDeletePublicKeys(Aws::Vector< Aws::String > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
UpdateDevEndpointRequest & AddDeleteArguments(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
UpdateDevEndpointRequest & AddAddArguments(const Aws::String &key, const Aws::String &value)
virtual const char * GetServiceRequestName() const override
UpdateDevEndpointRequest & AddAddArguments(Aws::String &&key, Aws::String &&value)
UpdateDevEndpointRequest & AddDeleteArguments(const char *value)
void SetDeletePublicKeys(Aws::Vector< Aws::String > &&value)
UpdateDevEndpointRequest & AddAddArguments(const Aws::String &key, Aws::String &&value)
UpdateDevEndpointRequest & WithAddArguments(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetAddArguments() const
UpdateDevEndpointRequest & AddAddArguments(const char *key, const char *value)
UpdateDevEndpointRequest & WithUpdateEtlLibraries(bool value)
UpdateDevEndpointRequest & AddAddPublicKeys(const char *value)
const Aws::Vector< Aws::String > & GetAddPublicKeys() const
UpdateDevEndpointRequest & WithPublicKey(Aws::String &&value)
UpdateDevEndpointRequest & AddAddArguments(Aws::String &&key, const char *value)
const Aws::Vector< Aws::String > & GetDeletePublicKeys() const
UpdateDevEndpointRequest & WithAddPublicKeys(const Aws::Vector< Aws::String > &value)
#define AWS_GLUE_API
Definition: Glue_EXPORTS.h:28
UpdateDevEndpointRequest & WithDeletePublicKeys(const Aws::Vector< Aws::String > &value)
UpdateDevEndpointRequest & AddAddArguments(const char *key, Aws::String &&value)
void SetDeleteArguments(const Aws::Vector< Aws::String > &value)
void SetCustomLibraries(const DevEndpointCustomLibraries &value)
void SetAddPublicKeys(const Aws::Vector< Aws::String > &value)
void SetDeletePublicKeys(const Aws::Vector< Aws::String > &value)
void SetCustomLibraries(DevEndpointCustomLibraries &&value)
UpdateDevEndpointRequest & AddAddPublicKeys(Aws::String &&value)
UpdateDevEndpointRequest & AddDeleteArguments(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
UpdateDevEndpointRequest & AddDeletePublicKeys(const char *value)
void SetAddArguments(const Aws::Map< Aws::String, Aws::String > &value)
UpdateDevEndpointRequest & WithAddArguments(Aws::Map< Aws::String, Aws::String > &&value)
UpdateDevEndpointRequest & WithAddPublicKeys(Aws::Vector< Aws::String > &&value)
UpdateDevEndpointRequest & WithPublicKey(const Aws::String &value)
const Aws::Vector< Aws::String > & GetDeleteArguments() const
UpdateDevEndpointRequest & WithCustomLibraries(DevEndpointCustomLibraries &&value)
UpdateDevEndpointRequest & WithCustomLibraries(const DevEndpointCustomLibraries &value)
UpdateDevEndpointRequest & AddAddPublicKeys(const Aws::String &value)
UpdateDevEndpointRequest & AddAddArguments(Aws::String &&key, const Aws::String &value)
void SetDeleteArguments(Aws::Vector< Aws::String > &&value)
UpdateDevEndpointRequest & WithPublicKey(const char *value)