AWS SDK for C++  1.9.123
AWS SDK for C++
Public Member Functions | List of all members
Aws::WAFV2::Model::HTTPRequest Class Reference

#include <HTTPRequest.h>

Public Member Functions

 HTTPRequest ()
 
 HTTPRequest (Aws::Utils::Json::JsonView jsonValue)
 
HTTPRequestoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetClientIP () const
 
bool ClientIPHasBeenSet () const
 
void SetClientIP (const Aws::String &value)
 
void SetClientIP (Aws::String &&value)
 
void SetClientIP (const char *value)
 
HTTPRequestWithClientIP (const Aws::String &value)
 
HTTPRequestWithClientIP (Aws::String &&value)
 
HTTPRequestWithClientIP (const char *value)
 
const Aws::StringGetCountry () const
 
bool CountryHasBeenSet () const
 
void SetCountry (const Aws::String &value)
 
void SetCountry (Aws::String &&value)
 
void SetCountry (const char *value)
 
HTTPRequestWithCountry (const Aws::String &value)
 
HTTPRequestWithCountry (Aws::String &&value)
 
HTTPRequestWithCountry (const char *value)
 
const Aws::StringGetURI () const
 
bool URIHasBeenSet () const
 
void SetURI (const Aws::String &value)
 
void SetURI (Aws::String &&value)
 
void SetURI (const char *value)
 
HTTPRequestWithURI (const Aws::String &value)
 
HTTPRequestWithURI (Aws::String &&value)
 
HTTPRequestWithURI (const char *value)
 
const Aws::StringGetMethod () const
 
bool MethodHasBeenSet () const
 
void SetMethod (const Aws::String &value)
 
void SetMethod (Aws::String &&value)
 
void SetMethod (const char *value)
 
HTTPRequestWithMethod (const Aws::String &value)
 
HTTPRequestWithMethod (Aws::String &&value)
 
HTTPRequestWithMethod (const char *value)
 
const Aws::StringGetHTTPVersion () const
 
bool HTTPVersionHasBeenSet () const
 
void SetHTTPVersion (const Aws::String &value)
 
void SetHTTPVersion (Aws::String &&value)
 
void SetHTTPVersion (const char *value)
 
HTTPRequestWithHTTPVersion (const Aws::String &value)
 
HTTPRequestWithHTTPVersion (Aws::String &&value)
 
HTTPRequestWithHTTPVersion (const char *value)
 
const Aws::Vector< HTTPHeader > & GetHeaders () const
 
bool HeadersHasBeenSet () const
 
void SetHeaders (const Aws::Vector< HTTPHeader > &value)
 
void SetHeaders (Aws::Vector< HTTPHeader > &&value)
 
HTTPRequestWithHeaders (const Aws::Vector< HTTPHeader > &value)
 
HTTPRequestWithHeaders (Aws::Vector< HTTPHeader > &&value)
 
HTTPRequestAddHeaders (const HTTPHeader &value)
 
HTTPRequestAddHeaders (HTTPHeader &&value)
 

Detailed Description

Part of the response from GetSampledRequests. This is a complex type that appears as Request in the response syntax. HTTPRequest contains information about one of the web requests.

See Also:

AWS API Reference

Definition at line 36 of file HTTPRequest.h.

Constructor & Destructor Documentation

◆ HTTPRequest() [1/2]

Aws::WAFV2::Model::HTTPRequest::HTTPRequest ( )

◆ HTTPRequest() [2/2]

Aws::WAFV2::Model::HTTPRequest::HTTPRequest ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ AddHeaders() [1/2]

HTTPRequest& Aws::WAFV2::Model::HTTPRequest::AddHeaders ( const HTTPHeader value)
inline

A complex type that contains the name and value for each header in the sampled web request.

Definition at line 370 of file HTTPRequest.h.

◆ AddHeaders() [2/2]

HTTPRequest& Aws::WAFV2::Model::HTTPRequest::AddHeaders ( HTTPHeader &&  value)
inline

A complex type that contains the name and value for each header in the sampled web request.

Definition at line 376 of file HTTPRequest.h.

◆ ClientIPHasBeenSet()

bool Aws::WAFV2::Model::HTTPRequest::ClientIPHasBeenSet ( ) const
inline

The IP address that the request originated from. If the web ACL is associated with a CloudFront distribution, this is the value of one of the following fields in CloudFront access logs:

  • c-ip, if the viewer did not use an HTTP proxy or a load balancer to send the request

  • x-forwarded-for, if the viewer did use an HTTP proxy or a load balancer to send the request

Definition at line 63 of file HTTPRequest.h.

◆ CountryHasBeenSet()

bool Aws::WAFV2::Model::HTTPRequest::CountryHasBeenSet ( ) const
inline

The two-letter country code for the country that the request originated from. For a current list of country codes, see the Wikipedia entry ISO 3166-1 alpha-2.

Definition at line 140 of file HTTPRequest.h.

◆ GetClientIP()

const Aws::String& Aws::WAFV2::Model::HTTPRequest::GetClientIP ( ) const
inline

The IP address that the request originated from. If the web ACL is associated with a CloudFront distribution, this is the value of one of the following fields in CloudFront access logs:

  • c-ip, if the viewer did not use an HTTP proxy or a load balancer to send the request

  • x-forwarded-for, if the viewer did use an HTTP proxy or a load balancer to send the request

Definition at line 53 of file HTTPRequest.h.

◆ GetCountry()

const Aws::String& Aws::WAFV2::Model::HTTPRequest::GetCountry ( ) const
inline

The two-letter country code for the country that the request originated from. For a current list of country codes, see the Wikipedia entry ISO 3166-1 alpha-2.

Definition at line 132 of file HTTPRequest.h.

◆ GetHeaders()

const Aws::Vector<HTTPHeader>& Aws::WAFV2::Model::HTTPRequest::GetHeaders ( ) const
inline

A complex type that contains the name and value for each header in the sampled web request.

Definition at line 334 of file HTTPRequest.h.

◆ GetHTTPVersion()

const Aws::String& Aws::WAFV2::Model::HTTPRequest::GetHTTPVersion ( ) const
inline

The HTTP version specified in the sampled web request, for example, HTTP/1.1.

Definition at line 285 of file HTTPRequest.h.

◆ GetMethod()

const Aws::String& Aws::WAFV2::Model::HTTPRequest::GetMethod ( ) const
inline

The HTTP method specified in the sampled web request.

Definition at line 243 of file HTTPRequest.h.

◆ GetURI()

const Aws::String& Aws::WAFV2::Model::HTTPRequest::GetURI ( ) const
inline

The URI path of the request, which identifies the resource, for example, /images/daily-ad.jpg.

Definition at line 195 of file HTTPRequest.h.

◆ HeadersHasBeenSet()

bool Aws::WAFV2::Model::HTTPRequest::HeadersHasBeenSet ( ) const
inline

A complex type that contains the name and value for each header in the sampled web request.

Definition at line 340 of file HTTPRequest.h.

◆ HTTPVersionHasBeenSet()

bool Aws::WAFV2::Model::HTTPRequest::HTTPVersionHasBeenSet ( ) const
inline

The HTTP version specified in the sampled web request, for example, HTTP/1.1.

Definition at line 291 of file HTTPRequest.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::WAFV2::Model::HTTPRequest::Jsonize ( ) const

◆ MethodHasBeenSet()

bool Aws::WAFV2::Model::HTTPRequest::MethodHasBeenSet ( ) const
inline

The HTTP method specified in the sampled web request.

Definition at line 248 of file HTTPRequest.h.

◆ operator=()

HTTPRequest& Aws::WAFV2::Model::HTTPRequest::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetClientIP() [1/3]

void Aws::WAFV2::Model::HTTPRequest::SetClientIP ( Aws::String &&  value)
inline

The IP address that the request originated from. If the web ACL is associated with a CloudFront distribution, this is the value of one of the following fields in CloudFront access logs:

  • c-ip, if the viewer did not use an HTTP proxy or a load balancer to send the request

  • x-forwarded-for, if the viewer did use an HTTP proxy or a load balancer to send the request

Definition at line 83 of file HTTPRequest.h.

◆ SetClientIP() [2/3]

void Aws::WAFV2::Model::HTTPRequest::SetClientIP ( const Aws::String value)
inline

The IP address that the request originated from. If the web ACL is associated with a CloudFront distribution, this is the value of one of the following fields in CloudFront access logs:

  • c-ip, if the viewer did not use an HTTP proxy or a load balancer to send the request

  • x-forwarded-for, if the viewer did use an HTTP proxy or a load balancer to send the request

Definition at line 73 of file HTTPRequest.h.

◆ SetClientIP() [3/3]

void Aws::WAFV2::Model::HTTPRequest::SetClientIP ( const char *  value)
inline

The IP address that the request originated from. If the web ACL is associated with a CloudFront distribution, this is the value of one of the following fields in CloudFront access logs:

  • c-ip, if the viewer did not use an HTTP proxy or a load balancer to send the request

  • x-forwarded-for, if the viewer did use an HTTP proxy or a load balancer to send the request

Definition at line 93 of file HTTPRequest.h.

◆ SetCountry() [1/3]

void Aws::WAFV2::Model::HTTPRequest::SetCountry ( Aws::String &&  value)
inline

The two-letter country code for the country that the request originated from. For a current list of country codes, see the Wikipedia entry ISO 3166-1 alpha-2.

Definition at line 156 of file HTTPRequest.h.

◆ SetCountry() [2/3]

void Aws::WAFV2::Model::HTTPRequest::SetCountry ( const Aws::String value)
inline

The two-letter country code for the country that the request originated from. For a current list of country codes, see the Wikipedia entry ISO 3166-1 alpha-2.

Definition at line 148 of file HTTPRequest.h.

◆ SetCountry() [3/3]

void Aws::WAFV2::Model::HTTPRequest::SetCountry ( const char *  value)
inline

The two-letter country code for the country that the request originated from. For a current list of country codes, see the Wikipedia entry ISO 3166-1 alpha-2.

Definition at line 164 of file HTTPRequest.h.

◆ SetHeaders() [1/2]

void Aws::WAFV2::Model::HTTPRequest::SetHeaders ( Aws::Vector< HTTPHeader > &&  value)
inline

A complex type that contains the name and value for each header in the sampled web request.

Definition at line 352 of file HTTPRequest.h.

◆ SetHeaders() [2/2]

void Aws::WAFV2::Model::HTTPRequest::SetHeaders ( const Aws::Vector< HTTPHeader > &  value)
inline

A complex type that contains the name and value for each header in the sampled web request.

Definition at line 346 of file HTTPRequest.h.

◆ SetHTTPVersion() [1/3]

void Aws::WAFV2::Model::HTTPRequest::SetHTTPVersion ( Aws::String &&  value)
inline

The HTTP version specified in the sampled web request, for example, HTTP/1.1.

Definition at line 303 of file HTTPRequest.h.

◆ SetHTTPVersion() [2/3]

void Aws::WAFV2::Model::HTTPRequest::SetHTTPVersion ( const Aws::String value)
inline

The HTTP version specified in the sampled web request, for example, HTTP/1.1.

Definition at line 297 of file HTTPRequest.h.

◆ SetHTTPVersion() [3/3]

void Aws::WAFV2::Model::HTTPRequest::SetHTTPVersion ( const char *  value)
inline

The HTTP version specified in the sampled web request, for example, HTTP/1.1.

Definition at line 309 of file HTTPRequest.h.

◆ SetMethod() [1/3]

void Aws::WAFV2::Model::HTTPRequest::SetMethod ( Aws::String &&  value)
inline

The HTTP method specified in the sampled web request.

Definition at line 258 of file HTTPRequest.h.

◆ SetMethod() [2/3]

void Aws::WAFV2::Model::HTTPRequest::SetMethod ( const Aws::String value)
inline

The HTTP method specified in the sampled web request.

Definition at line 253 of file HTTPRequest.h.

◆ SetMethod() [3/3]

void Aws::WAFV2::Model::HTTPRequest::SetMethod ( const char *  value)
inline

The HTTP method specified in the sampled web request.

Definition at line 263 of file HTTPRequest.h.

◆ SetURI() [1/3]

void Aws::WAFV2::Model::HTTPRequest::SetURI ( Aws::String &&  value)
inline

The URI path of the request, which identifies the resource, for example, /images/daily-ad.jpg.

Definition at line 213 of file HTTPRequest.h.

◆ SetURI() [2/3]

void Aws::WAFV2::Model::HTTPRequest::SetURI ( const Aws::String value)
inline

The URI path of the request, which identifies the resource, for example, /images/daily-ad.jpg.

Definition at line 207 of file HTTPRequest.h.

◆ SetURI() [3/3]

void Aws::WAFV2::Model::HTTPRequest::SetURI ( const char *  value)
inline

The URI path of the request, which identifies the resource, for example, /images/daily-ad.jpg.

Definition at line 219 of file HTTPRequest.h.

◆ URIHasBeenSet()

bool Aws::WAFV2::Model::HTTPRequest::URIHasBeenSet ( ) const
inline

The URI path of the request, which identifies the resource, for example, /images/daily-ad.jpg.

Definition at line 201 of file HTTPRequest.h.

◆ WithClientIP() [1/3]

HTTPRequest& Aws::WAFV2::Model::HTTPRequest::WithClientIP ( Aws::String &&  value)
inline

The IP address that the request originated from. If the web ACL is associated with a CloudFront distribution, this is the value of one of the following fields in CloudFront access logs:

  • c-ip, if the viewer did not use an HTTP proxy or a load balancer to send the request

  • x-forwarded-for, if the viewer did use an HTTP proxy or a load balancer to send the request

Definition at line 113 of file HTTPRequest.h.

◆ WithClientIP() [2/3]

HTTPRequest& Aws::WAFV2::Model::HTTPRequest::WithClientIP ( const Aws::String value)
inline

The IP address that the request originated from. If the web ACL is associated with a CloudFront distribution, this is the value of one of the following fields in CloudFront access logs:

  • c-ip, if the viewer did not use an HTTP proxy or a load balancer to send the request

  • x-forwarded-for, if the viewer did use an HTTP proxy or a load balancer to send the request

