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>
53 template<
typename AuthorizerCredentialsArnT = Aws::String>
54 void SetAuthorizerCredentialsArn(AuthorizerCredentialsArnT&& value) { m_authorizerCredentialsArnHasBeenSet =
true; m_authorizerCredentialsArn = std::forward<AuthorizerCredentialsArnT>(value); }
55 template<
typename AuthorizerCredentialsArnT = Aws::String>
65 template<
typename AuthorizerIdT = Aws::String>
66 void SetAuthorizerId(AuthorizerIdT&& value) { m_authorizerIdHasBeenSet =
true; m_authorizerId = std::forward<AuthorizerIdT>(value); }
67 template<
typename AuthorizerIdT = Aws::String>
81 template<
typename AuthorizerPayloadFormatVersionT = Aws::String>
82 void SetAuthorizerPayloadFormatVersion(AuthorizerPayloadFormatVersionT&& value) { m_authorizerPayloadFormatVersionHasBeenSet =
true; m_authorizerPayloadFormatVersion = std::forward<AuthorizerPayloadFormatVersionT>(value); }
83 template<
typename AuthorizerPayloadFormatVersionT = Aws::String>
129 template<
typename AuthorizerUriT = Aws::String>
130 void SetAuthorizerUri(AuthorizerUriT&& value) { m_authorizerUriHasBeenSet =
true; m_authorizerUri = std::forward<AuthorizerUriT>(value); }
131 template<
typename AuthorizerUriT = Aws::String>
174 template<
typename IdentitySourceT = Aws::Vector<Aws::String>>
175 void SetIdentitySource(IdentitySourceT&& value) { m_identitySourceHasBeenSet =
true; m_identitySource = std::forward<IdentitySourceT>(value); }
176 template<
typename IdentitySourceT = Aws::Vector<Aws::String>>
178 template<
typename IdentitySourceT = Aws::String>
179 Authorizer&
AddIdentitySource(IdentitySourceT&& value) { m_identitySourceHasBeenSet =
true; m_identitySource.emplace_back(std::forward<IdentitySourceT>(value));
return *
this; }
188 template<
typename IdentityVal
idationExpressionT = Aws::String>
189 void SetIdentityValidationExpression(IdentityValidationExpressionT&& value) { m_identityValidationExpressionHasBeenSet =
true; m_identityValidationExpression = std::forward<IdentityValidationExpressionT>(value); }
190 template<
typename IdentityVal
idationExpressionT = Aws::String>
201 template<
typename JwtConfigurationT = JWTConfiguration>
202 void SetJwtConfiguration(JwtConfigurationT&& value) { m_jwtConfigurationHasBeenSet =
true; m_jwtConfiguration = std::forward<JwtConfigurationT>(value); }
203 template<
typename JwtConfigurationT = JWTConfiguration>
213 template<
typename NameT = Aws::String>
214 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
215 template<
typename NameT = Aws::String>
221 bool m_authorizerCredentialsArnHasBeenSet =
false;
224 bool m_authorizerIdHasBeenSet =
false;
227 bool m_authorizerPayloadFormatVersionHasBeenSet =
false;
229 int m_authorizerResultTtlInSeconds{0};
230 bool m_authorizerResultTtlInSecondsHasBeenSet =
false;
233 bool m_authorizerTypeHasBeenSet =
false;
236 bool m_authorizerUriHasBeenSet =
false;
238 bool m_enableSimpleResponses{
false};
239 bool m_enableSimpleResponsesHasBeenSet =
false;
242 bool m_identitySourceHasBeenSet =
false;
245 bool m_identityValidationExpressionHasBeenSet =
false;
247 JWTConfiguration m_jwtConfiguration;
248 bool m_jwtConfigurationHasBeenSet =
false;
251 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