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/http/HttpResponse.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
25namespace ApiGatewayV2 {
42 template <
typename AuthorizerCredentialsArnT = Aws::String>
44 m_authorizerCredentialsArnHasBeenSet =
true;
45 m_authorizerCredentialsArn = std::forward<AuthorizerCredentialsArnT>(value);
47 template <
typename AuthorizerCredentialsArnT = Aws::String>
59 template <
typename AuthorizerIdT = Aws::String>
61 m_authorizerIdHasBeenSet =
true;
62 m_authorizerId = std::forward<AuthorizerIdT>(value);
64 template <
typename AuthorizerIdT = Aws::String>
80 template <
typename AuthorizerPayloadFormatVersionT = Aws::String>
82 m_authorizerPayloadFormatVersionHasBeenSet =
true;
83 m_authorizerPayloadFormatVersion = std::forward<AuthorizerPayloadFormatVersionT>(value);
85 template <
typename AuthorizerPayloadFormatVersionT = Aws::String>
101 m_authorizerResultTtlInSecondsHasBeenSet =
true;
102 m_authorizerResultTtlInSeconds = value;
118 m_authorizerTypeHasBeenSet =
true;
119 m_authorizerType = value;
143 template <
typename AuthorizerUriT = Aws::String>
145 m_authorizerUriHasBeenSet =
true;
146 m_authorizerUri = std::forward<AuthorizerUriT>(value);
148 template <
typename AuthorizerUriT = Aws::String>
165 m_enableSimpleResponsesHasBeenSet =
true;
166 m_enableSimpleResponses = value;
198 template <
typename IdentitySourceT = Aws::Vector<Aws::String>>
200 m_identitySourceHasBeenSet =
true;
201 m_identitySource = std::forward<IdentitySourceT>(value);
203 template <
typename IdentitySourceT = Aws::Vector<Aws::String>>
208 template <
typename IdentitySourceT = Aws::String>
210 m_identitySourceHasBeenSet =
true;
211 m_identitySource.emplace_back(std::forward<IdentitySourceT>(value));
221 template <
typename IdentityVal
idationExpressionT = Aws::String>
223 m_identityValidationExpressionHasBeenSet =
true;
224 m_identityValidationExpression = std::forward<IdentityValidationExpressionT>(value);
226 template <
typename IdentityVal
idationExpressionT = Aws::String>
239 template <
typename JwtConfigurationT = JWTConfiguration>
241 m_jwtConfigurationHasBeenSet =
true;
242 m_jwtConfiguration = std::forward<JwtConfigurationT>(value);
244 template <
typename JwtConfigurationT = JWTConfiguration>
256 template <
typename NameT = Aws::String>
258 m_nameHasBeenSet =
true;
259 m_name = std::forward<NameT>(value);
261 template <
typename NameT = Aws::String>
263 SetName(std::forward<NameT>(value));
271 template <
typename RequestIdT = Aws::String>
273 m_requestIdHasBeenSet =
true;
274 m_requestId = std::forward<RequestIdT>(value);
276 template <
typename RequestIdT = Aws::String>
291 int m_authorizerResultTtlInSeconds{0};
297 bool m_enableSimpleResponses{
false};
303 JWTConfiguration m_jwtConfiguration;
309 bool m_authorizerCredentialsArnHasBeenSet =
false;
310 bool m_authorizerIdHasBeenSet =
false;
311 bool m_authorizerPayloadFormatVersionHasBeenSet =
false;
312 bool m_authorizerResultTtlInSecondsHasBeenSet =
false;
313 bool m_authorizerTypeHasBeenSet =
false;
314 bool m_authorizerUriHasBeenSet =
false;
315 bool m_enableSimpleResponsesHasBeenSet =
false;
316 bool m_identitySourceHasBeenSet =
false;
317 bool m_identityValidationExpressionHasBeenSet =
false;
318 bool m_jwtConfigurationHasBeenSet =
false;
319 bool m_nameHasBeenSet =
false;
320 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)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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