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

#include <OriginRequestPolicyHeadersConfig.h>

Public Member Functions

 OriginRequestPolicyHeadersConfig ()
 
 OriginRequestPolicyHeadersConfig (const Aws::Utils::Xml::XmlNode &xmlNode)
 
OriginRequestPolicyHeadersConfigoperator= (const Aws::Utils::Xml::XmlNode &xmlNode)
 
void AddToNode (Aws::Utils::Xml::XmlNode &parentNode) const
 
const OriginRequestPolicyHeaderBehaviorGetHeaderBehavior () const
 
bool HeaderBehaviorHasBeenSet () const
 
void SetHeaderBehavior (const OriginRequestPolicyHeaderBehavior &value)
 
void SetHeaderBehavior (OriginRequestPolicyHeaderBehavior &&value)
 
OriginRequestPolicyHeadersConfigWithHeaderBehavior (const OriginRequestPolicyHeaderBehavior &value)
 
OriginRequestPolicyHeadersConfigWithHeaderBehavior (OriginRequestPolicyHeaderBehavior &&value)
 
const HeadersGetHeaders () const
 
bool HeadersHasBeenSet () const
 
void SetHeaders (const Headers &value)
 
void SetHeaders (Headers &&value)
 
OriginRequestPolicyHeadersConfigWithHeaders (const Headers &value)
 
OriginRequestPolicyHeadersConfigWithHeaders (Headers &&value)
 

Detailed Description

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

See Also:

AWS API Reference

Definition at line 33 of file OriginRequestPolicyHeadersConfig.h.

Constructor & Destructor Documentation

◆ OriginRequestPolicyHeadersConfig() [1/2]

Aws::CloudFront::Model::OriginRequestPolicyHeadersConfig::OriginRequestPolicyHeadersConfig ( )

◆ OriginRequestPolicyHeadersConfig() [2/2]

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

Member Function Documentation

◆ AddToNode()

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

◆ GetHeaderBehavior()

const OriginRequestPolicyHeaderBehavior& Aws::CloudFront::Model::OriginRequestPolicyHeadersConfig::GetHeaderBehavior ( ) const
inline

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

  • none – HTTP headers are not included in requests that CloudFront sends to the origin. Even when this field is set to none, any headers that are listed in a CachePolicy are included in origin requests.

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

  • allViewer – All HTTP headers in viewer requests are included in requests that CloudFront sends to the origin.

  • allViewerAndWhitelistCloudFront – All HTTP headers in viewer requests and the additional CloudFront headers that are listed in the Headers type are included in requests that CloudFront sends to the origin. The additional headers are added by CloudFront.

Definition at line 58 of file OriginRequestPolicyHeadersConfig.h.

◆ GetHeaders()

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

Definition at line 147 of file OriginRequestPolicyHeadersConfig.h.

◆ HeaderBehaviorHasBeenSet()

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

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

  • none – HTTP headers are not included in requests that CloudFront sends to the origin. Even when this field is set to none, any headers that are listed in a CachePolicy are included in origin requests.

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

  • allViewer – All HTTP headers in viewer requests are included in requests that CloudFront sends to the origin.

  • allViewerAndWhitelistCloudFront – All HTTP headers in viewer requests and the additional CloudFront headers that are listed in the Headers type are included in requests that CloudFront sends to the origin. The additional headers are added by CloudFront.

Definition at line 75 of file OriginRequestPolicyHeadersConfig.h.

◆ HeadersHasBeenSet()

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

Definition at line 150 of file OriginRequestPolicyHeadersConfig.h.

◆ operator=()

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

◆ SetHeaderBehavior() [1/2]

void Aws::CloudFront::Model::OriginRequestPolicyHeadersConfig::SetHeaderBehavior ( const OriginRequestPolicyHeaderBehavior value)
inline

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

  • none – HTTP headers are not included in requests that CloudFront sends to the origin. Even when this field is set to none, any headers that are listed in a CachePolicy are included in origin requests.

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

  • allViewer – All HTTP headers in viewer requests are included in requests that CloudFront sends to the origin.

  • allViewerAndWhitelistCloudFront – All HTTP headers in viewer requests and the additional CloudFront headers that are listed in the Headers type are included in requests that CloudFront sends to the origin. The additional headers are added by CloudFront.

Definition at line 92 of file OriginRequestPolicyHeadersConfig.h.

◆ SetHeaderBehavior() [2/2]

void Aws::CloudFront::Model::OriginRequestPolicyHeadersConfig::SetHeaderBehavior ( OriginRequestPolicyHeaderBehavior &&  value)
inline

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

  • none – HTTP headers are not included in requests that CloudFront sends to the origin. Even when this field is set to none, any headers that are listed in a CachePolicy are included in origin requests.

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

  • allViewer – All HTTP headers in viewer requests are included in requests that CloudFront sends to the origin.

  • allViewerAndWhitelistCloudFront – All HTTP headers in viewer requests and the additional CloudFront headers that are listed in the Headers type are included in requests that CloudFront sends to the origin. The additional headers are added by CloudFront.

Definition at line 109 of file OriginRequestPolicyHeadersConfig.h.

◆ SetHeaders() [1/2]

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

Definition at line 153 of file OriginRequestPolicyHeadersConfig.h.

◆ SetHeaders() [2/2]

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

Definition at line 156 of file OriginRequestPolicyHeadersConfig.h.

◆ WithHeaderBehavior() [1/2]

OriginRequestPolicyHeadersConfig& Aws::CloudFront::Model::OriginRequestPolicyHeadersConfig::WithHeaderBehavior ( const OriginRequestPolicyHeaderBehavior value)
inline

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

  • none – HTTP headers are not included in requests that CloudFront sends to the origin. Even when this field is set to none, any headers that are listed in a CachePolicy are included in origin requests.

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

  • allViewer – All HTTP headers in viewer requests are included in requests that CloudFront sends to the origin.

  • allViewerAndWhitelistCloudFront – All HTTP headers in viewer requests and the additional CloudFront headers that are listed in the Headers type are included in requests that CloudFront sends to the origin. The additional headers are added by CloudFront.

Definition at line 126 of file OriginRequestPolicyHeadersConfig.h.

◆ WithHeaderBehavior() [2/2]

OriginRequestPolicyHeadersConfig& Aws::CloudFront::Model::OriginRequestPolicyHeadersConfig::WithHeaderBehavior ( OriginRequestPolicyHeaderBehavior &&  value)
inline

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

  • none – HTTP headers are not included in requests that CloudFront sends to the origin. Even when this field is set to none, any headers that are listed in a CachePolicy are included in origin requests.

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

  • allViewer – All HTTP headers in viewer requests are included in requests that CloudFront sends to the origin.

  • allViewerAndWhitelistCloudFront – All HTTP headers in viewer requests and the additional CloudFront headers that are listed in the Headers type are included in requests that CloudFront sends to the origin. The additional headers are added by CloudFront.

Definition at line 143 of file OriginRequestPolicyHeadersConfig.h.

◆ WithHeaders() [1/2]

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

Definition at line 159 of file OriginRequestPolicyHeadersConfig.h.

◆ WithHeaders() [2/2]

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

Definition at line 162 of file OriginRequestPolicyHeadersConfig.h.


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