/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A set of validation rules for incoming Method requests.See
* Also:
AWS
* API Reference
The identifier of this RequestValidator.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The identifier of this RequestValidator.
*/ inline void SetId(const Aws::String& value) { m_id = value; } /** *The identifier of this RequestValidator.
*/ inline void SetId(Aws::String&& value) { m_id = std::move(value); } /** *The identifier of this RequestValidator.
*/ inline void SetId(const char* value) { m_id.assign(value); } /** *The identifier of this RequestValidator.
*/ inline CreateRequestValidatorResult& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The identifier of this RequestValidator.
*/ inline CreateRequestValidatorResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The identifier of this RequestValidator.
*/ inline CreateRequestValidatorResult& WithId(const char* value) { SetId(value); return *this;} /** *The name of this RequestValidator
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of this RequestValidator
*/ inline void SetName(const Aws::String& value) { m_name = value; } /** *The name of this RequestValidator
*/ inline void SetName(Aws::String&& value) { m_name = std::move(value); } /** *The name of this RequestValidator
*/ inline void SetName(const char* value) { m_name.assign(value); } /** *The name of this RequestValidator
*/ inline CreateRequestValidatorResult& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of this RequestValidator
*/ inline CreateRequestValidatorResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of this RequestValidator
*/ inline CreateRequestValidatorResult& WithName(const char* value) { SetName(value); return *this;} /** *A Boolean flag to indicate whether to validate a request body according to * the configured Model schema.
*/ inline bool GetValidateRequestBody() const{ return m_validateRequestBody; } /** *A Boolean flag to indicate whether to validate a request body according to * the configured Model schema.
*/ inline void SetValidateRequestBody(bool value) { m_validateRequestBody = value; } /** *A Boolean flag to indicate whether to validate a request body according to * the configured Model schema.
*/ inline CreateRequestValidatorResult& WithValidateRequestBody(bool value) { SetValidateRequestBody(value); return *this;} /** *A Boolean flag to indicate whether to validate request parameters
* (true
) or not (false
).
A Boolean flag to indicate whether to validate request parameters
* (true
) or not (false
).
A Boolean flag to indicate whether to validate request parameters
* (true
) or not (false
).