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

#include <CacheSettings.h>

Public Member Functions

 CacheSettings ()
 
 CacheSettings (Aws::Utils::Json::JsonView jsonValue)
 
CacheSettingsoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
long long GetDefaultTTL () const
 
bool DefaultTTLHasBeenSet () const
 
void SetDefaultTTL (long long value)
 
CacheSettingsWithDefaultTTL (long long value)
 
long long GetMinimumTTL () const
 
bool MinimumTTLHasBeenSet () const
 
void SetMinimumTTL (long long value)
 
CacheSettingsWithMinimumTTL (long long value)
 
long long GetMaximumTTL () const
 
bool MaximumTTLHasBeenSet () const
 
void SetMaximumTTL (long long value)
 
CacheSettingsWithMaximumTTL (long long value)
 
const Aws::StringGetAllowedHTTPMethods () const
 
bool AllowedHTTPMethodsHasBeenSet () const
 
void SetAllowedHTTPMethods (const Aws::String &value)
 
void SetAllowedHTTPMethods (Aws::String &&value)
 
void SetAllowedHTTPMethods (const char *value)
 
CacheSettingsWithAllowedHTTPMethods (const Aws::String &value)
 
CacheSettingsWithAllowedHTTPMethods (Aws::String &&value)
 
CacheSettingsWithAllowedHTTPMethods (const char *value)
 
const Aws::StringGetCachedHTTPMethods () const
 
bool CachedHTTPMethodsHasBeenSet () const
 
void SetCachedHTTPMethods (const Aws::String &value)
 
void SetCachedHTTPMethods (Aws::String &&value)
 
void SetCachedHTTPMethods (const char *value)
 
CacheSettingsWithCachedHTTPMethods (const Aws::String &value)
 
CacheSettingsWithCachedHTTPMethods (Aws::String &&value)
 
CacheSettingsWithCachedHTTPMethods (const char *value)
 
const CookieObjectGetForwardedCookies () const
 
bool ForwardedCookiesHasBeenSet () const
 
void SetForwardedCookies (const CookieObject &value)
 
void SetForwardedCookies (CookieObject &&value)
 
CacheSettingsWithForwardedCookies (const CookieObject &value)
 
CacheSettingsWithForwardedCookies (CookieObject &&value)
 
const HeaderObjectGetForwardedHeaders () const
 
bool ForwardedHeadersHasBeenSet () const
 
void SetForwardedHeaders (const HeaderObject &value)
 
void SetForwardedHeaders (HeaderObject &&value)
 
CacheSettingsWithForwardedHeaders (const HeaderObject &value)
 
CacheSettingsWithForwardedHeaders (HeaderObject &&value)
 
const QueryStringObjectGetForwardedQueryStrings () const
 
bool ForwardedQueryStringsHasBeenSet () const
 
void SetForwardedQueryStrings (const QueryStringObject &value)
 
void SetForwardedQueryStrings (QueryStringObject &&value)
 
CacheSettingsWithForwardedQueryStrings (const QueryStringObject &value)
 
CacheSettingsWithForwardedQueryStrings (QueryStringObject &&value)
 

Detailed Description

Describes the cache settings of an Amazon Lightsail content delivery network (CDN) distribution.

These settings apply only to your distribution's cacheBehaviors (including the defaultCacheBehavior) that have a behavior of cache.

See Also:

AWS API Reference

Definition at line 38 of file CacheSettings.h.

Constructor & Destructor Documentation

◆ CacheSettings() [1/2]

Aws::Lightsail::Model::CacheSettings::CacheSettings ( )

◆ CacheSettings() [2/2]

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

Member Function Documentation

◆ AllowedHTTPMethodsHasBeenSet()

bool Aws::Lightsail::Model::CacheSettings::AllowedHTTPMethodsHasBeenSet ( ) const
inline

The HTTP methods that are processed and forwarded to the distribution's origin.

You can specify the following options:

  • GET,HEAD - The distribution forwards the GET and HEAD methods.

  • GET,HEAD,OPTIONS - The distribution forwards the GET, HEAD, and OPTIONS methods.

  • GET,HEAD,OPTIONS,PUT,PATCH,POST,DELETE - The distribution forwards the GET, HEAD, OPTIONS, PUT, PATCH, POST, and DELETE methods.

If you specify the third option, you might need to restrict access to your distribution's origin so users can't perform operations that you don't want them to. For example, you might not want users to have permission to delete objects from your origin.

Definition at line 194 of file CacheSettings.h.

◆ CachedHTTPMethodsHasBeenSet()

bool Aws::Lightsail::Model::CacheSettings::CachedHTTPMethodsHasBeenSet ( ) const
inline

The HTTP method responses that are cached by your distribution.

You can specify the following options:

  • GET,HEAD - The distribution caches responses to the GET and HEAD methods.

  • GET,HEAD,OPTIONS - The distribution caches responses to the GET, HEAD, and OPTIONS methods.

Definition at line 317 of file CacheSettings.h.

◆ DefaultTTLHasBeenSet()

bool Aws::Lightsail::Model::CacheSettings::DefaultTTLHasBeenSet ( ) const
inline

The default amount of time that objects stay in the distribution's cache before the distribution forwards another request to the origin to determine whether the content has been updated.

The value specified applies only when the origin does not add HTTP headers such as Cache-Control max-age, Cache-Control s-maxage, and Expires to objects.

Definition at line 65 of file CacheSettings.h.

◆ ForwardedCookiesHasBeenSet()

bool Aws::Lightsail::Model::CacheSettings::ForwardedCookiesHasBeenSet ( ) const
inline

An object that describes the cookies that are forwarded to the origin. Your content is cached based on the cookies that are forwarded.

Definition at line 390 of file CacheSettings.h.

◆ ForwardedHeadersHasBeenSet()

bool Aws::Lightsail::Model::CacheSettings::ForwardedHeadersHasBeenSet ( ) const
inline

An object that describes the headers that are forwarded to the origin. Your content is cached based on the headers that are forwarded.

Definition at line 427 of file CacheSettings.h.

◆ ForwardedQueryStringsHasBeenSet()

bool Aws::Lightsail::Model::CacheSettings::ForwardedQueryStringsHasBeenSet ( ) const
inline

An object that describes the query strings that are forwarded to the origin. Your content is cached based on the query strings that are forwarded.

Definition at line 464 of file CacheSettings.h.

◆ GetAllowedHTTPMethods()

const Aws::String& Aws::Lightsail::Model::CacheSettings::GetAllowedHTTPMethods ( ) const
inline

The HTTP methods that are processed and forwarded to the distribution's origin.

You can specify the following options:

  • GET,HEAD - The distribution forwards the GET and HEAD methods.

  • GET,HEAD,OPTIONS - The distribution forwards the GET, HEAD, and OPTIONS methods.

  • GET,HEAD,OPTIONS,PUT,PATCH,POST,DELETE - The distribution forwards the GET, HEAD, OPTIONS, PUT, PATCH, POST, and DELETE methods.

If you specify the third option, you might need to restrict access to your distribution's origin so users can't perform operations that you don't want them to. For example, you might not want users to have permission to delete objects from your origin.

Definition at line 177 of file CacheSettings.h.

◆ GetCachedHTTPMethods()

const Aws::String& Aws::Lightsail::Model::CacheSettings::GetCachedHTTPMethods ( ) const
inline

The HTTP method responses that are cached by your distribution.

You can specify the following options:

  • GET,HEAD - The distribution caches responses to the GET and HEAD methods.

  • GET,HEAD,OPTIONS - The distribution caches responses to the GET, HEAD, and OPTIONS methods.

Definition at line 307 of file CacheSettings.h.

◆ GetDefaultTTL()

long long Aws::Lightsail::Model::CacheSettings::GetDefaultTTL ( ) const
inline

The default amount of time that objects stay in the distribution's cache before the distribution forwards another request to the origin to determine whether the content has been updated.

The value specified applies only when the origin does not add HTTP headers such as Cache-Control max-age, Cache-Control s-maxage, and Expires to objects.

Definition at line 55 of file CacheSettings.h.

◆ GetForwardedCookies()

const CookieObject& Aws::Lightsail::Model::CacheSettings::GetForwardedCookies ( ) const
inline

An object that describes the cookies that are forwarded to the origin. Your content is cached based on the cookies that are forwarded.

Definition at line 384 of file CacheSettings.h.

◆ GetForwardedHeaders()

const HeaderObject& Aws::Lightsail::Model::CacheSettings::GetForwardedHeaders ( ) const
inline

An object that describes the headers that are forwarded to the origin. Your content is cached based on the headers that are forwarded.

Definition at line 421 of file CacheSettings.h.

◆ GetForwardedQueryStrings()

const QueryStringObject& Aws::Lightsail::Model::CacheSettings::GetForwardedQueryStrings ( ) const
inline

An object that describes the query strings that are forwarded to the origin. Your content is cached based on the query strings that are forwarded.

Definition at line 458 of file CacheSettings.h.

◆ GetMaximumTTL()

long long Aws::Lightsail::Model::CacheSettings::GetMaximumTTL ( ) const
inline

The maximum amount of time that objects stay in the distribution's cache before the distribution forwards another request to the origin to determine whether the object has been updated.

The value specified applies only when the origin adds HTTP headers such as Cache-Control max-age, Cache-Control s-maxage, and Expires to objects.

Definition at line 132 of file CacheSettings.h.

◆ GetMinimumTTL()

long long Aws::Lightsail::Model::CacheSettings::GetMinimumTTL ( ) const
inline

The minimum amount of time that objects stay in the distribution's cache before the distribution forwards another request to the origin to determine whether the object has been updated.

A value of 0 must be specified for minimumTTL if the distribution is configured to forward all headers to the origin.

Definition at line 95 of file CacheSettings.h.

◆ Jsonize()

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

◆ MaximumTTLHasBeenSet()

bool Aws::Lightsail::Model::CacheSettings::MaximumTTLHasBeenSet ( ) const
inline

The maximum amount of time that objects stay in the distribution's cache before the distribution forwards another request to the origin to determine whether the object has been updated.

The value specified applies only when the origin adds HTTP headers such as Cache-Control max-age, Cache-Control s-maxage, and Expires to objects.

Definition at line 141 of file CacheSettings.h.

◆ MinimumTTLHasBeenSet()

bool Aws::Lightsail::Model::CacheSettings::MinimumTTLHasBeenSet ( ) const
inline

The minimum amount of time that objects stay in the distribution's cache before the distribution forwards another request to the origin to determine whether the object has been updated.

A value of 0 must be specified for minimumTTL if the distribution is configured to forward all headers to the origin.

Definition at line 104 of file CacheSettings.h.

◆ operator=()

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

◆ SetAllowedHTTPMethods() [1/3]

void Aws::Lightsail::Model::CacheSettings::SetAllowedHTTPMethods ( const Aws::String value)
inline

The HTTP methods that are processed and forwarded to the distribution's origin.

You can specify the following options:

  • GET,HEAD - The distribution forwards the GET and HEAD methods.

  • GET,HEAD,OPTIONS - The distribution forwards the GET, HEAD, and OPTIONS methods.

  • GET,HEAD,OPTIONS,PUT,PATCH,POST,DELETE - The distribution forwards the GET, HEAD, OPTIONS, PUT, PATCH, POST, and DELETE methods.

If you specify the third option, you might need to restrict access to your distribution's origin so users can't perform operations that you don't want them to. For example, you might not want users to have permission to delete objects from your origin.

Definition at line 211 of file CacheSettings.h.

◆ SetAllowedHTTPMethods() [2/3]

void Aws::Lightsail::Model::CacheSettings::SetAllowedHTTPMethods ( Aws::String &&  value)
inline

The HTTP methods that are processed and forwarded to the distribution's origin.

You can specify the following options:

  • GET,HEAD - The distribution forwards the GET and HEAD methods.

  • GET,HEAD,OPTIONS - The distribution forwards the GET, HEAD, and OPTIONS methods.

  • GET,HEAD,OPTIONS,PUT,PATCH,POST,DELETE - The distribution forwards the GET, HEAD, OPTIONS, PUT, PATCH, POST, and DELETE methods.

If you specify the third option, you might need to restrict access to your distribution's origin so users can't perform operations that you don't want them to. For example, you might not want users to have permission to delete objects from your origin.

Definition at line 228 of file CacheSettings.h.

◆ SetAllowedHTTPMethods() [3/3]

void Aws::Lightsail::Model::CacheSettings::SetAllowedHTTPMethods ( const char *  value)
inline

