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

#include <LoggingConfig.h>

Public Member Functions

 LoggingConfig ()
 
 LoggingConfig (const Aws::Utils::Xml::XmlNode &xmlNode)
 
LoggingConfigoperator= (const Aws::Utils::Xml::XmlNode &xmlNode)
 
void AddToNode (Aws::Utils::Xml::XmlNode &parentNode) const
 
bool GetEnabled () const
 
bool EnabledHasBeenSet () const
 
void SetEnabled (bool value)
 
LoggingConfigWithEnabled (bool value)
 
bool GetIncludeCookies () const
 
bool IncludeCookiesHasBeenSet () const
 
void SetIncludeCookies (bool value)
 
LoggingConfigWithIncludeCookies (bool value)
 
const Aws::StringGetBucket () const
 
bool BucketHasBeenSet () const
 
void SetBucket (const Aws::String &value)
 
void SetBucket (Aws::String &&value)
 
void SetBucket (const char *value)
 
LoggingConfigWithBucket (const Aws::String &value)
 
LoggingConfigWithBucket (Aws::String &&value)
 
LoggingConfigWithBucket (const char *value)
 
const Aws::StringGetPrefix () const
 
bool PrefixHasBeenSet () const
 
void SetPrefix (const Aws::String &value)
 
void SetPrefix (Aws::String &&value)
 
void SetPrefix (const char *value)
 
LoggingConfigWithPrefix (const Aws::String &value)
 
LoggingConfigWithPrefix (Aws::String &&value)
 
LoggingConfigWithPrefix (const char *value)
 

Detailed Description

A complex type that controls whether access logs are written for the distribution.

See Also:

AWS API Reference

Definition at line 31 of file LoggingConfig.h.

Constructor & Destructor Documentation

◆ LoggingConfig() [1/2]

Aws::CloudFront::Model::LoggingConfig::LoggingConfig ( )

◆ LoggingConfig() [2/2]

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

Member Function Documentation

◆ AddToNode()

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

◆ BucketHasBeenSet()

bool Aws::CloudFront::Model::LoggingConfig::BucketHasBeenSet ( ) const
inline

The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com.

Definition at line 145 of file LoggingConfig.h.

◆ EnabledHasBeenSet()

bool Aws::CloudFront::Model::LoggingConfig::EnabledHasBeenSet ( ) const
inline

Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you don't want to enable logging when you create a distribution or if you want to disable logging for an existing distribution, specify false for Enabled, and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket, prefix, and IncludeCookies, the values are automatically deleted.

Definition at line 63 of file LoggingConfig.h.

◆ GetBucket()

const Aws::String& Aws::CloudFront::Model::LoggingConfig::GetBucket ( ) const
inline

The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com.

Definition at line 139 of file LoggingConfig.h.

◆ GetEnabled()

bool Aws::CloudFront::Model::LoggingConfig::GetEnabled ( ) const
inline

Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you don't want to enable logging when you create a distribution or if you want to disable logging for an existing distribution, specify false for Enabled, and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket, prefix, and IncludeCookies, the values are automatically deleted.

Definition at line 51 of file LoggingConfig.h.

◆ GetIncludeCookies()

bool Aws::CloudFront::Model::LoggingConfig::GetIncludeCookies ( ) const
inline

Specifies whether you want CloudFront to include cookies in access logs, specify true for IncludeCookies. If you choose to include cookies in logs, CloudFront logs all cookies regardless of how you configure the cache behaviors for this distribution. If you don't want to include cookies when you create a distribution or if you want to disable include cookies for an existing distribution, specify false for IncludeCookies.

Definition at line 99 of file LoggingConfig.h.

◆ GetPrefix()

const Aws::String& Aws::CloudFront::Model::LoggingConfig::GetPrefix ( ) const
inline

An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, myprefix/. If you want to enable logging, but you don't want to specify a prefix, you still must include an empty Prefix element in the Logging element.

Definition at line 191 of file LoggingConfig.h.

◆ IncludeCookiesHasBeenSet()

bool Aws::CloudFront::Model::LoggingConfig::IncludeCookiesHasBeenSet ( ) const
inline

Specifies whether you want CloudFront to include cookies in access logs, specify true for IncludeCookies. If you choose to include cookies in logs, CloudFront logs all cookies regardless of how you configure the cache behaviors for this distribution. If you don't want to include cookies when you create a distribution or if you want to disable include cookies for an existing distribution, specify false for IncludeCookies.

Definition at line 110 of file LoggingConfig.h.

◆ operator=()

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

◆ PrefixHasBeenSet()

bool Aws::CloudFront::Model::LoggingConfig::PrefixHasBeenSet ( ) const
inline

An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, myprefix/. If you want to enable logging, but you don't want to specify a prefix, you still must include an empty Prefix element in the Logging element.

Definition at line 200 of file LoggingConfig.h.

◆ SetBucket() [1/3]

void Aws::CloudFront::Model::LoggingConfig::SetBucket ( Aws::String &&  value)
inline

The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com.

Definition at line 157 of file LoggingConfig.h.

◆ SetBucket() [2/3]

void Aws::CloudFront::Model::LoggingConfig::SetBucket ( const Aws::String value)
inline

The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com.

Definition at line 151 of file LoggingConfig.h.

◆ SetBucket() [3/3]

void Aws::CloudFront::Model::LoggingConfig::SetBucket ( const char *  value)
inline

The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com.

Definition at line 163 of file LoggingConfig.h.

◆ SetEnabled()

void Aws::CloudFront::Model::LoggingConfig::SetEnabled ( bool  value)
inline

Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you don't want to enable logging when you create a distribution or if you want to disable logging for an existing distribution, specify false for Enabled, and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket, prefix, and IncludeCookies, the values are automatically deleted.

Definition at line 75 of file LoggingConfig.h.

◆ SetIncludeCookies()

void Aws::CloudFront::Model::LoggingConfig::SetIncludeCookies ( bool  value)
inline

Specifies whether you want CloudFront to include cookies in access logs, specify true for IncludeCookies. If you choose to include cookies in logs, CloudFront logs all cookies regardless of how you configure the cache behaviors for this distribution. If you don't want to include cookies when you create a distribution or if you want to disable include cookies for an existing distribution, specify false for IncludeCookies.

Definition at line 121 of file LoggingConfig.h.

◆ SetPrefix() [1/3]

void Aws::CloudFront::Model::LoggingConfig::SetPrefix ( Aws::String &&  value)
inline

An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, myprefix/. If you want to enable logging, but you don't want to specify a prefix, you still must include an empty Prefix element in the Logging element.

Definition at line 218 of file LoggingConfig.h.

◆ SetPrefix() [2/3]

void Aws::CloudFront::Model::LoggingConfig::SetPrefix ( const Aws::String value)
inline

An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, myprefix/. If you want to enable logging, but you don't want to specify a prefix, you still must include an empty Prefix element in the Logging element.

Definition at line 209 of file LoggingConfig.h.

◆ SetPrefix() [3/3]

void Aws::CloudFront::Model::LoggingConfig::SetPrefix ( const char *  value)
inline

An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, myprefix/. If you want to enable logging, but you don't want to specify a prefix, you still must include an empty Prefix element in the Logging element.

Definition at line 227 of file LoggingConfig.h.

◆ WithBucket() [1/3]

LoggingConfig& Aws::CloudFront::Model::LoggingConfig::WithBucket ( Aws::String &&  value)
inline

The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com.

Definition at line 175 of file LoggingConfig.h.

◆ WithBucket() [2/3]

LoggingConfig& Aws::CloudFront::Model::LoggingConfig::WithBucket ( const Aws::String value)
inline

The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com.

Definition at line 169 of file LoggingConfig.h.

◆ WithBucket() [3/3]

LoggingConfig& Aws::CloudFront::Model::LoggingConfig::WithBucket ( const char *  value)
inline

The Amazon S3 bucket to store the access logs in, for example, myawslogbucket.s3.amazonaws.com.

Definition at line 181 of file LoggingConfig.h.

◆ WithEnabled()

LoggingConfig& Aws::CloudFront::Model::LoggingConfig::WithEnabled ( bool  value)
inline

Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you don't want to enable logging when you create a distribution or if you want to disable logging for an existing distribution, specify false for Enabled, and specify empty Bucket and Prefix elements. If you specify false for Enabled but you specify values for Bucket, prefix, and IncludeCookies, the values are automatically deleted.

Definition at line 87 of file LoggingConfig.h.

◆ WithIncludeCookies()

LoggingConfig& Aws::CloudFront::Model::LoggingConfig::WithIncludeCookies ( bool  value)
inline

Specifies whether you want CloudFront to include cookies in access logs, specify true for IncludeCookies. If you choose to include cookies in logs, CloudFront logs all cookies regardless of how you configure the cache behaviors for this distribution. If you don't want to include cookies when you create a distribution or if you want to disable include cookies for an existing distribution, specify false for IncludeCookies.

Definition at line 132 of file LoggingConfig.h.

◆ WithPrefix() [1/3]

LoggingConfig& Aws::CloudFront::Model::LoggingConfig::WithPrefix ( Aws::String &&  value)
inline

An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, myprefix/. If you want to enable logging, but you don't want to specify a prefix, you still must include an empty Prefix element in the Logging element.

Definition at line 245 of file LoggingConfig.h.

◆ WithPrefix() [2/3]

LoggingConfig& Aws::CloudFront::Model::LoggingConfig::WithPrefix ( const Aws::String value)
inline

An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, myprefix/. If you want to enable logging, but you don't want to specify a prefix, you still must include an empty Prefix element in the Logging element.

Definition at line 236 of file LoggingConfig.h.

◆ WithPrefix() [3/3]

LoggingConfig& Aws::CloudFront::Model::LoggingConfig::WithPrefix ( const char *  value)
inline

An optional string that you want CloudFront to prefix to the access log filenames for this distribution, for example, myprefix/. If you want to enable logging, but you don't want to specify a prefix, you still must include an empty Prefix element in the Logging element.

Definition at line 254 of file LoggingConfig.h.


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