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/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
49 inline void SetRestApiId(
const char* value) { m_restApiIdHasBeenSet =
true; m_restApiId.assign(value); }
63 inline void SetResourceId(
const char* value) { m_resourceIdHasBeenSet =
true; m_resourceId.assign(value); }
77 inline void SetHttpMethod(
const char* value) { m_httpMethodHasBeenSet =
true; m_httpMethod.assign(value); }
94 inline void SetAuthorizationType(
const char* value) { m_authorizationTypeHasBeenSet =
true; m_authorizationType.assign(value); }
110 inline void SetAuthorizerId(
const char* value) { m_authorizerIdHasBeenSet =
true; m_authorizerId.assign(value); }
122 inline void SetApiKeyRequired(
bool value) { m_apiKeyRequiredHasBeenSet =
true; m_apiKeyRequired = value; }
136 inline void SetOperationName(
const char* value) { m_operationNameHasBeenSet =
true; m_operationName.assign(value); }
194 inline void SetRequestValidatorId(
const char* value) { m_requestValidatorIdHasBeenSet =
true; m_requestValidatorId.assign(value); }
224 bool m_restApiIdHasBeenSet =
false;
227 bool m_resourceIdHasBeenSet =
false;
230 bool m_httpMethodHasBeenSet =
false;
233 bool m_authorizationTypeHasBeenSet =
false;
236 bool m_authorizerIdHasBeenSet =
false;
238 bool m_apiKeyRequired;
239 bool m_apiKeyRequiredHasBeenSet =
false;
242 bool m_operationNameHasBeenSet =
false;
245 bool m_requestParametersHasBeenSet =
false;
248 bool m_requestModelsHasBeenSet =
false;
251 bool m_requestValidatorIdHasBeenSet =
false;
254 bool m_authorizationScopesHasBeenSet =
false;
const Aws::String & GetAuthorizerId() const
PutMethodRequest & WithOperationName(const Aws::String &value)
PutMethodRequest & AddRequestParameters(const Aws::String &key, bool value)
PutMethodRequest & AddRequestModels(Aws::String &&key, Aws::String &&value)
void SetResourceId(const Aws::String &value)
void SetRequestModels(const Aws::Map< Aws::String, Aws::String > &value)
bool RequestModelsHasBeenSet() const
PutMethodRequest & AddRequestModels(const Aws::String &key, const Aws::String &value)
void SetAuthorizerId(const char *value)
const Aws::String & GetRestApiId() const
PutMethodRequest & WithRequestModels(const Aws::Map< Aws::String, Aws::String > &value)
PutMethodRequest & WithAuthorizationType(const char *value)
PutMethodRequest & WithRequestValidatorId(const char *value)
void SetAuthorizationType(const Aws::String &value)
PutMethodRequest & WithResourceId(const char *value)
PutMethodRequest & AddRequestModels(const char *key, Aws::String &&value)
virtual const char * GetServiceRequestName() const override
PutMethodRequest & WithHttpMethod(Aws::String &&value)
void SetRestApiId(const Aws::String &value)
void SetRequestModels(Aws::Map< Aws::String, Aws::String > &&value)
void SetRequestParameters(Aws::Map< Aws::String, bool > &&value)
const Aws::String & GetRequestValidatorId() const
PutMethodRequest & AddRequestModels(const char *key, const char *value)
bool ResourceIdHasBeenSet() const
void SetOperationName(const Aws::String &value)
PutMethodRequest & WithAuthorizerId(const Aws::String &value)
PutMethodRequest & WithAuthorizationType(const Aws::String &value)
const Aws::Vector< Aws::String > & GetAuthorizationScopes() const
PutMethodRequest & WithRequestModels(Aws::Map< Aws::String, Aws::String > &&value)
PutMethodRequest & WithRequestParameters(Aws::Map< Aws::String, bool > &&value)
PutMethodRequest & WithOperationName(const char *value)
bool GetApiKeyRequired() const
bool AuthorizerIdHasBeenSet() const
void SetRequestParameters(const Aws::Map< Aws::String, bool > &value)
const Aws::Map< Aws::String, Aws::String > & GetRequestModels() const
PutMethodRequest & WithRestApiId(Aws::String &&value)
bool AuthorizationScopesHasBeenSet() const
const Aws::Map< Aws::String, bool > & GetRequestParameters() const
bool OperationNameHasBeenSet() const
const Aws::String & GetResourceId() const
PutMethodRequest & AddRequestModels(Aws::String &&key, const char *value)
void SetAuthorizationType(const char *value)
void SetApiKeyRequired(bool value)
void SetRequestValidatorId(Aws::String &&value)
AWS_APIGATEWAY_API PutMethodRequest()
PutMethodRequest & AddRequestParameters(const char *key, bool value)
PutMethodRequest & WithRequestValidatorId(const Aws::String &value)
PutMethodRequest & WithAuthorizerId(const char *value)
PutMethodRequest & WithApiKeyRequired(bool value)
void SetHttpMethod(const char *value)
PutMethodRequest & WithAuthorizationType(Aws::String &&value)
bool RequestValidatorIdHasBeenSet() const
void SetRequestValidatorId(const Aws::String &value)
PutMethodRequest & WithHttpMethod(const char *value)
void SetOperationName(Aws::String &&value)
bool AuthorizationTypeHasBeenSet() const
void SetResourceId(Aws::String &&value)
PutMethodRequest & WithAuthorizationScopes(Aws::Vector< Aws::String > &&value)
void SetRestApiId(const char *value)
void SetAuthorizationType(Aws::String &&value)
void SetRestApiId(Aws::String &&value)
void SetHttpMethod(Aws::String &&value)
PutMethodRequest & WithRequestParameters(const Aws::Map< Aws::String, bool > &value)
void SetRequestValidatorId(const char *value)
PutMethodRequest & WithRestApiId(const char *value)
AWS_APIGATEWAY_API Aws::String SerializePayload() const override
PutMethodRequest & AddAuthorizationScopes(const char *value)
void SetAuthorizerId(const Aws::String &value)
PutMethodRequest & AddAuthorizationScopes(Aws::String &&value)
bool ApiKeyRequiredHasBeenSet() const
PutMethodRequest & WithHttpMethod(const Aws::String &value)
PutMethodRequest & WithAuthorizationScopes(const Aws::Vector< Aws::String > &value)
void SetAuthorizerId(Aws::String &&value)
PutMethodRequest & WithOperationName(Aws::String &&value)
bool RestApiIdHasBeenSet() const
PutMethodRequest & WithAuthorizerId(Aws::String &&value)
PutMethodRequest & AddRequestParameters(Aws::String &&key, bool value)
const Aws::String & GetHttpMethod() const
void SetHttpMethod(const Aws::String &value)
bool HttpMethodHasBeenSet() const
void SetOperationName(const char *value)
PutMethodRequest & AddRequestModels(Aws::String &&key, const Aws::String &value)
const Aws::String & GetOperationName() const
PutMethodRequest & WithRequestValidatorId(Aws::String &&value)
PutMethodRequest & WithRestApiId(const Aws::String &value)
bool RequestParametersHasBeenSet() const
PutMethodRequest & WithResourceId(const Aws::String &value)
void SetResourceId(const char *value)
void SetAuthorizationScopes(Aws::Vector< Aws::String > &&value)
PutMethodRequest & AddRequestModels(const Aws::String &key, Aws::String &&value)
PutMethodRequest & AddAuthorizationScopes(const Aws::String &value)
void SetAuthorizationScopes(const Aws::Vector< Aws::String > &value)
PutMethodRequest & WithResourceId(Aws::String &&value)
const Aws::String & GetAuthorizationType() const
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