AWS SDK for C++  1.9.108
AWS SDK for C++
Public Member Functions | List of all members
Aws::CloudFront::Model::CustomErrorResponses Class Reference

#include <CustomErrorResponses.h>

Public Member Functions

 CustomErrorResponses ()
 
 CustomErrorResponses (const Aws::Utils::Xml::XmlNode &xmlNode)
 
CustomErrorResponsesoperator= (const Aws::Utils::Xml::XmlNode &xmlNode)
 
void AddToNode (Aws::Utils::Xml::XmlNode &parentNode) const
 
int GetQuantity () const
 
bool QuantityHasBeenSet () const
 
void SetQuantity (int value)
 
CustomErrorResponsesWithQuantity (int value)
 
const Aws::Vector< CustomErrorResponse > & GetItems () const
 
bool ItemsHasBeenSet () const
 
void SetItems (const Aws::Vector< CustomErrorResponse > &value)
 
void SetItems (Aws::Vector< CustomErrorResponse > &&value)
 
CustomErrorResponsesWithItems (const Aws::Vector< CustomErrorResponse > &value)
 
CustomErrorResponsesWithItems (Aws::Vector< CustomErrorResponse > &&value)
 
CustomErrorResponsesAddItems (const CustomErrorResponse &value)
 
CustomErrorResponsesAddItems (CustomErrorResponse &&value)
 

Detailed Description

A complex type that controls:

For more information about custom error pages, see Customizing Error Responses in the Amazon CloudFront Developer Guide.

See Also:

AWS API Reference

Definition at line 38 of file CustomErrorResponses.h.

Constructor & Destructor Documentation

◆ CustomErrorResponses() [1/2]

Aws::CloudFront::Model::CustomErrorResponses::CustomErrorResponses ( )

◆ CustomErrorResponses() [2/2]

Aws::CloudFront::Model::CustomErrorResponses::CustomErrorResponses ( const Aws::Utils::Xml::XmlNode xmlNode)

Member Function Documentation

◆ AddItems() [1/2]

CustomErrorResponses& Aws::CloudFront::Model::CustomErrorResponses::AddItems ( const CustomErrorResponse value)
inline

A complex type that contains a CustomErrorResponse element for each HTTP status code for which you want to specify a custom error page and/or a caching duration.

Definition at line 124 of file CustomErrorResponses.h.

◆ AddItems() [2/2]

CustomErrorResponses& Aws::CloudFront::Model::CustomErrorResponses::AddItems ( CustomErrorResponse &&  value)
inline

A complex type that contains a CustomErrorResponse element for each HTTP status code for which you want to specify a custom error page and/or a caching duration.

Definition at line 131 of file CustomErrorResponses.h.

◆ AddToNode()

void Aws::CloudFront::Model::CustomErrorResponses::AddToNode ( Aws::Utils::Xml::XmlNode parentNode) const

◆ GetItems()

const Aws::Vector<CustomErrorResponse>& Aws::CloudFront::Model::CustomErrorResponses::GetItems ( ) const
inline

A complex type that contains a CustomErrorResponse element for each HTTP status code for which you want to specify a custom error page and/or a caching duration.

Definition at line 82 of file CustomErrorResponses.h.

◆ GetQuantity()

int Aws::CloudFront::Model::CustomErrorResponses::GetQuantity ( ) const
inline

The number of HTTP status codes for which you want to specify a custom error page and/or a caching duration. If Quantity is 0, you can omit Items.

Definition at line 53 of file CustomErrorResponses.h.

◆ ItemsHasBeenSet()

bool Aws::CloudFront::Model::CustomErrorResponses::ItemsHasBeenSet ( ) const
inline

A complex type that contains a CustomErrorResponse element for each HTTP status code for which you want to specify a custom error page and/or a caching duration.

Definition at line 89 of file CustomErrorResponses.h.

◆ operator=()

CustomErrorResponses& Aws::CloudFront::Model::CustomErrorResponses::operator= ( const Aws::Utils::Xml::XmlNode xmlNode)

◆ QuantityHasBeenSet()

bool Aws::CloudFront::Model::CustomErrorResponses::QuantityHasBeenSet ( ) const
inline

The number of HTTP status codes for which you want to specify a custom error page and/or a caching duration. If Quantity is 0, you can omit Items.

Definition at line 60 of file CustomErrorResponses.h.

◆ SetItems() [1/2]

void Aws::CloudFront::Model::CustomErrorResponses::SetItems ( Aws::Vector< CustomErrorResponse > &&  value)
inline

A complex type that contains a CustomErrorResponse element for each HTTP status code for which you want to specify a custom error page and/or a caching duration.

Definition at line 103 of file CustomErrorResponses.h.

◆ SetItems() [2/2]

void Aws::CloudFront::Model::CustomErrorResponses::SetItems ( const Aws::Vector< CustomErrorResponse > &  value)
inline

A complex type that contains a CustomErrorResponse element for each HTTP status code for which you want to specify a custom error page and/or a caching duration.

Definition at line 96 of file CustomErrorResponses.h.

◆ SetQuantity()

void Aws::CloudFront::Model::CustomErrorResponses::SetQuantity ( int  value)
inline

The number of HTTP status codes for which you want to specify a custom error page and/or a caching duration. If Quantity is 0, you can omit Items.

Definition at line 67 of file CustomErrorResponses.h.

◆ WithItems() [1/2]

CustomErrorResponses& Aws::CloudFront::Model::CustomErrorResponses::WithItems ( Aws::Vector< CustomErrorResponse > &&  value)
inline

A complex type that contains a CustomErrorResponse element for each HTTP status code for which you want to specify a custom error page and/or a caching duration.

Definition at line 117 of file CustomErrorResponses.h.

◆ WithItems() [2/2]

CustomErrorResponses& Aws::CloudFront::Model::CustomErrorResponses::WithItems ( const Aws::Vector< CustomErrorResponse > &  value)
inline

A complex type that contains a CustomErrorResponse element for each HTTP status code for which you want to specify a custom error page and/or a caching duration.

Definition at line 110 of file CustomErrorResponses.h.

◆ WithQuantity()

CustomErrorResponses& Aws::CloudFront::Model::CustomErrorResponses::WithQuantity ( int  value)
inline

The number of HTTP status codes for which you want to specify a custom error page and/or a caching duration. If Quantity is 0, you can omit Items.

Definition at line 74 of file CustomErrorResponses.h.


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