7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/opensearch/model/TLSSecurityPolicy.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
22namespace OpenSearchService
48 inline void SetEnforceHTTPS(
bool value) { m_enforceHTTPSHasBeenSet =
true; m_enforceHTTPS = value; }
75 inline void SetCustomEndpointEnabled(
bool value) { m_customEndpointEnabledHasBeenSet =
true; m_customEndpointEnabled = value; }
85 template<
typename CustomEndpo
intT = Aws::String>
86 void SetCustomEndpoint(CustomEndpointT&& value) { m_customEndpointHasBeenSet =
true; m_customEndpoint = std::forward<CustomEndpointT>(value); }
87 template<
typename CustomEndpo
intT = Aws::String>
98 template<
typename CustomEndpo
intCertificateArnT = Aws::String>
99 void SetCustomEndpointCertificateArn(CustomEndpointCertificateArnT&& value) { m_customEndpointCertificateArnHasBeenSet =
true; m_customEndpointCertificateArn = std::forward<CustomEndpointCertificateArnT>(value); }
100 template<
typename CustomEndpo
intCertificateArnT = Aws::String>
105 bool m_enforceHTTPS{
false};
106 bool m_enforceHTTPSHasBeenSet =
false;
109 bool m_tLSSecurityPolicyHasBeenSet =
false;
111 bool m_customEndpointEnabled{
false};
112 bool m_customEndpointEnabledHasBeenSet =
false;
115 bool m_customEndpointHasBeenSet =
false;
118 bool m_customEndpointCertificateArnHasBeenSet =
false;
bool GetEnforceHTTPS() const
DomainEndpointOptions & WithTLSSecurityPolicy(TLSSecurityPolicy value)
bool GetCustomEndpointEnabled() const
void SetTLSSecurityPolicy(TLSSecurityPolicy value)
DomainEndpointOptions & WithCustomEndpoint(CustomEndpointT &&value)
DomainEndpointOptions & WithCustomEndpointEnabled(bool value)
AWS_OPENSEARCHSERVICE_API DomainEndpointOptions()=default
void SetEnforceHTTPS(bool value)
TLSSecurityPolicy GetTLSSecurityPolicy() const
const Aws::String & GetCustomEndpointCertificateArn() const
AWS_OPENSEARCHSERVICE_API DomainEndpointOptions(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCustomEndpoint() const
void SetCustomEndpointEnabled(bool value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
bool EnforceHTTPSHasBeenSet() const
void SetCustomEndpoint(CustomEndpointT &&value)
DomainEndpointOptions & WithEnforceHTTPS(bool value)
AWS_OPENSEARCHSERVICE_API DomainEndpointOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CustomEndpointHasBeenSet() const
void SetCustomEndpointCertificateArn(CustomEndpointCertificateArnT &&value)
bool TLSSecurityPolicyHasBeenSet() const
bool CustomEndpointCertificateArnHasBeenSet() const
DomainEndpointOptions & WithCustomEndpointCertificateArn(CustomEndpointCertificateArnT &&value)
bool CustomEndpointEnabledHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue