/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about additional options for the domain endpoint.See
* Also:
AWS
* API Reference
The ARN for the security certificate. The certificate is managed in ACM.
*/ inline const Aws::String& GetCustomEndpointCertificateArn() const{ return m_customEndpointCertificateArn; } /** *The ARN for the security certificate. The certificate is managed in ACM.
*/ inline bool CustomEndpointCertificateArnHasBeenSet() const { return m_customEndpointCertificateArnHasBeenSet; } /** *The ARN for the security certificate. The certificate is managed in ACM.
*/ inline void SetCustomEndpointCertificateArn(const Aws::String& value) { m_customEndpointCertificateArnHasBeenSet = true; m_customEndpointCertificateArn = value; } /** *The ARN for the security certificate. The certificate is managed in ACM.
*/ inline void SetCustomEndpointCertificateArn(Aws::String&& value) { m_customEndpointCertificateArnHasBeenSet = true; m_customEndpointCertificateArn = std::move(value); } /** *The ARN for the security certificate. The certificate is managed in ACM.
*/ inline void SetCustomEndpointCertificateArn(const char* value) { m_customEndpointCertificateArnHasBeenSet = true; m_customEndpointCertificateArn.assign(value); } /** *The ARN for the security certificate. The certificate is managed in ACM.
*/ inline AwsOpenSearchServiceDomainDomainEndpointOptionsDetails& WithCustomEndpointCertificateArn(const Aws::String& value) { SetCustomEndpointCertificateArn(value); return *this;} /** *The ARN for the security certificate. The certificate is managed in ACM.
*/ inline AwsOpenSearchServiceDomainDomainEndpointOptionsDetails& WithCustomEndpointCertificateArn(Aws::String&& value) { SetCustomEndpointCertificateArn(std::move(value)); return *this;} /** *The ARN for the security certificate. The certificate is managed in ACM.
*/ inline AwsOpenSearchServiceDomainDomainEndpointOptionsDetails& WithCustomEndpointCertificateArn(const char* value) { SetCustomEndpointCertificateArn(value); return *this;} /** *Whether to enable a custom endpoint for the domain.
*/ inline bool GetCustomEndpointEnabled() const{ return m_customEndpointEnabled; } /** *Whether to enable a custom endpoint for the domain.
*/ inline bool CustomEndpointEnabledHasBeenSet() const { return m_customEndpointEnabledHasBeenSet; } /** *Whether to enable a custom endpoint for the domain.
*/ inline void SetCustomEndpointEnabled(bool value) { m_customEndpointEnabledHasBeenSet = true; m_customEndpointEnabled = value; } /** *Whether to enable a custom endpoint for the domain.
*/ inline AwsOpenSearchServiceDomainDomainEndpointOptionsDetails& WithCustomEndpointEnabled(bool value) { SetCustomEndpointEnabled(value); return *this;} /** *Whether to require that all traffic to the domain arrive over HTTPS.
*/ inline bool GetEnforceHTTPS() const{ return m_enforceHTTPS; } /** *Whether to require that all traffic to the domain arrive over HTTPS.
*/ inline bool EnforceHTTPSHasBeenSet() const { return m_enforceHTTPSHasBeenSet; } /** *Whether to require that all traffic to the domain arrive over HTTPS.
*/ inline void SetEnforceHTTPS(bool value) { m_enforceHTTPSHasBeenSet = true; m_enforceHTTPS = value; } /** *Whether to require that all traffic to the domain arrive over HTTPS.
*/ inline AwsOpenSearchServiceDomainDomainEndpointOptionsDetails& WithEnforceHTTPS(bool value) { SetEnforceHTTPS(value); return *this;} /** *The fully qualified URL for the custom endpoint.
*/ inline const Aws::String& GetCustomEndpoint() const{ return m_customEndpoint; } /** *The fully qualified URL for the custom endpoint.
*/ inline bool CustomEndpointHasBeenSet() const { return m_customEndpointHasBeenSet; } /** *The fully qualified URL for the custom endpoint.
*/ inline void SetCustomEndpoint(const Aws::String& value) { m_customEndpointHasBeenSet = true; m_customEndpoint = value; } /** *The fully qualified URL for the custom endpoint.
*/ inline void SetCustomEndpoint(Aws::String&& value) { m_customEndpointHasBeenSet = true; m_customEndpoint = std::move(value); } /** *The fully qualified URL for the custom endpoint.
*/ inline void SetCustomEndpoint(const char* value) { m_customEndpointHasBeenSet = true; m_customEndpoint.assign(value); } /** *The fully qualified URL for the custom endpoint.
*/ inline AwsOpenSearchServiceDomainDomainEndpointOptionsDetails& WithCustomEndpoint(const Aws::String& value) { SetCustomEndpoint(value); return *this;} /** *The fully qualified URL for the custom endpoint.
*/ inline AwsOpenSearchServiceDomainDomainEndpointOptionsDetails& WithCustomEndpoint(Aws::String&& value) { SetCustomEndpoint(std::move(value)); return *this;} /** *The fully qualified URL for the custom endpoint.
*/ inline AwsOpenSearchServiceDomainDomainEndpointOptionsDetails& WithCustomEndpoint(const char* value) { SetCustomEndpoint(value); return *this;} /** *The TLS security policy to apply to the HTTPS endpoint of the OpenSearch * domain.
*/ inline const Aws::String& GetTLSSecurityPolicy() const{ return m_tLSSecurityPolicy; } /** *The TLS security policy to apply to the HTTPS endpoint of the OpenSearch * domain.
*/ inline bool TLSSecurityPolicyHasBeenSet() const { return m_tLSSecurityPolicyHasBeenSet; } /** *The TLS security policy to apply to the HTTPS endpoint of the OpenSearch * domain.
*/ inline void SetTLSSecurityPolicy(const Aws::String& value) { m_tLSSecurityPolicyHasBeenSet = true; m_tLSSecurityPolicy = value; } /** *The TLS security policy to apply to the HTTPS endpoint of the OpenSearch * domain.
*/ inline void SetTLSSecurityPolicy(Aws::String&& value) { m_tLSSecurityPolicyHasBeenSet = true; m_tLSSecurityPolicy = std::move(value); } /** *The TLS security policy to apply to the HTTPS endpoint of the OpenSearch * domain.
*/ inline void SetTLSSecurityPolicy(const char* value) { m_tLSSecurityPolicyHasBeenSet = true; m_tLSSecurityPolicy.assign(value); } /** *The TLS security policy to apply to the HTTPS endpoint of the OpenSearch * domain.
*/ inline AwsOpenSearchServiceDomainDomainEndpointOptionsDetails& WithTLSSecurityPolicy(const Aws::String& value) { SetTLSSecurityPolicy(value); return *this;} /** *The TLS security policy to apply to the HTTPS endpoint of the OpenSearch * domain.
*/ inline AwsOpenSearchServiceDomainDomainEndpointOptionsDetails& WithTLSSecurityPolicy(Aws::String&& value) { SetTLSSecurityPolicy(std::move(value)); return *this;} /** *The TLS security policy to apply to the HTTPS endpoint of the OpenSearch * domain.
*/ inline AwsOpenSearchServiceDomainDomainEndpointOptionsDetails& WithTLSSecurityPolicy(const char* value) { SetTLSSecurityPolicy(value); return *this;} private: Aws::String m_customEndpointCertificateArn; bool m_customEndpointCertificateArnHasBeenSet = false; bool m_customEndpointEnabled; bool m_customEndpointEnabledHasBeenSet = false; bool m_enforceHTTPS; bool m_enforceHTTPSHasBeenSet = false; Aws::String m_customEndpoint; bool m_customEndpointHasBeenSet = false; Aws::String m_tLSSecurityPolicy; bool m_tLSSecurityPolicyHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws