65 inline void SetHttpMethod(
const char* value) { m_httpMethodHasBeenSet =
true; m_httpMethod.assign(value); }
100 inline void SetAuthorizationType(
const char* value) { m_authorizationTypeHasBeenSet =
true; m_authorizationType.assign(value); }
139 inline void SetAuthorizerId(
const char* value) { m_authorizerIdHasBeenSet =
true; m_authorizerId.assign(value); }
167 inline void SetApiKeyRequired(
bool value) { m_apiKeyRequiredHasBeenSet =
true; m_apiKeyRequired = value; }
268 inline Method&
AddRequestParameters(
const char* key,
bool value) { m_requestParametersHasBeenSet =
true; m_requestParameters[key] = value;
return *
this; }
352 inline Method&
AddRequestModels(
const char* key,
const char* value) { m_requestModelsHasBeenSet =
true; m_requestModels[key] = value;
return *
this; }
469 bool m_httpMethodHasBeenSet;
471 bool m_authorizationTypeHasBeenSet;
473 bool m_authorizerIdHasBeenSet;
474 bool m_apiKeyRequired;
475 bool m_apiKeyRequiredHasBeenSet;
477 bool m_requestParametersHasBeenSet;
479 bool m_requestModelsHasBeenSet;
481 bool m_methodResponsesHasBeenSet;
483 bool m_methodIntegrationHasBeenSet;
Method & AddRequestModels(Aws::String &&key, const char *value)
Method & AddRequestModels(Aws::String &&key, Aws::String &&value)
Method & WithMethodResponses(const Aws::Map< Aws::String, MethodResponse > &value)
Method & AddMethodResponses(Aws::String &&key, MethodResponse &&value)
const Aws::Map< Aws::String, MethodResponse > & GetMethodResponses() const
Method & WithAuthorizationType(const char *value)
void SetMethodResponses(const Aws::Map< Aws::String, MethodResponse > &value)
const Aws::String & GetHttpMethod() const
Method & AddRequestParameters(Aws::String &&key, bool value)
void SetRequestParameters(const Aws::Map< Aws::String, bool > &value)
Method & WithMethodResponses(Aws::Map< Aws::String, MethodResponse > &&value)
Method & AddRequestModels(const Aws::String &key, Aws::String &&value)
void SetHttpMethod(Aws::String &&value)
void SetMethodIntegration(const Integration &value)
Method & WithRequestParameters(Aws::Map< Aws::String, bool > &&value)
Method & WithAuthorizerId(const char *value)
Method & WithMethodIntegration(Integration &&value)
Method & AddMethodResponses(const char *key, MethodResponse &&value)
Method & WithRequestModels(const Aws::Map< Aws::String, Aws::String > &value)
Method & WithAuthorizationType(const Aws::String &value)
Method & AddMethodResponses(Aws::String &&key, const MethodResponse &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
bool GetApiKeyRequired() const
void SetRequestParameters(Aws::Map< Aws::String, bool > &&value)
void SetAuthorizerId(const Aws::String &value)
void SetAuthorizationType(Aws::String &&value)
void SetAuthorizerId(const char *value)
Method & AddRequestModels(const char *key, const char *value)
Method & AddMethodResponses(const char *key, const MethodResponse &value)
Method & AddRequestModels(Aws::String &&key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetRequestModels() const
Method & WithAuthorizerId(const Aws::String &value)
const Aws::String & GetAuthorizerId() const
void SetMethodIntegration(Integration &&value)
void SetHttpMethod(const Aws::String &value)
Method & WithMethodIntegration(const Integration &value)
Method & WithApiKeyRequired(bool value)
void SetApiKeyRequired(bool value)
Method & AddMethodResponses(const Aws::String &key, MethodResponse &&value)
Method & WithRequestModels(Aws::Map< Aws::String, Aws::String > &&value)
Method & WithAuthorizerId(Aws::String &&value)
void SetRequestModels(Aws::Map< Aws::String, Aws::String > &&value)
void SetMethodResponses(Aws::Map< Aws::String, MethodResponse > &&value)
Method & AddRequestModels(const char *key, Aws::String &&value)
const Aws::Map< Aws::String, bool > & GetRequestParameters() const
void SetAuthorizationType(const Aws::String &value)
Method & AddRequestParameters(const char *key, bool value)
Method & AddRequestParameters(const Aws::String &key, bool value)
Method & WithHttpMethod(Aws::String &&value)
Method & WithHttpMethod(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
#define AWS_APIGATEWAY_API
void SetHttpMethod(const char *value)
const Integration & GetMethodIntegration() const
Method & AddMethodResponses(const Aws::String &key, const MethodResponse &value)
void SetAuthorizationType(const char *value)
const Aws::String & GetAuthorizationType() const
void SetRequestModels(const Aws::Map< Aws::String, Aws::String > &value)
Method & WithHttpMethod(const char *value)
Method & WithRequestParameters(const Aws::Map< Aws::String, bool > &value)
Method & WithAuthorizationType(Aws::String &&value)
Method & AddRequestModels(const Aws::String &key, const Aws::String &value)
void SetAuthorizerId(Aws::String &&value)
JSON (JavaScript Object Notation).