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

#include <CustomOriginConfig.h>

Public Member Functions

 CustomOriginConfig ()
 
 CustomOriginConfig (const Aws::Utils::Xml::XmlNode &xmlNode)
 
CustomOriginConfigoperator= (const Aws::Utils::Xml::XmlNode &xmlNode)
 
void AddToNode (Aws::Utils::Xml::XmlNode &parentNode) const
 
int GetHTTPPort () const
 
bool HTTPPortHasBeenSet () const
 
void SetHTTPPort (int value)
 
CustomOriginConfigWithHTTPPort (int value)
 
int GetHTTPSPort () const
 
bool HTTPSPortHasBeenSet () const
 
void SetHTTPSPort (int value)
 
CustomOriginConfigWithHTTPSPort (int value)
 
const OriginProtocolPolicyGetOriginProtocolPolicy () const
 
bool OriginProtocolPolicyHasBeenSet () const
 
void SetOriginProtocolPolicy (const OriginProtocolPolicy &value)
 
void SetOriginProtocolPolicy (OriginProtocolPolicy &&value)
 
CustomOriginConfigWithOriginProtocolPolicy (const OriginProtocolPolicy &value)
 
CustomOriginConfigWithOriginProtocolPolicy (OriginProtocolPolicy &&value)
 
const OriginSslProtocolsGetOriginSslProtocols () const
 
bool OriginSslProtocolsHasBeenSet () const
 
void SetOriginSslProtocols (const OriginSslProtocols &value)
 
void SetOriginSslProtocols (OriginSslProtocols &&value)
 
CustomOriginConfigWithOriginSslProtocols (const OriginSslProtocols &value)
 
CustomOriginConfigWithOriginSslProtocols (OriginSslProtocols &&value)
 
int GetOriginReadTimeout () const
 
bool OriginReadTimeoutHasBeenSet () const
 
void SetOriginReadTimeout (int value)
 
CustomOriginConfigWithOriginReadTimeout (int value)
 
int GetOriginKeepaliveTimeout () const
 
bool OriginKeepaliveTimeoutHasBeenSet () const
 
void SetOriginKeepaliveTimeout (int value)
 
CustomOriginConfigWithOriginKeepaliveTimeout (int value)
 

Detailed Description

A custom origin. A custom origin is any origin that is not an Amazon S3 bucket, with one exception. An Amazon S3 bucket that is configured with static website hosting is a custom origin.

See Also:

AWS API Reference

Definition at line 35 of file CustomOriginConfig.h.

Constructor & Destructor Documentation

◆ CustomOriginConfig() [1/2]

Aws::CloudFront::Model::CustomOriginConfig::CustomOriginConfig ( )

◆ CustomOriginConfig() [2/2]

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

Member Function Documentation

◆ AddToNode()

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

◆ GetHTTPPort()

int Aws::CloudFront::Model::CustomOriginConfig::GetHTTPPort ( ) const
inline

The HTTP port that CloudFront uses to connect to the origin. Specify the HTTP port that the origin listens on.

Definition at line 49 of file CustomOriginConfig.h.

◆ GetHTTPSPort()

int Aws::CloudFront::Model::CustomOriginConfig::GetHTTPSPort ( ) const
inline

The HTTPS port that CloudFront uses to connect to the origin. Specify the HTTPS port that the origin listens on.

Definition at line 74 of file CustomOriginConfig.h.

◆ GetOriginKeepaliveTimeout()

int Aws::CloudFront::Model::CustomOriginConfig::GetOriginKeepaliveTimeout ( ) const
inline

Specifies how long, in seconds, CloudFront persists its connection to the origin. The minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don’t specify otherwise) is 5 seconds.

For more information, see Origin Keep-alive Timeout in the Amazon CloudFront Developer Guide.

Definition at line 272 of file CustomOriginConfig.h.

◆ GetOriginProtocolPolicy()

const OriginProtocolPolicy& Aws::CloudFront::Model::CustomOriginConfig::GetOriginProtocolPolicy ( ) const
inline

Specifies the protocol (HTTP or HTTPS) that CloudFront uses to connect to the origin. Valid values are:

  • http-onlyCloudFront always uses HTTP to connect to the origin.

  • match-viewerCloudFront connects to the origin using the same protocol that the viewer used to connect to CloudFront.

  • https-onlyCloudFront always uses HTTPS to connect to the origin.

Definition at line 104 of file CustomOriginConfig.h.

◆ GetOriginReadTimeout()

int Aws::CloudFront::Model::CustomOriginConfig::GetOriginReadTimeout ( ) const
inline

Specifies how long, in seconds, CloudFront waits for a response from the origin. This is also known as the origin response timeout. The minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don��t specify otherwise) is 30 seconds.

For more information, see Origin Response Timeout in the Amazon CloudFront Developer Guide.

Definition at line 231 of file CustomOriginConfig.h.

◆ GetOriginSslProtocols()

const OriginSslProtocols& Aws::CloudFront::Model::CustomOriginConfig::GetOriginSslProtocols ( ) const
inline

Specifies the minimum SSL/TLS protocol that CloudFront uses when connecting to your origin over HTTPS. Valid values include SSLv3, TLSv1, TLSv1.1, and TLSv1.2.

For more information, see Minimum Origin SSL Protocol in the Amazon CloudFront Developer Guide.

Definition at line 170 of file CustomOriginConfig.h.

◆ HTTPPortHasBeenSet()

bool Aws::CloudFront::Model::CustomOriginConfig::HTTPPortHasBeenSet ( ) const
inline

The HTTP port that CloudFront uses to connect to the origin. Specify the HTTP port that the origin listens on.

Definition at line 55 of file CustomOriginConfig.h.

◆ HTTPSPortHasBeenSet()

bool Aws::CloudFront::Model::CustomOriginConfig::HTTPSPortHasBeenSet ( ) const
inline

The HTTPS port that CloudFront uses to connect to the origin. Specify the HTTPS port that the origin listens on.

Definition at line 80 of file CustomOriginConfig.h.

◆ operator=()

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

◆ OriginKeepaliveTimeoutHasBeenSet()

bool Aws::CloudFront::Model::CustomOriginConfig::OriginKeepaliveTimeoutHasBeenSet ( ) const
inline

Specifies how long, in seconds, CloudFront persists its connection to the origin. The minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don’t specify otherwise) is 5 seconds.

For more information, see Origin Keep-alive Timeout in the Amazon CloudFront Developer Guide.

Definition at line 282 of file CustomOriginConfig.h.

◆ OriginProtocolPolicyHasBeenSet()

bool Aws::CloudFront::Model::CustomOriginConfig::OriginProtocolPolicyHasBeenSet ( ) const
inline

Specifies the protocol (HTTP or HTTPS) that CloudFront uses to connect to the origin. Valid values are:

  • http-onlyCloudFront always uses HTTP to connect to the origin.

  • match-viewerCloudFront connects to the origin using the same protocol that the viewer used to connect to CloudFront.

  • https-onlyCloudFront always uses HTTPS to connect to the origin.

Definition at line 115 of file CustomOriginConfig.h.

◆ OriginReadTimeoutHasBeenSet()

bool Aws::CloudFront::Model::CustomOriginConfig::OriginReadTimeoutHasBeenSet ( ) const
inline

Specifies how long, in seconds, CloudFront waits for a response from the origin. This is also known as the origin response timeout. The minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don��t specify otherwise) is 30 seconds.

For more information, see Origin Response Timeout in the Amazon CloudFront Developer Guide.

Definition at line 241 of file CustomOriginConfig.h.

◆ OriginSslProtocolsHasBeenSet()

bool Aws::CloudFront::Model::CustomOriginConfig::OriginSslProtocolsHasBeenSet ( ) const
inline

Specifies the minimum SSL/TLS protocol that CloudFront uses when connecting to your origin over HTTPS. Valid values include SSLv3, TLSv1, TLSv1.1, and TLSv1.2.

For more information, see Minimum Origin SSL Protocol in the Amazon CloudFront Developer Guide.

Definition at line 180 of file CustomOriginConfig.h.

◆ SetHTTPPort()

void Aws::CloudFront::Model::CustomOriginConfig::SetHTTPPort ( int  value)
inline

The HTTP port that CloudFront uses to connect to the origin. Specify the HTTP port that the origin listens on.

Definition at line 61 of file CustomOriginConfig.h.

◆ SetHTTPSPort()

void Aws::CloudFront::Model::CustomOriginConfig::SetHTTPSPort ( int  value)
inline

The HTTPS port that CloudFront uses to connect to the origin. Specify the HTTPS port that the origin listens on.

Definition at line 86 of file CustomOriginConfig.h.

◆ SetOriginKeepaliveTimeout()

void Aws::CloudFront::Model::CustomOriginConfig::SetOriginKeepaliveTimeout ( int  value)
inline

Specifies how long, in seconds, CloudFront persists its connection to the origin. The minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don’t specify otherwise) is 5 seconds.

For more information, see Origin Keep-alive Timeout in the Amazon CloudFront Developer Guide.

Definition at line 292 of file CustomOriginConfig.h.

◆ SetOriginProtocolPolicy() [1/2]

void Aws::CloudFront::Model::CustomOriginConfig::SetOriginProtocolPolicy ( const OriginProtocolPolicy value)
inline

Specifies the protocol (HTTP or HTTPS) that CloudFront uses to connect to the origin. Valid values are:

  • http-onlyCloudFront always uses HTTP to connect to the origin.

  • match-viewerCloudFront connects to the origin using the same protocol that the viewer used to connect to CloudFront.

  • https-onlyCloudFront always uses HTTPS to connect to the origin.

Definition at line 126 of file CustomOriginConfig.h.

◆ SetOriginProtocolPolicy() [2/2]

void Aws::CloudFront::Model::CustomOriginConfig::SetOriginProtocolPolicy ( OriginProtocolPolicy &&  value)
inline

Specifies the protocol (HTTP or HTTPS) that CloudFront uses to connect to the origin. Valid values are:

  • http-onlyCloudFront always uses HTTP to connect to the origin.

  • match-viewerCloudFront connects to the origin using the same protocol that the viewer used to connect to CloudFront.

  • https-onlyCloudFront always uses HTTPS to connect to the origin.

Definition at line 137 of file CustomOriginConfig.h.

◆ SetOriginReadTimeout()

void Aws::CloudFront::Model::CustomOriginConfig::SetOriginReadTimeout ( int  value)
inline

Specifies how long, in seconds, CloudFront waits for a response from the origin. This is also known as the origin response timeout. The minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don��t specify otherwise) is 30 seconds.

For more information, see Origin Response Timeout in the Amazon CloudFront Developer Guide.

Definition at line 251 of file CustomOriginConfig.h.

◆ SetOriginSslProtocols() [1/2]

void Aws::CloudFront::Model::CustomOriginConfig::SetOriginSslProtocols ( const OriginSslProtocols value)
inline

Specifies the minimum SSL/TLS protocol that CloudFront uses when connecting to your origin over HTTPS. Valid values include SSLv3, TLSv1, TLSv1.1, and TLSv1.2.

For more information, see Minimum Origin SSL Protocol in the Amazon CloudFront Developer Guide.

Definition at line 190 of file CustomOriginConfig.h.

◆ SetOriginSslProtocols() [2/2]

void Aws::CloudFront::Model::CustomOriginConfig::SetOriginSslProtocols ( OriginSslProtocols &&  value)
inline

Specifies the minimum SSL/TLS protocol that CloudFront uses when connecting to your origin over HTTPS. Valid values include SSLv3, TLSv1, TLSv1.1, and TLSv1.2.

For more information, see Minimum Origin SSL Protocol in the Amazon CloudFront Developer Guide.

Definition at line 200 of file CustomOriginConfig.h.

◆ WithHTTPPort()

CustomOriginConfig& Aws::CloudFront::Model::CustomOriginConfig::WithHTTPPort ( int  value)
inline

The HTTP port that CloudFront uses to connect to the origin. Specify the HTTP port that the origin listens on.

Definition at line 67 of file CustomOriginConfig.h.

◆ WithHTTPSPort()

CustomOriginConfig& Aws::CloudFront::Model::CustomOriginConfig::WithHTTPSPort ( int  value)
inline

The HTTPS port that CloudFront uses to connect to the origin. Specify the HTTPS port that the origin listens on.

Definition at line 92 of file CustomOriginConfig.h.

◆ WithOriginKeepaliveTimeout()

CustomOriginConfig& Aws::CloudFront::Model::CustomOriginConfig::WithOriginKeepaliveTimeout ( int  value)
inline

Specifies how long, in seconds, CloudFront persists its connection to the origin. The minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don’t specify otherwise) is 5 seconds.

For more information, see Origin Keep-alive Timeout in the Amazon CloudFront Developer Guide.

Definition at line 302 of file CustomOriginConfig.h.

◆ WithOriginProtocolPolicy() [1/2]

CustomOriginConfig& Aws::CloudFront::Model::CustomOriginConfig::WithOriginProtocolPolicy ( const OriginProtocolPolicy value)
inline

Specifies the protocol (HTTP or HTTPS) that CloudFront uses to connect to the origin. Valid values are:

  • http-onlyCloudFront always uses HTTP to connect to the origin.

  • match-viewerCloudFront connects to the origin using the same protocol that the viewer used to connect to CloudFront.

  • https-onlyCloudFront always uses HTTPS to connect to the origin.

Definition at line 148 of file CustomOriginConfig.h.

◆ WithOriginProtocolPolicy() [2/2]

CustomOriginConfig& Aws::CloudFront::Model::CustomOriginConfig::WithOriginProtocolPolicy ( OriginProtocolPolicy &&  value)
inline

Specifies the protocol (HTTP or HTTPS) that CloudFront uses to connect to the origin. Valid values are:

  • http-onlyCloudFront always uses HTTP to connect to the origin.

  • match-viewerCloudFront connects to the origin using the same protocol that the viewer used to connect to CloudFront.

  • https-onlyCloudFront always uses HTTPS to connect to the origin.

Definition at line 159 of file CustomOriginConfig.h.

◆ WithOriginReadTimeout()

CustomOriginConfig& Aws::CloudFront::Model::CustomOriginConfig::WithOriginReadTimeout ( int  value)
inline

Specifies how long, in seconds, CloudFront waits for a response from the origin. This is also known as the origin response timeout. The minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don��t specify otherwise) is 30 seconds.

For more information, see Origin Response Timeout in the Amazon CloudFront Developer Guide.

Definition at line 261 of file CustomOriginConfig.h.

◆ WithOriginSslProtocols() [1/2]

CustomOriginConfig& Aws::CloudFront::Model::CustomOriginConfig::WithOriginSslProtocols ( const OriginSslProtocols value)
inline

Specifies the minimum SSL/TLS protocol that CloudFront uses when connecting to your origin over HTTPS. Valid values include SSLv3, TLSv1, TLSv1.1, and TLSv1.2.

For more information, see Minimum Origin SSL Protocol in the Amazon CloudFront Developer Guide.

Definition at line 210 of file CustomOriginConfig.h.

◆ WithOriginSslProtocols() [2/2]

CustomOriginConfig& Aws::CloudFront::Model::CustomOriginConfig::WithOriginSslProtocols ( OriginSslProtocols &&  value)
inline

Specifies the minimum SSL/TLS protocol that CloudFront uses when connecting to your origin over HTTPS. Valid values include SSLv3, TLSv1, TLSv1.1, and TLSv1.2.

For more information, see Minimum Origin SSL Protocol in the Amazon CloudFront Developer Guide.

Definition at line 220 of file CustomOriginConfig.h.


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