7#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
8#include <aws/apigatewayv2/model/AuthorizerType.h>
9#include <aws/apigatewayv2/model/JWTConfiguration.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace ApiGatewayV2 {
41 template <
typename AuthorizerCredentialsArnT = Aws::String>
43 m_authorizerCredentialsArnHasBeenSet =
true;
44 m_authorizerCredentialsArn = std::forward<AuthorizerCredentialsArnT>(value);
46 template <
typename AuthorizerCredentialsArnT = Aws::String>
58 template <
typename AuthorizerIdT = Aws::String>
60 m_authorizerIdHasBeenSet =
true;
61 m_authorizerId = std::forward<AuthorizerIdT>(value);
63 template <
typename AuthorizerIdT = Aws::String>
79 template <
typename AuthorizerPayloadFormatVersionT = Aws::String>
81 m_authorizerPayloadFormatVersionHasBeenSet =
true;
82 m_authorizerPayloadFormatVersion = std::forward<AuthorizerPayloadFormatVersionT>(value);
84 template <
typename AuthorizerPayloadFormatVersionT = Aws::String>
100 m_authorizerResultTtlInSecondsHasBeenSet =
true;
101 m_authorizerResultTtlInSeconds = value;
117 m_authorizerTypeHasBeenSet =
true;
118 m_authorizerType = value;
142 template <
typename AuthorizerUriT = Aws::String>
144 m_authorizerUriHasBeenSet =
true;
145 m_authorizerUri = std::forward<AuthorizerUriT>(value);
147 template <
typename AuthorizerUriT = Aws::String>
164 m_enableSimpleResponsesHasBeenSet =
true;
165 m_enableSimpleResponses = value;
197 template <
typename IdentitySourceT = Aws::Vector<Aws::String>>
199 m_identitySourceHasBeenSet =
true;
200 m_identitySource = std::forward<IdentitySourceT>(value);
202 template <
typename IdentitySourceT = Aws::Vector<Aws::String>>
207 template <
typename IdentitySourceT = Aws::String>
209 m_identitySourceHasBeenSet =
true;
210 m_identitySource.emplace_back(std::forward<IdentitySourceT>(value));
220 template <
typename IdentityVal
idationExpressionT = Aws::String>
222 m_identityValidationExpressionHasBeenSet =
true;
223 m_identityValidationExpression = std::forward<IdentityValidationExpressionT>(value);
225 template <
typename IdentityVal
idationExpressionT = Aws::String>
238 template <
typename JwtConfigurationT = JWTConfiguration>
240 m_jwtConfigurationHasBeenSet =
true;
241 m_jwtConfiguration = std::forward<JwtConfigurationT>(value);
243 template <
typename JwtConfigurationT = JWTConfiguration>
255 template <
typename NameT = Aws::String>
257 m_nameHasBeenSet =
true;
258 m_name = std::forward<NameT>(value);
260 template <
typename NameT = Aws::String>
262 SetName(std::forward<NameT>(value));
270 template <
typename RequestIdT = Aws::String>
272 m_requestIdHasBeenSet =
true;
273 m_requestId = std::forward<RequestIdT>(value);
275 template <
typename RequestIdT = Aws::String>
288 int m_authorizerResultTtlInSeconds{0};
294 bool m_enableSimpleResponses{
false};
300 JWTConfiguration m_jwtConfiguration;
305 bool m_authorizerCredentialsArnHasBeenSet =
false;
306 bool m_authorizerIdHasBeenSet =
false;
307 bool m_authorizerPayloadFormatVersionHasBeenSet =
false;
308 bool m_authorizerResultTtlInSecondsHasBeenSet =
false;
309 bool m_authorizerTypeHasBeenSet =
false;
310 bool m_authorizerUriHasBeenSet =
false;
311 bool m_enableSimpleResponsesHasBeenSet =
false;
312 bool m_identitySourceHasBeenSet =
false;
313 bool m_identityValidationExpressionHasBeenSet =
false;
314 bool m_jwtConfigurationHasBeenSet =
false;
315 bool m_nameHasBeenSet =
false;
316 bool m_requestIdHasBeenSet =
false;
CreateAuthorizerResult & AddIdentitySource(IdentitySourceT &&value)
const Aws::String & GetAuthorizerId() const
void SetName(NameT &&value)
const Aws::String & GetName() const
void SetIdentityValidationExpression(IdentityValidationExpressionT &&value)
void SetAuthorizerId(AuthorizerIdT &&value)
CreateAuthorizerResult & WithJwtConfiguration(JwtConfigurationT &&value)
const Aws::String & GetAuthorizerUri() const
AWS_APIGATEWAYV2_API CreateAuthorizerResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetEnableSimpleResponses(bool value)
const Aws::Vector< Aws::String > & GetIdentitySource() const
const Aws::String & GetRequestId() const
CreateAuthorizerResult & WithAuthorizerPayloadFormatVersion(AuthorizerPayloadFormatVersionT &&value)
CreateAuthorizerResult & WithAuthorizerUri(AuthorizerUriT &&value)
const Aws::String & GetIdentityValidationExpression() const
bool GetEnableSimpleResponses() const
void SetRequestId(RequestIdT &&value)
void SetAuthorizerType(AuthorizerType value)
AuthorizerType GetAuthorizerType() const
CreateAuthorizerResult & WithAuthorizerType(AuthorizerType value)
AWS_APIGATEWAYV2_API CreateAuthorizerResult()=default
void SetJwtConfiguration(JwtConfigurationT &&value)
CreateAuthorizerResult & WithAuthorizerId(AuthorizerIdT &&value)
void SetAuthorizerResultTtlInSeconds(int value)
void SetAuthorizerPayloadFormatVersion(AuthorizerPayloadFormatVersionT &&value)
CreateAuthorizerResult & WithIdentitySource(IdentitySourceT &&value)
CreateAuthorizerResult & WithName(NameT &&value)
AWS_APIGATEWAYV2_API CreateAuthorizerResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetIdentitySource(IdentitySourceT &&value)
const Aws::String & GetAuthorizerPayloadFormatVersion() const
void SetAuthorizerUri(AuthorizerUriT &&value)
const Aws::String & GetAuthorizerCredentialsArn() const
CreateAuthorizerResult & WithIdentityValidationExpression(IdentityValidationExpressionT &&value)
CreateAuthorizerResult & WithRequestId(RequestIdT &&value)
CreateAuthorizerResult & WithEnableSimpleResponses(bool value)
CreateAuthorizerResult & WithAuthorizerResultTtlInSeconds(int value)
int GetAuthorizerResultTtlInSeconds() const
void SetAuthorizerCredentialsArn(AuthorizerCredentialsArnT &&value)
CreateAuthorizerResult & WithAuthorizerCredentialsArn(AuthorizerCredentialsArnT &&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