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>
54 inline void SetRestApiId(
const char* value) { m_restApiIdHasBeenSet =
true; m_restApiId.assign(value); }
67 inline void SetMode(
const PutMode& value) { m_modeHasBeenSet =
true; m_mode = value; }
68 inline void SetMode(
PutMode&& value) { m_modeHasBeenSet =
true; m_mode = std::move(value); }
81 inline void SetFailOnWarnings(
bool value) { m_failOnWarningsHasBeenSet =
true; m_failOnWarnings = value; }
110 bool m_restApiIdHasBeenSet =
false;
113 bool m_modeHasBeenSet =
false;
115 bool m_failOnWarnings;
116 bool m_failOnWarningsHasBeenSet =
false;
119 bool m_parametersHasBeenSet =
false;
PutRestApiRequest & WithRestApiId(const char *value)
bool RestApiIdHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
void SetMode(PutMode &&value)
bool GetFailOnWarnings() const
AWS_APIGATEWAY_API PutRestApiRequest()
PutRestApiRequest & WithParameters(Aws::Map< Aws::String, Aws::String > &&value)
PutRestApiRequest & WithRestApiId(const Aws::String &value)
bool ParametersHasBeenSet() const
PutRestApiRequest & AddParameters(Aws::String &&key, const Aws::String &value)
PutRestApiRequest & AddParameters(const Aws::String &key, const Aws::String &value)
PutRestApiRequest & WithFailOnWarnings(bool value)
PutRestApiRequest & AddParameters(Aws::String &&key, Aws::String &&value)
const Aws::String & GetRestApiId() const
PutRestApiRequest & WithParameters(const Aws::Map< Aws::String, Aws::String > &value)
PutRestApiRequest & AddParameters(const char *key, const char *value)
PutRestApiRequest & AddParameters(const char *key, Aws::String &&value)
void SetRestApiId(const Aws::String &value)
AWS_APIGATEWAY_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
PutRestApiRequest & WithRestApiId(Aws::String &&value)
PutRestApiRequest & WithMode(const PutMode &value)
void SetFailOnWarnings(bool value)
bool FailOnWarningsHasBeenSet() const
bool ModeHasBeenSet() const
PutRestApiRequest & WithMode(PutMode &&value)
void SetParameters(const Aws::Map< Aws::String, Aws::String > &value)
const PutMode & GetMode() const
void SetRestApiId(const char *value)
PutRestApiRequest & AddParameters(const Aws::String &key, Aws::String &&value)
PutRestApiRequest & AddParameters(Aws::String &&key, const char *value)
void SetRestApiId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetMode(const PutMode &value)
void SetParameters(Aws::Map< Aws::String, 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