AWS SDK for C++  1.9.67
AWS SDK for C++
Public Member Functions | List of all members
Aws::SecurityHub::Model::AwsCloudFrontDistributionCacheBehavior Class Reference

#include <AwsCloudFrontDistributionCacheBehavior.h>

Public Member Functions

 AwsCloudFrontDistributionCacheBehavior ()
 
 AwsCloudFrontDistributionCacheBehavior (Aws::Utils::Json::JsonView jsonValue)
 
AwsCloudFrontDistributionCacheBehavioroperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetViewerProtocolPolicy () const
 
bool ViewerProtocolPolicyHasBeenSet () const
 
void SetViewerProtocolPolicy (const Aws::String &value)
 
void SetViewerProtocolPolicy (Aws::String &&value)
 
void SetViewerProtocolPolicy (const char *value)
 
AwsCloudFrontDistributionCacheBehaviorWithViewerProtocolPolicy (const Aws::String &value)
 
AwsCloudFrontDistributionCacheBehaviorWithViewerProtocolPolicy (Aws::String &&value)
 
AwsCloudFrontDistributionCacheBehaviorWithViewerProtocolPolicy (const char *value)
 

Detailed Description

Information about a cache behavior for the distribution.

See Also:

AWS API Reference

Definition at line 32 of file AwsCloudFrontDistributionCacheBehavior.h.

Constructor & Destructor Documentation

◆ AwsCloudFrontDistributionCacheBehavior() [1/2]

Aws::SecurityHub::Model::AwsCloudFrontDistributionCacheBehavior::AwsCloudFrontDistributionCacheBehavior ( )

◆ AwsCloudFrontDistributionCacheBehavior() [2/2]

Aws::SecurityHub::Model::AwsCloudFrontDistributionCacheBehavior::AwsCloudFrontDistributionCacheBehavior ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ GetViewerProtocolPolicy()

const Aws::String& Aws::SecurityHub::Model::AwsCloudFrontDistributionCacheBehavior::GetViewerProtocolPolicy ( ) const
inline

The protocol that viewers can use to access the files in an origin. You can specify the following options:

  • allow-all - Viewers can use HTTP or HTTPS.

  • redirect-to-https

    • CloudFront responds to HTTP requests with an HTTP status code of 301 (Moved Permanently) and the HTTPS URL. The viewer then uses the new URL to resubmit.

  • https-only - CloudFront responds to HTTP request with an HTTP status code of 403 (Forbidden).

Definition at line 50 of file AwsCloudFrontDistributionCacheBehavior.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::SecurityHub::Model::AwsCloudFrontDistributionCacheBehavior::Jsonize ( ) const

◆ operator=()

AwsCloudFrontDistributionCacheBehavior& Aws::SecurityHub::Model::AwsCloudFrontDistributionCacheBehavior::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetViewerProtocolPolicy() [1/3]

void Aws::SecurityHub::Model::AwsCloudFrontDistributionCacheBehavior::SetViewerProtocolPolicy ( Aws::String &&  value)
inline

The protocol that viewers can use to access the files in an origin. You can specify the following options:

  • allow-all - Viewers can use HTTP or HTTPS.

  • redirect-to-https

    • CloudFront responds to HTTP requests with an HTTP status code of 301 (Moved Permanently) and the HTTPS URL. The viewer then uses the new URL to resubmit.

  • https-only - CloudFront responds to HTTP request with an HTTP status code of 403 (Forbidden).

Definition at line 83 of file AwsCloudFrontDistributionCacheBehavior.h.

◆ SetViewerProtocolPolicy() [2/3]

void Aws::SecurityHub::Model::AwsCloudFrontDistributionCacheBehavior::SetViewerProtocolPolicy ( const Aws::String value)
inline

The protocol that viewers can use to access the files in an origin. You can specify the following options:

  • allow-all - Viewers can use HTTP or HTTPS.

  • redirect-to-https

    • CloudFront responds to HTTP requests with an HTTP status code of 301 (Moved Permanently) and the HTTPS URL. The viewer then uses the new URL to resubmit.

  • https-only - CloudFront responds to HTTP request with an HTTP status code of 403 (Forbidden).

Definition at line 72 of file AwsCloudFrontDistributionCacheBehavior.h.

◆ SetViewerProtocolPolicy() [3/3]

void Aws::SecurityHub::Model::AwsCloudFrontDistributionCacheBehavior::SetViewerProtocolPolicy ( const char *  value)
inline

The protocol that viewers can use to access the files in an origin. You can specify the following options:

  • allow-all - Viewers can use HTTP or HTTPS.

  • redirect-to-https

    • CloudFront responds to HTTP requests with an HTTP status code of 301 (Moved Permanently) and the HTTPS URL. The viewer then uses the new URL to resubmit.

  • https-only - CloudFront responds to HTTP request with an HTTP status code of 403 (Forbidden).

Definition at line 94 of file AwsCloudFrontDistributionCacheBehavior.h.

◆ ViewerProtocolPolicyHasBeenSet()

bool Aws::SecurityHub::Model::AwsCloudFrontDistributionCacheBehavior::ViewerProtocolPolicyHasBeenSet ( ) const
inline

The protocol that viewers can use to access the files in an origin. You can specify the following options:

  • allow-all - Viewers can use HTTP or HTTPS.

  • redirect-to-https

    • CloudFront responds to HTTP requests with an HTTP status code of 301 (Moved Permanently) and the HTTPS URL. The viewer then uses the new URL to resubmit.

  • https-only - CloudFront responds to HTTP request with an HTTP status code of 403 (Forbidden).

Definition at line 61 of file AwsCloudFrontDistributionCacheBehavior.h.

◆ WithViewerProtocolPolicy() [1/3]

AwsCloudFrontDistributionCacheBehavior& Aws::SecurityHub::Model::AwsCloudFrontDistributionCacheBehavior::WithViewerProtocolPolicy ( Aws::String &&  value)
inline

The protocol that viewers can use to access the files in an origin. You can specify the following options:

  • allow-all - Viewers can use HTTP or HTTPS.

  • redirect-to-https

    • CloudFront responds to HTTP requests with an HTTP status code of 301 (Moved Permanently) and the HTTPS URL. The viewer then uses the new URL to resubmit.

  • https-only - CloudFront responds to HTTP request with an HTTP status code of 403 (Forbidden).

Definition at line 116 of file AwsCloudFrontDistributionCacheBehavior.h.

◆ WithViewerProtocolPolicy() [2/3]

AwsCloudFrontDistributionCacheBehavior& Aws::SecurityHub::Model::AwsCloudFrontDistributionCacheBehavior::WithViewerProtocolPolicy ( const Aws::String value)
inline

The protocol that viewers can use to access the files in an origin. You can specify the following options:

  • allow-all - Viewers can use HTTP or HTTPS.

  • redirect-to-https

    • CloudFront responds to HTTP requests with an HTTP status code of 301 (Moved Permanently) and the HTTPS URL. The viewer then uses the new URL to resubmit.

  • https-only - CloudFront responds to HTTP request with an HTTP status code of 403 (Forbidden).

Definition at line 105 of file AwsCloudFrontDistributionCacheBehavior.h.

◆ WithViewerProtocolPolicy() [3/3]

AwsCloudFrontDistributionCacheBehavior& Aws::SecurityHub::Model::AwsCloudFrontDistributionCacheBehavior::WithViewerProtocolPolicy ( const char *  value)
inline

The protocol that viewers can use to access the files in an origin. You can specify the following options:

  • allow-all - Viewers can use HTTP or HTTPS.

  • redirect-to-https

    • CloudFront responds to HTTP requests with an HTTP status code of 301 (Moved Permanently) and the HTTPS URL. The viewer then uses the new URL to resubmit.

  • https-only - CloudFront responds to HTTP request with an HTTP status code of 403 (Forbidden).

Definition at line 127 of file AwsCloudFrontDistributionCacheBehavior.h.


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