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

#include <OriginShield.h>

Public Member Functions

 OriginShield ()
 
 OriginShield (const Aws::Utils::Xml::XmlNode &xmlNode)
 
OriginShieldoperator= (const Aws::Utils::Xml::XmlNode &xmlNode)
 
void AddToNode (Aws::Utils::Xml::XmlNode &parentNode) const
 
bool GetEnabled () const
 
bool EnabledHasBeenSet () const
 
void SetEnabled (bool value)
 
OriginShieldWithEnabled (bool value)
 
const Aws::StringGetOriginShieldRegion () const
 
bool OriginShieldRegionHasBeenSet () const
 
void SetOriginShieldRegion (const Aws::String &value)
 
void SetOriginShieldRegion (Aws::String &&value)
 
void SetOriginShieldRegion (const char *value)
 
OriginShieldWithOriginShieldRegion (const Aws::String &value)
 
OriginShieldWithOriginShieldRegion (Aws::String &&value)
 
OriginShieldWithOriginShieldRegion (const char *value)
 

Detailed Description

CloudFront Origin Shield.

Using Origin Shield can help reduce the load on your origin. For more information, see Using Origin Shield in the Amazon CloudFront Developer Guide.

See Also:

AWS API Reference

Definition at line 34 of file OriginShield.h.

Constructor & Destructor Documentation

◆ OriginShield() [1/2]

Aws::CloudFront::Model::OriginShield::OriginShield ( )

◆ OriginShield() [2/2]

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

Member Function Documentation

◆ AddToNode()

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

◆ EnabledHasBeenSet()

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

A flag that specifies whether Origin Shield is enabled.

When it’s enabled, CloudFront routes all requests through Origin Shield, which can help protect your origin. When it’s disabled, CloudFront might send requests directly to your origin from multiple edge locations or regional edge caches.

Definition at line 58 of file OriginShield.h.

◆ GetEnabled()

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

A flag that specifies whether Origin Shield is enabled.

When it’s enabled, CloudFront routes all requests through Origin Shield, which can help protect your origin. When it’s disabled, CloudFront might send requests directly to your origin from multiple edge locations or regional edge caches.

Definition at line 50 of file OriginShield.h.

◆ GetOriginShieldRegion()

const Aws::String& Aws::CloudFront::Model::OriginShield::GetOriginShieldRegion ( ) const
inline

The AWS Region for Origin Shield.

Specify the AWS Region that has the lowest latency to your origin. To specify a region, use the region code, not the region name. For example, specify the US East (Ohio) region as us-east-2.

When you enable CloudFront Origin Shield, you must specify the AWS Region for Origin Shield. For the list of AWS Regions that you can specify, and for help choosing the best Region for your origin, see Choosing the AWS Region for Origin Shield in the Amazon CloudFront Developer Guide.

Definition at line 88 of file OriginShield.h.

◆ operator=()

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

◆ OriginShieldRegionHasBeenSet()

bool Aws::CloudFront::Model::OriginShield::OriginShieldRegionHasBeenSet ( ) const
inline

The AWS Region for Origin Shield.

Specify the AWS Region that has the lowest latency to your origin. To specify a region, use the region code, not the region name. For example, specify the US East (Ohio) region as us-east-2.

When you enable CloudFront Origin Shield, you must specify the AWS Region for Origin Shield. For the list of AWS Regions that you can specify, and for help choosing the best Region for your origin, see Choosing the AWS Region for Origin Shield in the Amazon CloudFront Developer Guide.

Definition at line 101 of file OriginShield.h.

◆ SetEnabled()

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

A flag that specifies whether Origin Shield is enabled.

When it’s enabled, CloudFront routes all requests through Origin Shield, which can help protect your origin. When it’s disabled, CloudFront might send requests directly to your origin from multiple edge locations or regional edge caches.

Definition at line 66 of file OriginShield.h.

◆ SetOriginShieldRegion() [1/3]

void Aws::CloudFront::Model::OriginShield::SetOriginShieldRegion ( Aws::String &&  value)
inline

The AWS Region for Origin Shield.

Specify the AWS Region that has the lowest latency to your origin. To specify a region, use the region code, not the region name. For example, specify the US East (Ohio) region as us-east-2.

When you enable CloudFront Origin Shield, you must specify the AWS Region for Origin Shield. For the list of AWS Regions that you can specify, and for help choosing the best Region for your origin, see Choosing the AWS Region for Origin Shield in the Amazon CloudFront Developer Guide.

Definition at line 127 of file OriginShield.h.

◆ SetOriginShieldRegion() [2/3]

void Aws::CloudFront::Model::OriginShield::SetOriginShieldRegion ( const Aws::String value)
inline

The AWS Region for Origin Shield.

Specify the AWS Region that has the lowest latency to your origin. To specify a region, use the region code, not the region name. For example, specify the US East (Ohio) region as us-east-2.

When you enable CloudFront Origin Shield, you must specify the AWS Region for Origin Shield. For the list of AWS Regions that you can specify, and for help choosing the best Region for your origin, see Choosing the AWS Region for Origin Shield in the Amazon CloudFront Developer Guide.

Definition at line 114 of file OriginShield.h.

◆ SetOriginShieldRegion() [3/3]

void Aws::CloudFront::Model::OriginShield::SetOriginShieldRegion ( const char *  value)
inline

The AWS Region for Origin Shield.

Specify the AWS Region that has the lowest latency to your origin. To specify a region, use the region code, not the region name. For example, specify the US East (Ohio) region as us-east-2.

When you enable CloudFront Origin Shield, you must specify the AWS Region for Origin Shield. For the list of AWS Regions that you can specify, and for help choosing the best Region for your origin, see Choosing the AWS Region for Origin Shield in the Amazon CloudFront Developer Guide.

Definition at line 140 of file OriginShield.h.

◆ WithEnabled()

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

A flag that specifies whether Origin Shield is enabled.

When it’s enabled, CloudFront routes all requests through Origin Shield, which can help protect your origin. When it’s disabled, CloudFront might send requests directly to your origin from multiple edge locations or regional edge caches.

Definition at line 74 of file OriginShield.h.

◆ WithOriginShieldRegion() [1/3]

OriginShield& Aws::CloudFront::Model::OriginShield::WithOriginShieldRegion ( Aws::String &&  value)
inline

The AWS Region for Origin Shield.

Specify the AWS Region that has the lowest latency to your origin. To specify a region, use the region code, not the region name. For example, specify the US East (Ohio) region as us-east-2.

When you enable CloudFront Origin Shield, you must specify the AWS Region for Origin Shield. For the list of AWS Regions that you can specify, and for help choosing the best Region for your origin, see Choosing the AWS Region for Origin Shield in the Amazon CloudFront Developer Guide.

Definition at line 166 of file OriginShield.h.

◆ WithOriginShieldRegion() [2/3]

OriginShield& Aws::CloudFront::Model::OriginShield::WithOriginShieldRegion ( const Aws::String value)
inline

The AWS Region for Origin Shield.

Specify the AWS Region that has the lowest latency to your origin. To specify a region, use the region code, not the region name. For example, specify the US East (Ohio) region as us-east-2.

When you enable CloudFront Origin Shield, you must specify the AWS Region for Origin Shield. For the list of AWS Regions that you can specify, and for help choosing the best Region for your origin, see Choosing the AWS Region for Origin Shield in the Amazon CloudFront Developer Guide.

Definition at line 153 of file OriginShield.h.

◆ WithOriginShieldRegion() [3/3]

OriginShield& Aws::CloudFront::Model::OriginShield::WithOriginShieldRegion ( const char *  value)
inline

The AWS Region for Origin Shield.

Specify the AWS Region that has the lowest latency to your origin. To specify a region, use the region code, not the region name. For example, specify the US East (Ohio) region as us-east-2.

When you enable CloudFront Origin Shield, you must specify the AWS Region for Origin Shield. For the list of AWS Regions that you can specify, and for help choosing the best Region for your origin, see Choosing the AWS Region for Origin Shield in the Amazon CloudFront Developer Guide.

Definition at line 179 of file OriginShield.h.


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