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

#include <OriginRequestPolicy.h>

Public Member Functions

 OriginRequestPolicy ()
 
 OriginRequestPolicy (const Aws::Utils::Xml::XmlNode &xmlNode)
 
OriginRequestPolicyoperator= (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)
 
OriginRequestPolicyWithId (const Aws::String &value)
 
OriginRequestPolicyWithId (Aws::String &&value)
 
OriginRequestPolicyWithId (const char *value)
 
const Aws::Utils::DateTimeGetLastModifiedTime () const
 
bool LastModifiedTimeHasBeenSet () const
 
void SetLastModifiedTime (const Aws::Utils::DateTime &value)
 
void SetLastModifiedTime (Aws::Utils::DateTime &&value)
 
OriginRequestPolicyWithLastModifiedTime (const Aws::Utils::DateTime &value)
 
OriginRequestPolicyWithLastModifiedTime (Aws::Utils::DateTime &&value)
 
const OriginRequestPolicyConfigGetOriginRequestPolicyConfig () const
 
bool OriginRequestPolicyConfigHasBeenSet () const
 
void SetOriginRequestPolicyConfig (const OriginRequestPolicyConfig &value)
 
void SetOriginRequestPolicyConfig (OriginRequestPolicyConfig &&value)
 
OriginRequestPolicyWithOriginRequestPolicyConfig (const OriginRequestPolicyConfig &value)
 
OriginRequestPolicyWithOriginRequestPolicyConfig (OriginRequestPolicyConfig &&value)
 

Detailed Description

An origin request policy.

When it’s attached to a cache behavior, the origin request policy 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 45 of file OriginRequestPolicy.h.

Constructor & Destructor Documentation

◆ OriginRequestPolicy() [1/2]

Aws::CloudFront::Model::OriginRequestPolicy::OriginRequestPolicy ( )

◆ OriginRequestPolicy() [2/2]

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

Member Function Documentation

◆ AddToNode()

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

◆ GetId()

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

The unique identifier for the origin request policy.

Definition at line 58 of file OriginRequestPolicy.h.

◆ GetLastModifiedTime()

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

The date and time when the origin request policy was last modified.

Definition at line 99 of file OriginRequestPolicy.h.

◆ GetOriginRequestPolicyConfig()

const OriginRequestPolicyConfig& Aws::CloudFront::Model::OriginRequestPolicy::GetOriginRequestPolicyConfig ( ) const
inline

The origin request policy configuration.

Definition at line 130 of file OriginRequestPolicy.h.

◆ IdHasBeenSet()

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

The unique identifier for the origin request policy.

Definition at line 63 of file OriginRequestPolicy.h.

◆ LastModifiedTimeHasBeenSet()

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

The date and time when the origin request policy was last modified.

Definition at line 104 of file OriginRequestPolicy.h.

◆ operator=()

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

◆ OriginRequestPolicyConfigHasBeenSet()

bool Aws::CloudFront::Model::OriginRequestPolicy::OriginRequestPolicyConfigHasBeenSet ( ) const
inline

The origin request policy configuration.

Definition at line 135 of file OriginRequestPolicy.h.

◆ SetId() [1/3]

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

The unique identifier for the origin request policy.

Definition at line 73 of file OriginRequestPolicy.h.

◆ SetId() [2/3]

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

The unique identifier for the origin request policy.

Definition at line 68 of file OriginRequestPolicy.h.

◆ SetId() [3/3]

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

The unique identifier for the origin request policy.

Definition at line 78 of file OriginRequestPolicy.h.

◆ SetLastModifiedTime() [1/2]

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

The date and time when the origin request policy was last modified.

Definition at line 114 of file OriginRequestPolicy.h.

◆ SetLastModifiedTime() [2/2]

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

The date and time when the origin request policy was last modified.

Definition at line 109 of file OriginRequestPolicy.h.

◆ SetOriginRequestPolicyConfig() [1/2]

void Aws::CloudFront::Model::OriginRequestPolicy::SetOriginRequestPolicyConfig ( const OriginRequestPolicyConfig value)
inline

The origin request policy configuration.

Definition at line 140 of file OriginRequestPolicy.h.

◆ SetOriginRequestPolicyConfig() [2/2]

void Aws::CloudFront::Model::OriginRequestPolicy::SetOriginRequestPolicyConfig ( OriginRequestPolicyConfig &&  value)
inline

The origin request policy configuration.

Definition at line 145 of file OriginRequestPolicy.h.

◆ WithId() [1/3]

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

The unique identifier for the origin request policy.

Definition at line 88 of file OriginRequestPolicy.h.

◆ WithId() [2/3]

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

The unique identifier for the origin request policy.

Definition at line 83 of file OriginRequestPolicy.h.

◆ WithId() [3/3]

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

The unique identifier for the origin request policy.

Definition at line 93 of file OriginRequestPolicy.h.

◆ WithLastModifiedTime() [1/2]

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

The date and time when the origin request policy was last modified.

Definition at line 124 of file OriginRequestPolicy.h.

◆ WithLastModifiedTime() [2/2]

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

The date and time when the origin request policy was last modified.

Definition at line 119 of file OriginRequestPolicy.h.

◆ WithOriginRequestPolicyConfig() [1/2]

OriginRequestPolicy& Aws::CloudFront::Model::OriginRequestPolicy::WithOriginRequestPolicyConfig ( const OriginRequestPolicyConfig value)
inline

The origin request policy configuration.

Definition at line 150 of file OriginRequestPolicy.h.

◆ WithOriginRequestPolicyConfig() [2/2]

OriginRequestPolicy& Aws::CloudFront::Model::OriginRequestPolicy::WithOriginRequestPolicyConfig ( OriginRequestPolicyConfig &&  value)
inline

The origin request policy configuration.

Definition at line 155 of file OriginRequestPolicy.h.


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