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

#include <CachePolicyHeadersConfig.h>

Public Member Functions

 CachePolicyHeadersConfig ()
 
 CachePolicyHeadersConfig (const Aws::Utils::Xml::XmlNode &xmlNode)
 
CachePolicyHeadersConfigoperator= (const Aws::Utils::Xml::XmlNode &xmlNode)
 
void AddToNode (Aws::Utils::Xml::XmlNode &parentNode) const
 
const CachePolicyHeaderBehaviorGetHeaderBehavior () const
 
bool HeaderBehaviorHasBeenSet () const
 
void SetHeaderBehavior (const CachePolicyHeaderBehavior &value)
 
void SetHeaderBehavior (CachePolicyHeaderBehavior &&value)
 
CachePolicyHeadersConfigWithHeaderBehavior (const CachePolicyHeaderBehavior &value)
 
CachePolicyHeadersConfigWithHeaderBehavior (CachePolicyHeaderBehavior &&value)
 
const HeadersGetHeaders () const
 
bool HeadersHasBeenSet () const
 
void SetHeaders (const Headers &value)
 
void SetHeaders (Headers &&value)
 
CachePolicyHeadersConfigWithHeaders (const Headers &value)
 
CachePolicyHeadersConfigWithHeaders (Headers &&value)
 

Detailed Description

An object that determines whether any HTTP headers (and if so, which headers) are included in the cache key and automatically included in requests that CloudFront sends to the origin.

See Also:

AWS API Reference

Definition at line 33 of file CachePolicyHeadersConfig.h.

Constructor & Destructor Documentation

◆ CachePolicyHeadersConfig() [1/2]

Aws::CloudFront::Model::CachePolicyHeadersConfig::CachePolicyHeadersConfig ( )

◆ CachePolicyHeadersConfig() [2/2]

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

Member Function Documentation

◆ AddToNode()

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

◆ GetHeaderBehavior()

const CachePolicyHeaderBehavior& Aws::CloudFront::Model::CachePolicyHeadersConfig::GetHeaderBehavior ( ) const
inline

Determines whether any HTTP headers are included in the cache key and automatically included in requests that CloudFront sends to the origin. Valid values are:

  • none – HTTP headers are not included in the cache key and are not automatically included in requests that CloudFront sends to the origin. Even when this field is set to none, any headers that are listed in an OriginRequestPolicy are included in origin requests.

  • whitelist – The HTTP headers that are listed in the Headers type are included in the cache key and are automatically included in requests that CloudFront sends to the origin.

Definition at line 55 of file CachePolicyHeadersConfig.h.

◆ GetHeaders()

const Headers& Aws::CloudFront::Model::CachePolicyHeadersConfig::GetHeaders ( ) const
inline

Definition at line 129 of file CachePolicyHeadersConfig.h.

◆ HeaderBehaviorHasBeenSet()

bool Aws::CloudFront::Model::CachePolicyHeadersConfig::HeaderBehaviorHasBeenSet ( ) const
inline

Determines whether any HTTP headers are included in the cache key and automatically included in requests that CloudFront sends to the origin. Valid values are:

  • none – HTTP headers are not included in the cache key and are not automatically included in requests that CloudFront sends to the origin. Even when this field is set to none, any headers that are listed in an OriginRequestPolicy are included in origin requests.

  • whitelist – The HTTP headers that are listed in the Headers type are included in the cache key and are automatically included in requests that CloudFront sends to the origin.

Definition at line 69 of file CachePolicyHeadersConfig.h.

◆ HeadersHasBeenSet()

bool Aws::CloudFront::Model::CachePolicyHeadersConfig::HeadersHasBeenSet ( ) const
inline

Definition at line 132 of file CachePolicyHeadersConfig.h.

◆ operator=()

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

◆ SetHeaderBehavior() [1/2]

void Aws::CloudFront::Model::CachePolicyHeadersConfig::SetHeaderBehavior ( CachePolicyHeaderBehavior &&  value)
inline

Determines whether any HTTP headers are included in the cache key and automatically included in requests that CloudFront sends to the origin. Valid values are:

  • none – HTTP headers are not included in the cache key and are not automatically included in requests that CloudFront sends to the origin. Even when this field is set to none, any headers that are listed in an OriginRequestPolicy are included in origin requests.

  • whitelist – The HTTP headers that are listed in the Headers type are included in the cache key and are automatically included in requests that CloudFront sends to the origin.

Definition at line 97 of file CachePolicyHeadersConfig.h.

◆ SetHeaderBehavior() [2/2]

void Aws::CloudFront::Model::CachePolicyHeadersConfig::SetHeaderBehavior ( const CachePolicyHeaderBehavior value)
inline

Determines whether any HTTP headers are included in the cache key and automatically included in requests that CloudFront sends to the origin. Valid values are:

  • none – HTTP headers are not included in the cache key and are not automatically included in requests that CloudFront sends to the origin. Even when this field is set to none, any headers that are listed in an OriginRequestPolicy are included in origin requests.

  • whitelist – The HTTP headers that are listed in the Headers type are included in the cache key and are automatically included in requests that CloudFront sends to the origin.

Definition at line 83 of file CachePolicyHeadersConfig.h.

◆ SetHeaders() [1/2]

void Aws::CloudFront::Model::CachePolicyHeadersConfig::SetHeaders ( const Headers value)
inline

Definition at line 135 of file CachePolicyHeadersConfig.h.

◆ SetHeaders() [2/2]

void Aws::CloudFront::Model::CachePolicyHeadersConfig::SetHeaders ( Headers &&  value)
inline

Definition at line 138 of file CachePolicyHeadersConfig.h.

◆ WithHeaderBehavior() [1/2]

CachePolicyHeadersConfig& Aws::CloudFront::Model::CachePolicyHeadersConfig::WithHeaderBehavior ( CachePolicyHeaderBehavior &&  value)
inline

Determines whether any HTTP headers are included in the cache key and automatically included in requests that CloudFront sends to the origin. Valid values are:

  • none – HTTP headers are not included in the cache key and are not automatically included in requests that CloudFront sends to the origin. Even when this field is set to none, any headers that are listed in an OriginRequestPolicy are included in origin requests.

  • whitelist – The HTTP headers that are listed in the Headers type are included in the cache key and are automatically included in requests that CloudFront sends to the origin.

Definition at line 125 of file CachePolicyHeadersConfig.h.

◆ WithHeaderBehavior() [2/2]

CachePolicyHeadersConfig& Aws::CloudFront::Model::CachePolicyHeadersConfig::WithHeaderBehavior ( const CachePolicyHeaderBehavior value)
inline

Determines whether any HTTP headers are included in the cache key and automatically included in requests that CloudFront sends to the origin. Valid values are:

  • none – HTTP headers are not included in the cache key and are not automatically included in requests that CloudFront sends to the origin. Even when this field is set to none, any headers that are listed in an OriginRequestPolicy are included in origin requests.

  • whitelist – The HTTP headers that are listed in the Headers type are included in the cache key and are automatically included in requests that CloudFront sends to the origin.

Definition at line 111 of file CachePolicyHeadersConfig.h.

◆ WithHeaders() [1/2]

CachePolicyHeadersConfig& Aws::CloudFront::Model::CachePolicyHeadersConfig::WithHeaders ( const Headers value)
inline

Definition at line 141 of file CachePolicyHeadersConfig.h.

◆ WithHeaders() [2/2]

CachePolicyHeadersConfig& Aws::CloudFront::Model::CachePolicyHeadersConfig::WithHeaders ( Headers &&  value)
inline

Definition at line 144 of file CachePolicyHeadersConfig.h.


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