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

#include <CachePolicy.h>

Public Member Functions

 CachePolicy ()
 
 CachePolicy (const Aws::Utils::Xml::XmlNode &xmlNode)
 
CachePolicyoperator= (const Aws::Utils::Xml::XmlNode &xmlNode)
 
void AddToNode (Aws::Utils::Xml::XmlNode &parentNode) const
 
const Aws::StringGetId () const
 
bool IdHasBeenSet () const
 
void SetId (const Aws::String &value)
 
void SetId (Aws::String &&value)
 
void SetId (const char *value)
 
CachePolicyWithId (const Aws::String &value)
 
CachePolicyWithId (Aws::String &&value)
 
CachePolicyWithId (const char *value)
 
const Aws::Utils::DateTimeGetLastModifiedTime () const
 
bool LastModifiedTimeHasBeenSet () const
 
void SetLastModifiedTime (const Aws::Utils::DateTime &value)
 
void SetLastModifiedTime (Aws::Utils::DateTime &&value)
 
CachePolicyWithLastModifiedTime (const Aws::Utils::DateTime &value)
 
CachePolicyWithLastModifiedTime (Aws::Utils::DateTime &&value)
 
const CachePolicyConfigGetCachePolicyConfig () const
 
bool CachePolicyConfigHasBeenSet () const
 
void SetCachePolicyConfig (const CachePolicyConfig &value)
 
void SetCachePolicyConfig (CachePolicyConfig &&value)
 
CachePolicyWithCachePolicyConfig (const CachePolicyConfig &value)
 
CachePolicyWithCachePolicyConfig (CachePolicyConfig &&value)
 

Detailed Description

A cache policy.

When it’s attached to a cache behavior, the cache policy determines the following:

The headers, cookies, and query strings that are included in the cache key are automatically included in requests that CloudFront sends to the origin. CloudFront sends a request when it can’t find a valid object in its cache that matches the request’s cache key. If you want to send values to the origin but not include them in the cache key, use OriginRequestPolicy.

See Also:

AWS API Reference

Definition at line 43 of file CachePolicy.h.

Constructor & Destructor Documentation

◆ CachePolicy() [1/2]

Aws::CloudFront::Model::CachePolicy::CachePolicy ( )

◆ CachePolicy() [2/2]

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

Member Function Documentation

◆ AddToNode()

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

◆ CachePolicyConfigHasBeenSet()

bool Aws::CloudFront::Model::CachePolicy::CachePolicyConfigHasBeenSet ( ) const
inline

The cache policy configuration.

Definition at line 133 of file CachePolicy.h.

◆ GetCachePolicyConfig()

const CachePolicyConfig& Aws::CloudFront::Model::CachePolicy::GetCachePolicyConfig ( ) const
inline

The cache policy configuration.

Definition at line 128 of file CachePolicy.h.

◆ GetId()

const Aws::String& Aws::CloudFront::Model::CachePolicy::GetId ( ) const
inline

The unique identifier for the cache policy.

Definition at line 56 of file CachePolicy.h.

◆ GetLastModifiedTime()

const Aws::Utils::DateTime& Aws::CloudFront::Model::CachePolicy::GetLastModifiedTime ( ) const
inline

The date and time when the cache policy was last modified.

Definition at line 97 of file CachePolicy.h.

◆ IdHasBeenSet()

bool Aws::CloudFront::Model::CachePolicy::IdHasBeenSet ( ) const
inline

The unique identifier for the cache policy.

Definition at line 61 of file CachePolicy.h.

◆ LastModifiedTimeHasBeenSet()

bool Aws::CloudFront::Model::CachePolicy::LastModifiedTimeHasBeenSet ( ) const
inline

The date and time when the cache policy was last modified.

Definition at line 102 of file CachePolicy.h.

◆ operator=()

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

◆ SetCachePolicyConfig() [1/2]

void Aws::CloudFront::Model::CachePolicy::SetCachePolicyConfig ( CachePolicyConfig &&  value)
inline

The cache policy configuration.

Definition at line 143 of file CachePolicy.h.

◆ SetCachePolicyConfig() [2/2]

void Aws::CloudFront::Model::CachePolicy::SetCachePolicyConfig ( const CachePolicyConfig value)
inline

The cache policy configuration.

Definition at line 138 of file CachePolicy.h.

◆ SetId() [1/3]

void Aws::CloudFront::Model::CachePolicy::SetId ( Aws::String &&  value)
inline

The unique identifier for the cache policy.

Definition at line 71 of file CachePolicy.h.

◆ SetId() [2/3]

void Aws::CloudFront::Model::CachePolicy::SetId ( const Aws::String value)
inline

The unique identifier for the cache policy.

Definition at line 66 of file CachePolicy.h.

◆ SetId() [3/3]

void Aws::CloudFront::Model::CachePolicy::SetId ( const char *  value)
inline

The unique identifier for the cache policy.

Definition at line 76 of file CachePolicy.h.

◆ SetLastModifiedTime() [1/2]

void Aws::CloudFront::Model::CachePolicy::SetLastModifiedTime ( Aws::Utils::DateTime &&  value)
inline

The date and time when the cache policy was last modified.

Definition at line 112 of file CachePolicy.h.

◆ SetLastModifiedTime() [2/2]

void Aws::CloudFront::Model::CachePolicy::SetLastModifiedTime ( const Aws::Utils::DateTime value)
inline

The date and time when the cache policy was last modified.

Definition at line 107 of file CachePolicy.h.

◆ WithCachePolicyConfig() [1/2]

CachePolicy& Aws::CloudFront::Model::CachePolicy::WithCachePolicyConfig ( CachePolicyConfig &&  value)
inline

The cache policy configuration.

Definition at line 153 of file CachePolicy.h.

◆ WithCachePolicyConfig() [2/2]

CachePolicy& Aws::CloudFront::Model::CachePolicy::WithCachePolicyConfig ( const CachePolicyConfig value)
inline

The cache policy configuration.

Definition at line 148 of file CachePolicy.h.

◆ WithId() [1/3]

CachePolicy& Aws::CloudFront::Model::CachePolicy::WithId ( Aws::String &&  value)
inline

The unique identifier for the cache policy.

Definition at line 86 of file CachePolicy.h.

◆ WithId() [2/3]

CachePolicy& Aws::CloudFront::Model::CachePolicy::WithId ( const Aws::String value)
inline

The unique identifier for the cache policy.

Definition at line 81 of file CachePolicy.h.

◆ WithId() [3/3]

CachePolicy& Aws::CloudFront::Model::CachePolicy::WithId ( const char *  value)
inline

The unique identifier for the cache policy.

Definition at line 91 of file CachePolicy.h.

◆ WithLastModifiedTime() [1/2]

CachePolicy& Aws::CloudFront::Model::CachePolicy::WithLastModifiedTime ( Aws::Utils::DateTime &&  value)
inline

The date and time when the cache policy was last modified.

Definition at line 122 of file CachePolicy.h.

◆ WithLastModifiedTime() [2/2]

CachePolicy& Aws::CloudFront::Model::CachePolicy::WithLastModifiedTime ( const Aws::Utils::DateTime value)
inline

The date and time when the cache policy was last modified.

Definition at line 117 of file CachePolicy.h.


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