AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateAuthorizerResult.h
1
6#pragma once
7#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/apigatewayv2/model/AuthorizerType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/apigatewayv2/model/JWTConfiguration.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace ApiGatewayV2
27{
28namespace Model
29{
31 {
32 public:
33 AWS_APIGATEWAYV2_API UpdateAuthorizerResult();
36
37
39
46 inline const Aws::String& GetAuthorizerCredentialsArn() const{ return m_authorizerCredentialsArn; }
47 inline void SetAuthorizerCredentialsArn(const Aws::String& value) { m_authorizerCredentialsArn = value; }
48 inline void SetAuthorizerCredentialsArn(Aws::String&& value) { m_authorizerCredentialsArn = std::move(value); }
49 inline void SetAuthorizerCredentialsArn(const char* value) { m_authorizerCredentialsArn.assign(value); }
52 inline UpdateAuthorizerResult& WithAuthorizerCredentialsArn(const char* value) { SetAuthorizerCredentialsArn(value); return *this;}
54
56
59 inline const Aws::String& GetAuthorizerId() const{ return m_authorizerId; }
60 inline void SetAuthorizerId(const Aws::String& value) { m_authorizerId = value; }
61 inline void SetAuthorizerId(Aws::String&& value) { m_authorizerId = std::move(value); }
62 inline void SetAuthorizerId(const char* value) { m_authorizerId.assign(value); }
63 inline UpdateAuthorizerResult& WithAuthorizerId(const Aws::String& value) { SetAuthorizerId(value); return *this;}
64 inline UpdateAuthorizerResult& WithAuthorizerId(Aws::String&& value) { SetAuthorizerId(std::move(value)); return *this;}
65 inline UpdateAuthorizerResult& WithAuthorizerId(const char* value) { SetAuthorizerId(value); return *this;}
67
69
76 inline const Aws::String& GetAuthorizerPayloadFormatVersion() const{ return m_authorizerPayloadFormatVersion; }
77 inline void SetAuthorizerPayloadFormatVersion(const Aws::String& value) { m_authorizerPayloadFormatVersion = value; }
78 inline void SetAuthorizerPayloadFormatVersion(Aws::String&& value) { m_authorizerPayloadFormatVersion = std::move(value); }
79 inline void SetAuthorizerPayloadFormatVersion(const char* value) { m_authorizerPayloadFormatVersion.assign(value); }
84
86
92 inline int GetAuthorizerResultTtlInSeconds() const{ return m_authorizerResultTtlInSeconds; }
93 inline void SetAuthorizerResultTtlInSeconds(int value) { m_authorizerResultTtlInSeconds = value; }
96
98
103 inline const AuthorizerType& GetAuthorizerType() const{ return m_authorizerType; }
104 inline void SetAuthorizerType(const AuthorizerType& value) { m_authorizerType = value; }
105 inline void SetAuthorizerType(AuthorizerType&& value) { m_authorizerType = std::move(value); }
106 inline UpdateAuthorizerResult& WithAuthorizerType(const AuthorizerType& value) { SetAuthorizerType(value); return *this;}
107 inline UpdateAuthorizerResult& WithAuthorizerType(AuthorizerType&& value) { SetAuthorizerType(std::move(value)); return *this;}
109
111
125 inline const Aws::String& GetAuthorizerUri() const{ return m_authorizerUri; }
126 inline void SetAuthorizerUri(const Aws::String& value) { m_authorizerUri = value; }
127 inline void SetAuthorizerUri(Aws::String&& value) { m_authorizerUri = std::move(value); }
128 inline void SetAuthorizerUri(const char* value) { m_authorizerUri.assign(value); }
129 inline UpdateAuthorizerResult& WithAuthorizerUri(const Aws::String& value) { SetAuthorizerUri(value); return *this;}
130 inline UpdateAuthorizerResult& WithAuthorizerUri(Aws::String&& value) { SetAuthorizerUri(std::move(value)); return *this;}
131 inline UpdateAuthorizerResult& WithAuthorizerUri(const char* value) { SetAuthorizerUri(value); return *this;}
133
135
142 inline bool GetEnableSimpleResponses() const{ return m_enableSimpleResponses; }
143 inline void SetEnableSimpleResponses(bool value) { m_enableSimpleResponses = value; }
146
148
170 inline const Aws::Vector<Aws::String>& GetIdentitySource() const{ return m_identitySource; }
171 inline void SetIdentitySource(const Aws::Vector<Aws::String>& value) { m_identitySource = value; }
172 inline void SetIdentitySource(Aws::Vector<Aws::String>&& value) { m_identitySource = std::move(value); }
174 inline UpdateAuthorizerResult& WithIdentitySource(Aws::Vector<Aws::String>&& value) { SetIdentitySource(std::move(value)); return *this;}
175 inline UpdateAuthorizerResult& AddIdentitySource(const Aws::String& value) { m_identitySource.push_back(value); return *this; }
176 inline UpdateAuthorizerResult& AddIdentitySource(Aws::String&& value) { m_identitySource.push_back(std::move(value)); return *this; }
177 inline UpdateAuthorizerResult& AddIdentitySource(const char* value) { m_identitySource.push_back(value); return *this; }
179
181
184 inline const Aws::String& GetIdentityValidationExpression() const{ return m_identityValidationExpression; }
185 inline void SetIdentityValidationExpression(const Aws::String& value) { m_identityValidationExpression = value; }
186 inline void SetIdentityValidationExpression(Aws::String&& value) { m_identityValidationExpression = std::move(value); }
187 inline void SetIdentityValidationExpression(const char* value) { m_identityValidationExpression.assign(value); }
192
194
198 inline const JWTConfiguration& GetJwtConfiguration() const{ return m_jwtConfiguration; }
199 inline void SetJwtConfiguration(const JWTConfiguration& value) { m_jwtConfiguration = value; }
200 inline void SetJwtConfiguration(JWTConfiguration&& value) { m_jwtConfiguration = std::move(value); }
202 inline UpdateAuthorizerResult& WithJwtConfiguration(JWTConfiguration&& value) { SetJwtConfiguration(std::move(value)); return *this;}
204
206
209 inline const Aws::String& GetName() const{ return m_name; }
210 inline void SetName(const Aws::String& value) { m_name = value; }
211 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
212 inline void SetName(const char* value) { m_name.assign(value); }
213 inline UpdateAuthorizerResult& WithName(const Aws::String& value) { SetName(value); return *this;}
214 inline UpdateAuthorizerResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
215 inline UpdateAuthorizerResult& WithName(const char* value) { SetName(value); return *this;}
217
219
220 inline const Aws::String& GetRequestId() const{ return m_requestId; }
221 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
222 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
223 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
224 inline UpdateAuthorizerResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
225 inline UpdateAuthorizerResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
226 inline UpdateAuthorizerResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
228 private:
229
230 Aws::String m_authorizerCredentialsArn;
231
232 Aws::String m_authorizerId;
233
234 Aws::String m_authorizerPayloadFormatVersion;
235
236 int m_authorizerResultTtlInSeconds;
237
238 AuthorizerType m_authorizerType;
239
240 Aws::String m_authorizerUri;
241
242 bool m_enableSimpleResponses;
243
244 Aws::Vector<Aws::String> m_identitySource;
245
246 Aws::String m_identityValidationExpression;
247
248 JWTConfiguration m_jwtConfiguration;
249
250 Aws::String m_name;
251
252 Aws::String m_requestId;
253 };
254
255} // namespace Model
256} // namespace ApiGatewayV2
257} // namespace Aws
UpdateAuthorizerResult & WithJwtConfiguration(JWTConfiguration &&value)
UpdateAuthorizerResult & WithEnableSimpleResponses(bool value)
UpdateAuthorizerResult & WithIdentityValidationExpression(const Aws::String &value)
UpdateAuthorizerResult & WithJwtConfiguration(const JWTConfiguration &value)
AWS_APIGATEWAYV2_API UpdateAuthorizerResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateAuthorizerResult & WithAuthorizerCredentialsArn(const char *value)
UpdateAuthorizerResult & AddIdentitySource(Aws::String &&value)
UpdateAuthorizerResult & WithIdentitySource(const Aws::Vector< Aws::String > &value)
UpdateAuthorizerResult & WithAuthorizerId(const char *value)
UpdateAuthorizerResult & WithAuthorizerCredentialsArn(Aws::String &&value)
const Aws::Vector< Aws::String > & GetIdentitySource() const
void SetAuthorizerPayloadFormatVersion(const Aws::String &value)
UpdateAuthorizerResult & WithAuthorizerUri(const char *value)
UpdateAuthorizerResult & WithName(const Aws::String &value)
UpdateAuthorizerResult & WithRequestId(Aws::String &&value)
UpdateAuthorizerResult & WithAuthorizerId(const Aws::String &value)
UpdateAuthorizerResult & WithIdentityValidationExpression(Aws::String &&value)
UpdateAuthorizerResult & WithName(Aws::String &&value)
UpdateAuthorizerResult & WithAuthorizerPayloadFormatVersion(const Aws::String &value)
UpdateAuthorizerResult & WithName(const char *value)
UpdateAuthorizerResult & WithAuthorizerResultTtlInSeconds(int value)
UpdateAuthorizerResult & WithAuthorizerPayloadFormatVersion(const char *value)
void SetJwtConfiguration(const JWTConfiguration &value)
UpdateAuthorizerResult & WithRequestId(const char *value)
UpdateAuthorizerResult & AddIdentitySource(const char *value)
UpdateAuthorizerResult & WithAuthorizerCredentialsArn(const Aws::String &value)
UpdateAuthorizerResult & WithAuthorizerUri(Aws::String &&value)
void SetIdentityValidationExpression(const Aws::String &value)
UpdateAuthorizerResult & WithAuthorizerId(Aws::String &&value)
UpdateAuthorizerResult & WithAuthorizerType(const AuthorizerType &value)
UpdateAuthorizerResult & WithAuthorizerType(AuthorizerType &&value)
UpdateAuthorizerResult & WithIdentityValidationExpression(const char *value)
UpdateAuthorizerResult & WithRequestId(const Aws::String &value)
void SetIdentitySource(Aws::Vector< Aws::String > &&value)
UpdateAuthorizerResult & WithIdentitySource(Aws::Vector< Aws::String > &&value)
UpdateAuthorizerResult & WithAuthorizerUri(const Aws::String &value)
AWS_APIGATEWAYV2_API UpdateAuthorizerResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetIdentitySource(const Aws::Vector< Aws::String > &value)
UpdateAuthorizerResult & WithAuthorizerPayloadFormatVersion(Aws::String &&value)
UpdateAuthorizerResult & AddIdentitySource(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue