7#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
8#include <aws/apigatewayv2/model/AuthorizerType.h>
9#include <aws/apigatewayv2/model/JWTConfiguration.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
22namespace ApiGatewayV2 {
47 template <
typename AuthorizerCredentialsArnT = Aws::String>
49 m_authorizerCredentialsArnHasBeenSet =
true;
50 m_authorizerCredentialsArn = std::forward<AuthorizerCredentialsArnT>(value);
52 template <
typename AuthorizerCredentialsArnT = Aws::String>
65 template <
typename AuthorizerIdT = Aws::String>
67 m_authorizerIdHasBeenSet =
true;
68 m_authorizerId = std::forward<AuthorizerIdT>(value);
70 template <
typename AuthorizerIdT = Aws::String>
87 template <
typename AuthorizerPayloadFormatVersionT = Aws::String>
89 m_authorizerPayloadFormatVersionHasBeenSet =
true;
90 m_authorizerPayloadFormatVersion = std::forward<AuthorizerPayloadFormatVersionT>(value);
92 template <
typename AuthorizerPayloadFormatVersionT = Aws::String>
109 m_authorizerResultTtlInSecondsHasBeenSet =
true;
110 m_authorizerResultTtlInSeconds = value;
127 m_authorizerTypeHasBeenSet =
true;
128 m_authorizerType = value;
153 template <
typename AuthorizerUriT = Aws::String>
155 m_authorizerUriHasBeenSet =
true;
156 m_authorizerUri = std::forward<AuthorizerUriT>(value);
158 template <
typename AuthorizerUriT = Aws::String>
176 m_enableSimpleResponsesHasBeenSet =
true;
177 m_enableSimpleResponses = value;
210 template <
typename IdentitySourceT = Aws::Vector<Aws::String>>
212 m_identitySourceHasBeenSet =
true;
213 m_identitySource = std::forward<IdentitySourceT>(value);
215 template <
typename IdentitySourceT = Aws::Vector<Aws::String>>
220 template <
typename IdentitySourceT = Aws::String>
222 m_identitySourceHasBeenSet =
true;
223 m_identitySource.emplace_back(std::forward<IdentitySourceT>(value));
234 template <
typename IdentityVal
idationExpressionT = Aws::String>
236 m_identityValidationExpressionHasBeenSet =
true;
237 m_identityValidationExpression = std::forward<IdentityValidationExpressionT>(value);
239 template <
typename IdentityVal
idationExpressionT = Aws::String>
253 template <
typename JwtConfigurationT = JWTConfiguration>
255 m_jwtConfigurationHasBeenSet =
true;
256 m_jwtConfiguration = std::forward<JwtConfigurationT>(value);
258 template <
typename JwtConfigurationT = JWTConfiguration>
271 template <
typename NameT = Aws::String>
273 m_nameHasBeenSet =
true;
274 m_name = std::forward<NameT>(value);
276 template <
typename NameT = Aws::String>
278 SetName(std::forward<NameT>(value));
289 int m_authorizerResultTtlInSeconds{0};
295 bool m_enableSimpleResponses{
false};
301 JWTConfiguration m_jwtConfiguration;
304 bool m_authorizerCredentialsArnHasBeenSet =
false;
305 bool m_authorizerIdHasBeenSet =
false;
306 bool m_authorizerPayloadFormatVersionHasBeenSet =
false;
307 bool m_authorizerResultTtlInSecondsHasBeenSet =
false;
308 bool m_authorizerTypeHasBeenSet =
false;
309 bool m_authorizerUriHasBeenSet =
false;
310 bool m_enableSimpleResponsesHasBeenSet =
false;
311 bool m_identitySourceHasBeenSet =
false;
312 bool m_identityValidationExpressionHasBeenSet =
false;
313 bool m_jwtConfigurationHasBeenSet =
false;
314 bool m_nameHasBeenSet =
false;
bool EnableSimpleResponsesHasBeenSet() const
AWS_APIGATEWAYV2_API Authorizer(Aws::Utils::Json::JsonView jsonValue)
AWS_APIGATEWAYV2_API Authorizer & operator=(Aws::Utils::Json::JsonView jsonValue)
bool IdentitySourceHasBeenSet() const
Authorizer & WithAuthorizerCredentialsArn(AuthorizerCredentialsArnT &&value)
void SetAuthorizerCredentialsArn(AuthorizerCredentialsArnT &&value)
void SetAuthorizerUri(AuthorizerUriT &&value)
void SetIdentitySource(IdentitySourceT &&value)
Authorizer & WithAuthorizerId(AuthorizerIdT &&value)
Authorizer & WithAuthorizerResultTtlInSeconds(int value)
const Aws::String & GetAuthorizerPayloadFormatVersion() const
Authorizer & WithEnableSimpleResponses(bool value)
void SetAuthorizerType(AuthorizerType value)
AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetJwtConfiguration(JwtConfigurationT &&value)
bool JwtConfigurationHasBeenSet() const
void SetName(NameT &&value)
Authorizer & WithName(NameT &&value)
const Aws::String & GetName() const
const Aws::Vector< Aws::String > & GetIdentitySource() const
void SetAuthorizerId(AuthorizerIdT &&value)
bool AuthorizerPayloadFormatVersionHasBeenSet() const
Authorizer & WithAuthorizerUri(AuthorizerUriT &&value)
void SetIdentityValidationExpression(IdentityValidationExpressionT &&value)
const Aws::String & GetAuthorizerCredentialsArn() const
bool IdentityValidationExpressionHasBeenSet() const
const Aws::String & GetAuthorizerUri() const
Authorizer & AddIdentitySource(IdentitySourceT &&value)
Authorizer & WithIdentitySource(IdentitySourceT &&value)
bool AuthorizerCredentialsArnHasBeenSet() const
AuthorizerType GetAuthorizerType() const
const Aws::String & GetIdentityValidationExpression() const
AWS_APIGATEWAYV2_API Authorizer()=default
bool GetEnableSimpleResponses() const
Authorizer & WithAuthorizerPayloadFormatVersion(AuthorizerPayloadFormatVersionT &&value)
bool AuthorizerIdHasBeenSet() const
bool AuthorizerUriHasBeenSet() const
Authorizer & WithIdentityValidationExpression(IdentityValidationExpressionT &&value)
void SetEnableSimpleResponses(bool value)
bool NameHasBeenSet() const
Authorizer & WithJwtConfiguration(JwtConfigurationT &&value)
int GetAuthorizerResultTtlInSeconds() const
void SetAuthorizerPayloadFormatVersion(AuthorizerPayloadFormatVersionT &&value)
const Aws::String & GetAuthorizerId() const
bool AuthorizerTypeHasBeenSet() const
Authorizer & WithAuthorizerType(AuthorizerType value)
bool AuthorizerResultTtlInSecondsHasBeenSet() const
void SetAuthorizerResultTtlInSeconds(int value)
const JWTConfiguration & GetJwtConfiguration() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue