7#include <aws/apigateway/APIGatewayRequest.h>
8#include <aws/apigateway/APIGateway_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
43 template <
typename RestApiIdT = Aws::String>
45 m_restApiIdHasBeenSet =
true;
46 m_restApiId = std::forward<RestApiIdT>(value);
48 template <
typename RestApiIdT = Aws::String>
61 template <
typename ResourceIdT = Aws::String>
63 m_resourceIdHasBeenSet =
true;
64 m_resourceId = std::forward<ResourceIdT>(value);
66 template <
typename ResourceIdT = Aws::String>
79 template <
typename HttpMethodT = Aws::String>
81 m_httpMethodHasBeenSet =
true;
82 m_httpMethod = std::forward<HttpMethodT>(value);
84 template <
typename HttpMethodT = Aws::String>
100 template <
typename AuthorizationTypeT = Aws::String>
102 m_authorizationTypeHasBeenSet =
true;
103 m_authorizationType = std::forward<AuthorizationTypeT>(value);
105 template <
typename AuthorizationTypeT = Aws::String>
120 template <
typename AuthorizerIdT = Aws::String>
122 m_authorizerIdHasBeenSet =
true;
123 m_authorizerId = std::forward<AuthorizerIdT>(value);
125 template <
typename AuthorizerIdT = Aws::String>
139 m_apiKeyRequiredHasBeenSet =
true;
140 m_apiKeyRequired = value;
156 template <
typename OperationNameT = Aws::String>
158 m_operationNameHasBeenSet =
true;
159 m_operationName = std::forward<OperationNameT>(value);
161 template <
typename OperationNameT = Aws::String>
182 template <
typename RequestParametersT = Aws::Map<Aws::String,
bool>>
184 m_requestParametersHasBeenSet =
true;
185 m_requestParameters = std::forward<RequestParametersT>(value);
187 template <
typename RequestParametersT = Aws::Map<Aws::String,
bool>>
193 m_requestParametersHasBeenSet =
true;
194 m_requestParameters.emplace(key, value);
207 template <
typename RequestModelsT = Aws::Map<Aws::String, Aws::String>>
209 m_requestModelsHasBeenSet =
true;
210 m_requestModels = std::forward<RequestModelsT>(value);
212 template <
typename RequestModelsT = Aws::Map<Aws::String, Aws::String>>
217 template <
typename RequestModelsKeyT = Aws::String,
typename RequestModelsValueT = Aws::String>
219 m_requestModelsHasBeenSet =
true;
220 m_requestModels.emplace(std::forward<RequestModelsKeyT>(key), std::forward<RequestModelsValueT>(value));
231 template <
typename RequestVal
idatorIdT = Aws::String>
233 m_requestValidatorIdHasBeenSet =
true;
234 m_requestValidatorId = std::forward<RequestValidatorIdT>(value);
236 template <
typename RequestVal
idatorIdT = Aws::String>
256 template <
typename AuthorizationScopesT = Aws::Vector<Aws::String>>
258 m_authorizationScopesHasBeenSet =
true;
259 m_authorizationScopes = std::forward<AuthorizationScopesT>(value);
261 template <
typename AuthorizationScopesT = Aws::Vector<Aws::String>>
266 template <
typename AuthorizationScopesT = Aws::String>
268 m_authorizationScopesHasBeenSet =
true;
269 m_authorizationScopes.emplace_back(std::forward<AuthorizationScopesT>(value));
284 bool m_apiKeyRequired{
false};
295 bool m_restApiIdHasBeenSet =
false;
296 bool m_resourceIdHasBeenSet =
false;
297 bool m_httpMethodHasBeenSet =
false;
298 bool m_authorizationTypeHasBeenSet =
false;
299 bool m_authorizerIdHasBeenSet =
false;
300 bool m_apiKeyRequiredHasBeenSet =
false;
301 bool m_operationNameHasBeenSet =
false;
302 bool m_requestParametersHasBeenSet =
false;
303 bool m_requestModelsHasBeenSet =
false;
304 bool m_requestValidatorIdHasBeenSet =
false;
305 bool m_authorizationScopesHasBeenSet =
false;
const Aws::String & GetAuthorizerId() const
void SetRestApiId(RestApiIdT &&value)
bool RequestModelsHasBeenSet() const
PutMethodRequest & WithRequestModels(RequestModelsT &&value)
PutMethodRequest & WithAuthorizationScopes(AuthorizationScopesT &&value)
AWS_APIGATEWAY_API PutMethodRequest()=default
PutMethodRequest & AddAuthorizationScopes(AuthorizationScopesT &&value)
PutMethodRequest & WithRequestValidatorId(RequestValidatorIdT &&value)
const Aws::String & GetRestApiId() const
PutMethodRequest & WithResourceId(ResourceIdT &&value)
void SetRequestModels(RequestModelsT &&value)
virtual const char * GetServiceRequestName() const override
PutMethodRequest & WithRestApiId(RestApiIdT &&value)
const Aws::String & GetRequestValidatorId() const
bool ResourceIdHasBeenSet() const
const Aws::Vector< Aws::String > & GetAuthorizationScopes() const
void SetOperationName(OperationNameT &&value)
PutMethodRequest & WithOperationName(OperationNameT &&value)
PutMethodRequest & AddRequestParameters(Aws::String key, bool value)
bool GetApiKeyRequired() const
bool AuthorizerIdHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetRequestModels() const
void SetRequestValidatorId(RequestValidatorIdT &&value)
bool AuthorizationScopesHasBeenSet() const
const Aws::Map< Aws::String, bool > & GetRequestParameters() const
bool OperationNameHasBeenSet() const
const Aws::String & GetResourceId() const
PutMethodRequest & AddRequestModels(RequestModelsKeyT &&key, RequestModelsValueT &&value)
void SetApiKeyRequired(bool value)
void SetRequestParameters(RequestParametersT &&value)
PutMethodRequest & WithApiKeyRequired(bool value)
bool RequestValidatorIdHasBeenSet() const
void SetResourceId(ResourceIdT &&value)
bool AuthorizationTypeHasBeenSet() const
PutMethodRequest & WithAuthorizerId(AuthorizerIdT &&value)
void SetAuthorizationScopes(AuthorizationScopesT &&value)
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
PutMethodRequest & WithRequestParameters(RequestParametersT &&value)
bool ApiKeyRequiredHasBeenSet() const
PutMethodRequest & WithAuthorizationType(AuthorizationTypeT &&value)
bool RestApiIdHasBeenSet() const
void SetAuthorizationType(AuthorizationTypeT &&value)
const Aws::String & GetHttpMethod() const
void SetAuthorizerId(AuthorizerIdT &&value)
bool HttpMethodHasBeenSet() const
const Aws::String & GetOperationName() const
bool RequestParametersHasBeenSet() const
PutMethodRequest & WithHttpMethod(HttpMethodT &&value)
const Aws::String & GetAuthorizationType() const
void SetHttpMethod(HttpMethodT &&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