AWS SDK for C++  1.9.46
AWS SDK for C++
Public Member Functions | List of all members
Aws::APIGateway::Model::RequestValidator Class Reference

#include <RequestValidator.h>

Public Member Functions

 RequestValidator ()
 
 RequestValidator (Aws::Utils::Json::JsonView jsonValue)
 
RequestValidatoroperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetId () const
 
bool IdHasBeenSet () const
 
void SetId (const Aws::String &value)
 
void SetId (Aws::String &&value)
 
void SetId (const char *value)
 
RequestValidatorWithId (const Aws::String &value)
 
RequestValidatorWithId (Aws::String &&value)
 
RequestValidatorWithId (const char *value)
 
const Aws::StringGetName () const
 
bool NameHasBeenSet () const
 
void SetName (const Aws::String &value)
 
void SetName (Aws::String &&value)
 
void SetName (const char *value)
 
RequestValidatorWithName (const Aws::String &value)
 
RequestValidatorWithName (Aws::String &&value)
 
RequestValidatorWithName (const char *value)
 
bool GetValidateRequestBody () const
 
bool ValidateRequestBodyHasBeenSet () const
 
void SetValidateRequestBody (bool value)
 
RequestValidatorWithValidateRequestBody (bool value)
 
bool GetValidateRequestParameters () const
 
bool ValidateRequestParametersHasBeenSet () const
 
void SetValidateRequestParameters (bool value)
 
RequestValidatorWithValidateRequestParameters (bool value)
 

Detailed Description

A set of validation rules for incoming Method requests.

In OpenAPI, a RequestValidator of an API is defined by the x-amazon-apigateway-request-validators.requestValidator object. It the referenced using the x-amazon-apigateway-request-validator property.

See Also:

AWS API Reference

Definition at line 39 of file RequestValidator.h.

Constructor & Destructor Documentation

◆ RequestValidator() [1/2]

Aws::APIGateway::Model::RequestValidator::RequestValidator ( )

◆ RequestValidator() [2/2]

Aws::APIGateway::Model::RequestValidator::RequestValidator ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ GetId()

const Aws::String& Aws::APIGateway::Model::RequestValidator::GetId ( ) const
inline

The identifier of this RequestValidator.

Definition at line 51 of file RequestValidator.h.

◆ GetName()

const Aws::String& Aws::APIGateway::Model::RequestValidator::GetName ( ) const
inline

The name of this RequestValidator

Definition at line 92 of file RequestValidator.h.

◆ GetValidateRequestBody()

bool Aws::APIGateway::Model::RequestValidator::GetValidateRequestBody ( ) const
inline

A Boolean flag to indicate whether to validate a request body according to the configured Model schema.

Definition at line 134 of file RequestValidator.h.

◆ GetValidateRequestParameters()

bool Aws::APIGateway::Model::RequestValidator::GetValidateRequestParameters ( ) const
inline

A Boolean flag to indicate whether to validate request parameters (true) or not (false).

Definition at line 159 of file RequestValidator.h.

◆ IdHasBeenSet()

bool Aws::APIGateway::Model::RequestValidator::IdHasBeenSet ( ) const
inline

The identifier of this RequestValidator.

Definition at line 56 of file RequestValidator.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::APIGateway::Model::RequestValidator::Jsonize ( ) const

◆ NameHasBeenSet()

bool Aws::APIGateway::Model::RequestValidator::NameHasBeenSet ( ) const
inline

The name of this RequestValidator

Definition at line 97 of file RequestValidator.h.

◆ operator=()

RequestValidator& Aws::APIGateway::Model::RequestValidator::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetId() [1/3]

void Aws::APIGateway::Model::RequestValidator::SetId ( Aws::String &&  value)
inline

The identifier of this RequestValidator.

Definition at line 66 of file RequestValidator.h.

◆ SetId() [2/3]

void Aws::APIGateway::Model::RequestValidator::SetId ( const Aws::String value)
inline

The identifier of this RequestValidator.

Definition at line 61 of file RequestValidator.h.

◆ SetId() [3/3]

void Aws::APIGateway::Model::RequestValidator::SetId ( const char *  value)
inline

The identifier of this RequestValidator.

Definition at line 71 of file RequestValidator.h.

◆ SetName() [1/3]

void Aws::APIGateway::Model::RequestValidator::SetName ( Aws::String &&  value)
inline

The name of this RequestValidator

Definition at line 107 of file RequestValidator.h.

◆ SetName() [2/3]

void Aws::APIGateway::Model::RequestValidator::SetName ( const Aws::String value)
inline

The name of this RequestValidator

Definition at line 102 of file RequestValidator.h.

◆ SetName() [3/3]

void Aws::APIGateway::Model::RequestValidator::SetName ( const char *  value)
inline

The name of this RequestValidator

Definition at line 112 of file RequestValidator.h.

◆ SetValidateRequestBody()

void Aws::APIGateway::Model::RequestValidator::SetValidateRequestBody ( bool  value)
inline

A Boolean flag to indicate whether to validate a request body according to the configured Model schema.

Definition at line 146 of file RequestValidator.h.

◆ SetValidateRequestParameters()

void Aws::APIGateway::Model::RequestValidator::SetValidateRequestParameters ( bool  value)
inline

A Boolean flag to indicate whether to validate request parameters (true) or not (false).

Definition at line 171 of file RequestValidator.h.

◆ ValidateRequestBodyHasBeenSet()

bool Aws::APIGateway::Model::RequestValidator::ValidateRequestBodyHasBeenSet ( ) const
inline

A Boolean flag to indicate whether to validate a request body according to the configured Model schema.

Definition at line 140 of file RequestValidator.h.

◆ ValidateRequestParametersHasBeenSet()

bool Aws::APIGateway::Model::RequestValidator::ValidateRequestParametersHasBeenSet ( ) const
inline

A Boolean flag to indicate whether to validate request parameters (true) or not (false).

Definition at line 165 of file RequestValidator.h.

◆ WithId() [1/3]

RequestValidator& Aws::APIGateway::Model::RequestValidator::WithId ( Aws::String &&  value)
inline

The identifier of this RequestValidator.

Definition at line 81 of file RequestValidator.h.

◆ WithId() [2/3]

RequestValidator& Aws::APIGateway::Model::RequestValidator::WithId ( const Aws::String value)
inline

The identifier of this RequestValidator.

Definition at line 76 of file RequestValidator.h.

◆ WithId() [3/3]

RequestValidator& Aws::APIGateway::Model::RequestValidator::WithId ( const char *  value)
inline

The identifier of this RequestValidator.

Definition at line 86 of file RequestValidator.h.

◆ WithName() [1/3]

RequestValidator& Aws::APIGateway::Model::RequestValidator::WithName ( Aws::String &&  value)
inline

The name of this RequestValidator

Definition at line 122 of file RequestValidator.h.

◆ WithName() [2/3]

RequestValidator& Aws::APIGateway::Model::RequestValidator::WithName ( const Aws::String value)
inline

The name of this RequestValidator

Definition at line 117 of file RequestValidator.h.

◆ WithName() [3/3]

RequestValidator& Aws::APIGateway::Model::RequestValidator::WithName ( const char *  value)
inline

The name of this RequestValidator

Definition at line 127 of file RequestValidator.h.

◆ WithValidateRequestBody()

RequestValidator& Aws::APIGateway::Model::RequestValidator::WithValidateRequestBody ( bool  value)
inline

A Boolean flag to indicate whether to validate a request body according to the configured Model schema.

Definition at line 152 of file RequestValidator.h.

◆ WithValidateRequestParameters()

RequestValidator& Aws::APIGateway::Model::RequestValidator::WithValidateRequestParameters ( bool  value)
inline

A Boolean flag to indicate whether to validate request parameters (true) or not (false).

Definition at line 177 of file RequestValidator.h.


The documentation for this class was generated from the following file: