AWS SDK for C++  1.9.123
AWS SDK for C++
UpdateAuthorizerRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
8 #include <aws/iot/IoTRequest.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace IoT
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "UpdateAuthorizer"; }
33 
34  Aws::String SerializePayload() const override;
35 
36 
40  inline const Aws::String& GetAuthorizerName() const{ return m_authorizerName; }
41 
45  inline bool AuthorizerNameHasBeenSet() const { return m_authorizerNameHasBeenSet; }
46 
50  inline void SetAuthorizerName(const Aws::String& value) { m_authorizerNameHasBeenSet = true; m_authorizerName = value; }
51 
55  inline void SetAuthorizerName(Aws::String&& value) { m_authorizerNameHasBeenSet = true; m_authorizerName = std::move(value); }
56 
60  inline void SetAuthorizerName(const char* value) { m_authorizerNameHasBeenSet = true; m_authorizerName.assign(value); }
61 
65  inline UpdateAuthorizerRequest& WithAuthorizerName(const Aws::String& value) { SetAuthorizerName(value); return *this;}
66 
70  inline UpdateAuthorizerRequest& WithAuthorizerName(Aws::String&& value) { SetAuthorizerName(std::move(value)); return *this;}
71 
75  inline UpdateAuthorizerRequest& WithAuthorizerName(const char* value) { SetAuthorizerName(value); return *this;}
76 
77 
81  inline const Aws::String& GetAuthorizerFunctionArn() const{ return m_authorizerFunctionArn; }
82 
86  inline bool AuthorizerFunctionArnHasBeenSet() const { return m_authorizerFunctionArnHasBeenSet; }
87 
91  inline void SetAuthorizerFunctionArn(const Aws::String& value) { m_authorizerFunctionArnHasBeenSet = true; m_authorizerFunctionArn = value; }
92 
96  inline void SetAuthorizerFunctionArn(Aws::String&& value) { m_authorizerFunctionArnHasBeenSet = true; m_authorizerFunctionArn = std::move(value); }
97 
101  inline void SetAuthorizerFunctionArn(const char* value) { m_authorizerFunctionArnHasBeenSet = true; m_authorizerFunctionArn.assign(value); }
102 
106  inline UpdateAuthorizerRequest& WithAuthorizerFunctionArn(const Aws::String& value) { SetAuthorizerFunctionArn(value); return *this;}
107 
111  inline UpdateAuthorizerRequest& WithAuthorizerFunctionArn(Aws::String&& value) { SetAuthorizerFunctionArn(std::move(value)); return *this;}
112 
116  inline UpdateAuthorizerRequest& WithAuthorizerFunctionArn(const char* value) { SetAuthorizerFunctionArn(value); return *this;}
117 
118 
122  inline const Aws::String& GetTokenKeyName() const{ return m_tokenKeyName; }
123 
127  inline bool TokenKeyNameHasBeenSet() const { return m_tokenKeyNameHasBeenSet; }
128 
132  inline void SetTokenKeyName(const Aws::String& value) { m_tokenKeyNameHasBeenSet = true; m_tokenKeyName = value; }
133 
137  inline void SetTokenKeyName(Aws::String&& value) { m_tokenKeyNameHasBeenSet = true; m_tokenKeyName = std::move(value); }
138 
142  inline void SetTokenKeyName(const char* value) { m_tokenKeyNameHasBeenSet = true; m_tokenKeyName.assign(value); }
143 
147  inline UpdateAuthorizerRequest& WithTokenKeyName(const Aws::String& value) { SetTokenKeyName(value); return *this;}
148 
152  inline UpdateAuthorizerRequest& WithTokenKeyName(Aws::String&& value) { SetTokenKeyName(std::move(value)); return *this;}
153 
157  inline UpdateAuthorizerRequest& WithTokenKeyName(const char* value) { SetTokenKeyName(value); return *this;}
158 
159 
163  inline const Aws::Map<Aws::String, Aws::String>& GetTokenSigningPublicKeys() const{ return m_tokenSigningPublicKeys; }
164 
168  inline bool TokenSigningPublicKeysHasBeenSet() const { return m_tokenSigningPublicKeysHasBeenSet; }
169 
173  inline void SetTokenSigningPublicKeys(const Aws::Map<Aws::String, Aws::String>& value) { m_tokenSigningPublicKeysHasBeenSet = true; m_tokenSigningPublicKeys = value; }
174 
178  inline void SetTokenSigningPublicKeys(Aws::Map<Aws::String, Aws::String>&& value) { m_tokenSigningPublicKeysHasBeenSet = true; m_tokenSigningPublicKeys = std::move(value); }
179 
183  inline UpdateAuthorizerRequest& WithTokenSigningPublicKeys(const Aws::Map<Aws::String, Aws::String>& value) { SetTokenSigningPublicKeys(value); return *this;}
184 
188  inline UpdateAuthorizerRequest& WithTokenSigningPublicKeys(Aws::Map<Aws::String, Aws::String>&& value) { SetTokenSigningPublicKeys(std::move(value)); return *this;}
189 
193  inline UpdateAuthorizerRequest& AddTokenSigningPublicKeys(const Aws::String& key, const Aws::String& value) { m_tokenSigningPublicKeysHasBeenSet = true; m_tokenSigningPublicKeys.emplace(key, value); return *this; }
194 
198  inline UpdateAuthorizerRequest& AddTokenSigningPublicKeys(Aws::String&& key, const Aws::String& value) { m_tokenSigningPublicKeysHasBeenSet = true; m_tokenSigningPublicKeys.emplace(std::move(key), value); return *this; }
199 
203  inline UpdateAuthorizerRequest& AddTokenSigningPublicKeys(const Aws::String& key, Aws::String&& value) { m_tokenSigningPublicKeysHasBeenSet = true; m_tokenSigningPublicKeys.emplace(key, std::move(value)); return *this; }
204 
208  inline UpdateAuthorizerRequest& AddTokenSigningPublicKeys(Aws::String&& key, Aws::String&& value) { m_tokenSigningPublicKeysHasBeenSet = true; m_tokenSigningPublicKeys.emplace(std::move(key), std::move(value)); return *this; }
209 
213  inline UpdateAuthorizerRequest& AddTokenSigningPublicKeys(const char* key, Aws::String&& value) { m_tokenSigningPublicKeysHasBeenSet = true; m_tokenSigningPublicKeys.emplace(key, std::move(value)); return *this; }
214 
218  inline UpdateAuthorizerRequest& AddTokenSigningPublicKeys(Aws::String&& key, const char* value) { m_tokenSigningPublicKeysHasBeenSet = true; m_tokenSigningPublicKeys.emplace(std::move(key), value); return *this; }
219 
223  inline UpdateAuthorizerRequest& AddTokenSigningPublicKeys(const char* key, const char* value) { m_tokenSigningPublicKeysHasBeenSet = true; m_tokenSigningPublicKeys.emplace(key, value); return *this; }
224 
225 
229  inline const AuthorizerStatus& GetStatus() const{ return m_status; }
230 
234  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
235 
239  inline void SetStatus(const AuthorizerStatus& value) { m_statusHasBeenSet = true; m_status = value; }
240 
244  inline void SetStatus(AuthorizerStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
245 
249  inline UpdateAuthorizerRequest& WithStatus(const AuthorizerStatus& value) { SetStatus(value); return *this;}
250 
254  inline UpdateAuthorizerRequest& WithStatus(AuthorizerStatus&& value) { SetStatus(std::move(value)); return *this;}
255 
256  private:
257 
258  Aws::String m_authorizerName;
259  bool m_authorizerNameHasBeenSet;
260 
261  Aws::String m_authorizerFunctionArn;
262  bool m_authorizerFunctionArnHasBeenSet;
263 
264  Aws::String m_tokenKeyName;
265  bool m_tokenKeyNameHasBeenSet;
266 
267  Aws::Map<Aws::String, Aws::String> m_tokenSigningPublicKeys;
268  bool m_tokenSigningPublicKeysHasBeenSet;
269 
270  AuthorizerStatus m_status;
271  bool m_statusHasBeenSet;
272  };
273 
274 } // namespace Model
275 } // namespace IoT
276 } // namespace Aws
Aws::IoT::Model::UpdateAuthorizerRequest::SetAuthorizerName
void SetAuthorizerName(Aws::String &&value)
Definition: UpdateAuthorizerRequest.h:55
Aws::IoT::Model::UpdateAuthorizerRequest::WithTokenKeyName
UpdateAuthorizerRequest & WithTokenKeyName(Aws::String &&value)
Definition: UpdateAuthorizerRequest.h:152
Aws::IoT::Model::UpdateAuthorizerRequest
Definition: UpdateAuthorizerRequest.h:24
Aws::IoT::Model::UpdateAuthorizerRequest::AddTokenSigningPublicKeys
UpdateAuthorizerRequest & AddTokenSigningPublicKeys(const char *key, Aws::String &&value)
Definition: UpdateAuthorizerRequest.h:213
Aws::IoT::Model::UpdateAuthorizerRequest::AddTokenSigningPublicKeys
UpdateAuthorizerRequest & AddTokenSigningPublicKeys(Aws::String &&key, Aws::String &&value)
Definition: UpdateAuthorizerRequest.h:208
Aws::IoT::Model::UpdateAuthorizerRequest::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: UpdateAuthorizerRequest.h:234
Aws::IoT::Model::UpdateAuthorizerRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateAuthorizerRequest.h:32
Aws::IoT::Model::UpdateAuthorizerRequest::WithTokenKeyName
UpdateAuthorizerRequest & WithTokenKeyName(const Aws::String &value)
Definition: UpdateAuthorizerRequest.h:147
Aws::IoT::Model::UpdateAuthorizerRequest::AuthorizerFunctionArnHasBeenSet
bool AuthorizerFunctionArnHasBeenSet() const
Definition: UpdateAuthorizerRequest.h:86
Aws::IoT::Model::UpdateAuthorizerRequest::GetTokenSigningPublicKeys
const Aws::Map< Aws::String, Aws::String > & GetTokenSigningPublicKeys() const
Definition: UpdateAuthorizerRequest.h:163
AuthorizerStatus.h
Aws::IoT::Model::UpdateAuthorizerRequest::AuthorizerNameHasBeenSet
bool AuthorizerNameHasBeenSet() const
Definition: UpdateAuthorizerRequest.h:45
Aws::IoT::Model::UpdateAuthorizerRequest::WithTokenKeyName
UpdateAuthorizerRequest & WithTokenKeyName(const char *value)
Definition: UpdateAuthorizerRequest.h:157
Aws::IoT::Model::UpdateAuthorizerRequest::WithStatus
UpdateAuthorizerRequest & WithStatus(AuthorizerStatus &&value)
Definition: UpdateAuthorizerRequest.h:254
Aws::IoT::Model::UpdateAuthorizerRequest::SetAuthorizerFunctionArn
void SetAuthorizerFunctionArn(const char *value)
Definition: UpdateAuthorizerRequest.h:101
Aws::IoT::Model::UpdateAuthorizerRequest::SetAuthorizerFunctionArn
void SetAuthorizerFunctionArn(Aws::String &&value)
Definition: UpdateAuthorizerRequest.h:96
Aws::IoT::Model::UpdateAuthorizerRequest::SetTokenKeyName
void SetTokenKeyName(const char *value)
Definition: UpdateAuthorizerRequest.h:142
Aws::IoT::Model::UpdateAuthorizerRequest::SetTokenSigningPublicKeys
void SetTokenSigningPublicKeys(Aws::Map< Aws::String, Aws::String > &&value)
Definition: UpdateAuthorizerRequest.h:178
Aws::IoT::Model::UpdateAuthorizerRequest::SetTokenKeyName
void SetTokenKeyName(Aws::String &&value)
Definition: UpdateAuthorizerRequest.h:137
Aws::IoT::Model::UpdateAuthorizerRequest::GetAuthorizerName
const Aws::String & GetAuthorizerName() const
Definition: UpdateAuthorizerRequest.h:40
Aws::IoT::Model::UpdateAuthorizerRequest::TokenKeyNameHasBeenSet
bool TokenKeyNameHasBeenSet() const
Definition: UpdateAuthorizerRequest.h:127
Aws::IoT::Model::UpdateAuthorizerRequest::SetAuthorizerFunctionArn
void SetAuthorizerFunctionArn(const Aws::String &value)
Definition: UpdateAuthorizerRequest.h:91
Aws::IoT::Model::UpdateAuthorizerRequest::WithAuthorizerName
UpdateAuthorizerRequest & WithAuthorizerName(Aws::String &&value)
Definition: UpdateAuthorizerRequest.h:70
Aws::IoT::Model::UpdateAuthorizerRequest::AddTokenSigningPublicKeys
UpdateAuthorizerRequest & AddTokenSigningPublicKeys(Aws::String &&key, const Aws::String &value)
Definition: UpdateAuthorizerRequest.h:198
Aws::IoT::Model::UpdateAuthorizerRequest::WithAuthorizerFunctionArn
UpdateAuthorizerRequest & WithAuthorizerFunctionArn(const char *value)
Definition: UpdateAuthorizerRequest.h:116
Aws::IoT::Model::UpdateAuthorizerRequest::AddTokenSigningPublicKeys
UpdateAuthorizerRequest & AddTokenSigningPublicKeys(Aws::String &&key, const char *value)
Definition: UpdateAuthorizerRequest.h:218
Aws::IoT::Model::UpdateAuthorizerRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::IoT::Model::UpdateAuthorizerRequest::SetStatus
void SetStatus(AuthorizerStatus &&value)
Definition: UpdateAuthorizerRequest.h:244
Aws::IoT::Model::UpdateAuthorizerRequest::AddTokenSigningPublicKeys
UpdateAuthorizerRequest & AddTokenSigningPublicKeys(const Aws::String &key, Aws::String &&value)
Definition: UpdateAuthorizerRequest.h:203
Aws::IoT::Model::UpdateAuthorizerRequest::GetAuthorizerFunctionArn
const Aws::String & GetAuthorizerFunctionArn() const
Definition: UpdateAuthorizerRequest.h:81
Aws::IoT::Model::UpdateAuthorizerRequest::WithTokenSigningPublicKeys
UpdateAuthorizerRequest & WithTokenSigningPublicKeys(const Aws::Map< Aws::String, Aws::String > &value)
Definition: UpdateAuthorizerRequest.h:183
AWSString.h
Aws::IoT::IoTRequest
Definition: IoTRequest.h:17
Aws::IoT::Model::UpdateAuthorizerRequest::SetStatus
void SetStatus(const AuthorizerStatus &value)
Definition: UpdateAuthorizerRequest.h:239
Aws::IoT::Model::UpdateAuthorizerRequest::WithAuthorizerName
UpdateAuthorizerRequest & WithAuthorizerName(const char *value)
Definition: UpdateAuthorizerRequest.h:75
Aws::IoT::Model::UpdateAuthorizerRequest::WithStatus
UpdateAuthorizerRequest & WithStatus(const AuthorizerStatus &value)
Definition: UpdateAuthorizerRequest.h:249
Aws::IoT::Model::UpdateAuthorizerRequest::TokenSigningPublicKeysHasBeenSet
bool TokenSigningPublicKeysHasBeenSet() const
Definition: UpdateAuthorizerRequest.h:168
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::UpdateAuthorizerRequest::AddTokenSigningPublicKeys
UpdateAuthorizerRequest & AddTokenSigningPublicKeys(const Aws::String &key, const Aws::String &value)
Definition: UpdateAuthorizerRequest.h:193
Aws::IoT::Model::UpdateAuthorizerRequest::WithAuthorizerName
UpdateAuthorizerRequest & WithAuthorizerName(const Aws::String &value)
Definition: UpdateAuthorizerRequest.h:65
Aws::IoT::Model::UpdateAuthorizerRequest::UpdateAuthorizerRequest
UpdateAuthorizerRequest()
Aws::IoT::Model::UpdateAuthorizerRequest::AddTokenSigningPublicKeys
UpdateAuthorizerRequest & AddTokenSigningPublicKeys(const char *key, const char *value)
Definition: UpdateAuthorizerRequest.h:223
Aws::IoT::Model::UpdateAuthorizerRequest::SetTokenKeyName
void SetTokenKeyName(const Aws::String &value)
Definition: UpdateAuthorizerRequest.h:132
Aws::IoT::Model::UpdateAuthorizerRequest::WithAuthorizerFunctionArn
UpdateAuthorizerRequest & WithAuthorizerFunctionArn(Aws::String &&value)
Definition: UpdateAuthorizerRequest.h:111
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::UpdateAuthorizerRequest::SetAuthorizerName
void SetAuthorizerName(const Aws::String &value)
Definition: UpdateAuthorizerRequest.h:50
Aws::IoT::Model::UpdateAuthorizerRequest::SetAuthorizerName
void SetAuthorizerName(const char *value)
Definition: UpdateAuthorizerRequest.h:60
Aws::IoT::Model::UpdateAuthorizerRequest::GetStatus
const AuthorizerStatus & GetStatus() const
Definition: UpdateAuthorizerRequest.h:229
Aws::IoT::Model::UpdateAuthorizerRequest::WithTokenSigningPublicKeys
UpdateAuthorizerRequest & WithTokenSigningPublicKeys(Aws::Map< Aws::String, Aws::String > &&value)
Definition: UpdateAuthorizerRequest.h:188
IoTRequest.h
Aws::IoT::Model::UpdateAuthorizerRequest::SetTokenSigningPublicKeys
void SetTokenSigningPublicKeys(const Aws::Map< Aws::String, Aws::String > &value)
Definition: UpdateAuthorizerRequest.h:173
Aws::IoT::Model::UpdateAuthorizerRequest::GetTokenKeyName
const Aws::String & GetTokenKeyName() const
Definition: UpdateAuthorizerRequest.h:122
Aws::IoT::Model::AuthorizerStatus
AuthorizerStatus
Definition: AuthorizerStatus.h:17
AWSMap.h
Aws::IoT::Model::UpdateAuthorizerRequest::WithAuthorizerFunctionArn
UpdateAuthorizerRequest & WithAuthorizerFunctionArn(const Aws::String &value)
Definition: UpdateAuthorizerRequest.h:106
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
IoT_EXPORTS.h