AWS SDK for C++  1.9.107
AWS SDK for C++
DomainEndpointOptions.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace ElasticsearchService
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
46  inline bool GetEnforceHTTPS() const{ return m_enforceHTTPS; }
47 
52  inline bool EnforceHTTPSHasBeenSet() const { return m_enforceHTTPSHasBeenSet; }
53 
58  inline void SetEnforceHTTPS(bool value) { m_enforceHTTPSHasBeenSet = true; m_enforceHTTPS = value; }
59 
64  inline DomainEndpointOptions& WithEnforceHTTPS(bool value) { SetEnforceHTTPS(value); return *this;}
65 
66 
74  inline const TLSSecurityPolicy& GetTLSSecurityPolicy() const{ return m_tLSSecurityPolicy; }
75 
83  inline bool TLSSecurityPolicyHasBeenSet() const { return m_tLSSecurityPolicyHasBeenSet; }
84 
92  inline void SetTLSSecurityPolicy(const TLSSecurityPolicy& value) { m_tLSSecurityPolicyHasBeenSet = true; m_tLSSecurityPolicy = value; }
93 
101  inline void SetTLSSecurityPolicy(TLSSecurityPolicy&& value) { m_tLSSecurityPolicyHasBeenSet = true; m_tLSSecurityPolicy = std::move(value); }
102 
110  inline DomainEndpointOptions& WithTLSSecurityPolicy(const TLSSecurityPolicy& value) { SetTLSSecurityPolicy(value); return *this;}
111 
119  inline DomainEndpointOptions& WithTLSSecurityPolicy(TLSSecurityPolicy&& value) { SetTLSSecurityPolicy(std::move(value)); return *this;}
120 
121 
126  inline bool GetCustomEndpointEnabled() const{ return m_customEndpointEnabled; }
127 
132  inline bool CustomEndpointEnabledHasBeenSet() const { return m_customEndpointEnabledHasBeenSet; }
133 
138  inline void SetCustomEndpointEnabled(bool value) { m_customEndpointEnabledHasBeenSet = true; m_customEndpointEnabled = value; }
139 
144  inline DomainEndpointOptions& WithCustomEndpointEnabled(bool value) { SetCustomEndpointEnabled(value); return *this;}
145 
146 
150  inline const Aws::String& GetCustomEndpoint() const{ return m_customEndpoint; }
151 
155  inline bool CustomEndpointHasBeenSet() const { return m_customEndpointHasBeenSet; }
156 
160  inline void SetCustomEndpoint(const Aws::String& value) { m_customEndpointHasBeenSet = true; m_customEndpoint = value; }
161 
165  inline void SetCustomEndpoint(Aws::String&& value) { m_customEndpointHasBeenSet = true; m_customEndpoint = std::move(value); }
166 
170  inline void SetCustomEndpoint(const char* value) { m_customEndpointHasBeenSet = true; m_customEndpoint.assign(value); }
171 
175  inline DomainEndpointOptions& WithCustomEndpoint(const Aws::String& value) { SetCustomEndpoint(value); return *this;}
176 
180  inline DomainEndpointOptions& WithCustomEndpoint(Aws::String&& value) { SetCustomEndpoint(std::move(value)); return *this;}
181 
185  inline DomainEndpointOptions& WithCustomEndpoint(const char* value) { SetCustomEndpoint(value); return *this;}
186 
187 
191  inline const Aws::String& GetCustomEndpointCertificateArn() const{ return m_customEndpointCertificateArn; }
192 
196  inline bool CustomEndpointCertificateArnHasBeenSet() const { return m_customEndpointCertificateArnHasBeenSet; }
197 
201  inline void SetCustomEndpointCertificateArn(const Aws::String& value) { m_customEndpointCertificateArnHasBeenSet = true; m_customEndpointCertificateArn = value; }
202 
206  inline void SetCustomEndpointCertificateArn(Aws::String&& value) { m_customEndpointCertificateArnHasBeenSet = true; m_customEndpointCertificateArn = std::move(value); }
207 
211  inline void SetCustomEndpointCertificateArn(const char* value) { m_customEndpointCertificateArnHasBeenSet = true; m_customEndpointCertificateArn.assign(value); }
212 
216  inline DomainEndpointOptions& WithCustomEndpointCertificateArn(const Aws::String& value) { SetCustomEndpointCertificateArn(value); return *this;}
217 
221  inline DomainEndpointOptions& WithCustomEndpointCertificateArn(Aws::String&& value) { SetCustomEndpointCertificateArn(std::move(value)); return *this;}
222 
226  inline DomainEndpointOptions& WithCustomEndpointCertificateArn(const char* value) { SetCustomEndpointCertificateArn(value); return *this;}
227 
228  private:
229 
230  bool m_enforceHTTPS;
231  bool m_enforceHTTPSHasBeenSet;
232 
233  TLSSecurityPolicy m_tLSSecurityPolicy;
234  bool m_tLSSecurityPolicyHasBeenSet;
235 
236  bool m_customEndpointEnabled;
237  bool m_customEndpointEnabledHasBeenSet;
238 
239  Aws::String m_customEndpoint;
240  bool m_customEndpointHasBeenSet;
241 
242  Aws::String m_customEndpointCertificateArn;
243  bool m_customEndpointCertificateArnHasBeenSet;
244  };
245 
246 } // namespace Model
247 } // namespace ElasticsearchService
248 } // namespace Aws
Aws::ElasticsearchService::Model::TLSSecurityPolicy
TLSSecurityPolicy
Definition: TLSSecurityPolicy.h:17
Aws::ElasticsearchService::Model::DomainEndpointOptions::EnforceHTTPSHasBeenSet
bool EnforceHTTPSHasBeenSet() const
Definition: DomainEndpointOptions.h:52
Aws::ElasticsearchService::Model::DomainEndpointOptions::SetCustomEndpointCertificateArn
void SetCustomEndpointCertificateArn(Aws::String &&value)
Definition: DomainEndpointOptions.h:206
Aws::ElasticsearchService::Model::DomainEndpointOptions::GetEnforceHTTPS
bool GetEnforceHTTPS() const
Definition: DomainEndpointOptions.h:46
Aws::ElasticsearchService::Model::DomainEndpointOptions::SetCustomEndpointCertificateArn
void SetCustomEndpointCertificateArn(const char *value)
Definition: DomainEndpointOptions.h:211
Aws::ElasticsearchService::Model::DomainEndpointOptions::SetCustomEndpointCertificateArn
void SetCustomEndpointCertificateArn(const Aws::String &value)
Definition: DomainEndpointOptions.h:201
Aws::ElasticsearchService::Model::DomainEndpointOptions::WithTLSSecurityPolicy
DomainEndpointOptions & WithTLSSecurityPolicy(const TLSSecurityPolicy &value)
Definition: DomainEndpointOptions.h:110
Aws::ElasticsearchService::Model::DomainEndpointOptions::WithCustomEndpointEnabled
DomainEndpointOptions & WithCustomEndpointEnabled(bool value)
Definition: DomainEndpointOptions.h:144
Aws::ElasticsearchService::Model::DomainEndpointOptions::SetCustomEndpointEnabled
void SetCustomEndpointEnabled(bool value)
Definition: DomainEndpointOptions.h:138
Aws::ElasticsearchService::Model::DomainEndpointOptions::SetCustomEndpoint
void SetCustomEndpoint(const Aws::String &value)
Definition: DomainEndpointOptions.h:160
Aws::ElasticsearchService::Model::DomainEndpointOptions::SetTLSSecurityPolicy
void SetTLSSecurityPolicy(TLSSecurityPolicy &&value)
Definition: DomainEndpointOptions.h:101
Aws::ElasticsearchService::Model::DomainEndpointOptions::TLSSecurityPolicyHasBeenSet
bool TLSSecurityPolicyHasBeenSet() const
Definition: DomainEndpointOptions.h:83
Aws::ElasticsearchService::Model::DomainEndpointOptions::DomainEndpointOptions
DomainEndpointOptions(Aws::Utils::Json::JsonView jsonValue)
Aws::ElasticsearchService::Model::DomainEndpointOptions::CustomEndpointHasBeenSet
bool CustomEndpointHasBeenSet() const
Definition: DomainEndpointOptions.h:155
Aws::ElasticsearchService::Model::DomainEndpointOptions::operator=
DomainEndpointOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::ElasticsearchService::Model::DomainEndpointOptions::WithCustomEndpoint
DomainEndpointOptions & WithCustomEndpoint(const char *value)
Definition: DomainEndpointOptions.h:185
AWS_ELASTICSEARCHSERVICE_API
#define AWS_ELASTICSEARCHSERVICE_API
Definition: ElasticsearchService_EXPORTS.h:28
Aws::ElasticsearchService::Model::DomainEndpointOptions::DomainEndpointOptions
DomainEndpointOptions()
Aws::ElasticsearchService::Model::DomainEndpointOptions::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::ElasticsearchService::Model::DomainEndpointOptions::SetCustomEndpoint
void SetCustomEndpoint(Aws::String &&value)
Definition: DomainEndpointOptions.h:165
ElasticsearchService_EXPORTS.h
Aws::ElasticsearchService::Model::DomainEndpointOptions::WithCustomEndpoint
DomainEndpointOptions & WithCustomEndpoint(Aws::String &&value)
Definition: DomainEndpointOptions.h:180
Aws::ElasticsearchService::Model::DomainEndpointOptions::WithCustomEndpoint
DomainEndpointOptions & WithCustomEndpoint(const Aws::String &value)
Definition: DomainEndpointOptions.h:175
Aws::ElasticsearchService::Model::DomainEndpointOptions::SetCustomEndpoint
void SetCustomEndpoint(const char *value)
Definition: DomainEndpointOptions.h:170
Aws::ElasticsearchService::Model::DomainEndpointOptions::GetCustomEndpoint
const Aws::String & GetCustomEndpoint() const
Definition: DomainEndpointOptions.h:150
Aws::ElasticsearchService::Model::DomainEndpointOptions::CustomEndpointEnabledHasBeenSet
bool CustomEndpointEnabledHasBeenSet() const
Definition: DomainEndpointOptions.h:132
Aws::ElasticsearchService::Model::DomainEndpointOptions::GetCustomEndpointEnabled
bool GetCustomEndpointEnabled() const
Definition: DomainEndpointOptions.h:126
Aws::ElasticsearchService::Model::DomainEndpointOptions::GetCustomEndpointCertificateArn
const Aws::String & GetCustomEndpointCertificateArn() const
Definition: DomainEndpointOptions.h:191
Aws::ElasticsearchService::Model::DomainEndpointOptions::WithTLSSecurityPolicy
DomainEndpointOptions & WithTLSSecurityPolicy(TLSSecurityPolicy &&value)
Definition: DomainEndpointOptions.h:119
Aws::ElasticsearchService::Model::DomainEndpointOptions::WithCustomEndpointCertificateArn
DomainEndpointOptions & WithCustomEndpointCertificateArn(Aws::String &&value)
Definition: DomainEndpointOptions.h:221
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::ElasticsearchService::Model::DomainEndpointOptions::GetTLSSecurityPolicy
const TLSSecurityPolicy & GetTLSSecurityPolicy() const
Definition: DomainEndpointOptions.h:74
Aws::ElasticsearchService::Model::DomainEndpointOptions::SetEnforceHTTPS
void SetEnforceHTTPS(bool value)
Definition: DomainEndpointOptions.h:58
Aws::ElasticsearchService::Model::DomainEndpointOptions::CustomEndpointCertificateArnHasBeenSet
bool CustomEndpointCertificateArnHasBeenSet() const
Definition: DomainEndpointOptions.h:196
Aws
Definition: AccessManagementClient.h:15
Aws::ElasticsearchService::Model::DomainEndpointOptions
Definition: DomainEndpointOptions.h:34
Aws::ElasticsearchService::Model::DomainEndpointOptions::WithCustomEndpointCertificateArn
DomainEndpointOptions & WithCustomEndpointCertificateArn(const char *value)
Definition: DomainEndpointOptions.h:226
Aws::ElasticsearchService::Model::DomainEndpointOptions::WithCustomEndpointCertificateArn
DomainEndpointOptions & WithCustomEndpointCertificateArn(const Aws::String &value)
Definition: DomainEndpointOptions.h:216
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticsearchService::Model::DomainEndpointOptions::SetTLSSecurityPolicy
void SetTLSSecurityPolicy(const TLSSecurityPolicy &value)
Definition: DomainEndpointOptions.h:92
TLSSecurityPolicy.h
Aws::ElasticsearchService::Model::DomainEndpointOptions::WithEnforceHTTPS
DomainEndpointOptions & WithEnforceHTTPS(bool value)
Definition: DomainEndpointOptions.h:64