7#include <aws/apigateway/APIGatewayRequest.h>
8#include <aws/apigateway/APIGateway_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
43 template <
typename RestApiIdT = Aws::String>
45 m_restApiIdHasBeenSet =
true;
46 m_restApiId = std::forward<RestApiIdT>(value);
48 template <
typename RestApiIdT = Aws::String>
61 template <
typename AuthorizerIdT = Aws::String>
63 m_authorizerIdHasBeenSet =
true;
64 m_authorizerId = std::forward<AuthorizerIdT>(value);
66 template <
typename AuthorizerIdT = Aws::String>
81 template <
typename MultiValueHeadersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
83 m_multiValueHeadersHasBeenSet =
true;
84 m_multiValueHeaders = std::forward<MultiValueHeadersT>(value);
86 template <
typename MultiValueHeadersT = Aws::Map<Aws::String, Aws::Vector<Aws::String>>>
91 template <
typename MultiValueHeadersKeyT = Aws::String,
typename MultiValueHeadersValueT = Aws::Vector<Aws::String>>
93 m_multiValueHeadersHasBeenSet =
true;
94 m_multiValueHeaders.emplace(std::forward<MultiValueHeadersKeyT>(key), std::forward<MultiValueHeadersValueT>(value));
106 template <
typename PathWithQueryStringT = Aws::String>
108 m_pathWithQueryStringHasBeenSet =
true;
109 m_pathWithQueryString = std::forward<PathWithQueryStringT>(value);
111 template <
typename PathWithQueryStringT = Aws::String>
125 template <
typename StageVariablesT = Aws::Map<Aws::String, Aws::String>>
127 m_stageVariablesHasBeenSet =
true;
128 m_stageVariables = std::forward<StageVariablesT>(value);
130 template <
typename StageVariablesT = Aws::Map<Aws::String, Aws::String>>
135 template <
typename StageVariablesKeyT = Aws::String,
typename StageVariablesValueT = Aws::String>
137 m_stageVariablesHasBeenSet =
true;
138 m_stageVariables.emplace(std::forward<StageVariablesKeyT>(key), std::forward<StageVariablesValueT>(value));
149 template <
typename AdditionalContextT = Aws::Map<Aws::String, Aws::String>>
151 m_additionalContextHasBeenSet =
true;
152 m_additionalContext = std::forward<AdditionalContextT>(value);
154 template <
typename AdditionalContextT = Aws::Map<Aws::String, Aws::String>>
159 template <
typename AdditionalContextKeyT = Aws::String,
typename AdditionalContextValueT = Aws::String>
161 m_additionalContextHasBeenSet =
true;
162 m_additionalContext.emplace(std::forward<AdditionalContextKeyT>(key), std::forward<AdditionalContextValueT>(value));
173 template <
typename RequestBodyT = Aws::String>
175 m_requestBodyHasBeenSet =
true;
176 m_requestBody = std::forward<RequestBodyT>(value);
178 template <
typename RequestBodyT = Aws::String>
193 template <
typename RequestHeadersT = Aws::Map<Aws::String, Aws::String>>
195 m_requestHeadersHasBeenSet =
true;
196 m_requestHeaders = std::forward<RequestHeadersT>(value);
198 template <
typename RequestHeadersT = Aws::Map<Aws::String, Aws::String>>
203 template <
typename RequestHeadersKeyT = Aws::String,
typename RequestHeadersValueT = Aws::String>
205 m_requestHeadersHasBeenSet =
true;
206 m_requestHeaders.emplace(std::forward<RequestHeadersKeyT>(key), std::forward<RequestHeadersValueT>(value));
226 bool m_restApiIdHasBeenSet =
false;
227 bool m_authorizerIdHasBeenSet =
false;
228 bool m_multiValueHeadersHasBeenSet =
false;
229 bool m_pathWithQueryStringHasBeenSet =
false;
230 bool m_stageVariablesHasBeenSet =
false;
231 bool m_additionalContextHasBeenSet =
false;
232 bool m_requestBodyHasBeenSet =
false;
233 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