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>
49 inline void SetRestApiId(
const char* value) { m_restApiIdHasBeenSet =
true; m_restApiId.assign(value); }
63 inline void SetResourceId(
const char* value) { m_resourceIdHasBeenSet =
true; m_resourceId.assign(value); }
77 inline void SetHttpMethod(
const char* value) { m_httpMethodHasBeenSet =
true; m_httpMethod.assign(value); }
92 inline void SetPathWithQueryString(
const char* value) { m_pathWithQueryStringHasBeenSet =
true; m_pathWithQueryString.assign(value); }
127 inline void SetClientCertificateId(
const char* value) { m_clientCertificateIdHasBeenSet =
true; m_clientCertificateId.assign(value); }
161 inline void SetRequestBody(
const char* value) { m_requestBodyHasBeenSet =
true; m_requestBody.assign(value); }
188 bool m_restApiIdHasBeenSet =
false;
191 bool m_resourceIdHasBeenSet =
false;
194 bool m_httpMethodHasBeenSet =
false;
197 bool m_pathWithQueryStringHasBeenSet =
false;
200 bool m_multiValueHeadersHasBeenSet =
false;
203 bool m_clientCertificateIdHasBeenSet =
false;
206 bool m_stageVariablesHasBeenSet =
false;
209 bool m_requestBodyHasBeenSet =
false;
212 bool m_requestHeadersHasBeenSet =
false;
void SetMultiValueHeaders(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
TestInvokeMethodRequest & AddStageVariables(Aws::String &&key, Aws::String &&value)
TestInvokeMethodRequest & WithStageVariables(Aws::Map< Aws::String, Aws::String > &&value)
bool ResourceIdHasBeenSet() const
void SetRestApiId(Aws::String &&value)
bool ClientCertificateIdHasBeenSet() const
TestInvokeMethodRequest & AddRequestHeaders(Aws::String &&key, const Aws::String &value)
TestInvokeMethodRequest & AddMultiValueHeaders(const char *key, const Aws::Vector< Aws::String > &value)
void SetStageVariables(Aws::Map< Aws::String, Aws::String > &&value)
TestInvokeMethodRequest & WithRestApiId(Aws::String &&value)
TestInvokeMethodRequest & AddRequestHeaders(const char *key, Aws::String &&value)
void SetRequestBody(const char *value)
TestInvokeMethodRequest & WithPathWithQueryString(Aws::String &&value)
TestInvokeMethodRequest & AddStageVariables(const char *key, Aws::String &&value)
void SetClientCertificateId(Aws::String &&value)
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
bool PathWithQueryStringHasBeenSet() const
TestInvokeMethodRequest & AddRequestHeaders(Aws::String &&key, Aws::String &&value)
void SetPathWithQueryString(const Aws::String &value)
void SetResourceId(Aws::String &&value)
void SetHttpMethod(Aws::String &&value)
void SetRequestHeaders(Aws::Map< Aws::String, Aws::String > &&value)
void SetRequestHeaders(const Aws::Map< Aws::String, Aws::String > &value)
TestInvokeMethodRequest & AddMultiValueHeaders(const Aws::String &key, const Aws::Vector< Aws::String > &value)
TestInvokeMethodRequest & WithMultiValueHeaders(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
void SetRestApiId(const Aws::String &value)
TestInvokeMethodRequest & AddRequestHeaders(const char *key, const char *value)
void SetResourceId(const char *value)
const Aws::String & GetHttpMethod() const
TestInvokeMethodRequest & WithRestApiId(const Aws::String &value)
TestInvokeMethodRequest & WithClientCertificateId(Aws::String &&value)
TestInvokeMethodRequest & AddStageVariables(const Aws::String &key, const Aws::String &value)
virtual const char * GetServiceRequestName() const override
bool StageVariablesHasBeenSet() const
TestInvokeMethodRequest & WithRequestBody(Aws::String &&value)
bool RequestBodyHasBeenSet() const
void SetPathWithQueryString(Aws::String &&value)
void SetStageVariables(const Aws::Map< Aws::String, Aws::String > &value)
AWS_APIGATEWAY_API TestInvokeMethodRequest()
TestInvokeMethodRequest & WithPathWithQueryString(const Aws::String &value)
TestInvokeMethodRequest & AddMultiValueHeaders(Aws::String &&key, const Aws::Vector< Aws::String > &value)
const Aws::String & GetRestApiId() const
void SetHttpMethod(const char *value)
TestInvokeMethodRequest & AddRequestHeaders(const Aws::String &key, Aws::String &&value)
TestInvokeMethodRequest & WithRequestHeaders(Aws::Map< Aws::String, Aws::String > &&value)
TestInvokeMethodRequest & AddMultiValueHeaders(const Aws::String &key, Aws::Vector< Aws::String > &&value)
TestInvokeMethodRequest & WithHttpMethod(const char *value)
void SetRequestBody(const Aws::String &value)
TestInvokeMethodRequest & WithClientCertificateId(const Aws::String &value)
TestInvokeMethodRequest & WithRestApiId(const char *value)
TestInvokeMethodRequest & WithResourceId(Aws::String &&value)
bool MultiValueHeadersHasBeenSet() const
TestInvokeMethodRequest & WithRequestHeaders(const Aws::Map< Aws::String, Aws::String > &value)
TestInvokeMethodRequest & WithRequestBody(const Aws::String &value)
bool RestApiIdHasBeenSet() const
TestInvokeMethodRequest & AddStageVariables(const char *key, const char *value)
const Aws::Map< Aws::String, Aws::String > & GetRequestHeaders() const
TestInvokeMethodRequest & WithStageVariables(const Aws::Map< Aws::String, Aws::String > &value)
void SetMultiValueHeaders(const Aws::Map< Aws::String, Aws::Vector< Aws::String > > &value)
const Aws::String & GetPathWithQueryString() const
void SetRequestBody(Aws::String &&value)
void SetResourceId(const Aws::String &value)
TestInvokeMethodRequest & WithRequestBody(const char *value)
TestInvokeMethodRequest & WithHttpMethod(Aws::String &&value)
TestInvokeMethodRequest & WithResourceId(const char *value)
TestInvokeMethodRequest & AddRequestHeaders(Aws::String &&key, const char *value)
const Aws::String & GetClientCertificateId() const
void SetPathWithQueryString(const char *value)
TestInvokeMethodRequest & AddRequestHeaders(const Aws::String &key, const Aws::String &value)
TestInvokeMethodRequest & WithMultiValueHeaders(Aws::Map< Aws::String, Aws::Vector< Aws::String > > &&value)
TestInvokeMethodRequest & WithClientCertificateId(const char *value)
void SetHttpMethod(const Aws::String &value)
void SetClientCertificateId(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetStageVariables() const
TestInvokeMethodRequest & AddStageVariables(const Aws::String &key, Aws::String &&value)
TestInvokeMethodRequest & WithPathWithQueryString(const char *value)
void SetRestApiId(const char *value)
const Aws::String & GetRequestBody() const
bool RequestHeadersHasBeenSet() const
const Aws::String & GetResourceId() const
TestInvokeMethodRequest & WithHttpMethod(const Aws::String &value)
TestInvokeMethodRequest & AddMultiValueHeaders(const char *key, Aws::Vector< Aws::String > &&value)
TestInvokeMethodRequest & AddMultiValueHeaders(Aws::String &&key, Aws::Vector< Aws::String > &&value)
void SetClientCertificateId(const Aws::String &value)
const Aws::Map< Aws::String, Aws::Vector< Aws::String > > & GetMultiValueHeaders() const
TestInvokeMethodRequest & AddStageVariables(Aws::String &&key, const char *value)
bool HttpMethodHasBeenSet() const
TestInvokeMethodRequest & WithResourceId(const Aws::String &value)
TestInvokeMethodRequest & AddStageVariables(Aws::String &&key, const Aws::String &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
std::vector< T, Aws::Allocator< T > > Vector