/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides information about the TLS/SSL configuration that the CloudFront
* distribution uses to communicate with viewers.See Also:
AWS
* API Reference
The ARN of the ACM certificate. Used if the certificate is stored in ACM. If
* you provide an ACM certificate ARN, you must also provide
* MinimumCertificateVersion
and SslSupportMethod
.
The ARN of the ACM certificate. Used if the certificate is stored in ACM. If
* you provide an ACM certificate ARN, you must also provide
* MinimumCertificateVersion
and SslSupportMethod
.
The ARN of the ACM certificate. Used if the certificate is stored in ACM. If
* you provide an ACM certificate ARN, you must also provide
* MinimumCertificateVersion
and SslSupportMethod
.
The ARN of the ACM certificate. Used if the certificate is stored in ACM. If
* you provide an ACM certificate ARN, you must also provide
* MinimumCertificateVersion
and SslSupportMethod
.
The ARN of the ACM certificate. Used if the certificate is stored in ACM. If
* you provide an ACM certificate ARN, you must also provide
* MinimumCertificateVersion
and SslSupportMethod
.
The ARN of the ACM certificate. Used if the certificate is stored in ACM. If
* you provide an ACM certificate ARN, you must also provide
* MinimumCertificateVersion
and SslSupportMethod
.
The ARN of the ACM certificate. Used if the certificate is stored in ACM. If
* you provide an ACM certificate ARN, you must also provide
* MinimumCertificateVersion
and SslSupportMethod
.
The ARN of the ACM certificate. Used if the certificate is stored in ACM. If
* you provide an ACM certificate ARN, you must also provide
* MinimumCertificateVersion
and SslSupportMethod
.
The identifier of the certificate. Note that in CloudFront, this attribute is * deprecated.
*/ inline const Aws::String& GetCertificate() const{ return m_certificate; } /** *The identifier of the certificate. Note that in CloudFront, this attribute is * deprecated.
*/ inline bool CertificateHasBeenSet() const { return m_certificateHasBeenSet; } /** *The identifier of the certificate. Note that in CloudFront, this attribute is * deprecated.
*/ inline void SetCertificate(const Aws::String& value) { m_certificateHasBeenSet = true; m_certificate = value; } /** *The identifier of the certificate. Note that in CloudFront, this attribute is * deprecated.
*/ inline void SetCertificate(Aws::String&& value) { m_certificateHasBeenSet = true; m_certificate = std::move(value); } /** *The identifier of the certificate. Note that in CloudFront, this attribute is * deprecated.
*/ inline void SetCertificate(const char* value) { m_certificateHasBeenSet = true; m_certificate.assign(value); } /** *The identifier of the certificate. Note that in CloudFront, this attribute is * deprecated.
*/ inline AwsCloudFrontDistributionViewerCertificate& WithCertificate(const Aws::String& value) { SetCertificate(value); return *this;} /** *The identifier of the certificate. Note that in CloudFront, this attribute is * deprecated.
*/ inline AwsCloudFrontDistributionViewerCertificate& WithCertificate(Aws::String&& value) { SetCertificate(std::move(value)); return *this;} /** *The identifier of the certificate. Note that in CloudFront, this attribute is * deprecated.
*/ inline AwsCloudFrontDistributionViewerCertificate& WithCertificate(const char* value) { SetCertificate(value); return *this;} /** *The source of the certificate identified by Certificate
. Note
* that in CloudFront, this attribute is deprecated.
The source of the certificate identified by Certificate
. Note
* that in CloudFront, this attribute is deprecated.
The source of the certificate identified by Certificate
. Note
* that in CloudFront, this attribute is deprecated.
The source of the certificate identified by Certificate
. Note
* that in CloudFront, this attribute is deprecated.
The source of the certificate identified by Certificate
. Note
* that in CloudFront, this attribute is deprecated.
The source of the certificate identified by Certificate
. Note
* that in CloudFront, this attribute is deprecated.
The source of the certificate identified by Certificate
. Note
* that in CloudFront, this attribute is deprecated.
The source of the certificate identified by Certificate
. Note
* that in CloudFront, this attribute is deprecated.
Whether the distribution uses the CloudFront domain name. If set to
* false
, then you provide either AcmCertificateArn
or
* IamCertificateId
.
Whether the distribution uses the CloudFront domain name. If set to
* false
, then you provide either AcmCertificateArn
or
* IamCertificateId
.
Whether the distribution uses the CloudFront domain name. If set to
* false
, then you provide either AcmCertificateArn
or
* IamCertificateId
.
Whether the distribution uses the CloudFront domain name. If set to
* false
, then you provide either AcmCertificateArn
or
* IamCertificateId
.
The identifier of the IAM certificate. Used if the certificate is stored in
* IAM. If you provide IamCertificateId
, then you also must provide
* MinimumProtocolVersion
and SslSupportMethod
.
The identifier of the IAM certificate. Used if the certificate is stored in
* IAM. If you provide IamCertificateId
, then you also must provide
* MinimumProtocolVersion
and SslSupportMethod
.
The identifier of the IAM certificate. Used if the certificate is stored in
* IAM. If you provide IamCertificateId
, then you also must provide
* MinimumProtocolVersion
and SslSupportMethod
.
The identifier of the IAM certificate. Used if the certificate is stored in
* IAM. If you provide IamCertificateId
, then you also must provide
* MinimumProtocolVersion
and SslSupportMethod
.
The identifier of the IAM certificate. Used if the certificate is stored in
* IAM. If you provide IamCertificateId
, then you also must provide
* MinimumProtocolVersion
and SslSupportMethod
.
The identifier of the IAM certificate. Used if the certificate is stored in
* IAM. If you provide IamCertificateId
, then you also must provide
* MinimumProtocolVersion
and SslSupportMethod
.
The identifier of the IAM certificate. Used if the certificate is stored in
* IAM. If you provide IamCertificateId
, then you also must provide
* MinimumProtocolVersion
and SslSupportMethod
.
The identifier of the IAM certificate. Used if the certificate is stored in
* IAM. If you provide IamCertificateId
, then you also must provide
* MinimumProtocolVersion
and SslSupportMethod
.
The security policy that CloudFront uses for HTTPS connections with viewers.
* If SslSupportMethod
is sni-only
, then
* MinimumProtocolVersion
must be TLSv1
or higher.
The security policy that CloudFront uses for HTTPS connections with viewers.
* If SslSupportMethod
is sni-only
, then
* MinimumProtocolVersion
must be TLSv1
or higher.
The security policy that CloudFront uses for HTTPS connections with viewers.
* If SslSupportMethod
is sni-only
, then
* MinimumProtocolVersion
must be TLSv1
or higher.
The security policy that CloudFront uses for HTTPS connections with viewers.
* If SslSupportMethod
is sni-only
, then
* MinimumProtocolVersion
must be TLSv1
or higher.
The security policy that CloudFront uses for HTTPS connections with viewers.
* If SslSupportMethod
is sni-only
, then
* MinimumProtocolVersion
must be TLSv1
or higher.
The security policy that CloudFront uses for HTTPS connections with viewers.
* If SslSupportMethod
is sni-only
, then
* MinimumProtocolVersion
must be TLSv1
or higher.
The security policy that CloudFront uses for HTTPS connections with viewers.
* If SslSupportMethod
is sni-only
, then
* MinimumProtocolVersion
must be TLSv1
or higher.
The security policy that CloudFront uses for HTTPS connections with viewers.
* If SslSupportMethod
is sni-only
, then
* MinimumProtocolVersion
must be TLSv1
or higher.
The viewers that the distribution accepts HTTPS connections from.
*/ inline const Aws::String& GetSslSupportMethod() const{ return m_sslSupportMethod; } /** *The viewers that the distribution accepts HTTPS connections from.
*/ inline bool SslSupportMethodHasBeenSet() const { return m_sslSupportMethodHasBeenSet; } /** *The viewers that the distribution accepts HTTPS connections from.
*/ inline void SetSslSupportMethod(const Aws::String& value) { m_sslSupportMethodHasBeenSet = true; m_sslSupportMethod = value; } /** *The viewers that the distribution accepts HTTPS connections from.
*/ inline void SetSslSupportMethod(Aws::String&& value) { m_sslSupportMethodHasBeenSet = true; m_sslSupportMethod = std::move(value); } /** *The viewers that the distribution accepts HTTPS connections from.
*/ inline void SetSslSupportMethod(const char* value) { m_sslSupportMethodHasBeenSet = true; m_sslSupportMethod.assign(value); } /** *The viewers that the distribution accepts HTTPS connections from.
*/ inline AwsCloudFrontDistributionViewerCertificate& WithSslSupportMethod(const Aws::String& value) { SetSslSupportMethod(value); return *this;} /** *The viewers that the distribution accepts HTTPS connections from.
*/ inline AwsCloudFrontDistributionViewerCertificate& WithSslSupportMethod(Aws::String&& value) { SetSslSupportMethod(std::move(value)); return *this;} /** *The viewers that the distribution accepts HTTPS connections from.
*/ inline AwsCloudFrontDistributionViewerCertificate& WithSslSupportMethod(const char* value) { SetSslSupportMethod(value); return *this;} private: Aws::String m_acmCertificateArn; bool m_acmCertificateArnHasBeenSet = false; Aws::String m_certificate; bool m_certificateHasBeenSet = false; Aws::String m_certificateSource; bool m_certificateSourceHasBeenSet = false; bool m_cloudFrontDefaultCertificate; bool m_cloudFrontDefaultCertificateHasBeenSet = false; Aws::String m_iamCertificateId; bool m_iamCertificateIdHasBeenSet = false; Aws::String m_minimumProtocolVersion; bool m_minimumProtocolVersionHasBeenSet = false; Aws::String m_sslSupportMethod; bool m_sslSupportMethodHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws