7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
49 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
63 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
76 inline void SetValidateRequestBody(
bool value) { m_validateRequestBodyHasBeenSet =
true; m_validateRequestBody = value; }
97 inline void SetRequestId(
const char* value) { m_requestIdHasBeenSet =
true; m_requestId.assign(value); }
105 bool m_idHasBeenSet =
false;
108 bool m_nameHasBeenSet =
false;
110 bool m_validateRequestBody;
111 bool m_validateRequestBodyHasBeenSet =
false;
113 bool m_validateRequestParameters;
114 bool m_validateRequestParametersHasBeenSet =
false;
117 bool m_requestIdHasBeenSet =
false;
AWS_APIGATEWAY_API RequestValidator()
void SetName(const char *value)
RequestValidator & WithValidateRequestParameters(bool value)
void SetId(const char *value)
void SetValidateRequestParameters(bool value)
const Aws::String & GetName() const
void SetRequestId(const Aws::String &value)
RequestValidator & WithName(const Aws::String &value)
RequestValidator & WithId(const Aws::String &value)
bool IdHasBeenSet() const
const Aws::String & GetId() const
AWS_APIGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
RequestValidator & WithId(Aws::String &&value)
RequestValidator & WithName(Aws::String &&value)
void SetId(Aws::String &&value)
RequestValidator & WithName(const char *value)
bool GetValidateRequestParameters() const
bool ValidateRequestBodyHasBeenSet() const
const Aws::String & GetRequestId() const
void SetRequestId(const char *value)
void SetId(const Aws::String &value)
void SetName(const Aws::String &value)
RequestValidator & WithRequestId(const char *value)
bool NameHasBeenSet() const
RequestValidator & WithId(const char *value)
bool GetValidateRequestBody() const
void SetRequestId(Aws::String &&value)
RequestValidator & WithRequestId(const Aws::String &value)
bool ValidateRequestParametersHasBeenSet() const
void SetValidateRequestBody(bool value)
AWS_APIGATEWAY_API RequestValidator(Aws::Utils::Json::JsonView jsonValue)
RequestValidator & WithValidateRequestBody(bool value)
AWS_APIGATEWAY_API RequestValidator & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(Aws::String &&value)
bool RequestIdHasBeenSet() const
RequestValidator & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue