AWS SDK for C++  1.8.96
AWS SDK for C++
Public Member Functions | List of all members
Aws::Lightsail::Model::CookieObject Class Reference

#include <CookieObject.h>

Public Member Functions

 CookieObject ()
 
 CookieObject (Aws::Utils::Json::JsonView jsonValue)
 
CookieObjectoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const ForwardValuesGetOption () const
 
bool OptionHasBeenSet () const
 
void SetOption (const ForwardValues &value)
 
void SetOption (ForwardValues &&value)
 
CookieObjectWithOption (const ForwardValues &value)
 
CookieObjectWithOption (ForwardValues &&value)
 
const Aws::Vector< Aws::String > & GetCookiesAllowList () const
 
bool CookiesAllowListHasBeenSet () const
 
void SetCookiesAllowList (const Aws::Vector< Aws::String > &value)
 
void SetCookiesAllowList (Aws::Vector< Aws::String > &&value)
 
CookieObjectWithCookiesAllowList (const Aws::Vector< Aws::String > &value)
 
CookieObjectWithCookiesAllowList (Aws::Vector< Aws::String > &&value)
 
CookieObjectAddCookiesAllowList (const Aws::String &value)
 
CookieObjectAddCookiesAllowList (Aws::String &&value)
 
CookieObjectAddCookiesAllowList (const char *value)
 

Detailed Description

Describes whether an Amazon Lightsail content delivery network (CDN) distribution forwards cookies to the origin and, if so, which ones.

For the cookies that you specify, your distribution caches separate versions of the specified content based on the cookie values in viewer requests.

See Also:

AWS API Reference

Definition at line 37 of file CookieObject.h.

Constructor & Destructor Documentation

◆ CookieObject() [1/2]

Aws::Lightsail::Model::CookieObject::CookieObject ( )

◆ CookieObject() [2/2]

Aws::Lightsail::Model::CookieObject::CookieObject ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ AddCookiesAllowList() [1/3]

CookieObject& Aws::Lightsail::Model::CookieObject::AddCookiesAllowList ( const Aws::String value)
inline

The specific cookies to forward to your distribution's origin.

Definition at line 128 of file CookieObject.h.

◆ AddCookiesAllowList() [2/3]

CookieObject& Aws::Lightsail::Model::CookieObject::AddCookiesAllowList ( Aws::String &&  value)
inline

The specific cookies to forward to your distribution's origin.

Definition at line 133 of file CookieObject.h.

◆ AddCookiesAllowList() [3/3]

CookieObject& Aws::Lightsail::Model::CookieObject::AddCookiesAllowList ( const char *  value)
inline

The specific cookies to forward to your distribution's origin.

Definition at line 138 of file CookieObject.h.

◆ CookiesAllowListHasBeenSet()

bool Aws::Lightsail::Model::CookieObject::CookiesAllowListHasBeenSet ( ) const
inline

The specific cookies to forward to your distribution's origin.

Definition at line 103 of file CookieObject.h.

◆ GetCookiesAllowList()

const Aws::Vector<Aws::String>& Aws::Lightsail::Model::CookieObject::GetCookiesAllowList ( ) const
inline

The specific cookies to forward to your distribution's origin.

Definition at line 98 of file CookieObject.h.

◆ GetOption()

const ForwardValues& Aws::Lightsail::Model::CookieObject::GetOption ( ) const
inline

Specifies which cookies to forward to the distribution's origin for a cache behavior: all, none, or allow-list to forward only the cookies specified in the cookiesAllowList parameter.

Definition at line 52 of file CookieObject.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::Lightsail::Model::CookieObject::Jsonize ( ) const

◆ operator=()

CookieObject& Aws::Lightsail::Model::CookieObject::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ OptionHasBeenSet()

bool Aws::Lightsail::Model::CookieObject::OptionHasBeenSet ( ) const
inline

Specifies which cookies to forward to the distribution's origin for a cache behavior: all, none, or allow-list to forward only the cookies specified in the cookiesAllowList parameter.

Definition at line 60 of file CookieObject.h.

◆ SetCookiesAllowList() [1/2]

void Aws::Lightsail::Model::CookieObject::SetCookiesAllowList ( const Aws::Vector< Aws::String > &  value)
inline

The specific cookies to forward to your distribution's origin.

Definition at line 108 of file CookieObject.h.

◆ SetCookiesAllowList() [2/2]

void Aws::Lightsail::Model::CookieObject::SetCookiesAllowList ( Aws::Vector< Aws::String > &&  value)
inline

The specific cookies to forward to your distribution's origin.

Definition at line 113 of file CookieObject.h.

◆ SetOption() [1/2]

void Aws::Lightsail::Model::CookieObject::SetOption ( const ForwardValues value)
inline

Specifies which cookies to forward to the distribution's origin for a cache behavior: all, none, or allow-list to forward only the cookies specified in the cookiesAllowList parameter.

Definition at line 68 of file CookieObject.h.

◆ SetOption() [2/2]

void Aws::Lightsail::Model::CookieObject::SetOption ( ForwardValues &&  value)
inline

Specifies which cookies to forward to the distribution's origin for a cache behavior: all, none, or allow-list to forward only the cookies specified in the cookiesAllowList parameter.

Definition at line 76 of file CookieObject.h.

◆ WithCookiesAllowList() [1/2]

CookieObject& Aws::Lightsail::Model::CookieObject::WithCookiesAllowList ( const Aws::Vector< Aws::String > &  value)
inline

The specific cookies to forward to your distribution's origin.

Definition at line 118 of file CookieObject.h.

◆ WithCookiesAllowList() [2/2]

CookieObject& Aws::Lightsail::Model::CookieObject::WithCookiesAllowList ( Aws::Vector< Aws::String > &&  value)
inline

The specific cookies to forward to your distribution's origin.

Definition at line 123 of file CookieObject.h.

◆ WithOption() [1/2]

CookieObject& Aws::Lightsail::Model::CookieObject::WithOption ( const ForwardValues value)
inline

Specifies which cookies to forward to the distribution's origin for a cache behavior: all, none, or allow-list to forward only the cookies specified in the cookiesAllowList parameter.

Definition at line 84 of file CookieObject.h.

◆ WithOption() [2/2]

CookieObject& Aws::Lightsail::Model::CookieObject::WithOption ( ForwardValues &&  value)
inline

Specifies which cookies to forward to the distribution's origin for a cache behavior: all, none, or allow-list to forward only the cookies specified in the cookiesAllowList parameter.

Definition at line 92 of file CookieObject.h.


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