7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/apigateway/model/AuthorizerType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
50 template<
typename IdT = Aws::String>
51 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
52 template<
typename IdT = Aws::String>
62 template<
typename NameT = Aws::String>
63 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
64 template<
typename NameT = Aws::String>
91 template<
typename Prov
iderARNsT = Aws::Vector<Aws::String>>
92 void SetProviderARNs(ProviderARNsT&& value) { m_providerARNsHasBeenSet =
true; m_providerARNs = std::forward<ProviderARNsT>(value); }
93 template<
typename Prov
iderARNsT = Aws::Vector<Aws::String>>
95 template<
typename Prov
iderARNsT = Aws::String>
96 Authorizer&
AddProviderARNs(ProviderARNsT&& value) { m_providerARNsHasBeenSet =
true; m_providerARNs.emplace_back(std::forward<ProviderARNsT>(value));
return *
this; }
106 template<
typename AuthTypeT = Aws::String>
107 void SetAuthType(AuthTypeT&& value) { m_authTypeHasBeenSet =
true; m_authType = std::forward<AuthTypeT>(value); }
108 template<
typename AuthTypeT = Aws::String>
128 template<
typename AuthorizerUriT = Aws::String>
129 void SetAuthorizerUri(AuthorizerUriT&& value) { m_authorizerUriHasBeenSet =
true; m_authorizerUri = std::forward<AuthorizerUriT>(value); }
130 template<
typename AuthorizerUriT = Aws::String>
143 template<
typename AuthorizerCredentialsT = Aws::String>
144 void SetAuthorizerCredentials(AuthorizerCredentialsT&& value) { m_authorizerCredentialsHasBeenSet =
true; m_authorizerCredentials = std::forward<AuthorizerCredentialsT>(value); }
145 template<
typename AuthorizerCredentialsT = Aws::String>
174 template<
typename IdentitySourceT = Aws::String>
175 void SetIdentitySource(IdentitySourceT&& value) { m_identitySourceHasBeenSet =
true; m_identitySource = std::forward<IdentitySourceT>(value); }
176 template<
typename IdentitySourceT = Aws::String>
193 template<
typename IdentityVal
idationExpressionT = Aws::String>
194 void SetIdentityValidationExpression(IdentityValidationExpressionT&& value) { m_identityValidationExpressionHasBeenSet =
true; m_identityValidationExpression = std::forward<IdentityValidationExpressionT>(value); }
195 template<
typename IdentityVal
idationExpressionT = Aws::String>
216 template<
typename RequestIdT = Aws::String>
217 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
218 template<
typename RequestIdT = Aws::String>
224 bool m_idHasBeenSet =
false;
227 bool m_nameHasBeenSet =
false;
230 bool m_typeHasBeenSet =
false;
233 bool m_providerARNsHasBeenSet =
false;
236 bool m_authTypeHasBeenSet =
false;
239 bool m_authorizerUriHasBeenSet =
false;
242 bool m_authorizerCredentialsHasBeenSet =
false;
245 bool m_identitySourceHasBeenSet =
false;
248 bool m_identityValidationExpressionHasBeenSet =
false;
250 int m_authorizerResultTtlInSeconds{0};
251 bool m_authorizerResultTtlInSecondsHasBeenSet =
false;
254 bool m_requestIdHasBeenSet =
false;
bool AuthTypeHasBeenSet() const
bool AuthorizerResultTtlInSecondsHasBeenSet() const
void SetAuthType(AuthTypeT &&value)
Authorizer & AddProviderARNs(ProviderARNsT &&value)
void SetType(AuthorizerType value)
bool AuthorizerCredentialsHasBeenSet() const
void SetAuthorizerCredentials(AuthorizerCredentialsT &&value)
AWS_APIGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
bool AuthorizerUriHasBeenSet() const
Authorizer & WithId(IdT &&value)
void SetAuthorizerUri(AuthorizerUriT &&value)
void SetIdentitySource(IdentitySourceT &&value)
AWS_APIGATEWAY_API Authorizer()=default
AWS_APIGATEWAY_API Authorizer & operator=(Aws::Utils::Json::JsonView jsonValue)
bool IdentityValidationExpressionHasBeenSet() const
void SetIdentityValidationExpression(IdentityValidationExpressionT &&value)
int GetAuthorizerResultTtlInSeconds() const
const Aws::String & GetAuthorizerCredentials() const
Authorizer & WithName(NameT &&value)
Authorizer & WithAuthorizerCredentials(AuthorizerCredentialsT &&value)
Authorizer & WithProviderARNs(ProviderARNsT &&value)
const Aws::String & GetName() const
const Aws::String & GetAuthType() const
Authorizer & WithIdentitySource(IdentitySourceT &&value)
void SetProviderARNs(ProviderARNsT &&value)
bool TypeHasBeenSet() const
const Aws::String & GetIdentitySource() const
bool IdentitySourceHasBeenSet() const
void SetAuthorizerResultTtlInSeconds(int value)
const Aws::String & GetRequestId() const
bool ProviderARNsHasBeenSet() const
const Aws::String & GetIdentityValidationExpression() const
Authorizer & WithIdentityValidationExpression(IdentityValidationExpressionT &&value)
AuthorizerType GetType() const
const Aws::Vector< Aws::String > & GetProviderARNs() const
AWS_APIGATEWAY_API Authorizer(Aws::Utils::Json::JsonView jsonValue)
Authorizer & WithAuthorizerUri(AuthorizerUriT &&value)
void SetName(NameT &&value)
Authorizer & WithType(AuthorizerType value)
const Aws::String & GetId() const
const Aws::String & GetAuthorizerUri() const
bool IdHasBeenSet() const
Authorizer & WithRequestId(RequestIdT &&value)
Authorizer & WithAuthorizerResultTtlInSeconds(int value)
void SetRequestId(RequestIdT &&value)
bool NameHasBeenSet() const
Authorizer & WithAuthType(AuthTypeT &&value)
bool RequestIdHasBeenSet() 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