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

#include <OriginRequestPolicyConfig.h>

Public Member Functions

 OriginRequestPolicyConfig ()
 
 OriginRequestPolicyConfig (const Aws::Utils::Xml::XmlNode &xmlNode)
 
OriginRequestPolicyConfigoperator= (const Aws::Utils::Xml::XmlNode &xmlNode)
 
void AddToNode (Aws::Utils::Xml::XmlNode &parentNode) const
 
const Aws::StringGetComment () const
 
bool CommentHasBeenSet () const
 
void SetComment (const Aws::String &value)
 
void SetComment (Aws::String &&value)
 
void SetComment (const char *value)
 
OriginRequestPolicyConfigWithComment (const Aws::String &value)
 
OriginRequestPolicyConfigWithComment (Aws::String &&value)
 
OriginRequestPolicyConfigWithComment (const char *value)
 
const Aws::StringGetName () const
 
bool NameHasBeenSet () const
 
void SetName (const Aws::String &value)
 
void SetName (Aws::String &&value)
 
void SetName (const char *value)
 
OriginRequestPolicyConfigWithName (const Aws::String &value)
 
OriginRequestPolicyConfigWithName (Aws::String &&value)
 
OriginRequestPolicyConfigWithName (const char *value)
 
const OriginRequestPolicyHeadersConfigGetHeadersConfig () const
 
bool HeadersConfigHasBeenSet () const
 
void SetHeadersConfig (const OriginRequestPolicyHeadersConfig &value)
 
void SetHeadersConfig (OriginRequestPolicyHeadersConfig &&value)
 
OriginRequestPolicyConfigWithHeadersConfig (const OriginRequestPolicyHeadersConfig &value)
 
OriginRequestPolicyConfigWithHeadersConfig (OriginRequestPolicyHeadersConfig &&value)
 
const OriginRequestPolicyCookiesConfigGetCookiesConfig () const
 
bool CookiesConfigHasBeenSet () const
 
void SetCookiesConfig (const OriginRequestPolicyCookiesConfig &value)
 
void SetCookiesConfig (OriginRequestPolicyCookiesConfig &&value)
 
OriginRequestPolicyConfigWithCookiesConfig (const OriginRequestPolicyCookiesConfig &value)
 
OriginRequestPolicyConfigWithCookiesConfig (OriginRequestPolicyCookiesConfig &&value)
 
const OriginRequestPolicyQueryStringsConfigGetQueryStringsConfig () const
 
bool QueryStringsConfigHasBeenSet () const
 
void SetQueryStringsConfig (const OriginRequestPolicyQueryStringsConfig &value)
 
void SetQueryStringsConfig (OriginRequestPolicyQueryStringsConfig &&value)
 
OriginRequestPolicyConfigWithQueryStringsConfig (const OriginRequestPolicyQueryStringsConfig &value)
 
OriginRequestPolicyConfigWithQueryStringsConfig (OriginRequestPolicyQueryStringsConfig &&value)
 

Detailed Description

An origin request policy configuration.

This configuration determines the values that CloudFront includes in requests that it sends to the origin. Each request that CloudFront sends to the origin includes the following:

CloudFront sends a request when it can’t find an object in its cache that matches the request. If you want to send values to the origin and also include them in the cache key, use CachePolicy.

See Also:

AWS API Reference

Definition at line 46 of file OriginRequestPolicyConfig.h.

Constructor & Destructor Documentation

◆ OriginRequestPolicyConfig() [1/2]

Aws::CloudFront::Model::OriginRequestPolicyConfig::OriginRequestPolicyConfig ( )

◆ OriginRequestPolicyConfig() [2/2]

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

Member Function Documentation

◆ AddToNode()

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

◆ CommentHasBeenSet()

bool Aws::CloudFront::Model::OriginRequestPolicyConfig::CommentHasBeenSet ( ) const
inline

A comment to describe the origin request policy. The comment cannot be longer than 128 characters.

Definition at line 66 of file OriginRequestPolicyConfig.h.

◆ CookiesConfigHasBeenSet()

bool Aws::CloudFront::Model::OriginRequestPolicyConfig::CookiesConfigHasBeenSet ( ) const
inline

The cookies from viewer requests to include in origin requests.

Definition at line 191 of file OriginRequestPolicyConfig.h.

◆ GetComment()

const Aws::String& Aws::CloudFront::Model::OriginRequestPolicyConfig::GetComment ( ) const
inline

A comment to describe the origin request policy. The comment cannot be longer than 128 characters.

Definition at line 60 of file OriginRequestPolicyConfig.h.

◆ GetCookiesConfig()

const OriginRequestPolicyCookiesConfig& Aws::CloudFront::Model::OriginRequestPolicyConfig::GetCookiesConfig ( ) const
inline

The cookies from viewer requests to include in origin requests.

Definition at line 186 of file OriginRequestPolicyConfig.h.

◆ GetHeadersConfig()

const OriginRequestPolicyHeadersConfig& Aws::CloudFront::Model::OriginRequestPolicyConfig::GetHeadersConfig ( ) const
inline

The HTTP headers to include in origin requests. These can include headers from viewer requests and additional headers added by CloudFront.

Definition at line 150 of file OriginRequestPolicyConfig.h.

◆ GetName()

const Aws::String& Aws::CloudFront::Model::OriginRequestPolicyConfig::GetName ( ) const
inline

A unique name to identify the origin request policy.

Definition at line 108 of file OriginRequestPolicyConfig.h.

◆ GetQueryStringsConfig()

const OriginRequestPolicyQueryStringsConfig& Aws::CloudFront::Model::OriginRequestPolicyConfig::GetQueryStringsConfig ( ) const
inline

The URL query strings from viewer requests to include in origin requests.

Definition at line 217 of file OriginRequestPolicyConfig.h.

◆ HeadersConfigHasBeenSet()

bool Aws::CloudFront::Model::OriginRequestPolicyConfig::HeadersConfigHasBeenSet ( ) const
inline

The HTTP headers to include in origin requests. These can include headers from viewer requests and additional headers added by CloudFront.

Definition at line 156 of file OriginRequestPolicyConfig.h.

◆ NameHasBeenSet()

bool Aws::CloudFront::Model::OriginRequestPolicyConfig::NameHasBeenSet ( ) const
inline

A unique name to identify the origin request policy.

Definition at line 113 of file OriginRequestPolicyConfig.h.

◆ operator=()

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

◆ QueryStringsConfigHasBeenSet()

bool Aws::CloudFront::Model::OriginRequestPolicyConfig::QueryStringsConfigHasBeenSet ( ) const
inline

The URL query strings from viewer requests to include in origin requests.

Definition at line 222 of file OriginRequestPolicyConfig.h.

◆ SetComment() [1/3]

void Aws::CloudFront::Model::OriginRequestPolicyConfig::SetComment ( Aws::String &&  value)
inline

A comment to describe the origin request policy. The comment cannot be longer than 128 characters.

Definition at line 78 of file OriginRequestPolicyConfig.h.

◆ SetComment() [2/3]

void Aws::CloudFront::Model::OriginRequestPolicyConfig::SetComment ( const Aws::String value)
inline

A comment to describe the origin request policy. The comment cannot be longer than 128 characters.

Definition at line 72 of file OriginRequestPolicyConfig.h.

◆ SetComment() [3/3]

void Aws::CloudFront::Model::OriginRequestPolicyConfig::SetComment ( const char *  value)
inline

A comment to describe the origin request policy. The comment cannot be longer than 128 characters.

Definition at line 84 of file OriginRequestPolicyConfig.h.

◆ SetCookiesConfig() [1/2]

void Aws::CloudFront::Model::OriginRequestPolicyConfig::SetCookiesConfig ( const OriginRequestPolicyCookiesConfig value)
inline

The cookies from viewer requests to include in origin requests.

Definition at line 196 of file OriginRequestPolicyConfig.h.

◆ SetCookiesConfig() [2/2]

void Aws::CloudFront::Model::OriginRequestPolicyConfig::SetCookiesConfig ( OriginRequestPolicyCookiesConfig &&  value)
inline

The cookies from viewer requests to include in origin requests.

Definition at line 201 of file OriginRequestPolicyConfig.h.

◆ SetHeadersConfig() [1/2]

void Aws::CloudFront::Model::OriginRequestPolicyConfig::SetHeadersConfig ( const OriginRequestPolicyHeadersConfig value)
inline

The HTTP headers to include in origin requests. These can include headers from viewer requests and additional headers added by CloudFront.

Definition at line 162 of file OriginRequestPolicyConfig.h.

◆ SetHeadersConfig() [2/2]

void Aws::CloudFront::Model::OriginRequestPolicyConfig::SetHeadersConfig ( OriginRequestPolicyHeadersConfig &&  value)
inline

The HTTP headers to include in origin requests. These can include headers from viewer requests and additional headers added by CloudFront.

Definition at line 168 of file OriginRequestPolicyConfig.h.

◆ SetName() [1/3]

void Aws::CloudFront::Model::OriginRequestPolicyConfig::SetName ( Aws::String &&  value)
inline

A unique name to identify the origin request policy.

Definition at line 123 of file OriginRequestPolicyConfig.h.

◆ SetName() [2/3]

void Aws::CloudFront::Model::OriginRequestPolicyConfig::SetName ( const Aws::String value)
inline

A unique name to identify the origin request policy.

Definition at line 118 of file OriginRequestPolicyConfig.h.

◆ SetName() [3/3]

void Aws::CloudFront::Model::OriginRequestPolicyConfig::SetName ( const char *  value)
inline

A unique name to identify the origin request policy.

