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 {
43 template <
typename ApiIdT = Aws::String>
45 m_apiIdHasBeenSet =
true;
46 m_apiId = std::forward<ApiIdT>(value);
48 template <
typename ApiIdT = Aws::String>
50 SetApiId(std::forward<ApiIdT>(value));
64 template <
typename AuthorizerCredentialsArnT = Aws::String>
66 m_authorizerCredentialsArnHasBeenSet =
true;
67 m_authorizerCredentialsArn = std::forward<AuthorizerCredentialsArnT>(value);
69 template <
typename AuthorizerCredentialsArnT = Aws::String>
82 template <
typename AuthorizerIdT = Aws::String>
84 m_authorizerIdHasBeenSet =
true;
85 m_authorizerId = std::forward<AuthorizerIdT>(value);
87 template <
typename AuthorizerIdT = Aws::String>
104 template <
typename AuthorizerPayloadFormatVersionT = Aws::String>
106 m_authorizerPayloadFormatVersionHasBeenSet =
true;
107 m_authorizerPayloadFormatVersion = std::forward<AuthorizerPayloadFormatVersionT>(value);
109 template <
typename AuthorizerPayloadFormatVersionT = Aws::String>
126 m_authorizerResultTtlInSecondsHasBeenSet =
true;
127 m_authorizerResultTtlInSeconds = value;
144 m_authorizerTypeHasBeenSet =
true;
145 m_authorizerType = value;
170 template <
typename AuthorizerUriT = Aws::String>
172 m_authorizerUriHasBeenSet =
true;
173 m_authorizerUri = std::forward<AuthorizerUriT>(value);
175 template <
typename AuthorizerUriT = Aws::String>
194 m_enableSimpleResponsesHasBeenSet =
true;
195 m_enableSimpleResponses = value;
228 template <
typename IdentitySourceT = Aws::Vector<Aws::String>>
230 m_identitySourceHasBeenSet =
true;
231 m_identitySource = std::forward<IdentitySourceT>(value);
233 template <
typename IdentitySourceT = Aws::Vector<Aws::String>>
238 template <
typename IdentitySourceT = Aws::String>
240 m_identitySourceHasBeenSet =
true;
241 m_identitySource.emplace_back(std::forward<IdentitySourceT>(value));
252 template <
typename IdentityVal
idationExpressionT = Aws::String>
254 m_identityValidationExpressionHasBeenSet =
true;
255 m_identityValidationExpression = std::forward<IdentityValidationExpressionT>(value);
257 template <
typename IdentityVal
idationExpressionT = Aws::String>
271 template <
typename JwtConfigurationT = JWTConfiguration>
273 m_jwtConfigurationHasBeenSet =
true;
274 m_jwtConfiguration = std::forward<JwtConfigurationT>(value);
276 template <
typename JwtConfigurationT = JWTConfiguration>
289 template <
typename NameT = Aws::String>
291 m_nameHasBeenSet =
true;
292 m_name = std::forward<NameT>(value);
294 template <
typename NameT = Aws::String>
296 SetName(std::forward<NameT>(value));
309 int m_authorizerResultTtlInSeconds{0};
315 bool m_enableSimpleResponses{
false};
321 JWTConfiguration m_jwtConfiguration;
324 bool m_apiIdHasBeenSet =
false;
325 bool m_authorizerCredentialsArnHasBeenSet =
false;
326 bool m_authorizerIdHasBeenSet =
false;
327 bool m_authorizerPayloadFormatVersionHasBeenSet =
false;
328 bool m_authorizerResultTtlInSecondsHasBeenSet =
false;
329 bool m_authorizerTypeHasBeenSet =
false;
330 bool m_authorizerUriHasBeenSet =
false;
331 bool m_enableSimpleResponsesHasBeenSet =
false;
332 bool m_identitySourceHasBeenSet =
false;
333 bool m_identityValidationExpressionHasBeenSet =
false;
334 bool m_jwtConfigurationHasBeenSet =
false;
335 bool m_nameHasBeenSet =
false;
const Aws::String & GetAuthorizerPayloadFormatVersion() const
const Aws::String & GetAuthorizerUri() const
void SetJwtConfiguration(JwtConfigurationT &&value)
void SetAuthorizerResultTtlInSeconds(int value)
void SetName(NameT &&value)
AWS_APIGATEWAYV2_API UpdateAuthorizerRequest()=default
UpdateAuthorizerRequest & WithAuthorizerType(AuthorizerType value)
UpdateAuthorizerRequest & WithAuthorizerUri(AuthorizerUriT &&value)
void SetAuthorizerUri(AuthorizerUriT &&value)
UpdateAuthorizerRequest & WithIdentityValidationExpression(IdentityValidationExpressionT &&value)
UpdateAuthorizerRequest & WithAuthorizerResultTtlInSeconds(int value)
bool EnableSimpleResponsesHasBeenSet() const
AuthorizerType GetAuthorizerType() const
const Aws::String & GetApiId() const
void SetAuthorizerType(AuthorizerType value)
const Aws::String & GetName() const
const Aws::Vector< Aws::String > & GetIdentitySource() const
const Aws::String & GetIdentityValidationExpression() const
AWS_APIGATEWAYV2_API Aws::String SerializePayload() const override
UpdateAuthorizerRequest & WithIdentitySource(IdentitySourceT &&value)
UpdateAuthorizerRequest & AddIdentitySource(IdentitySourceT &&value)
void SetIdentityValidationExpression(IdentityValidationExpressionT &&value)
UpdateAuthorizerRequest & WithAuthorizerPayloadFormatVersion(AuthorizerPayloadFormatVersionT &&value)
bool AuthorizerTypeHasBeenSet() const
bool IdentityValidationExpressionHasBeenSet() const
void SetAuthorizerPayloadFormatVersion(AuthorizerPayloadFormatVersionT &&value)
bool AuthorizerResultTtlInSecondsHasBeenSet() const
const Aws::String & GetAuthorizerCredentialsArn() const
bool JwtConfigurationHasBeenSet() const
bool AuthorizerPayloadFormatVersionHasBeenSet() const
bool NameHasBeenSet() const
virtual const char * GetServiceRequestName() const override
bool AuthorizerCredentialsArnHasBeenSet() const
bool AuthorizerIdHasBeenSet() const
void SetAuthorizerCredentialsArn(AuthorizerCredentialsArnT &&value)
void SetEnableSimpleResponses(bool value)
UpdateAuthorizerRequest & WithApiId(ApiIdT &&value)
UpdateAuthorizerRequest & WithAuthorizerCredentialsArn(AuthorizerCredentialsArnT &&value)
bool ApiIdHasBeenSet() const
const Aws::String & GetAuthorizerId() const
void SetAuthorizerId(AuthorizerIdT &&value)
UpdateAuthorizerRequest & WithName(NameT &&value)
bool GetEnableSimpleResponses() const
int GetAuthorizerResultTtlInSeconds() const
UpdateAuthorizerRequest & WithJwtConfiguration(JwtConfigurationT &&value)
bool IdentitySourceHasBeenSet() const
void SetIdentitySource(IdentitySourceT &&value)
const JWTConfiguration & GetJwtConfiguration() const
UpdateAuthorizerRequest & WithEnableSimpleResponses(bool value)
UpdateAuthorizerRequest & WithAuthorizerId(AuthorizerIdT &&value)
bool AuthorizerUriHasBeenSet() const
void SetApiId(ApiIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector