7#include <aws/apigateway/APIGatewayRequest.h>
8#include <aws/apigateway/APIGateway_EXPORTS.h>
9#include <aws/apigateway/model/AuthorizerType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
43 template <
typename RestApiIdT = Aws::String>
45 m_restApiIdHasBeenSet =
true;
46 m_restApiId = std::forward<RestApiIdT>(value);
48 template <
typename RestApiIdT = Aws::String>
61 template <
typename NameT = Aws::String>
63 m_nameHasBeenSet =
true;
64 m_name = std::forward<NameT>(value);
66 template <
typename NameT = Aws::String>
68 SetName(std::forward<NameT>(value));
83 m_typeHasBeenSet =
true;
102 template <
typename Prov
iderARNsT = Aws::Vector<Aws::String>>
104 m_providerARNsHasBeenSet =
true;
105 m_providerARNs = std::forward<ProviderARNsT>(value);
107 template <
typename Prov
iderARNsT = Aws::Vector<Aws::String>>
112 template <
typename Prov
iderARNsT = Aws::String>
114 m_providerARNsHasBeenSet =
true;
115 m_providerARNs.emplace_back(std::forward<ProviderARNsT>(value));
127 template <
typename AuthTypeT = Aws::String>
129 m_authTypeHasBeenSet =
true;
130 m_authType = std::forward<AuthTypeT>(value);
132 template <
typename AuthTypeT = Aws::String>
155 template <
typename AuthorizerUriT = Aws::String>
157 m_authorizerUriHasBeenSet =
true;
158 m_authorizerUri = std::forward<AuthorizerUriT>(value);
160 template <
typename AuthorizerUriT = Aws::String>
176 template <
typename AuthorizerCredentialsT = Aws::String>
178 m_authorizerCredentialsHasBeenSet =
true;
179 m_authorizerCredentials = std::forward<AuthorizerCredentialsT>(value);
181 template <
typename AuthorizerCredentialsT = Aws::String>
213 template <
typename IdentitySourceT = Aws::String>
215 m_identitySourceHasBeenSet =
true;
216 m_identitySource = std::forward<IdentitySourceT>(value);
218 template <
typename IdentitySourceT = Aws::String>
238 template <
typename IdentityVal
idationExpressionT = Aws::String>
240 m_identityValidationExpressionHasBeenSet =
true;
241 m_identityValidationExpression = std::forward<IdentityValidationExpressionT>(value);
243 template <
typename IdentityVal
idationExpressionT = Aws::String>
260 m_authorizerResultTtlInSecondsHasBeenSet =
true;
261 m_authorizerResultTtlInSeconds = value;
287 int m_authorizerResultTtlInSeconds{0};
288 bool m_restApiIdHasBeenSet =
false;
289 bool m_nameHasBeenSet =
false;
290 bool m_typeHasBeenSet =
false;
291 bool m_providerARNsHasBeenSet =
false;
292 bool m_authTypeHasBeenSet =
false;
293 bool m_authorizerUriHasBeenSet =
false;
294 bool m_authorizerCredentialsHasBeenSet =
false;
295 bool m_identitySourceHasBeenSet =
false;
296 bool m_identityValidationExpressionHasBeenSet =
false;
297 bool m_authorizerResultTtlInSecondsHasBeenSet =
false;
void SetRestApiId(RestApiIdT &&value)
AuthorizerType GetType() const
void SetAuthorizerCredentials(AuthorizerCredentialsT &&value)
CreateAuthorizerRequest & WithRestApiId(RestApiIdT &&value)
bool IdentitySourceHasBeenSet() const
const Aws::String & GetIdentitySource() const
AWS_APIGATEWAY_API CreateAuthorizerRequest()=default
void SetName(NameT &&value)
void SetAuthType(AuthTypeT &&value)
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
const Aws::String & GetAuthType() const
void SetAuthorizerResultTtlInSeconds(int value)
CreateAuthorizerRequest & WithType(AuthorizerType value)
void SetProviderARNs(ProviderARNsT &&value)
CreateAuthorizerRequest & WithAuthorizerUri(AuthorizerUriT &&value)
void SetIdentitySource(IdentitySourceT &&value)
CreateAuthorizerRequest & WithAuthorizerCredentials(AuthorizerCredentialsT &&value)
CreateAuthorizerRequest & WithAuthorizerResultTtlInSeconds(int value)
bool ProviderARNsHasBeenSet() const
const Aws::String & GetAuthorizerUri() const
CreateAuthorizerRequest & WithIdentityValidationExpression(IdentityValidationExpressionT &&value)
const Aws::String & GetRestApiId() const
virtual const char * GetServiceRequestName() const override
bool AuthTypeHasBeenSet() const
bool AuthorizerResultTtlInSecondsHasBeenSet() const
CreateAuthorizerRequest & WithIdentitySource(IdentitySourceT &&value)
void SetIdentityValidationExpression(IdentityValidationExpressionT &&value)
CreateAuthorizerRequest & WithAuthType(AuthTypeT &&value)
bool RestApiIdHasBeenSet() const
bool IdentityValidationExpressionHasBeenSet() const
const Aws::String & GetIdentityValidationExpression() const
CreateAuthorizerRequest & AddProviderARNs(ProviderARNsT &&value)
void SetAuthorizerUri(AuthorizerUriT &&value)
const Aws::String & GetAuthorizerCredentials() const
bool AuthorizerCredentialsHasBeenSet() const
const Aws::Vector< Aws::String > & GetProviderARNs() const
CreateAuthorizerRequest & WithProviderARNs(ProviderARNsT &&value)
void SetType(AuthorizerType value)
bool AuthorizerUriHasBeenSet() const
CreateAuthorizerRequest & WithName(NameT &&value)
int GetAuthorizerResultTtlInSeconds() const
const Aws::String & GetName() const
bool NameHasBeenSet() const
bool TypeHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector