7#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
8#include <aws/apigatewayv2/ApiGatewayV2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
54 template<
typename BasepathT = Aws::String>
55 void SetBasepath(BasepathT&& value) { m_basepathHasBeenSet =
true; m_basepath = std::forward<BasepathT>(value); }
56 template<
typename BasepathT = Aws::String>
67 inline void SetFailOnWarnings(
bool value) { m_failOnWarningsHasBeenSet =
true; m_failOnWarnings = value; }
77 template<
typename RequestBodyT = Aws::String>
78 void SetRequestBody(RequestBodyT&& value) { m_requestBodyHasBeenSet =
true; m_requestBody = std::forward<RequestBodyT>(value); }
79 template<
typename RequestBodyT = Aws::String>
85 bool m_basepathHasBeenSet =
false;
87 bool m_failOnWarnings{
false};
88 bool m_failOnWarningsHasBeenSet =
false;
91 bool m_requestBodyHasBeenSet =
false;
AWS_APIGATEWAYV2_API Aws::String SerializePayload() const override
void SetFailOnWarnings(bool value)
ImportApiRequest & WithFailOnWarnings(bool value)
void SetBasepath(BasepathT &&value)
virtual const char * GetServiceRequestName() const override
ImportApiRequest & WithBasepath(BasepathT &&value)
const Aws::String & GetRequestBody() const
void SetRequestBody(RequestBodyT &&value)
const Aws::String & GetBasepath() const
bool GetFailOnWarnings() const
AWS_APIGATEWAYV2_API ImportApiRequest()=default
bool FailOnWarningsHasBeenSet() const
ImportApiRequest & WithRequestBody(RequestBodyT &&value)
bool RequestBodyHasBeenSet() const
bool BasepathHasBeenSet() const
AWS_APIGATEWAYV2_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String