AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DomainEndpointOptions.h
1
6#pragma once
7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/es/model/TLSSecurityPolicy.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ElasticsearchService
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_ELASTICSEARCHSERVICE_API DomainEndpointOptions();
37 AWS_ELASTICSEARCHSERVICE_API DomainEndpointOptions(Aws::Utils::Json::JsonView jsonValue);
38 AWS_ELASTICSEARCHSERVICE_API DomainEndpointOptions& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline bool GetEnforceHTTPS() const{ return m_enforceHTTPS; }
48 inline bool EnforceHTTPSHasBeenSet() const { return m_enforceHTTPSHasBeenSet; }
49 inline void SetEnforceHTTPS(bool value) { m_enforceHTTPSHasBeenSet = true; m_enforceHTTPS = value; }
50 inline DomainEndpointOptions& WithEnforceHTTPS(bool value) { SetEnforceHTTPS(value); return *this;}
52
54
64 inline const TLSSecurityPolicy& GetTLSSecurityPolicy() const{ return m_tLSSecurityPolicy; }
65 inline bool TLSSecurityPolicyHasBeenSet() const { return m_tLSSecurityPolicyHasBeenSet; }
66 inline void SetTLSSecurityPolicy(const TLSSecurityPolicy& value) { m_tLSSecurityPolicyHasBeenSet = true; m_tLSSecurityPolicy = value; }
67 inline void SetTLSSecurityPolicy(TLSSecurityPolicy&& value) { m_tLSSecurityPolicyHasBeenSet = true; m_tLSSecurityPolicy = std::move(value); }
69 inline DomainEndpointOptions& WithTLSSecurityPolicy(TLSSecurityPolicy&& value) { SetTLSSecurityPolicy(std::move(value)); return *this;}
71
73
77 inline bool GetCustomEndpointEnabled() const{ return m_customEndpointEnabled; }
78 inline bool CustomEndpointEnabledHasBeenSet() const { return m_customEndpointEnabledHasBeenSet; }
79 inline void SetCustomEndpointEnabled(bool value) { m_customEndpointEnabledHasBeenSet = true; m_customEndpointEnabled = value; }
82
84
87 inline const Aws::String& GetCustomEndpoint() const{ return m_customEndpoint; }
88 inline bool CustomEndpointHasBeenSet() const { return m_customEndpointHasBeenSet; }
89 inline void SetCustomEndpoint(const Aws::String& value) { m_customEndpointHasBeenSet = true; m_customEndpoint = value; }
90 inline void SetCustomEndpoint(Aws::String&& value) { m_customEndpointHasBeenSet = true; m_customEndpoint = std::move(value); }
91 inline void SetCustomEndpoint(const char* value) { m_customEndpointHasBeenSet = true; m_customEndpoint.assign(value); }
92 inline DomainEndpointOptions& WithCustomEndpoint(const Aws::String& value) { SetCustomEndpoint(value); return *this;}
93 inline DomainEndpointOptions& WithCustomEndpoint(Aws::String&& value) { SetCustomEndpoint(std::move(value)); return *this;}
94 inline DomainEndpointOptions& WithCustomEndpoint(const char* value) { SetCustomEndpoint(value); return *this;}
96
98
101 inline const Aws::String& GetCustomEndpointCertificateArn() const{ return m_customEndpointCertificateArn; }
102 inline bool CustomEndpointCertificateArnHasBeenSet() const { return m_customEndpointCertificateArnHasBeenSet; }
103 inline void SetCustomEndpointCertificateArn(const Aws::String& value) { m_customEndpointCertificateArnHasBeenSet = true; m_customEndpointCertificateArn = value; }
104 inline void SetCustomEndpointCertificateArn(Aws::String&& value) { m_customEndpointCertificateArnHasBeenSet = true; m_customEndpointCertificateArn = std::move(value); }
105 inline void SetCustomEndpointCertificateArn(const char* value) { m_customEndpointCertificateArnHasBeenSet = true; m_customEndpointCertificateArn.assign(value); }
110 private:
111
112 bool m_enforceHTTPS;
113 bool m_enforceHTTPSHasBeenSet = false;
114
115 TLSSecurityPolicy m_tLSSecurityPolicy;
116 bool m_tLSSecurityPolicyHasBeenSet = false;
117
118 bool m_customEndpointEnabled;
119 bool m_customEndpointEnabledHasBeenSet = false;
120
121 Aws::String m_customEndpoint;
122 bool m_customEndpointHasBeenSet = false;
123
124 Aws::String m_customEndpointCertificateArn;
125 bool m_customEndpointCertificateArnHasBeenSet = false;
126 };
127
128} // namespace Model
129} // namespace ElasticsearchService
130} // namespace Aws
DomainEndpointOptions & WithCustomEndpoint(const Aws::String &value)
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ELASTICSEARCHSERVICE_API DomainEndpointOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
DomainEndpointOptions & WithTLSSecurityPolicy(TLSSecurityPolicy &&value)
DomainEndpointOptions & WithCustomEndpointCertificateArn(Aws::String &&value)
DomainEndpointOptions & WithCustomEndpoint(const char *value)
DomainEndpointOptions & WithTLSSecurityPolicy(const TLSSecurityPolicy &value)
DomainEndpointOptions & WithCustomEndpointCertificateArn(const char *value)
DomainEndpointOptions & WithCustomEndpoint(Aws::String &&value)
AWS_ELASTICSEARCHSERVICE_API DomainEndpointOptions(Aws::Utils::Json::JsonView jsonValue)
DomainEndpointOptions & WithCustomEndpointEnabled(bool value)
DomainEndpointOptions & WithCustomEndpointCertificateArn(const Aws::String &value)
AWS_ELASTICSEARCHSERVICE_API DomainEndpointOptions()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue