7#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
8#include <aws/apigatewayv2/ApiGatewayV2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/apigatewayv2/model/AuthorizerType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/apigatewayv2/model/JWTConfiguration.h>
48 template<
typename ApiIdT = Aws::String>
49 void SetApiId(ApiIdT&& value) { m_apiIdHasBeenSet =
true; m_apiId = std::forward<ApiIdT>(value); }
50 template<
typename ApiIdT = Aws::String>
64 template<
typename AuthorizerCredentialsArnT = Aws::String>
65 void SetAuthorizerCredentialsArn(AuthorizerCredentialsArnT&& value) { m_authorizerCredentialsArnHasBeenSet =
true; m_authorizerCredentialsArn = std::forward<AuthorizerCredentialsArnT>(value); }
66 template<
typename AuthorizerCredentialsArnT = Aws::String>
80 template<
typename AuthorizerPayloadFormatVersionT = Aws::String>
81 void SetAuthorizerPayloadFormatVersion(AuthorizerPayloadFormatVersionT&& value) { m_authorizerPayloadFormatVersionHasBeenSet =
true; m_authorizerPayloadFormatVersion = std::forward<AuthorizerPayloadFormatVersionT>(value); }
82 template<
typename AuthorizerPayloadFormatVersionT = Aws::String>
128 template<
typename AuthorizerUriT = Aws::String>
129 void SetAuthorizerUri(AuthorizerUriT&& value) { m_authorizerUriHasBeenSet =
true; m_authorizerUri = std::forward<AuthorizerUriT>(value); }
130 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>
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_apiIdHasBeenSet =
false;
224 bool m_authorizerCredentialsArnHasBeenSet =
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 IdentityValidationExpressionHasBeenSet() const
bool AuthorizerTypeHasBeenSet() const
AuthorizerType GetAuthorizerType() const
bool NameHasBeenSet() const
bool IdentitySourceHasBeenSet() const
void SetIdentitySource(IdentitySourceT &&value)
int GetAuthorizerResultTtlInSeconds() const
CreateAuthorizerRequest & WithIdentityValidationExpression(IdentityValidationExpressionT &&value)
CreateAuthorizerRequest & WithApiId(ApiIdT &&value)
CreateAuthorizerRequest & WithJwtConfiguration(JwtConfigurationT &&value)
const Aws::String & GetApiId() const
AWS_APIGATEWAYV2_API CreateAuthorizerRequest()=default
void SetApiId(ApiIdT &&value)
AWS_APIGATEWAYV2_API Aws::String SerializePayload() const override
const Aws::String & GetAuthorizerCredentialsArn() const
void SetAuthorizerPayloadFormatVersion(AuthorizerPayloadFormatVersionT &&value)
const Aws::String & GetName() const
const Aws::Vector< Aws::String > & GetIdentitySource() const
void SetAuthorizerType(AuthorizerType value)
CreateAuthorizerRequest & AddIdentitySource(IdentitySourceT &&value)
CreateAuthorizerRequest & WithIdentitySource(IdentitySourceT &&value)
void SetAuthorizerCredentialsArn(AuthorizerCredentialsArnT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetIdentityValidationExpression() const
CreateAuthorizerRequest & WithName(NameT &&value)
bool ApiIdHasBeenSet() const
void SetAuthorizerResultTtlInSeconds(int value)
const JWTConfiguration & GetJwtConfiguration() const
const Aws::String & GetAuthorizerPayloadFormatVersion() const
CreateAuthorizerRequest & WithAuthorizerResultTtlInSeconds(int value)
bool AuthorizerUriHasBeenSet() const
bool AuthorizerResultTtlInSecondsHasBeenSet() const
CreateAuthorizerRequest & WithAuthorizerCredentialsArn(AuthorizerCredentialsArnT &&value)
bool JwtConfigurationHasBeenSet() const
CreateAuthorizerRequest & WithAuthorizerPayloadFormatVersion(AuthorizerPayloadFormatVersionT &&value)
bool GetEnableSimpleResponses() const
CreateAuthorizerRequest & WithEnableSimpleResponses(bool value)
void SetName(NameT &&value)
CreateAuthorizerRequest & WithAuthorizerType(AuthorizerType value)
const Aws::String & GetAuthorizerUri() const
void SetAuthorizerUri(AuthorizerUriT &&value)
bool EnableSimpleResponsesHasBeenSet() const
void SetEnableSimpleResponses(bool value)
void SetIdentityValidationExpression(IdentityValidationExpressionT &&value)
bool AuthorizerCredentialsArnHasBeenSet() const
void SetJwtConfiguration(JwtConfigurationT &&value)
CreateAuthorizerRequest & WithAuthorizerUri(AuthorizerUriT &&value)
bool AuthorizerPayloadFormatVersionHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector