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

#include <S3Origin.h>

Public Member Functions

 S3Origin ()
 
 S3Origin (const Aws::Utils::Xml::XmlNode &xmlNode)
 
S3Originoperator= (const Aws::Utils::Xml::XmlNode &xmlNode)
 
void AddToNode (Aws::Utils::Xml::XmlNode &parentNode) const
 
const Aws::StringGetDomainName () const
 
bool DomainNameHasBeenSet () const
 
void SetDomainName (const Aws::String &value)
 
void SetDomainName (Aws::String &&value)
 
void SetDomainName (const char *value)
 
S3OriginWithDomainName (const Aws::String &value)
 
S3OriginWithDomainName (Aws::String &&value)
 
S3OriginWithDomainName (const char *value)
 
const Aws::StringGetOriginAccessIdentity () const
 
bool OriginAccessIdentityHasBeenSet () const
 
void SetOriginAccessIdentity (const Aws::String &value)
 
void SetOriginAccessIdentity (Aws::String &&value)
 
void SetOriginAccessIdentity (const char *value)
 
S3OriginWithOriginAccessIdentity (const Aws::String &value)
 
S3OriginWithOriginAccessIdentity (Aws::String &&value)
 
S3OriginWithOriginAccessIdentity (const char *value)
 

Detailed Description

A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.

See Also:

AWS API Reference

Definition at line 32 of file S3Origin.h.

Constructor & Destructor Documentation

◆ S3Origin() [1/2]

Aws::CloudFront::Model::S3Origin::S3Origin ( )

◆ S3Origin() [2/2]

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

Member Function Documentation

◆ AddToNode()

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

◆ DomainNameHasBeenSet()

bool Aws::CloudFront::Model::S3Origin::DomainNameHasBeenSet ( ) const
inline

The DNS name of the Amazon S3 origin.

Definition at line 50 of file S3Origin.h.

◆ GetDomainName()

const Aws::String& Aws::CloudFront::Model::S3Origin::GetDomainName ( ) const
inline

The DNS name of the Amazon S3 origin.

Definition at line 45 of file S3Origin.h.

◆ GetOriginAccessIdentity()

const Aws::String& Aws::CloudFront::Model::S3Origin::GetOriginAccessIdentity ( ) const
inline

The CloudFront origin access identity to associate with the distribution. Use an origin access identity to configure the distribution so that end users can only access objects in an Amazon S3 bucket through CloudFront.

If you want end users to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty OriginAccessIdentity element.

To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty OriginAccessIdentity element.

To replace the origin access identity, update the distribution configuration and specify the new origin access identity.

For more information, see Using an Origin Access Identity to Restrict Access to Your Amazon S3 Content in the Amazon CloudFront Developer Guide.

Definition at line 98 of file S3Origin.h.

◆ operator=()

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

◆ OriginAccessIdentityHasBeenSet()

bool Aws::CloudFront::Model::S3Origin::OriginAccessIdentityHasBeenSet ( ) const
inline

The CloudFront origin access identity to associate with the distribution. Use an origin access identity to configure the distribution so that end users can only access objects in an Amazon S3 bucket through CloudFront.

If you want end users to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty OriginAccessIdentity element.

To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty OriginAccessIdentity element.

To replace the origin access identity, update the distribution configuration and specify the new origin access identity.

For more information, see Using an Origin Access Identity to Restrict Access to Your Amazon S3 Content in the Amazon CloudFront Developer Guide.

Definition at line 115 of file S3Origin.h.

◆ SetDomainName() [1/3]

void Aws::CloudFront::Model::S3Origin::SetDomainName ( Aws::String &&  value)
inline

The DNS name of the Amazon S3 origin.

Definition at line 60 of file S3Origin.h.

◆ SetDomainName() [2/3]

void Aws::CloudFront::Model::S3Origin::SetDomainName ( const Aws::String value)
inline

The DNS name of the Amazon S3 origin.

Definition at line 55 of file S3Origin.h.

◆ SetDomainName() [3/3]

void Aws::CloudFront::Model::S3Origin::SetDomainName ( const char *  value)
inline

The DNS name of the Amazon S3 origin.

Definition at line 65 of file S3Origin.h.

◆ SetOriginAccessIdentity() [1/3]

void Aws::CloudFront::Model::S3Origin::SetOriginAccessIdentity ( Aws::String &&  value)
inline

The CloudFront origin access identity to associate with the distribution. Use an origin access identity to configure the distribution so that end users can only access objects in an Amazon S3 bucket through CloudFront.

If you want end users to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty OriginAccessIdentity element.

To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty OriginAccessIdentity element.

To replace the origin access identity, update the distribution configuration and specify the new origin access identity.

For more information, see Using an Origin Access Identity to Restrict Access to Your Amazon S3 Content in the Amazon CloudFront Developer Guide.

Definition at line 149 of file S3Origin.h.

◆ SetOriginAccessIdentity() [2/3]

void Aws::CloudFront::Model::S3Origin::SetOriginAccessIdentity ( const Aws::String value)
inline

The CloudFront origin access identity to associate with the distribution. Use an origin access identity to configure the distribution so that end users can only access objects in an Amazon S3 bucket through CloudFront.

If you want end users to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty OriginAccessIdentity element.

To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty OriginAccessIdentity element.

To replace the origin access identity, update the distribution configuration and specify the new origin access identity.

For more information, see Using an Origin Access Identity to Restrict Access to Your Amazon S3 Content in the Amazon CloudFront Developer Guide.

Definition at line 132 of file S3Origin.h.

◆ SetOriginAccessIdentity() [3/3]

void Aws::CloudFront::Model::S3Origin::SetOriginAccessIdentity ( const char *  value)
inline

The CloudFront origin access identity to associate with the distribution. Use an origin access identity to configure the distribution so that end users can only access objects in an Amazon S3 bucket through CloudFront.

If you want end users to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty OriginAccessIdentity element.

To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty OriginAccessIdentity element.

To replace the origin access identity, update the distribution configuration and specify the new origin access identity.

For more information, see Using an Origin Access Identity to Restrict Access to Your Amazon S3 Content in the Amazon CloudFront Developer Guide.

Definition at line 166 of file S3Origin.h.

◆ WithDomainName() [1/3]

S3Origin& Aws::CloudFront::Model::S3Origin::WithDomainName ( Aws::String &&  value)
inline

The DNS name of the Amazon S3 origin.

Definition at line 75 of file S3Origin.h.

◆ WithDomainName() [2/3]

S3Origin& Aws::CloudFront::Model::S3Origin::WithDomainName ( const Aws::String value)
inline

The DNS name of the Amazon S3 origin.

Definition at line 70 of file S3Origin.h.

◆ WithDomainName() [3/3]

S3Origin& Aws::CloudFront::Model::S3Origin::WithDomainName ( const char *  value)
inline

The DNS name of the Amazon S3 origin.

Definition at line 80 of file S3Origin.h.

◆ WithOriginAccessIdentity() [1/3]

S3Origin& Aws::CloudFront::Model::S3Origin::WithOriginAccessIdentity ( Aws::String &&  value)
inline

The CloudFront origin access identity to associate with the distribution. Use an origin access identity to configure the distribution so that end users can only access objects in an Amazon S3 bucket through CloudFront.

If you want end users to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty OriginAccessIdentity element.

To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty OriginAccessIdentity element.

To replace the origin access identity, update the distribution configuration and specify the new origin access identity.

For more information, see Using an Origin Access Identity to Restrict Access to Your Amazon S3 Content in the Amazon CloudFront Developer Guide.

Definition at line 200 of file S3Origin.h.

◆ WithOriginAccessIdentity() [2/3]

S3Origin& Aws::CloudFront::Model::S3Origin::WithOriginAccessIdentity ( const Aws::String value)
inline

The CloudFront origin access identity to associate with the distribution. Use an origin access identity to configure the distribution so that end users can only access objects in an Amazon S3 bucket through CloudFront.

If you want end users to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty OriginAccessIdentity element.

To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty OriginAccessIdentity element.

To replace the origin access identity, update the distribution configuration and specify the new origin access identity.

For more information, see Using an Origin Access Identity to Restrict Access to Your Amazon S3 Content in the Amazon CloudFront Developer Guide.

Definition at line 183 of file S3Origin.h.

◆ WithOriginAccessIdentity() [3/3]

S3Origin& Aws::CloudFront::Model::S3Origin::WithOriginAccessIdentity ( const char *  value)
inline

The CloudFront origin access identity to associate with the distribution. Use an origin access identity to configure the distribution so that end users can only access objects in an Amazon S3 bucket through CloudFront.

If you want end users to be able to access objects using either the CloudFront URL or the Amazon S3 URL, specify an empty OriginAccessIdentity element.

To delete the origin access identity from an existing distribution, update the distribution configuration and include an empty OriginAccessIdentity element.

To replace the origin access identity, update the distribution configuration and specify the new origin access identity.

For more information, see Using an Origin Access Identity to Restrict Access to Your Amazon S3 Content in the Amazon CloudFront Developer Guide.

Definition at line 217 of file S3Origin.h.


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