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/apigateway/model/PutMode.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/Array.h>
52 template<
typename RestApiIdT = Aws::String>
53 void SetRestApiId(RestApiIdT&& value) { m_restApiIdHasBeenSet =
true; m_restApiId = std::forward<RestApiIdT>(value); }
54 template<
typename RestApiIdT = Aws::String>
65 inline void SetMode(
PutMode value) { m_modeHasBeenSet =
true; m_mode = value; }
77 inline void SetFailOnWarnings(
bool value) { m_failOnWarningsHasBeenSet =
true; m_failOnWarnings = value; }
91 template<
typename ParametersT = Aws::Map<Aws::String, Aws::String>>
92 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet =
true; m_parameters = std::forward<ParametersT>(value); }
93 template<
typename ParametersT = Aws::Map<Aws::String, Aws::String>>
95 template<
typename ParametersKeyT = Aws::String,
typename ParametersValueT = Aws::String>
97 m_parametersHasBeenSet =
true; m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
return *
this;
103 bool m_restApiIdHasBeenSet =
false;
106 bool m_modeHasBeenSet =
false;
108 bool m_failOnWarnings{
false};
109 bool m_failOnWarningsHasBeenSet =
false;
112 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