7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/apigateway/APIGatewayRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/apigateway/model/AuthorizerType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
47 template<
typename RestApiIdT = Aws::String>
48 void SetRestApiId(RestApiIdT&& value) { m_restApiIdHasBeenSet =
true; m_restApiId = std::forward<RestApiIdT>(value); }
49 template<
typename RestApiIdT = Aws::String>
59 template<
typename NameT = Aws::String>
60 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
61 template<
typename NameT = Aws::String>
88 template<
typename Prov
iderARNsT = Aws::Vector<Aws::String>>
89 void SetProviderARNs(ProviderARNsT&& value) { m_providerARNsHasBeenSet =
true; m_providerARNs = std::forward<ProviderARNsT>(value); }
90 template<
typename Prov
iderARNsT = Aws::Vector<Aws::String>>
92 template<
typename Prov
iderARNsT = Aws::String>
103 template<
typename AuthTypeT = Aws::String>
104 void SetAuthType(AuthTypeT&& value) { m_authTypeHasBeenSet =
true; m_authType = std::forward<AuthTypeT>(value); }
105 template<
typename AuthTypeT = Aws::String>
125 template<
typename AuthorizerUriT = Aws::String>
126 void SetAuthorizerUri(AuthorizerUriT&& value) { m_authorizerUriHasBeenSet =
true; m_authorizerUri = std::forward<AuthorizerUriT>(value); }
127 template<
typename AuthorizerUriT = Aws::String>
140 template<
typename AuthorizerCredentialsT = Aws::String>
141 void SetAuthorizerCredentials(AuthorizerCredentialsT&& value) { m_authorizerCredentialsHasBeenSet =
true; m_authorizerCredentials = std::forward<AuthorizerCredentialsT>(value); }
142 template<
typename AuthorizerCredentialsT = Aws::String>
171 template<
typename IdentitySourceT = Aws::String>
172 void SetIdentitySource(IdentitySourceT&& value) { m_identitySourceHasBeenSet =
true; m_identitySource = std::forward<IdentitySourceT>(value); }
173 template<
typename IdentitySourceT = Aws::String>
190 template<
typename IdentityVal
idationExpressionT = Aws::String>
191 void SetIdentityValidationExpression(IdentityValidationExpressionT&& value) { m_identityValidationExpressionHasBeenSet =
true; m_identityValidationExpression = std::forward<IdentityValidationExpressionT>(value); }
192 template<
typename IdentityVal
idationExpressionT = Aws::String>
211 bool m_restApiIdHasBeenSet =
false;
214 bool m_nameHasBeenSet =
false;
217 bool m_typeHasBeenSet =
false;
220 bool m_providerARNsHasBeenSet =
false;
223 bool m_authTypeHasBeenSet =
false;
226 bool m_authorizerUriHasBeenSet =
false;
229 bool m_authorizerCredentialsHasBeenSet =
false;
232 bool m_identitySourceHasBeenSet =
false;
235 bool m_identityValidationExpressionHasBeenSet =
false;
237 int m_authorizerResultTtlInSeconds{0};
238 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