7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/apigateway/model/AuthorizerType.h>
9#include <aws/core/http/HttpResponse.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
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));
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));
82 m_typeHasBeenSet =
true;
100 template <
typename Prov
iderARNsT = Aws::Vector<Aws::String>>
102 m_providerARNsHasBeenSet =
true;
103 m_providerARNs = std::forward<ProviderARNsT>(value);
105 template <
typename Prov
iderARNsT = Aws::Vector<Aws::String>>
110 template <
typename Prov
iderARNsT = Aws::String>
112 m_providerARNsHasBeenSet =
true;
113 m_providerARNs.emplace_back(std::forward<ProviderARNsT>(value));
124 template <
typename AuthTypeT = Aws::String>
126 m_authTypeHasBeenSet =
true;
127 m_authType = std::forward<AuthTypeT>(value);
129 template <
typename AuthTypeT = Aws::String>
151 template <
typename AuthorizerUriT = Aws::String>
153 m_authorizerUriHasBeenSet =
true;
154 m_authorizerUri = std::forward<AuthorizerUriT>(value);
156 template <
typename AuthorizerUriT = Aws::String>
171 template <
typename AuthorizerCredentialsT = Aws::String>
173 m_authorizerCredentialsHasBeenSet =
true;
174 m_authorizerCredentials = std::forward<AuthorizerCredentialsT>(value);
176 template <
typename AuthorizerCredentialsT = Aws::String>
207 template <
typename IdentitySourceT = Aws::String>
209 m_identitySourceHasBeenSet =
true;
210 m_identitySource = std::forward<IdentitySourceT>(value);
212 template <
typename IdentitySourceT = Aws::String>
231 template <
typename IdentityVal
idationExpressionT = Aws::String>
233 m_identityValidationExpressionHasBeenSet =
true;
234 m_identityValidationExpression = std::forward<IdentityValidationExpressionT>(value);
236 template <
typename IdentityVal
idationExpressionT = Aws::String>
252 m_authorizerResultTtlInSecondsHasBeenSet =
true;
253 m_authorizerResultTtlInSeconds = value;
264 template <
typename RequestIdT = Aws::String>
266 m_requestIdHasBeenSet =
true;
267 m_requestId = std::forward<RequestIdT>(value);
269 template <
typename RequestIdT = Aws::String>
296 int m_authorizerResultTtlInSeconds{0};
300 bool m_idHasBeenSet =
false;
301 bool m_nameHasBeenSet =
false;
302 bool m_typeHasBeenSet =
false;
303 bool m_providerARNsHasBeenSet =
false;
304 bool m_authTypeHasBeenSet =
false;
305 bool m_authorizerUriHasBeenSet =
false;
306 bool m_authorizerCredentialsHasBeenSet =
false;
307 bool m_identitySourceHasBeenSet =
false;
308 bool m_identityValidationExpressionHasBeenSet =
false;
309 bool m_authorizerResultTtlInSecondsHasBeenSet =
false;
310 bool m_requestIdHasBeenSet =
false;
void SetAuthorizerResultTtlInSeconds(int value)
void SetName(NameT &&value)
CreateAuthorizerResult & WithProviderARNs(ProviderARNsT &&value)
CreateAuthorizerResult & WithIdentitySource(IdentitySourceT &&value)
const Aws::String & GetAuthorizerCredentials() const
int GetAuthorizerResultTtlInSeconds() const
const Aws::String & GetId() const
const Aws::String & GetRequestId() const
AWS_APIGATEWAY_API CreateAuthorizerResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateAuthorizerResult & WithId(IdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
CreateAuthorizerResult & WithAuthType(AuthTypeT &&value)
CreateAuthorizerResult & WithType(AuthorizerType value)
const Aws::String & GetAuthorizerUri() const
void SetProviderARNs(ProviderARNsT &&value)
void SetAuthType(AuthTypeT &&value)
CreateAuthorizerResult & WithAuthorizerCredentials(AuthorizerCredentialsT &&value)
const Aws::String & GetIdentityValidationExpression() const
AuthorizerType GetType() const
CreateAuthorizerResult & WithAuthorizerResultTtlInSeconds(int value)
void SetAuthorizerCredentials(AuthorizerCredentialsT &&value)
void SetIdentitySource(IdentitySourceT &&value)
void SetAuthorizerUri(AuthorizerUriT &&value)
AWS_APIGATEWAY_API CreateAuthorizerResult()=default
const Aws::String & GetAuthType() const
CreateAuthorizerResult & WithAuthorizerUri(AuthorizerUriT &&value)
CreateAuthorizerResult & WithRequestId(RequestIdT &&value)
void SetIdentityValidationExpression(IdentityValidationExpressionT &&value)
const Aws::String & GetName() const
void SetRequestId(RequestIdT &&value)
const Aws::String & GetIdentitySource() const
CreateAuthorizerResult & WithIdentityValidationExpression(IdentityValidationExpressionT &&value)
const Aws::Vector< Aws::String > & GetProviderARNs() const
AWS_APIGATEWAY_API CreateAuthorizerResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateAuthorizerResult & WithName(NameT &&value)
CreateAuthorizerResult & AddProviderARNs(ProviderARNsT &&value)
void SetType(AuthorizerType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue