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

#include <CustomResponseBody.h>

Public Member Functions

 CustomResponseBody ()
 
 CustomResponseBody (Aws::Utils::Json::JsonView jsonValue)
 
CustomResponseBodyoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const ResponseContentTypeGetContentType () const
 
bool ContentTypeHasBeenSet () const
 
void SetContentType (const ResponseContentType &value)
 
void SetContentType (ResponseContentType &&value)
 
CustomResponseBodyWithContentType (const ResponseContentType &value)
 
CustomResponseBodyWithContentType (ResponseContentType &&value)
 
const Aws::StringGetContent () const
 
bool ContentHasBeenSet () const
 
void SetContent (const Aws::String &value)
 
void SetContent (Aws::String &&value)
 
void SetContent (const char *value)
 
CustomResponseBodyWithContent (const Aws::String &value)
 
CustomResponseBodyWithContent (Aws::String &&value)
 
CustomResponseBodyWithContent (const char *value)
 

Detailed Description

The response body to use in a custom response to a web request. This is referenced by key from CustomResponse CustomResponseBodyKey.

See Also:

AWS API Reference

Definition at line 34 of file CustomResponseBody.h.

Constructor & Destructor Documentation

◆ CustomResponseBody() [1/2]

Aws::WAFV2::Model::CustomResponseBody::CustomResponseBody ( )

◆ CustomResponseBody() [2/2]

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

Member Function Documentation

◆ ContentHasBeenSet()

bool Aws::WAFV2::Model::CustomResponseBody::ContentHasBeenSet ( ) const
inline

The payload of the custom response.

You can use JSON escape strings in JSON content. To do this, you must specify JSON content in the ContentType setting.

For information about the limits on count and size for custom request and response settings, see AWS WAF quotas in the AWS WAF Developer Guide.

Definition at line 102 of file CustomResponseBody.h.

◆ ContentTypeHasBeenSet()

bool Aws::WAFV2::Model::CustomResponseBody::ContentTypeHasBeenSet ( ) const
inline

The type of content in the payload that you are defining in the Content string.

Definition at line 53 of file CustomResponseBody.h.

◆ GetContent()

const Aws::String& Aws::WAFV2::Model::CustomResponseBody::GetContent ( ) const
inline

The payload of the custom response.

You can use JSON escape strings in JSON content. To do this, you must specify JSON content in the ContentType setting.

For information about the limits on count and size for custom request and response settings, see AWS WAF quotas in the AWS WAF Developer Guide.

Definition at line 90 of file CustomResponseBody.h.

◆ GetContentType()

const ResponseContentType& Aws::WAFV2::Model::CustomResponseBody::GetContentType ( ) const
inline

The type of content in the payload that you are defining in the Content string.

Definition at line 47 of file CustomResponseBody.h.

◆ Jsonize()

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

◆ operator=()

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

◆ SetContent() [1/3]

void Aws::WAFV2::Model::CustomResponseBody::SetContent ( Aws::String &&  value)
inline

The payload of the custom response.

You can use JSON escape strings in JSON content. To do this, you must specify JSON content in the ContentType setting.

For information about the limits on count and size for custom request and response settings, see AWS WAF quotas in the AWS WAF Developer Guide.

Definition at line 126 of file CustomResponseBody.h.

◆ SetContent() [2/3]

void Aws::WAFV2::Model::CustomResponseBody::SetContent ( const Aws::String value)
inline

The payload of the custom response.

You can use JSON escape strings in JSON content. To do this, you must specify JSON content in the ContentType setting.

For information about the limits on count and size for custom request and response settings, see AWS WAF quotas in the AWS WAF Developer Guide.

Definition at line 114 of file CustomResponseBody.h.

◆ SetContent() [3/3]

void Aws::WAFV2::Model::CustomResponseBody::SetContent ( const char *  value)
inline

The payload of the custom response.

You can use JSON escape strings in JSON content. To do this, you must specify JSON content in the ContentType setting.

For information about the limits on count and size for custom request and response settings, see AWS WAF quotas in the AWS WAF Developer Guide.

Definition at line 138 of file CustomResponseBody.h.

◆ SetContentType() [1/2]

void Aws::WAFV2::Model::CustomResponseBody::SetContentType ( const ResponseContentType value)
inline

The type of content in the payload that you are defining in the Content string.

Definition at line 59 of file CustomResponseBody.h.

◆ SetContentType() [2/2]

void Aws::WAFV2::Model::CustomResponseBody::SetContentType ( ResponseContentType &&  value)
inline

The type of content in the payload that you are defining in the Content string.

Definition at line 65 of file CustomResponseBody.h.

◆ WithContent() [1/3]

CustomResponseBody& Aws::WAFV2::Model::CustomResponseBody::WithContent ( Aws::String &&  value)
inline

The payload of the custom response.

You can use JSON escape strings in JSON content. To do this, you must specify JSON content in the ContentType setting.

For information about the limits on count and size for custom request and response settings, see AWS WAF quotas in the AWS WAF Developer Guide.

Definition at line 162 of file CustomResponseBody.h.

◆ WithContent() [2/3]

CustomResponseBody& Aws::WAFV2::Model::CustomResponseBody::WithContent ( const Aws::String value)
inline

The payload of the custom response.

You can use JSON escape strings in JSON content. To do this, you must specify JSON content in the ContentType setting.

For information about the limits on count and size for custom request and response settings, see AWS WAF quotas in the AWS WAF Developer Guide.

Definition at line 150 of file CustomResponseBody.h.

◆ WithContent() [3/3]

CustomResponseBody& Aws::WAFV2::Model::CustomResponseBody::WithContent ( const char *  value)
inline

The payload of the custom response.

You can use JSON escape strings in JSON content. To do this, you must specify JSON content in the ContentType setting.

For information about the limits on count and size for custom request and response settings, see AWS WAF quotas in the AWS WAF Developer Guide.

Definition at line 174 of file CustomResponseBody.h.

◆ WithContentType() [1/2]

CustomResponseBody& Aws::WAFV2::Model::CustomResponseBody::WithContentType ( const ResponseContentType value)
inline

The type of content in the payload that you are defining in the Content string.

Definition at line 71 of file CustomResponseBody.h.

◆ WithContentType() [2/2]

CustomResponseBody& Aws::WAFV2::Model::CustomResponseBody::WithContentType ( ResponseContentType &&  value)
inline

The type of content in the payload that you are defining in the Content string.

Definition at line 77 of file CustomResponseBody.h.


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