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

#include <AwsCloudFrontDistributionDefaultCacheBehavior.h>

Public Member Functions

 AwsCloudFrontDistributionDefaultCacheBehavior ()
 
 AwsCloudFrontDistributionDefaultCacheBehavior (Aws::Utils::Json::JsonView jsonValue)
 
AwsCloudFrontDistributionDefaultCacheBehavioroperator= (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)
 
AwsCloudFrontDistributionDefaultCacheBehaviorWithViewerProtocolPolicy (const Aws::String &value)
 
AwsCloudFrontDistributionDefaultCacheBehaviorWithViewerProtocolPolicy (Aws::String &&value)
 
AwsCloudFrontDistributionDefaultCacheBehaviorWithViewerProtocolPolicy (const char *value)
 

Detailed Description

Contains information about the default cache configuration for the distribution.

See Also:

AWS API Reference

Definition at line 32 of file AwsCloudFrontDistributionDefaultCacheBehavior.h.

Constructor & Destructor Documentation

◆ AwsCloudFrontDistributionDefaultCacheBehavior() [1/2]

Aws::SecurityHub::Model::AwsCloudFrontDistributionDefaultCacheBehavior::AwsCloudFrontDistributionDefaultCacheBehavior ( )

◆ AwsCloudFrontDistributionDefaultCacheBehavior() [2/2]

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

Member Function Documentation

◆ GetViewerProtocolPolicy()

const Aws::String& Aws::SecurityHub::Model::AwsCloudFrontDistributionDefaultCacheBehavior::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 AwsCloudFrontDistributionDefaultCacheBehavior.h.

◆ Jsonize()

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

◆ operator=()

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

◆ SetViewerProtocolPolicy() [1/3]

void Aws::SecurityHub::Model::AwsCloudFrontDistributionDefaultCacheBehavior::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 AwsCloudFrontDistributionDefaultCacheBehavior.h.

◆ SetViewerProtocolPolicy() [2/3]

void Aws::SecurityHub::Model::AwsCloudFrontDistributionDefaultCacheBehavior::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 AwsCloudFrontDistributionDefaultCacheBehavior.h.

◆ SetViewerProtocolPolicy() [3/3]

void Aws::SecurityHub::Model::AwsCloudFrontDistributionDefaultCacheBehavior::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 AwsCloudFrontDistributionDefaultCacheBehavior.h.

◆ ViewerProtocolPolicyHasBeenSet()

bool Aws::SecurityHub::Model::AwsCloudFrontDistributionDefaultCacheBehavior::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 AwsCloudFrontDistributionDefaultCacheBehavior.h.

◆ WithViewerProtocolPolicy() [1/3]

AwsCloudFrontDistributionDefaultCacheBehavior& Aws::SecurityHub::Model::AwsCloudFrontDistributionDefaultCacheBehavior::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 AwsCloudFrontDistributionDefaultCacheBehavior.h.

◆ WithViewerProtocolPolicy() [2/3]

AwsCloudFrontDistributionDefaultCacheBehavior& Aws::SecurityHub::Model::AwsCloudFrontDistributionDefaultCacheBehavior::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 AwsCloudFrontDistributionDefaultCacheBehavior.h.

◆ WithViewerProtocolPolicy() [3/3]

AwsCloudFrontDistributionDefaultCacheBehavior& Aws::SecurityHub::Model::AwsCloudFrontDistributionDefaultCacheBehavior::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 AwsCloudFrontDistributionDefaultCacheBehavior.h.


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