Definition at line 103 of file HTTPRequest.h.

◆ WithClientIP() [3/3]

HTTPRequest& Aws::WAFV2::Model::HTTPRequest::WithClientIP ( const char *  value)
inline

The IP address that the request originated from. If the web ACL is associated with a CloudFront distribution, this is the value of one of the following fields in CloudFront access logs:

  • c-ip, if the viewer did not use an HTTP proxy or a load balancer to send the request

  • x-forwarded-for, if the viewer did use an HTTP proxy or a load balancer to send the request

Definition at line 123 of file HTTPRequest.h.

◆ WithCountry() [1/3]

HTTPRequest& Aws::WAFV2::Model::HTTPRequest::WithCountry ( Aws::String &&  value)
inline

The two-letter country code for the country that the request originated from. For a current list of country codes, see the Wikipedia entry ISO 3166-1 alpha-2.

Definition at line 180 of file HTTPRequest.h.

◆ WithCountry() [2/3]

HTTPRequest& Aws::WAFV2::Model::HTTPRequest::WithCountry ( const Aws::String value)
inline

The two-letter country code for the country that the request originated from. For a current list of country codes, see the Wikipedia entry ISO 3166-1 alpha-2.

Definition at line 172 of file HTTPRequest.h.

◆ WithCountry() [3/3]

HTTPRequest& Aws::WAFV2::Model::HTTPRequest::WithCountry ( const char *  value)
inline

The two-letter country code for the country that the request originated from. For a current list of country codes, see the Wikipedia entry ISO 3166-1 alpha-2.

Definition at line 188 of file HTTPRequest.h.

◆ WithHeaders() [1/2]

HTTPRequest& Aws::WAFV2::Model::HTTPRequest::WithHeaders ( Aws::Vector< HTTPHeader > &&  value)
inline

A complex type that contains the name and value for each header in the sampled web request.

Definition at line 364 of file HTTPRequest.h.

◆ WithHeaders() [2/2]

HTTPRequest& Aws::WAFV2::Model::HTTPRequest::WithHeaders ( const Aws::Vector< HTTPHeader > &  value)
inline

A complex type that contains the name and value for each header in the sampled web request.

Definition at line 358 of file HTTPRequest.h.

◆ WithHTTPVersion() [1/3]

HTTPRequest& Aws::WAFV2::Model::HTTPRequest::WithHTTPVersion ( Aws::String &&  value)
inline

The HTTP version specified in the sampled web request, for example, HTTP/1.1.

Definition at line 321 of file HTTPRequest.h.

◆ WithHTTPVersion() [2/3]

HTTPRequest& Aws::WAFV2::Model::HTTPRequest::WithHTTPVersion ( const Aws::String value)
inline

The HTTP version specified in the sampled web request, for example, HTTP/1.1.

Definition at line 315 of file HTTPRequest.h.

◆ WithHTTPVersion() [3/3]

HTTPRequest& Aws::WAFV2::Model::HTTPRequest::WithHTTPVersion ( const char *  value)
inline

The HTTP version specified in the sampled web request, for example, HTTP/1.1.

Definition at line 327 of file HTTPRequest.h.

◆ WithMethod() [1/3]

HTTPRequest& Aws::WAFV2::Model::HTTPRequest::WithMethod ( Aws::String &&  value)
inline

The HTTP method specified in the sampled web request.

Definition at line 273 of file HTTPRequest.h.

◆ WithMethod() [2/3]

HTTPRequest& Aws::WAFV2::Model::HTTPRequest::WithMethod ( const Aws::String value)
inline

The HTTP method specified in the sampled web request.

Definition at line 268 of file HTTPRequest.h.

◆ WithMethod() [3/3]

HTTPRequest& Aws::WAFV2::Model::HTTPRequest::WithMethod ( const char *  value)
inline

The HTTP method specified in the sampled web request.

Definition at line 278 of file HTTPRequest.h.

◆ WithURI() [1/3]

HTTPRequest& Aws::WAFV2::Model::HTTPRequest::WithURI ( Aws::String &&  value)
inline

The URI path of the request, which identifies the resource, for example, /images/daily-ad.jpg.

Definition at line 231 of file HTTPRequest.h.

◆ WithURI() [2/3]

HTTPRequest& Aws::WAFV2::Model::HTTPRequest::WithURI ( const Aws::String value)
inline

The URI path of the request, which identifies the resource, for example, /images/daily-ad.jpg.

Definition at line 225 of file HTTPRequest.h.

◆ WithURI() [3/3]

HTTPRequest& Aws::WAFV2::Model::HTTPRequest::WithURI ( const char *  value)
inline

The URI path of the request, which identifies the resource, for example, /images/daily-ad.jpg.

Definition at line 237 of file HTTPRequest.h.


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