7#include <aws/apigatewayv2/ApiGatewayV2Request.h>
8#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
9#include <aws/apigatewayv2/model/AuthorizerType.h>
10#include <aws/apigatewayv2/model/JWTConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
17namespace ApiGatewayV2 {
44 template <
typename ApiIdT = Aws::String>
46 m_apiIdHasBeenSet =
true;
47 m_apiId = std::forward<ApiIdT>(value);
49 template <
typename ApiIdT = Aws::String>
51 SetApiId(std::forward<ApiIdT>(value));
66 template <
typename AuthorizerCredentialsArnT = Aws::String>
68 m_authorizerCredentialsArnHasBeenSet =
true;
69 m_authorizerCredentialsArn = std::forward<AuthorizerCredentialsArnT>(value);
71 template <
typename AuthorizerCredentialsArnT = Aws::String>
88 template <
typename AuthorizerPayloadFormatVersionT = Aws::String>
90 m_authorizerPayloadFormatVersionHasBeenSet =
true;
91 m_authorizerPayloadFormatVersion = std::forward<AuthorizerPayloadFormatVersionT>(value);
93 template <
typename AuthorizerPayloadFormatVersionT = Aws::String>
110 m_authorizerResultTtlInSecondsHasBeenSet =
true;
111 m_authorizerResultTtlInSeconds = value;
128 m_authorizerTypeHasBeenSet =
true;
129 m_authorizerType = value;
154 template <
typename AuthorizerUriT = Aws::String>
156 m_authorizerUriHasBeenSet =
true;
157 m_authorizerUri = std::forward<AuthorizerUriT>(value);
159 template <
typename AuthorizerUriT = Aws::String>
178 m_enableSimpleResponsesHasBeenSet =
true;
179 m_enableSimpleResponses = value;
212 template <
typename IdentitySourceT = Aws::Vector<Aws::String>>
214 m_identitySourceHasBeenSet =
true;
215 m_identitySource = std::forward<IdentitySourceT>(value);
217 template <
typename IdentitySourceT = Aws::Vector<Aws::String>>
222 template <
typename IdentitySourceT = Aws::String>
224 m_identitySourceHasBeenSet =
true;
225 m_identitySource.emplace_back(std::forward<IdentitySourceT>(value));
236 template <
typename IdentityVal
idationExpressionT = Aws::String>
238 m_identityValidationExpressionHasBeenSet =
true;
239 m_identityValidationExpression = std::forward<IdentityValidationExpressionT>(value);
241 template <
typename IdentityVal
idationExpressionT = Aws::String>
255 template <
typename JwtConfigurationT = JWTConfiguration>
257 m_jwtConfigurationHasBeenSet =
true;
258 m_jwtConfiguration = std::forward<JwtConfigurationT>(value);
260 template <
typename JwtConfigurationT = JWTConfiguration>
273 template <
typename NameT = Aws::String>
275 m_nameHasBeenSet =
true;
276 m_name = std::forward<NameT>(value);
278 template <
typename NameT = Aws::String>
280 SetName(std::forward<NameT>(value));
291 int m_authorizerResultTtlInSeconds{0};
297 bool m_enableSimpleResponses{
false};
303 JWTConfiguration m_jwtConfiguration;
306 bool m_apiIdHasBeenSet =
false;
307 bool m_authorizerCredentialsArnHasBeenSet =
false;
308 bool m_authorizerPayloadFormatVersionHasBeenSet =
false;
309 bool m_authorizerResultTtlInSecondsHasBeenSet =
false;
310 bool m_authorizerTypeHasBeenSet =
false;
311 bool m_authorizerUriHasBeenSet =
false;
312 bool m_enableSimpleResponsesHasBeenSet =
false;
313 bool m_identitySourceHasBeenSet =
false;
314 bool m_identityValidationExpressionHasBeenSet =
false;
315 bool m_jwtConfigurationHasBeenSet =
false;
316 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