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

#include <CachePolicyCookiesConfig.h>

Public Member Functions

 CachePolicyCookiesConfig ()
 
 CachePolicyCookiesConfig (const Aws::Utils::Xml::XmlNode &xmlNode)
 
CachePolicyCookiesConfigoperator= (const Aws::Utils::Xml::XmlNode &xmlNode)
 
void AddToNode (Aws::Utils::Xml::XmlNode &parentNode) const
 
const CachePolicyCookieBehaviorGetCookieBehavior () const
 
bool CookieBehaviorHasBeenSet () const
 
void SetCookieBehavior (const CachePolicyCookieBehavior &value)
 
void SetCookieBehavior (CachePolicyCookieBehavior &&value)
 
CachePolicyCookiesConfigWithCookieBehavior (const CachePolicyCookieBehavior &value)
 
CachePolicyCookiesConfigWithCookieBehavior (CachePolicyCookieBehavior &&value)
 
const CookieNamesGetCookies () const
 
bool CookiesHasBeenSet () const
 
void SetCookies (const CookieNames &value)
 
void SetCookies (CookieNames &&value)
 
CachePolicyCookiesConfigWithCookies (const CookieNames &value)
 
CachePolicyCookiesConfigWithCookies (CookieNames &&value)
 

Detailed Description

An object that determines whether any cookies in viewer requests (and if so, which cookies) 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 CachePolicyCookiesConfig.h.

Constructor & Destructor Documentation

◆ CachePolicyCookiesConfig() [1/2]

Aws::CloudFront::Model::CachePolicyCookiesConfig::CachePolicyCookiesConfig ( )

◆ CachePolicyCookiesConfig() [2/2]

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

Member Function Documentation

◆ AddToNode()

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

◆ CookieBehaviorHasBeenSet()

bool Aws::CloudFront::Model::CachePolicyCookiesConfig::CookieBehaviorHasBeenSet ( ) const
inline

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

  • none – Cookies in viewer requests 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 cookies that are listed in an OriginRequestPolicy are included in origin requests.

  • whitelist – The cookies in viewer requests that are listed in the CookieNames type are included in the cache key and automatically included in requests that CloudFront sends to the origin.

  • allExcept – All cookies in viewer requests that are not listed in the CookieNames type are included in the cache key and automatically included in requests that CloudFront sends to the origin.

  • all – All cookies in viewer requests are included in the cache key and are automatically included in requests that CloudFront sends to the origin.

Definition at line 81 of file CachePolicyCookiesConfig.h.

◆ CookiesHasBeenSet()

bool Aws::CloudFront::Model::CachePolicyCookiesConfig::CookiesHasBeenSet ( ) const
inline

Definition at line 168 of file CachePolicyCookiesConfig.h.

◆ GetCookieBehavior()

const CachePolicyCookieBehavior& Aws::CloudFront::Model::CachePolicyCookiesConfig::GetCookieBehavior ( ) const
inline

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

  • none – Cookies in viewer requests 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 cookies that are listed in an OriginRequestPolicy are included in origin requests.

  • whitelist – The cookies in viewer requests that are listed in the CookieNames type are included in the cache key and automatically included in requests that CloudFront sends to the origin.

  • allExcept – All cookies in viewer requests that are not listed in the CookieNames type are included in the cache key and automatically included in requests that CloudFront sends to the origin.

  • all – All cookies in viewer requests are included in the cache key and are automatically included in requests that CloudFront sends to the origin.

Definition at line 61 of file CachePolicyCookiesConfig.h.

◆ GetCookies()

const CookieNames& Aws::CloudFront::Model::CachePolicyCookiesConfig::GetCookies ( ) const
inline

Definition at line 165 of file CachePolicyCookiesConfig.h.

◆ operator=()

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

◆ SetCookieBehavior() [1/2]

void Aws::CloudFront::Model::CachePolicyCookiesConfig::SetCookieBehavior ( CachePolicyCookieBehavior &&  value)
inline

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

  • none – Cookies in viewer requests 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 cookies that are listed in an OriginRequestPolicy are included in origin requests.

  • whitelist – The cookies in viewer requests that are listed in the CookieNames type are included in the cache key and automatically included in requests that CloudFront sends to the origin.

  • allExcept – All cookies in viewer requests that are not listed in the CookieNames type are included in the cache key and automatically included in requests that CloudFront sends to the origin.

  • all – All cookies in viewer requests are included in the cache key and are automatically included in requests that CloudFront sends to the origin.

Definition at line 121 of file CachePolicyCookiesConfig.h.

◆ SetCookieBehavior() [2/2]

void Aws::CloudFront::Model::CachePolicyCookiesConfig::SetCookieBehavior ( const CachePolicyCookieBehavior value)
inline

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

  • none – Cookies in viewer requests 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 cookies that are listed in an OriginRequestPolicy are included in origin requests.

  • whitelist – The cookies in viewer requests that are listed in the CookieNames type are included in the cache key and automatically included in requests that CloudFront sends to the origin.

  • allExcept – All cookies in viewer requests that are not listed in the CookieNames type are included in the cache key and automatically included in requests that CloudFront sends to the origin.

  • all – All cookies in viewer requests are included in the cache key and are automatically included in requests that CloudFront sends to the origin.

Definition at line 101 of file CachePolicyCookiesConfig.h.

◆ SetCookies() [1/2]

void Aws::CloudFront::Model::CachePolicyCookiesConfig::SetCookies ( const CookieNames value)
inline

Definition at line 171 of file CachePolicyCookiesConfig.h.

◆ SetCookies() [2/2]

void Aws::CloudFront::Model::CachePolicyCookiesConfig::SetCookies ( CookieNames &&  value)
inline

Definition at line 174 of file CachePolicyCookiesConfig.h.

◆ WithCookieBehavior() [1/2]

CachePolicyCookiesConfig& Aws::CloudFront::Model::CachePolicyCookiesConfig::WithCookieBehavior ( CachePolicyCookieBehavior &&  value)
inline

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

  • none – Cookies in viewer requests 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 cookies that are listed in an OriginRequestPolicy are included in origin requests.

  • whitelist – The cookies in viewer requests that are listed in the CookieNames type are included in the cache key and automatically included in requests that CloudFront sends to the origin.

  • allExcept – All cookies in viewer requests that are not listed in the CookieNames type are included in the cache key and automatically included in requests that CloudFront sends to the origin.

  • all – All cookies in viewer requests are included in the cache key and are automatically included in requests that CloudFront sends to the origin.

Definition at line 161 of file CachePolicyCookiesConfig.h.

◆ WithCookieBehavior() [2/2]

CachePolicyCookiesConfig& Aws::CloudFront::Model::CachePolicyCookiesConfig::WithCookieBehavior ( const CachePolicyCookieBehavior value)
inline

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

  • none – Cookies in viewer requests 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 cookies that are listed in an OriginRequestPolicy are included in origin requests.

  • whitelist – The cookies in viewer requests that are listed in the CookieNames type are included in the cache key and automatically included in requests that CloudFront sends to the origin.

  • allExcept – All cookies in viewer requests that are not listed in the CookieNames type are included in the cache key and automatically included in requests that CloudFront sends to the origin.

  • all – All cookies in viewer requests are included in the cache key and are automatically included in requests that CloudFront sends to the origin.

Definition at line 141 of file CachePolicyCookiesConfig.h.

◆ WithCookies() [1/2]

CachePolicyCookiesConfig& Aws::CloudFront::Model::CachePolicyCookiesConfig::WithCookies ( const CookieNames value)
inline

Definition at line 177 of file CachePolicyCookiesConfig.h.

◆ WithCookies() [2/2]

CachePolicyCookiesConfig& Aws::CloudFront::Model::CachePolicyCookiesConfig::WithCookies ( CookieNames &&  value)
inline

Definition at line 180 of file CachePolicyCookiesConfig.h.


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