7#include <aws/apigateway/APIGatewayRequest.h>
8#include <aws/apigateway/APIGateway_EXPORTS.h>
9#include <aws/apigateway/model/PutMode.h>
10#include <aws/core/utils/Array.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
47 template <
typename RestApiIdT = Aws::String>
49 m_restApiIdHasBeenSet =
true;
50 m_restApiId = std::forward<RestApiIdT>(value);
52 template <
typename RestApiIdT = Aws::String>
67 m_modeHasBeenSet =
true;
85 m_failOnWarningsHasBeenSet =
true;
86 m_failOnWarnings = value;
104 template <
typename ParametersT = Aws::Map<Aws::String, Aws::String>>
106 m_parametersHasBeenSet =
true;
107 m_parameters = std::forward<ParametersT>(value);
109 template <
typename ParametersT = Aws::Map<Aws::String, Aws::String>>
114 template <
typename ParametersKeyT = Aws::String,
typename ParametersValueT = Aws::String>
116 m_parametersHasBeenSet =
true;
117 m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
126 bool m_failOnWarnings{
false};
130 bool m_restApiIdHasBeenSet =
false;
131 bool m_modeHasBeenSet =
false;
132 bool m_failOnWarningsHasBeenSet =
false;
133 bool m_parametersHasBeenSet =
false;
void SetParameters(ParametersT &&value)
bool RestApiIdHasBeenSet() const
PutRestApiRequest & WithParameters(ParametersT &&value)
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
bool GetFailOnWarnings() const
bool ParametersHasBeenSet() const
PutRestApiRequest & WithFailOnWarnings(bool value)
const Aws::String & GetRestApiId() const
PutRestApiRequest & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
void SetRestApiId(RestApiIdT &&value)
PutRestApiRequest & WithRestApiId(RestApiIdT &&value)
AWS_APIGATEWAY_API PutRestApiRequest()=default
AWS_APIGATEWAY_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetFailOnWarnings(bool value)
bool FailOnWarningsHasBeenSet() const
bool ModeHasBeenSet() const
PutRestApiRequest & WithMode(PutMode value)
void SetMode(PutMode value)
virtual const char * GetServiceRequestName() const override
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