AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetAuthorizerResult.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 GetAuthorizerResult();
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 GetAuthorizerResult& 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 GetAuthorizerResult& WithAuthorizerId(const Aws::String& value) { SetAuthorizerId(value); return *this;}
64 inline GetAuthorizerResult& WithAuthorizerId(Aws::String&& value) { SetAuthorizerId(std::move(value)); return *this;}
65 inline GetAuthorizerResult& 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 GetAuthorizerResult& WithAuthorizerType(const AuthorizerType& value) { SetAuthorizerType(value); return *this;}
107 inline GetAuthorizerResult& 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 GetAuthorizerResult& WithAuthorizerUri(const Aws::String& value) { SetAuthorizerUri(value); return *this;}
130 inline GetAuthorizerResult& WithAuthorizerUri(Aws::String&& value) { SetAuthorizerUri(std::move(value)); return *this;}
131 inline GetAuthorizerResult& 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; }
144 inline GetAuthorizerResult& WithEnableSimpleResponses(bool value) { SetEnableSimpleResponses(value); return *this;}
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 GetAuthorizerResult& WithIdentitySource(Aws::Vector<Aws::String>&& value) { SetIdentitySource(std::move(value)); return *this;}
175 inline GetAuthorizerResult& AddIdentitySource(const Aws::String& value) { m_identitySource.push_back(value); return *this; }
176 inline GetAuthorizerResult& AddIdentitySource(Aws::String&& value) { m_identitySource.push_back(std::move(value)); return *this; }
177 inline GetAuthorizerResult& 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 GetAuthorizerResult& 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 GetAuthorizerResult& WithName(const Aws::String& value) { SetName(value); return *this;}
214 inline GetAuthorizerResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
215 inline GetAuthorizerResult& 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 GetAuthorizerResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
225 inline GetAuthorizerResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
226 inline GetAuthorizerResult& 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
GetAuthorizerResult & WithIdentitySource(const Aws::Vector< Aws::String > &value)
GetAuthorizerResult & WithIdentityValidationExpression(Aws::String &&value)
void SetJwtConfiguration(const JWTConfiguration &value)
void SetAuthorizerPayloadFormatVersion(const Aws::String &value)
void SetAuthorizerPayloadFormatVersion(Aws::String &&value)
GetAuthorizerResult & WithJwtConfiguration(const JWTConfiguration &value)
const Aws::String & GetIdentityValidationExpression() const
GetAuthorizerResult & WithAuthorizerCredentialsArn(Aws::String &&value)
GetAuthorizerResult & WithAuthorizerUri(const char *value)
GetAuthorizerResult & WithAuthorizerResultTtlInSeconds(int value)
GetAuthorizerResult & WithIdentityValidationExpression(const char *value)
const JWTConfiguration & GetJwtConfiguration() const
GetAuthorizerResult & WithAuthorizerId(const char *value)
void SetIdentityValidationExpression(const Aws::String &value)
GetAuthorizerResult & WithRequestId(const char *value)
GetAuthorizerResult & WithIdentitySource(Aws::Vector< Aws::String > &&value)
void SetJwtConfiguration(JWTConfiguration &&value)
GetAuthorizerResult & WithRequestId(Aws::String &&value)
GetAuthorizerResult & WithEnableSimpleResponses(bool value)
const Aws::Vector< Aws::String > & GetIdentitySource() const
GetAuthorizerResult & WithJwtConfiguration(JWTConfiguration &&value)
void SetIdentitySource(const Aws::Vector< Aws::String > &value)
GetAuthorizerResult & WithName(Aws::String &&value)
AWS_APIGATEWAYV2_API GetAuthorizerResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAuthorizerResult & WithAuthorizerId(const Aws::String &value)
GetAuthorizerResult & AddIdentitySource(Aws::String &&value)
GetAuthorizerResult & AddIdentitySource(const char *value)
void SetIdentitySource(Aws::Vector< Aws::String > &&value)
GetAuthorizerResult & WithAuthorizerPayloadFormatVersion(Aws::String &&value)
GetAuthorizerResult & WithAuthorizerId(Aws::String &&value)
AWS_APIGATEWAYV2_API GetAuthorizerResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAuthorizerResult & WithAuthorizerType(const AuthorizerType &value)
GetAuthorizerResult & WithName(const Aws::String &value)
GetAuthorizerResult & WithAuthorizerCredentialsArn(const char *value)
GetAuthorizerResult & AddIdentitySource(const Aws::String &value)
GetAuthorizerResult & WithAuthorizerType(AuthorizerType &&value)
GetAuthorizerResult & WithIdentityValidationExpression(const Aws::String &value)
GetAuthorizerResult & WithAuthorizerUri(Aws::String &&value)
void SetAuthorizerCredentialsArn(const Aws::String &value)
GetAuthorizerResult & WithName(const char *value)
void SetAuthorizerType(const AuthorizerType &value)
const Aws::String & GetAuthorizerCredentialsArn() const
const Aws::String & GetAuthorizerPayloadFormatVersion() const
GetAuthorizerResult & WithRequestId(const Aws::String &value)
GetAuthorizerResult & WithAuthorizerCredentialsArn(const Aws::String &value)
GetAuthorizerResult & WithAuthorizerPayloadFormatVersion(const Aws::String &value)
GetAuthorizerResult & WithAuthorizerPayloadFormatVersion(const char *value)
GetAuthorizerResult & WithAuthorizerUri(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