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>
55 inline void SetAuthorizerCredentialsArn(
const char* value) { m_authorizerCredentialsArnHasBeenSet =
true; m_authorizerCredentialsArn.assign(value); }
69 inline void SetAuthorizerId(
const char* value) { m_authorizerIdHasBeenSet =
true; m_authorizerId.assign(value); }
139 inline void SetAuthorizerUri(
const char* value) { m_authorizerUriHasBeenSet =
true; m_authorizerUri.assign(value); }
228 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
236 bool m_authorizerCredentialsArnHasBeenSet =
false;
239 bool m_authorizerIdHasBeenSet =
false;
242 bool m_authorizerPayloadFormatVersionHasBeenSet =
false;
244 int m_authorizerResultTtlInSeconds;
245 bool m_authorizerResultTtlInSecondsHasBeenSet =
false;
248 bool m_authorizerTypeHasBeenSet =
false;
251 bool m_authorizerUriHasBeenSet =
false;
253 bool m_enableSimpleResponses;
254 bool m_enableSimpleResponsesHasBeenSet =
false;
257 bool m_identitySourceHasBeenSet =
false;
260 bool m_identityValidationExpressionHasBeenSet =
false;
263 bool m_jwtConfigurationHasBeenSet =
false;
266 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
void SetAuthorizerPayloadFormatVersion(const char *value)
Authorizer & WithAuthorizerPayloadFormatVersion(const Aws::String &value)
void SetJwtConfiguration(JWTConfiguration &&value)
Authorizer & AddIdentitySource(const Aws::String &value)
void SetAuthorizerType(const AuthorizerType &value)
Authorizer & WithAuthorizerResultTtlInSeconds(int value)
Authorizer & WithAuthorizerUri(Aws::String &&value)
Authorizer & WithAuthorizerCredentialsArn(const Aws::String &value)
const Aws::String & GetAuthorizerPayloadFormatVersion() const
Authorizer & WithIdentityValidationExpression(Aws::String &&value)
Authorizer & WithEnableSimpleResponses(bool value)
Authorizer & WithAuthorizerPayloadFormatVersion(const char *value)
AWS_APIGATEWAYV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAuthorizerId(const Aws::String &value)
void SetAuthorizerId(Aws::String &&value)
void SetAuthorizerType(AuthorizerType &&value)
Authorizer & WithIdentityValidationExpression(const char *value)
bool JwtConfigurationHasBeenSet() const
void SetAuthorizerPayloadFormatVersion(const Aws::String &value)
Authorizer & WithAuthorizerId(const Aws::String &value)
Authorizer & WithName(const Aws::String &value)
const Aws::String & GetName() const
const Aws::Vector< Aws::String > & GetIdentitySource() const
void SetName(const char *value)
Authorizer & WithJwtConfiguration(const JWTConfiguration &value)
void SetAuthorizerUri(Aws::String &&value)
void SetIdentitySource(const Aws::Vector< Aws::String > &value)
void SetJwtConfiguration(const JWTConfiguration &value)
void SetIdentityValidationExpression(const char *value)
void SetIdentityValidationExpression(Aws::String &&value)
bool AuthorizerPayloadFormatVersionHasBeenSet() const
Authorizer & AddIdentitySource(Aws::String &&value)
Authorizer & WithAuthorizerId(const char *value)
const Aws::String & GetAuthorizerCredentialsArn() const
const AuthorizerType & GetAuthorizerType() const
Authorizer & WithName(const char *value)
Authorizer & WithAuthorizerType(const AuthorizerType &value)
void SetIdentityValidationExpression(const Aws::String &value)
bool IdentityValidationExpressionHasBeenSet() const
Authorizer & WithAuthorizerUri(const char *value)
const Aws::String & GetAuthorizerUri() const
Authorizer & WithAuthorizerPayloadFormatVersion(Aws::String &&value)
Authorizer & WithAuthorizerCredentialsArn(const char *value)
bool AuthorizerCredentialsArnHasBeenSet() const
const Aws::String & GetIdentityValidationExpression() const
void SetIdentitySource(Aws::Vector< Aws::String > &&value)
Authorizer & WithIdentitySource(const Aws::Vector< Aws::String > &value)
Authorizer & WithAuthorizerType(AuthorizerType &&value)
Authorizer & AddIdentitySource(const char *value)
void SetAuthorizerCredentialsArn(Aws::String &&value)
bool GetEnableSimpleResponses() const
Authorizer & WithAuthorizerUri(const Aws::String &value)
void SetAuthorizerCredentialsArn(const Aws::String &value)
Authorizer & WithJwtConfiguration(JWTConfiguration &&value)
Authorizer & WithAuthorizerId(Aws::String &&value)
Authorizer & WithIdentityValidationExpression(const Aws::String &value)
bool AuthorizerIdHasBeenSet() const
bool AuthorizerUriHasBeenSet() const
void SetEnableSimpleResponses(bool value)
bool NameHasBeenSet() const
Authorizer & WithName(Aws::String &&value)
int GetAuthorizerResultTtlInSeconds() const
void SetAuthorizerId(const char *value)
void SetAuthorizerUri(const Aws::String &value)
const Aws::String & GetAuthorizerId() const
Authorizer & WithAuthorizerCredentialsArn(Aws::String &&value)
void SetName(Aws::String &&value)
void SetAuthorizerCredentialsArn(const char *value)
bool AuthorizerTypeHasBeenSet() const
Authorizer & WithIdentitySource(Aws::Vector< Aws::String > &&value)
void SetAuthorizerUri(const char *value)
bool AuthorizerResultTtlInSecondsHasBeenSet() const
void SetName(const Aws::String &value)
AWS_APIGATEWAYV2_API Authorizer()
void SetAuthorizerPayloadFormatVersion(Aws::String &&value)
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