Definition at line 128 of file OriginRequestPolicyConfig.h.

◆ SetQueryStringsConfig() [1/2]

void Aws::CloudFront::Model::OriginRequestPolicyConfig::SetQueryStringsConfig ( const OriginRequestPolicyQueryStringsConfig value)
inline

The URL query strings from viewer requests to include in origin requests.

Definition at line 227 of file OriginRequestPolicyConfig.h.

◆ SetQueryStringsConfig() [2/2]

void Aws::CloudFront::Model::OriginRequestPolicyConfig::SetQueryStringsConfig ( OriginRequestPolicyQueryStringsConfig &&  value)
inline

The URL query strings from viewer requests to include in origin requests.

Definition at line 232 of file OriginRequestPolicyConfig.h.

◆ WithComment() [1/3]

OriginRequestPolicyConfig& Aws::CloudFront::Model::OriginRequestPolicyConfig::WithComment ( Aws::String &&  value)
inline

A comment to describe the origin request policy. The comment cannot be longer than 128 characters.

Definition at line 96 of file OriginRequestPolicyConfig.h.

◆ WithComment() [2/3]

OriginRequestPolicyConfig& Aws::CloudFront::Model::OriginRequestPolicyConfig::WithComment ( const Aws::String value)
inline

A comment to describe the origin request policy. The comment cannot be longer than 128 characters.

Definition at line 90 of file OriginRequestPolicyConfig.h.

◆ WithComment() [3/3]

OriginRequestPolicyConfig& Aws::CloudFront::Model::OriginRequestPolicyConfig::WithComment ( const char *  value)
inline

A comment to describe the origin request policy. The comment cannot be longer than 128 characters.

Definition at line 102 of file OriginRequestPolicyConfig.h.

◆ WithCookiesConfig() [1/2]

OriginRequestPolicyConfig& Aws::CloudFront::Model::OriginRequestPolicyConfig::WithCookiesConfig ( const OriginRequestPolicyCookiesConfig value)
inline

The cookies from viewer requests to include in origin requests.

Definition at line 206 of file OriginRequestPolicyConfig.h.

◆ WithCookiesConfig() [2/2]

OriginRequestPolicyConfig& Aws::CloudFront::Model::OriginRequestPolicyConfig::WithCookiesConfig ( OriginRequestPolicyCookiesConfig &&  value)
inline

The cookies from viewer requests to include in origin requests.

Definition at line 211 of file OriginRequestPolicyConfig.h.

◆ WithHeadersConfig() [1/2]

OriginRequestPolicyConfig& Aws::CloudFront::Model::OriginRequestPolicyConfig::WithHeadersConfig ( const OriginRequestPolicyHeadersConfig value)
inline

The HTTP headers to include in origin requests. These can include headers from viewer requests and additional headers added by CloudFront.

Definition at line 174 of file OriginRequestPolicyConfig.h.

◆ WithHeadersConfig() [2/2]

OriginRequestPolicyConfig& Aws::CloudFront::Model::OriginRequestPolicyConfig::WithHeadersConfig ( OriginRequestPolicyHeadersConfig &&  value)
inline

The HTTP headers to include in origin requests. These can include headers from viewer requests and additional headers added by CloudFront.

Definition at line 180 of file OriginRequestPolicyConfig.h.

◆ WithName() [1/3]

OriginRequestPolicyConfig& Aws::CloudFront::Model::OriginRequestPolicyConfig::WithName ( Aws::String &&  value)
inline

A unique name to identify the origin request policy.

Definition at line 138 of file OriginRequestPolicyConfig.h.

◆ WithName() [2/3]

OriginRequestPolicyConfig& Aws::CloudFront::Model::OriginRequestPolicyConfig::WithName ( const Aws::String value)
inline

A unique name to identify the origin request policy.

Definition at line 133 of file OriginRequestPolicyConfig.h.

◆ WithName() [3/3]

OriginRequestPolicyConfig& Aws::CloudFront::Model::OriginRequestPolicyConfig::WithName ( const char *  value)
inline

A unique name to identify the origin request policy.

Definition at line 143 of file OriginRequestPolicyConfig.h.

◆ WithQueryStringsConfig() [1/2]

OriginRequestPolicyConfig& Aws::CloudFront::Model::OriginRequestPolicyConfig::WithQueryStringsConfig ( const OriginRequestPolicyQueryStringsConfig value)
inline

The URL query strings from viewer requests to include in origin requests.

Definition at line 237 of file OriginRequestPolicyConfig.h.

◆ WithQueryStringsConfig() [2/2]

OriginRequestPolicyConfig& Aws::CloudFront::Model::OriginRequestPolicyConfig::WithQueryStringsConfig ( OriginRequestPolicyQueryStringsConfig &&  value)
inline

The URL query strings from viewer requests to include in origin requests.

Definition at line 242 of file OriginRequestPolicyConfig.h.


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