7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/apigateway/model/AuthorizerType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
44 template <
typename IdT = Aws::String>
46 m_idHasBeenSet =
true;
47 m_id = std::forward<IdT>(value);
49 template <
typename IdT = Aws::String>
51 SetId(std::forward<IdT>(value));
62 template <
typename NameT = Aws::String>
64 m_nameHasBeenSet =
true;
65 m_name = std::forward<NameT>(value);
67 template <
typename NameT = Aws::String>
69 SetName(std::forward<NameT>(value));
84 m_typeHasBeenSet =
true;
103 template <
typename Prov
iderARNsT = Aws::Vector<Aws::String>>
105 m_providerARNsHasBeenSet =
true;
106 m_providerARNs = std::forward<ProviderARNsT>(value);
108 template <
typename Prov
iderARNsT = Aws::Vector<Aws::String>>
113 template <
typename Prov
iderARNsT = Aws::String>
115 m_providerARNsHasBeenSet =
true;
116 m_providerARNs.emplace_back(std::forward<ProviderARNsT>(value));
128 template <
typename AuthTypeT = Aws::String>
130 m_authTypeHasBeenSet =
true;
131 m_authType = std::forward<AuthTypeT>(value);
133 template <
typename AuthTypeT = Aws::String>
156 template <
typename AuthorizerUriT = Aws::String>
158 m_authorizerUriHasBeenSet =
true;
159 m_authorizerUri = std::forward<AuthorizerUriT>(value);
161 template <
typename AuthorizerUriT = Aws::String>
177 template <
typename AuthorizerCredentialsT = Aws::String>
179 m_authorizerCredentialsHasBeenSet =
true;
180 m_authorizerCredentials = std::forward<AuthorizerCredentialsT>(value);
182 template <
typename AuthorizerCredentialsT = Aws::String>
214 template <
typename IdentitySourceT = Aws::String>
216 m_identitySourceHasBeenSet =
true;
217 m_identitySource = std::forward<IdentitySourceT>(value);
219 template <
typename IdentitySourceT = Aws::String>
239 template <
typename IdentityVal
idationExpressionT = Aws::String>
241 m_identityValidationExpressionHasBeenSet =
true;
242 m_identityValidationExpression = std::forward<IdentityValidationExpressionT>(value);
244 template <
typename IdentityVal
idationExpressionT = Aws::String>
261 m_authorizerResultTtlInSecondsHasBeenSet =
true;
262 m_authorizerResultTtlInSeconds = value;
274 template <
typename RequestIdT = Aws::String>
276 m_requestIdHasBeenSet =
true;
277 m_requestId = std::forward<RequestIdT>(value);
279 template <
typename RequestIdT = Aws::String>
304 int m_authorizerResultTtlInSeconds{0};
307 bool m_idHasBeenSet =
false;
308 bool m_nameHasBeenSet =
false;
309 bool m_typeHasBeenSet =
false;
310 bool m_providerARNsHasBeenSet =
false;
311 bool m_authTypeHasBeenSet =
false;
312 bool m_authorizerUriHasBeenSet =
false;
313 bool m_authorizerCredentialsHasBeenSet =
false;
314 bool m_identitySourceHasBeenSet =
false;
315 bool m_identityValidationExpressionHasBeenSet =
false;
316 bool m_authorizerResultTtlInSecondsHasBeenSet =
false;
317 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