7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/apigateway/model/Integration.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/apigateway/model/MethodResponse.h>
61 inline void SetHttpMethod(
const char* value) { m_httpMethodHasBeenSet =
true; m_httpMethod.assign(value); }
78 inline void SetAuthorizationType(
const char* value) { m_authorizationTypeHasBeenSet =
true; m_authorizationType.assign(value); }
93 inline void SetAuthorizerId(
const char* value) { m_authorizerIdHasBeenSet =
true; m_authorizerId.assign(value); }
106 inline void SetApiKeyRequired(
bool value) { m_apiKeyRequiredHasBeenSet =
true; m_apiKeyRequired = value; }
118 inline void SetRequestValidatorId(
const char* value) { m_requestValidatorIdHasBeenSet =
true; m_requestValidatorId.assign(value); }
134 inline void SetOperationName(
const char* value) { m_operationNameHasBeenSet =
true; m_operationName.assign(value); }
160 inline Method&
AddRequestParameters(
const char* key,
bool value) { m_requestParametersHasBeenSet =
true; m_requestParameters.emplace(key, value);
return *
this; }
181 inline Method&
AddRequestModels(
const char* key,
const char* value) { m_requestModelsHasBeenSet =
true; m_requestModels.emplace(key, value);
return *
this; }
235 inline Method&
AddAuthorizationScopes(
const char* value) { m_authorizationScopesHasBeenSet =
true; m_authorizationScopes.push_back(value);
return *
this; }
244 inline void SetRequestId(
const char* value) { m_requestIdHasBeenSet =
true; m_requestId.assign(value); }
252 bool m_httpMethodHasBeenSet =
false;
255 bool m_authorizationTypeHasBeenSet =
false;
258 bool m_authorizerIdHasBeenSet =
false;
260 bool m_apiKeyRequired;
261 bool m_apiKeyRequiredHasBeenSet =
false;
264 bool m_requestValidatorIdHasBeenSet =
false;
267 bool m_operationNameHasBeenSet =
false;
270 bool m_requestParametersHasBeenSet =
false;
273 bool m_requestModelsHasBeenSet =
false;
276 bool m_methodResponsesHasBeenSet =
false;
279 bool m_methodIntegrationHasBeenSet =
false;
282 bool m_authorizationScopesHasBeenSet =
false;
285 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetRequestId() const
const Aws::String & GetHttpMethod() const
Method & WithAuthorizationType(Aws::String &&value)
Method & WithRequestModels(Aws::Map< Aws::String, Aws::String > &&value)
Method & AddMethodResponses(Aws::String &&key, const MethodResponse &value)
void SetRequestParameters(Aws::Map< Aws::String, bool > &&value)
void SetRequestId(const char *value)
Method & WithOperationName(const Aws::String &value)
Method & WithRequestModels(const Aws::Map< Aws::String, Aws::String > &value)
void SetRequestParameters(const Aws::Map< Aws::String, bool > &value)
Method & AddRequestModels(const Aws::String &key, const Aws::String &value)
Method & AddRequestParameters(const char *key, bool value)
Method & WithRequestId(const char *value)
const Aws::String & GetRequestValidatorId() const
void SetRequestValidatorId(const char *value)
Method & WithRequestId(Aws::String &&value)
const Aws::String & GetAuthorizerId() const
Method & AddRequestModels(Aws::String &&key, const Aws::String &value)
Method & AddRequestModels(Aws::String &&key, Aws::String &&value)
AWS_APIGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
Method & AddMethodResponses(Aws::String &&key, MethodResponse &&value)
void SetAuthorizationScopes(Aws::Vector< Aws::String > &&value)
Method & WithAuthorizationScopes(Aws::Vector< Aws::String > &&value)
const Aws::String & GetOperationName() const
Method & AddAuthorizationScopes(const Aws::String &value)
void SetMethodResponses(const Aws::Map< Aws::String, MethodResponse > &value)
bool RequestModelsHasBeenSet() const
Method & WithRequestId(const Aws::String &value)
Method & AddMethodResponses(const char *key, MethodResponse &&value)
AWS_APIGATEWAY_API Method()
Method & AddRequestModels(Aws::String &&key, const char *value)
Method & WithMethodResponses(const Aws::Map< Aws::String, MethodResponse > &value)
void SetAuthorizerId(const char *value)
Method & WithRequestValidatorId(Aws::String &&value)
Method & WithRequestParameters(Aws::Map< Aws::String, bool > &&value)
bool RequestIdHasBeenSet() const
void SetAuthorizationType(const Aws::String &value)
bool HttpMethodHasBeenSet() const
Method & WithMethodResponses(Aws::Map< Aws::String, MethodResponse > &&value)
void SetRequestValidatorId(const Aws::String &value)
Method & WithHttpMethod(const Aws::String &value)
void SetOperationName(Aws::String &&value)
void SetAuthorizerId(Aws::String &&value)
void SetMethodIntegration(const Integration &value)
const Aws::Vector< Aws::String > & GetAuthorizationScopes() const
Method & WithMethodIntegration(const Integration &value)
Method & AddMethodResponses(const char *key, const MethodResponse &value)
void SetOperationName(const Aws::String &value)
bool RequestValidatorIdHasBeenSet() const
Method & WithHttpMethod(const char *value)
void SetAuthorizationType(Aws::String &&value)
void SetAuthorizationScopes(const Aws::Vector< Aws::String > &value)
const Aws::Map< Aws::String, MethodResponse > & GetMethodResponses() const
AWS_APIGATEWAY_API Method(Aws::Utils::Json::JsonView jsonValue)
Method & AddRequestModels(const Aws::String &key, Aws::String &&value)
void SetApiKeyRequired(bool value)
bool MethodIntegrationHasBeenSet() const
Method & WithAuthorizerId(const char *value)
bool AuthorizerIdHasBeenSet() const
Method & WithAuthorizerId(Aws::String &&value)
Method & WithAuthorizationScopes(const Aws::Vector< Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetRequestModels() const
void SetHttpMethod(const Aws::String &value)
bool AuthorizationScopesHasBeenSet() const
Method & WithHttpMethod(Aws::String &&value)
Method & AddAuthorizationScopes(const char *value)
Method & WithRequestParameters(const Aws::Map< Aws::String, bool > &value)
void SetRequestModels(Aws::Map< Aws::String, Aws::String > &&value)
bool AuthorizationTypeHasBeenSet() const
Method & WithAuthorizationType(const char *value)
void SetAuthorizerId(const Aws::String &value)
Method & AddRequestModels(const char *key, Aws::String &&value)
Method & WithApiKeyRequired(bool value)
Method & AddMethodResponses(const Aws::String &key, const MethodResponse &value)
Method & AddMethodResponses(const Aws::String &key, MethodResponse &&value)
void SetRequestId(Aws::String &&value)
const Aws::String & GetAuthorizationType() const
void SetOperationName(const char *value)
Method & WithRequestValidatorId(const char *value)
void SetAuthorizationType(const char *value)
const Integration & GetMethodIntegration() const
Method & WithAuthorizerId(const Aws::String &value)
const Aws::Map< Aws::String, bool > & GetRequestParameters() const
void SetRequestModels(const Aws::Map< Aws::String, Aws::String > &value)
void SetRequestId(const Aws::String &value)
bool ApiKeyRequiredHasBeenSet() const
bool GetApiKeyRequired() const
Method & WithAuthorizationType(const Aws::String &value)
bool RequestParametersHasBeenSet() const
AWS_APIGATEWAY_API Method & operator=(Aws::Utils::Json::JsonView jsonValue)
Method & WithRequestValidatorId(const Aws::String &value)
Method & AddRequestParameters(Aws::String &&key, bool value)
bool MethodResponsesHasBeenSet() const
Method & WithOperationName(const char *value)
Method & AddRequestParameters(const Aws::String &key, bool value)
Method & AddAuthorizationScopes(Aws::String &&value)
void SetMethodResponses(Aws::Map< Aws::String, MethodResponse > &&value)
Method & WithMethodIntegration(Integration &&value)
Method & AddRequestModels(const char *key, const char *value)
bool OperationNameHasBeenSet() const
void SetRequestValidatorId(Aws::String &&value)
Method & WithOperationName(Aws::String &&value)
void SetHttpMethod(Aws::String &&value)
void SetHttpMethod(const char *value)
void SetMethodIntegration(Integration &&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
Aws::Utils::Json::JsonValue JsonValue