The HTTP methods that are processed and forwarded to the distribution's origin.

You can specify the following options:

  • GET,HEAD - The distribution forwards the GET and HEAD methods.

  • GET,HEAD,OPTIONS - The distribution forwards the GET, HEAD, and OPTIONS methods.

  • GET,HEAD,OPTIONS,PUT,PATCH,POST,DELETE - The distribution forwards the GET, HEAD, OPTIONS, PUT, PATCH, POST, and DELETE methods.

If you specify the third option, you might need to restrict access to your distribution's origin so users can't perform operations that you don't want them to. For example, you might not want users to have permission to delete objects from your origin.

Definition at line 245 of file CacheSettings.h.

◆ SetCachedHTTPMethods() [1/3]

void Aws::Lightsail::Model::CacheSettings::SetCachedHTTPMethods ( const Aws::String value)
inline

The HTTP method responses that are cached by your distribution.

You can specify the following options:

  • GET,HEAD - The distribution caches responses to the GET and HEAD methods.

  • GET,HEAD,OPTIONS - The distribution caches responses to the GET, HEAD, and OPTIONS methods.

Definition at line 327 of file CacheSettings.h.

◆ SetCachedHTTPMethods() [2/3]

void Aws::Lightsail::Model::CacheSettings::SetCachedHTTPMethods ( Aws::String &&  value)
inline

The HTTP method responses that are cached by your distribution.

You can specify the following options:

  • GET,HEAD - The distribution caches responses to the GET and HEAD methods.

  • GET,HEAD,OPTIONS - The distribution caches responses to the GET, HEAD, and OPTIONS methods.

Definition at line 337 of file CacheSettings.h.

◆ SetCachedHTTPMethods() [3/3]

void Aws::Lightsail::Model::CacheSettings::SetCachedHTTPMethods ( const char *  value)
inline

The HTTP method responses that are cached by your distribution.

You can specify the following options:

  • GET,HEAD - The distribution caches responses to the GET and HEAD methods.

  • GET,HEAD,OPTIONS - The distribution caches responses to the GET, HEAD, and OPTIONS methods.

Definition at line 347 of file CacheSettings.h.

◆ SetDefaultTTL()

void Aws::Lightsail::Model::CacheSettings::SetDefaultTTL ( long long  value)
inline

The default amount of time that objects stay in the distribution's cache before the distribution forwards another request to the origin to determine whether the content has been updated.

The value specified applies only when the origin does not add HTTP headers such as Cache-Control max-age, Cache-Control s-maxage, and Expires to objects.

Definition at line 75 of file CacheSettings.h.

◆ SetForwardedCookies() [1/2]

void Aws::Lightsail::Model::CacheSettings::SetForwardedCookies ( const CookieObject value)
inline

An object that describes the cookies that are forwarded to the origin. Your content is cached based on the cookies that are forwarded.

Definition at line 396 of file CacheSettings.h.

◆ SetForwardedCookies() [2/2]

void Aws::Lightsail::Model::CacheSettings::SetForwardedCookies ( CookieObject &&  value)
inline

An object that describes the cookies that are forwarded to the origin. Your content is cached based on the cookies that are forwarded.

Definition at line 402 of file CacheSettings.h.

◆ SetForwardedHeaders() [1/2]

void Aws::Lightsail::Model::CacheSettings::SetForwardedHeaders ( const HeaderObject value)
inline

An object that describes the headers that are forwarded to the origin. Your content is cached based on the headers that are forwarded.

Definition at line 433 of file CacheSettings.h.

◆ SetForwardedHeaders() [2/2]

void Aws::Lightsail::Model::CacheSettings::SetForwardedHeaders ( HeaderObject &&  value)
inline

An object that describes the headers that are forwarded to the origin. Your content is cached based on the headers that are forwarded.

Definition at line 439 of file CacheSettings.h.

◆ SetForwardedQueryStrings() [1/2]

void Aws::Lightsail::Model::CacheSettings::SetForwardedQueryStrings ( const QueryStringObject value)
inline

An object that describes the query strings that are forwarded to the origin. Your content is cached based on the query strings that are forwarded.

Definition at line 470 of file CacheSettings.h.

◆ SetForwardedQueryStrings() [2/2]

void Aws::Lightsail::Model::CacheSettings::SetForwardedQueryStrings ( QueryStringObject &&  value)
inline

An object that describes the query strings that are forwarded to the origin. Your content is cached based on the query strings that are forwarded.

Definition at line 476 of file CacheSettings.h.

◆ SetMaximumTTL()

void Aws::Lightsail::Model::CacheSettings::SetMaximumTTL ( long long  value)
inline

The maximum amount of time that objects stay in the distribution's cache before the distribution forwards another request to the origin to determine whether the object has been updated.

The value specified applies only when the origin adds HTTP headers such as Cache-Control max-age, Cache-Control s-maxage, and Expires to objects.

Definition at line 150 of file CacheSettings.h.

◆ SetMinimumTTL()

void Aws::Lightsail::Model::CacheSettings::SetMinimumTTL ( long long  value)
inline

The minimum amount of time that objects stay in the distribution's cache before the distribution forwards another request to the origin to determine whether the object has been updated.

A value of 0 must be specified for minimumTTL if the distribution is configured to forward all headers to the origin.

Definition at line 113 of file CacheSettings.h.

◆ WithAllowedHTTPMethods() [1/3]

CacheSettings& Aws::Lightsail::Model::CacheSettings::WithAllowedHTTPMethods ( const Aws::String value)
inline

The HTTP methods that are processed and forwarded to the distribution's origin.

You can specify the following options:

  • GET,HEAD - The distribution forwards the GET and HEAD methods.

  • GET,HEAD,OPTIONS - The distribution forwards the GET, HEAD, and OPTIONS methods.

  • GET,HEAD,OPTIONS,PUT,PATCH,POST,DELETE - The distribution forwards the GET, HEAD, OPTIONS, PUT, PATCH, POST, and DELETE methods.

If you specify the third option, you might need to restrict access to your distribution's origin so users can't perform operations that you don't want them to. For example, you might not want users to have permission to delete objects from your origin.

Definition at line 262 of file CacheSettings.h.

◆ WithAllowedHTTPMethods() [2/3]

CacheSettings& Aws::Lightsail::Model::CacheSettings::WithAllowedHTTPMethods ( Aws::String &&  value)
inline

The HTTP methods that are processed and forwarded to the distribution's origin.

You can specify the following options:

  • GET,HEAD - The distribution forwards the GET and HEAD methods.

  • GET,HEAD,OPTIONS - The distribution forwards the GET, HEAD, and OPTIONS methods.

  • GET,HEAD,OPTIONS,PUT,PATCH,POST,DELETE - The distribution forwards the GET, HEAD, OPTIONS, PUT, PATCH, POST, and DELETE methods.

If you specify the third option, you might need to restrict access to your distribution's origin so users can't perform operations that you don't want them to. For example, you might not want users to have permission to delete objects from your origin.

Definition at line 279 of file CacheSettings.h.

◆ WithAllowedHTTPMethods() [3/3]

CacheSettings& Aws::Lightsail::Model::CacheSettings::WithAllowedHTTPMethods ( const char *  value)
inline

The HTTP methods that are processed and forwarded to the distribution's origin.

You can specify the following options:

  • GET,HEAD - The distribution forwards the GET and HEAD methods.

  • GET,HEAD,OPTIONS - The distribution forwards the GET, HEAD, and OPTIONS methods.

  • GET,HEAD,OPTIONS,PUT,PATCH,POST,DELETE - The distribution forwards the GET, HEAD, OPTIONS, PUT, PATCH, POST, and DELETE methods.

If you specify the third option, you might need to restrict access to your distribution's origin so users can't perform operations that you don't want them to. For example, you might not want users to have permission to delete objects from your origin.

Definition at line 296 of file CacheSettings.h.

◆ WithCachedHTTPMethods() [1/3]

CacheSettings& Aws::Lightsail::Model::CacheSettings::WithCachedHTTPMethods ( const Aws::String value)
inline

The HTTP method responses that are cached by your distribution.

You can specify the following options:

  • GET,HEAD - The distribution caches responses to the GET and HEAD methods.

  • GET,HEAD,OPTIONS - The distribution caches responses to the GET, HEAD, and OPTIONS methods.

Definition at line 357 of file CacheSettings.h.

◆ WithCachedHTTPMethods() [2/3]

CacheSettings& Aws::Lightsail::Model::CacheSettings::WithCachedHTTPMethods ( Aws::String &&  value)
inline

The HTTP method responses that are cached by your distribution.

You can specify the following options:

  • GET,HEAD - The distribution caches responses to the GET and HEAD methods.

  • GET,HEAD,OPTIONS - The distribution caches responses to the GET, HEAD, and OPTIONS methods.

Definition at line 367 of file CacheSettings.h.

◆ WithCachedHTTPMethods() [3/3]

CacheSettings& Aws::Lightsail::Model::CacheSettings::WithCachedHTTPMethods ( const char *  value)
inline

The HTTP method responses that are cached by your distribution.

You can specify the following options:

  • GET,HEAD - The distribution caches responses to the GET and HEAD methods.

  • GET,HEAD,OPTIONS - The distribution caches responses to the GET, HEAD, and OPTIONS methods.

Definition at line 377 of file CacheSettings.h.

◆ WithDefaultTTL()

CacheSettings& Aws::Lightsail::Model::CacheSettings::WithDefaultTTL ( long long  value)
inline

The default amount of time that objects stay in the distribution's cache before the distribution forwards another request to the origin to determine whether the content has been updated.

The value specified applies only when the origin does not add HTTP headers such as Cache-Control max-age, Cache-Control s-maxage, and Expires to objects.

Definition at line 85 of file CacheSettings.h.

◆ WithForwardedCookies() [1/2]

CacheSettings& Aws::Lightsail::Model::CacheSettings::WithForwardedCookies ( const CookieObject value)
inline

An object that describes the cookies that are forwarded to the origin. Your content is cached based on the cookies that are forwarded.

Definition at line 408 of file CacheSettings.h.

◆ WithForwardedCookies() [2/2]

CacheSettings& Aws::Lightsail::Model::CacheSettings::WithForwardedCookies ( CookieObject &&  value)
inline

An object that describes the cookies that are forwarded to the origin. Your content is cached based on the cookies that are forwarded.

Definition at line 414 of file CacheSettings.h.

◆ WithForwardedHeaders() [1/2]

CacheSettings& Aws::Lightsail::Model::CacheSettings::WithForwardedHeaders ( const HeaderObject value)
inline

An object that describes the headers that are forwarded to the origin. Your content is cached based on the headers that are forwarded.

Definition at line 445 of file CacheSettings.h.

◆ WithForwardedHeaders() [2/2]

CacheSettings& Aws::Lightsail::Model::CacheSettings::WithForwardedHeaders ( HeaderObject &&  value)
inline

An object that describes the headers that are forwarded to the origin. Your content is cached based on the headers that are forwarded.

Definition at line 451 of file CacheSettings.h.

◆ WithForwardedQueryStrings() [1/2]

CacheSettings& Aws::Lightsail::Model::CacheSettings::WithForwardedQueryStrings ( const QueryStringObject value)
inline

An object that describes the query strings that are forwarded to the origin. Your content is cached based on the query strings that are forwarded.

Definition at line 482 of file CacheSettings.h.

◆ WithForwardedQueryStrings() [2/2]

CacheSettings& Aws::Lightsail::Model::CacheSettings::WithForwardedQueryStrings ( QueryStringObject &&  value)
inline

An object that describes the query strings that are forwarded to the origin. Your content is cached based on the query strings that are forwarded.

Definition at line 488 of file CacheSettings.h.

◆ WithMaximumTTL()

CacheSettings& Aws::Lightsail::Model::CacheSettings::WithMaximumTTL ( long long  value)
inline

The maximum amount of time that objects stay in the distribution's cache before the distribution forwards another request to the origin to determine whether the object has been updated.

The value specified applies only when the origin adds HTTP headers such as Cache-Control max-age, Cache-Control s-maxage, and Expires to objects.

Definition at line 159 of file CacheSettings.h.

◆ WithMinimumTTL()

CacheSettings& Aws::Lightsail::Model::CacheSettings::WithMinimumTTL ( long long  value)
inline

The minimum amount of time that objects stay in the distribution's cache before the distribution forwards another request to the origin to determine whether the object has been updated.

A value of 0 must be specified for minimumTTL if the distribution is configured to forward all headers to the origin.

Definition at line 122 of file CacheSettings.h.


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