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/core/utils/memory/stl/AWSMap.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 AuthorizerIdT = Aws::String>
60 void SetAuthorizerId(AuthorizerIdT&& value) { m_authorizerIdHasBeenSet =
true; m_authorizerId = std::forward<AuthorizerIdT>(value); }
61 template<
typename AuthorizerIdT = Aws::String>
73 template<
typename MultiValueHeadersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
74 void SetMultiValueHeaders(MultiValueHeadersT&& value) { m_multiValueHeadersHasBeenSet =
true; m_multiValueHeaders = std::forward<MultiValueHeadersT>(value); }
75 template<
typename MultiValueHeadersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
77 template<
typename MultiValueHeadersKeyT = Aws::String,
typename MultiValueHeadersValueT = Aws::Vector<Aws::String>>
79 m_multiValueHeadersHasBeenSet =
true; m_multiValueHeaders.emplace(std::forward<MultiValueHeadersKeyT>(key), std::forward<MultiValueHeadersValueT>(value));
return *
this;
90 template<
typename PathWithQueryStringT = Aws::String>
91 void SetPathWithQueryString(PathWithQueryStringT&& value) { m_pathWithQueryStringHasBeenSet =
true; m_pathWithQueryString = std::forward<PathWithQueryStringT>(value); }
92 template<
typename PathWithQueryStringT = Aws::String>
103 template<
typename StageVariablesT = Aws::Map<Aws::String, Aws::String>>
104 void SetStageVariables(StageVariablesT&& value) { m_stageVariablesHasBeenSet =
true; m_stageVariables = std::forward<StageVariablesT>(value); }
105 template<
typename StageVariablesT = Aws::Map<Aws::String, Aws::String>>
107 template<
typename StageVariablesKeyT = Aws::String,
typename StageVariablesValueT = Aws::String>
109 m_stageVariablesHasBeenSet =
true; m_stageVariables.emplace(std::forward<StageVariablesKeyT>(key), std::forward<StageVariablesValueT>(value));
return *
this;
119 template<
typename AdditionalContextT = Aws::Map<Aws::String, Aws::String>>
120 void SetAdditionalContext(AdditionalContextT&& value) { m_additionalContextHasBeenSet =
true; m_additionalContext = std::forward<AdditionalContextT>(value); }
121 template<
typename AdditionalContextT = Aws::Map<Aws::String, Aws::String>>
123 template<
typename AdditionalContextKeyT = Aws::String,
typename AdditionalContextValueT = Aws::String>
125 m_additionalContextHasBeenSet =
true; m_additionalContext.emplace(std::forward<AdditionalContextKeyT>(key), std::forward<AdditionalContextValueT>(value));
return *
this;
135 template<
typename RequestBodyT = Aws::String>
136 void SetRequestBody(RequestBodyT&& value) { m_requestBodyHasBeenSet =
true; m_requestBody = std::forward<RequestBodyT>(value); }
137 template<
typename RequestBodyT = Aws::String>
149 template<
typename RequestHeadersT = Aws::Map<Aws::String, Aws::String>>
150 void SetRequestHeaders(RequestHeadersT&& value) { m_requestHeadersHasBeenSet =
true; m_requestHeaders = std::forward<RequestHeadersT>(value); }
151 template<
typename RequestHeadersT = Aws::Map<Aws::String, Aws::String>>
153 template<
typename RequestHeadersKeyT = Aws::String,
typename RequestHeadersValueT = Aws::String>
155 m_requestHeadersHasBeenSet =
true; m_requestHeaders.emplace(std::forward<RequestHeadersKeyT>(key), std::forward<RequestHeadersValueT>(value));
return *
this;
161 bool m_restApiIdHasBeenSet =
false;
164 bool m_authorizerIdHasBeenSet =
false;
167 bool m_multiValueHeadersHasBeenSet =
false;
170 bool m_pathWithQueryStringHasBeenSet =
false;
173 bool m_stageVariablesHasBeenSet =
false;
176 bool m_additionalContextHasBeenSet =
false;
179 bool m_requestBodyHasBeenSet =
false;
182 bool m_requestHeadersHasBeenSet =
false;
void SetMultiValueHeaders(MultiValueHeadersT &&value)
TestInvokeAuthorizerRequest & AddRequestHeaders(RequestHeadersKeyT &&key, RequestHeadersValueT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetPathWithQueryString() const
TestInvokeAuthorizerRequest & WithAuthorizerId(AuthorizerIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetAdditionalContext() const
void SetRequestHeaders(RequestHeadersT &&value)
bool StageVariablesHasBeenSet() const
TestInvokeAuthorizerRequest & WithStageVariables(StageVariablesT &&value)
TestInvokeAuthorizerRequest & AddMultiValueHeaders(MultiValueHeadersKeyT &&key, MultiValueHeadersValueT &&value)
void SetRequestBody(RequestBodyT &&value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetMultiValueHeaders() const
void SetStageVariables(StageVariablesT &&value)
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
const Aws::String & GetAuthorizerId() const
void SetPathWithQueryString(PathWithQueryStringT &&value)
bool PathWithQueryStringHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetRequestHeaders() const
TestInvokeAuthorizerRequest & AddAdditionalContext(AdditionalContextKeyT &&key, AdditionalContextValueT &&value)
bool AdditionalContextHasBeenSet() const
bool RequestHeadersHasBeenSet() const
void SetAdditionalContext(AdditionalContextT &&value)
void SetRestApiId(RestApiIdT &&value)
AWS_APIGATEWAY_API TestInvokeAuthorizerRequest()=default
TestInvokeAuthorizerRequest & AddStageVariables(StageVariablesKeyT &&key, StageVariablesValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetStageVariables() const
TestInvokeAuthorizerRequest & WithRequestBody(RequestBodyT &&value)
bool RestApiIdHasBeenSet() const
void SetAuthorizerId(AuthorizerIdT &&value)
bool MultiValueHeadersHasBeenSet() const
const Aws::String & GetRestApiId() const
bool RequestBodyHasBeenSet() const
TestInvokeAuthorizerRequest & WithPathWithQueryString(PathWithQueryStringT &&value)
TestInvokeAuthorizerRequest & WithMultiValueHeaders(MultiValueHeadersT &&value)
bool AuthorizerIdHasBeenSet() const
const Aws::String & GetRequestBody() const
TestInvokeAuthorizerRequest & WithRequestHeaders(RequestHeadersT &&value)
TestInvokeAuthorizerRequest & WithRestApiId(RestApiIdT &&value)
TestInvokeAuthorizerRequest & WithAdditionalContext(AdditionalContextT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String