7#include <aws/apigateway/APIGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
41 template <
typename IdT = Aws::String>
43 m_idHasBeenSet =
true;
44 m_id = std::forward<IdT>(value);
46 template <
typename IdT = Aws::String>
48 SetId(std::forward<IdT>(value));
59 template <
typename NameT = Aws::String>
61 m_nameHasBeenSet =
true;
62 m_name = std::forward<NameT>(value);
64 template <
typename NameT = Aws::String>
66 SetName(std::forward<NameT>(value));
79 m_validateRequestBodyHasBeenSet =
true;
80 m_validateRequestBody = value;
96 m_validateRequestParametersHasBeenSet =
true;
97 m_validateRequestParameters = value;
109 template <
typename RequestIdT = Aws::String>
111 m_requestIdHasBeenSet =
true;
112 m_requestId = std::forward<RequestIdT>(value);
114 template <
typename RequestIdT = Aws::String>
125 bool m_validateRequestBody{
false};
127 bool m_validateRequestParameters{
false};
130 bool m_idHasBeenSet =
false;
131 bool m_nameHasBeenSet =
false;
132 bool m_validateRequestBodyHasBeenSet =
false;
133 bool m_validateRequestParametersHasBeenSet =
false;
134 bool m_requestIdHasBeenSet =
false;
RequestValidator & WithValidateRequestParameters(bool value)
RequestValidator & WithId(IdT &&value)
void SetValidateRequestParameters(bool value)
const Aws::String & GetName() const
bool IdHasBeenSet() const
const Aws::String & GetId() const
AWS_APIGATEWAY_API Aws::Utils::Json::JsonValue Jsonize() const
RequestValidator & WithName(NameT &&value)
bool GetValidateRequestParameters() const
bool ValidateRequestBodyHasBeenSet() const
const Aws::String & GetRequestId() const
void SetRequestId(RequestIdT &&value)
void SetName(NameT &&value)
bool NameHasBeenSet() const
bool GetValidateRequestBody() const
RequestValidator & WithRequestId(RequestIdT &&value)
AWS_APIGATEWAY_API RequestValidator()=default
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)
bool RequestIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue