AWS SDK for C++

AWS SDK for C++ Version 1.11.812

Loading...
Searching...
No Matches
ElasticsearchDomainConfig.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/es/ElasticsearchService_EXPORTS.h>
9#include <aws/es/model/AccessPoliciesStatus.h>
10#include <aws/es/model/AdvancedOptionsStatus.h>
11#include <aws/es/model/AdvancedSecurityOptionsStatus.h>
12#include <aws/es/model/AutoTuneOptionsStatus.h>
13#include <aws/es/model/AutomatedSnapshotPauseOptionsStatus.h>
14#include <aws/es/model/ChangeProgressDetails.h>
15#include <aws/es/model/CognitoOptionsStatus.h>
16#include <aws/es/model/DeploymentStrategyOptionsStatus.h>
17#include <aws/es/model/DomainEndpointOptionsStatus.h>
18#include <aws/es/model/EBSOptionsStatus.h>
19#include <aws/es/model/ElasticsearchClusterConfigStatus.h>
20#include <aws/es/model/ElasticsearchVersionStatus.h>
21#include <aws/es/model/EncryptionAtRestOptionsStatus.h>
22#include <aws/es/model/LogPublishingOptionsStatus.h>
23#include <aws/es/model/ModifyingProperties.h>
24#include <aws/es/model/NodeToNodeEncryptionOptionsStatus.h>
25#include <aws/es/model/SnapshotOptionsStatus.h>
26#include <aws/es/model/VPCDerivedInfoStatus.h>
27
28#include <utility>
29
30namespace Aws {
31namespace Utils {
32namespace Json {
33class JsonValue;
34class JsonView;
35} // namespace Json
36} // namespace Utils
37namespace ElasticsearchService {
38namespace Model {
39
46 public:
47 AWS_ELASTICSEARCHSERVICE_API ElasticsearchDomainConfig() = default;
48 AWS_ELASTICSEARCHSERVICE_API ElasticsearchDomainConfig(Aws::Utils::Json::JsonView jsonValue);
49 AWS_ELASTICSEARCHSERVICE_API ElasticsearchDomainConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
50 AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
51
53
56 inline const ElasticsearchVersionStatus& GetElasticsearchVersion() const { return m_elasticsearchVersion; }
57 inline bool ElasticsearchVersionHasBeenSet() const { return m_elasticsearchVersionHasBeenSet; }
58 template <typename ElasticsearchVersionT = ElasticsearchVersionStatus>
59 void SetElasticsearchVersion(ElasticsearchVersionT&& value) {
60 m_elasticsearchVersionHasBeenSet = true;
61 m_elasticsearchVersion = std::forward<ElasticsearchVersionT>(value);
62 }
63 template <typename ElasticsearchVersionT = ElasticsearchVersionStatus>
64 ElasticsearchDomainConfig& WithElasticsearchVersion(ElasticsearchVersionT&& value) {
65 SetElasticsearchVersion(std::forward<ElasticsearchVersionT>(value));
66 return *this;
67 }
69
71
75 inline const ElasticsearchClusterConfigStatus& GetElasticsearchClusterConfig() const { return m_elasticsearchClusterConfig; }
76 inline bool ElasticsearchClusterConfigHasBeenSet() const { return m_elasticsearchClusterConfigHasBeenSet; }
77 template <typename ElasticsearchClusterConfigT = ElasticsearchClusterConfigStatus>
78 void SetElasticsearchClusterConfig(ElasticsearchClusterConfigT&& value) {
79 m_elasticsearchClusterConfigHasBeenSet = true;
80 m_elasticsearchClusterConfig = std::forward<ElasticsearchClusterConfigT>(value);
81 }
82 template <typename ElasticsearchClusterConfigT = ElasticsearchClusterConfigStatus>
83 ElasticsearchDomainConfig& WithElasticsearchClusterConfig(ElasticsearchClusterConfigT&& value) {
84 SetElasticsearchClusterConfig(std::forward<ElasticsearchClusterConfigT>(value));
85 return *this;
86 }
88
90
93 inline const EBSOptionsStatus& GetEBSOptions() const { return m_eBSOptions; }
94 inline bool EBSOptionsHasBeenSet() const { return m_eBSOptionsHasBeenSet; }
95 template <typename EBSOptionsT = EBSOptionsStatus>
96 void SetEBSOptions(EBSOptionsT&& value) {
97 m_eBSOptionsHasBeenSet = true;
98 m_eBSOptions = std::forward<EBSOptionsT>(value);
99 }
100 template <typename EBSOptionsT = EBSOptionsStatus>
102 SetEBSOptions(std::forward<EBSOptionsT>(value));
103 return *this;
104 }
106
108
111 inline const AccessPoliciesStatus& GetAccessPolicies() const { return m_accessPolicies; }
112 inline bool AccessPoliciesHasBeenSet() const { return m_accessPoliciesHasBeenSet; }
113 template <typename AccessPoliciesT = AccessPoliciesStatus>
114 void SetAccessPolicies(AccessPoliciesT&& value) {
115 m_accessPoliciesHasBeenSet = true;
116 m_accessPolicies = std::forward<AccessPoliciesT>(value);
117 }
118 template <typename AccessPoliciesT = AccessPoliciesStatus>
120 SetAccessPolicies(std::forward<AccessPoliciesT>(value));
121 return *this;
122 }
124
126
129 inline const SnapshotOptionsStatus& GetSnapshotOptions() const { return m_snapshotOptions; }
130 inline bool SnapshotOptionsHasBeenSet() const { return m_snapshotOptionsHasBeenSet; }
131 template <typename SnapshotOptionsT = SnapshotOptionsStatus>
132 void SetSnapshotOptions(SnapshotOptionsT&& value) {
133 m_snapshotOptionsHasBeenSet = true;
134 m_snapshotOptions = std::forward<SnapshotOptionsT>(value);
135 }
136 template <typename SnapshotOptionsT = SnapshotOptionsStatus>
138 SetSnapshotOptions(std::forward<SnapshotOptionsT>(value));
139 return *this;
140 }
142
144
150 inline const VPCDerivedInfoStatus& GetVPCOptions() const { return m_vPCOptions; }
151 inline bool VPCOptionsHasBeenSet() const { return m_vPCOptionsHasBeenSet; }
152 template <typename VPCOptionsT = VPCDerivedInfoStatus>
153 void SetVPCOptions(VPCOptionsT&& value) {
154 m_vPCOptionsHasBeenSet = true;
155 m_vPCOptions = std::forward<VPCOptionsT>(value);
156 }
157 template <typename VPCOptionsT = VPCDerivedInfoStatus>
159 SetVPCOptions(std::forward<VPCOptionsT>(value));
160 return *this;
161 }
163
165
171 inline const CognitoOptionsStatus& GetCognitoOptions() const { return m_cognitoOptions; }
172 inline bool CognitoOptionsHasBeenSet() const { return m_cognitoOptionsHasBeenSet; }
173 template <typename CognitoOptionsT = CognitoOptionsStatus>
174 void SetCognitoOptions(CognitoOptionsT&& value) {
175 m_cognitoOptionsHasBeenSet = true;
176 m_cognitoOptions = std::forward<CognitoOptionsT>(value);
177 }
178 template <typename CognitoOptionsT = CognitoOptionsStatus>
180 SetCognitoOptions(std::forward<CognitoOptionsT>(value));
181 return *this;
182 }
184
186
190 inline const EncryptionAtRestOptionsStatus& GetEncryptionAtRestOptions() const { return m_encryptionAtRestOptions; }
191 inline bool EncryptionAtRestOptionsHasBeenSet() const { return m_encryptionAtRestOptionsHasBeenSet; }
192 template <typename EncryptionAtRestOptionsT = EncryptionAtRestOptionsStatus>
193 void SetEncryptionAtRestOptions(EncryptionAtRestOptionsT&& value) {
194 m_encryptionAtRestOptionsHasBeenSet = true;
195 m_encryptionAtRestOptions = std::forward<EncryptionAtRestOptionsT>(value);
196 }
197 template <typename EncryptionAtRestOptionsT = EncryptionAtRestOptionsStatus>
198 ElasticsearchDomainConfig& WithEncryptionAtRestOptions(EncryptionAtRestOptionsT&& value) {
199 SetEncryptionAtRestOptions(std::forward<EncryptionAtRestOptionsT>(value));
200 return *this;
201 }
203
205
209 inline const NodeToNodeEncryptionOptionsStatus& GetNodeToNodeEncryptionOptions() const { return m_nodeToNodeEncryptionOptions; }
210 inline bool NodeToNodeEncryptionOptionsHasBeenSet() const { return m_nodeToNodeEncryptionOptionsHasBeenSet; }
211 template <typename NodeToNodeEncryptionOptionsT = NodeToNodeEncryptionOptionsStatus>
212 void SetNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsT&& value) {
213 m_nodeToNodeEncryptionOptionsHasBeenSet = true;
214 m_nodeToNodeEncryptionOptions = std::forward<NodeToNodeEncryptionOptionsT>(value);
215 }
216 template <typename NodeToNodeEncryptionOptionsT = NodeToNodeEncryptionOptionsStatus>
217 ElasticsearchDomainConfig& WithNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsT&& value) {
218 SetNodeToNodeEncryptionOptions(std::forward<NodeToNodeEncryptionOptionsT>(value));
219 return *this;
220 }
222
224
229 inline const AdvancedOptionsStatus& GetAdvancedOptions() const { return m_advancedOptions; }
230 inline bool AdvancedOptionsHasBeenSet() const { return m_advancedOptionsHasBeenSet; }
231 template <typename AdvancedOptionsT = AdvancedOptionsStatus>
232 void SetAdvancedOptions(AdvancedOptionsT&& value) {
233 m_advancedOptionsHasBeenSet = true;
234 m_advancedOptions = std::forward<AdvancedOptionsT>(value);
235 }
236 template <typename AdvancedOptionsT = AdvancedOptionsStatus>
238 SetAdvancedOptions(std::forward<AdvancedOptionsT>(value));
239 return *this;
240 }
242
244
247 inline const LogPublishingOptionsStatus& GetLogPublishingOptions() const { return m_logPublishingOptions; }
248 inline bool LogPublishingOptionsHasBeenSet() const { return m_logPublishingOptionsHasBeenSet; }
249 template <typename LogPublishingOptionsT = LogPublishingOptionsStatus>
250 void SetLogPublishingOptions(LogPublishingOptionsT&& value) {
251 m_logPublishingOptionsHasBeenSet = true;
252 m_logPublishingOptions = std::forward<LogPublishingOptionsT>(value);
253 }
254 template <typename LogPublishingOptionsT = LogPublishingOptionsStatus>
255 ElasticsearchDomainConfig& WithLogPublishingOptions(LogPublishingOptionsT&& value) {
256 SetLogPublishingOptions(std::forward<LogPublishingOptionsT>(value));
257 return *this;
258 }
260
262
266 inline const DomainEndpointOptionsStatus& GetDomainEndpointOptions() const { return m_domainEndpointOptions; }
267 inline bool DomainEndpointOptionsHasBeenSet() const { return m_domainEndpointOptionsHasBeenSet; }
268 template <typename DomainEndpointOptionsT = DomainEndpointOptionsStatus>
269 void SetDomainEndpointOptions(DomainEndpointOptionsT&& value) {
270 m_domainEndpointOptionsHasBeenSet = true;
271 m_domainEndpointOptions = std::forward<DomainEndpointOptionsT>(value);
272 }
273 template <typename DomainEndpointOptionsT = DomainEndpointOptionsStatus>
274 ElasticsearchDomainConfig& WithDomainEndpointOptions(DomainEndpointOptionsT&& value) {
275 SetDomainEndpointOptions(std::forward<DomainEndpointOptionsT>(value));
276 return *this;
277 }
279
281
284 inline const AdvancedSecurityOptionsStatus& GetAdvancedSecurityOptions() const { return m_advancedSecurityOptions; }
285 inline bool AdvancedSecurityOptionsHasBeenSet() const { return m_advancedSecurityOptionsHasBeenSet; }
286 template <typename AdvancedSecurityOptionsT = AdvancedSecurityOptionsStatus>
287 void SetAdvancedSecurityOptions(AdvancedSecurityOptionsT&& value) {
288 m_advancedSecurityOptionsHasBeenSet = true;
289 m_advancedSecurityOptions = std::forward<AdvancedSecurityOptionsT>(value);
290 }
291 template <typename AdvancedSecurityOptionsT = AdvancedSecurityOptionsStatus>
292 ElasticsearchDomainConfig& WithAdvancedSecurityOptions(AdvancedSecurityOptionsT&& value) {
293 SetAdvancedSecurityOptions(std::forward<AdvancedSecurityOptionsT>(value));
294 return *this;
295 }
297
299
302 inline const AutoTuneOptionsStatus& GetAutoTuneOptions() const { return m_autoTuneOptions; }
303 inline bool AutoTuneOptionsHasBeenSet() const { return m_autoTuneOptionsHasBeenSet; }
304 template <typename AutoTuneOptionsT = AutoTuneOptionsStatus>
305 void SetAutoTuneOptions(AutoTuneOptionsT&& value) {
306 m_autoTuneOptionsHasBeenSet = true;
307 m_autoTuneOptions = std::forward<AutoTuneOptionsT>(value);
308 }
309 template <typename AutoTuneOptionsT = AutoTuneOptionsStatus>
311 SetAutoTuneOptions(std::forward<AutoTuneOptionsT>(value));
312 return *this;
313 }
315
317
320 inline const ChangeProgressDetails& GetChangeProgressDetails() const { return m_changeProgressDetails; }
321 inline bool ChangeProgressDetailsHasBeenSet() const { return m_changeProgressDetailsHasBeenSet; }
322 template <typename ChangeProgressDetailsT = ChangeProgressDetails>
323 void SetChangeProgressDetails(ChangeProgressDetailsT&& value) {
324 m_changeProgressDetailsHasBeenSet = true;
325 m_changeProgressDetails = std::forward<ChangeProgressDetailsT>(value);
326 }
327 template <typename ChangeProgressDetailsT = ChangeProgressDetails>
328 ElasticsearchDomainConfig& WithChangeProgressDetails(ChangeProgressDetailsT&& value) {
329 SetChangeProgressDetails(std::forward<ChangeProgressDetailsT>(value));
330 return *this;
331 }
333
335
339 inline const Aws::Vector<ModifyingProperties>& GetModifyingProperties() const { return m_modifyingProperties; }
340 inline bool ModifyingPropertiesHasBeenSet() const { return m_modifyingPropertiesHasBeenSet; }
341 template <typename ModifyingPropertiesT = Aws::Vector<ModifyingProperties>>
342 void SetModifyingProperties(ModifyingPropertiesT&& value) {
343 m_modifyingPropertiesHasBeenSet = true;
344 m_modifyingProperties = std::forward<ModifyingPropertiesT>(value);
345 }
346 template <typename ModifyingPropertiesT = Aws::Vector<ModifyingProperties>>
347 ElasticsearchDomainConfig& WithModifyingProperties(ModifyingPropertiesT&& value) {
348 SetModifyingProperties(std::forward<ModifyingPropertiesT>(value));
349 return *this;
350 }
351 template <typename ModifyingPropertiesT = ModifyingProperties>
352 ElasticsearchDomainConfig& AddModifyingProperties(ModifyingPropertiesT&& value) {
353 m_modifyingPropertiesHasBeenSet = true;
354 m_modifyingProperties.emplace_back(std::forward<ModifyingPropertiesT>(value));
355 return *this;
356 }
358
360
363 inline const DeploymentStrategyOptionsStatus& GetDeploymentStrategyOptions() const { return m_deploymentStrategyOptions; }
364 inline bool DeploymentStrategyOptionsHasBeenSet() const { return m_deploymentStrategyOptionsHasBeenSet; }
365 template <typename DeploymentStrategyOptionsT = DeploymentStrategyOptionsStatus>
366 void SetDeploymentStrategyOptions(DeploymentStrategyOptionsT&& value) {
367 m_deploymentStrategyOptionsHasBeenSet = true;
368 m_deploymentStrategyOptions = std::forward<DeploymentStrategyOptionsT>(value);
369 }
370 template <typename DeploymentStrategyOptionsT = DeploymentStrategyOptionsStatus>
371 ElasticsearchDomainConfig& WithDeploymentStrategyOptions(DeploymentStrategyOptionsT&& value) {
372 SetDeploymentStrategyOptions(std::forward<DeploymentStrategyOptionsT>(value));
373 return *this;
374 }
376
378
381 inline const AutomatedSnapshotPauseOptionsStatus& GetAutomatedSnapshotPauseOptions() const { return m_automatedSnapshotPauseOptions; }
382 inline bool AutomatedSnapshotPauseOptionsHasBeenSet() const { return m_automatedSnapshotPauseOptionsHasBeenSet; }
383 template <typename AutomatedSnapshotPauseOptionsT = AutomatedSnapshotPauseOptionsStatus>
384 void SetAutomatedSnapshotPauseOptions(AutomatedSnapshotPauseOptionsT&& value) {
385 m_automatedSnapshotPauseOptionsHasBeenSet = true;
386 m_automatedSnapshotPauseOptions = std::forward<AutomatedSnapshotPauseOptionsT>(value);
387 }
388 template <typename AutomatedSnapshotPauseOptionsT = AutomatedSnapshotPauseOptionsStatus>
389 ElasticsearchDomainConfig& WithAutomatedSnapshotPauseOptions(AutomatedSnapshotPauseOptionsT&& value) {
390 SetAutomatedSnapshotPauseOptions(std::forward<AutomatedSnapshotPauseOptionsT>(value));
391 return *this;
392 }
394 private:
395 ElasticsearchVersionStatus m_elasticsearchVersion;
396
397 ElasticsearchClusterConfigStatus m_elasticsearchClusterConfig;
398
399 EBSOptionsStatus m_eBSOptions;
400
401 AccessPoliciesStatus m_accessPolicies;
402
403 SnapshotOptionsStatus m_snapshotOptions;
404
405 VPCDerivedInfoStatus m_vPCOptions;
406
407 CognitoOptionsStatus m_cognitoOptions;
408
409 EncryptionAtRestOptionsStatus m_encryptionAtRestOptions;
410
411 NodeToNodeEncryptionOptionsStatus m_nodeToNodeEncryptionOptions;
412
413 AdvancedOptionsStatus m_advancedOptions;
414
415 LogPublishingOptionsStatus m_logPublishingOptions;
416
417 DomainEndpointOptionsStatus m_domainEndpointOptions;
418
419 AdvancedSecurityOptionsStatus m_advancedSecurityOptions;
420
421 AutoTuneOptionsStatus m_autoTuneOptions;
422
423 ChangeProgressDetails m_changeProgressDetails;
424
425 Aws::Vector<ModifyingProperties> m_modifyingProperties;
426
427 DeploymentStrategyOptionsStatus m_deploymentStrategyOptions;
428
429 AutomatedSnapshotPauseOptionsStatus m_automatedSnapshotPauseOptions;
430 bool m_elasticsearchVersionHasBeenSet = false;
431 bool m_elasticsearchClusterConfigHasBeenSet = false;
432 bool m_eBSOptionsHasBeenSet = false;
433 bool m_accessPoliciesHasBeenSet = false;
434 bool m_snapshotOptionsHasBeenSet = false;
435 bool m_vPCOptionsHasBeenSet = false;
436 bool m_cognitoOptionsHasBeenSet = false;
437 bool m_encryptionAtRestOptionsHasBeenSet = false;
438 bool m_nodeToNodeEncryptionOptionsHasBeenSet = false;
439 bool m_advancedOptionsHasBeenSet = false;
440 bool m_logPublishingOptionsHasBeenSet = false;
441 bool m_domainEndpointOptionsHasBeenSet = false;
442 bool m_advancedSecurityOptionsHasBeenSet = false;
443 bool m_autoTuneOptionsHasBeenSet = false;
444 bool m_changeProgressDetailsHasBeenSet = false;
445 bool m_modifyingPropertiesHasBeenSet = false;
446 bool m_deploymentStrategyOptionsHasBeenSet = false;
447 bool m_automatedSnapshotPauseOptionsHasBeenSet = false;
448};
449
450} // namespace Model
451} // namespace ElasticsearchService
452} // namespace Aws
ElasticsearchDomainConfig & WithSnapshotOptions(SnapshotOptionsT &&value)
AWS_ELASTICSEARCHSERVICE_API ElasticsearchDomainConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
ElasticsearchDomainConfig & WithAccessPolicies(AccessPoliciesT &&value)
ElasticsearchDomainConfig & WithLogPublishingOptions(LogPublishingOptionsT &&value)
const ElasticsearchClusterConfigStatus & GetElasticsearchClusterConfig() const
const LogPublishingOptionsStatus & GetLogPublishingOptions() const
ElasticsearchDomainConfig & WithAutomatedSnapshotPauseOptions(AutomatedSnapshotPauseOptionsT &&value)
void SetDeploymentStrategyOptions(DeploymentStrategyOptionsT &&value)
ElasticsearchDomainConfig & WithEBSOptions(EBSOptionsT &&value)
ElasticsearchDomainConfig & WithChangeProgressDetails(ChangeProgressDetailsT &&value)
const AutomatedSnapshotPauseOptionsStatus & GetAutomatedSnapshotPauseOptions() const
ElasticsearchDomainConfig & WithElasticsearchVersion(ElasticsearchVersionT &&value)
ElasticsearchDomainConfig & WithCognitoOptions(CognitoOptionsT &&value)
ElasticsearchDomainConfig & WithVPCOptions(VPCOptionsT &&value)
void SetNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsT &&value)
const ElasticsearchVersionStatus & GetElasticsearchVersion() const
const Aws::Vector< ModifyingProperties > & GetModifyingProperties() const
const DeploymentStrategyOptionsStatus & GetDeploymentStrategyOptions() const
void SetElasticsearchClusterConfig(ElasticsearchClusterConfigT &&value)
const NodeToNodeEncryptionOptionsStatus & GetNodeToNodeEncryptionOptions() const
ElasticsearchDomainConfig & WithAutoTuneOptions(AutoTuneOptionsT &&value)
const EncryptionAtRestOptionsStatus & GetEncryptionAtRestOptions() const
ElasticsearchDomainConfig & WithAdvancedSecurityOptions(AdvancedSecurityOptionsT &&value)
AWS_ELASTICSEARCHSERVICE_API ElasticsearchDomainConfig()=default
const DomainEndpointOptionsStatus & GetDomainEndpointOptions() const
AWS_ELASTICSEARCHSERVICE_API ElasticsearchDomainConfig(Aws::Utils::Json::JsonView jsonValue)
ElasticsearchDomainConfig & WithElasticsearchClusterConfig(ElasticsearchClusterConfigT &&value)
ElasticsearchDomainConfig & WithDeploymentStrategyOptions(DeploymentStrategyOptionsT &&value)
ElasticsearchDomainConfig & WithAdvancedOptions(AdvancedOptionsT &&value)
ElasticsearchDomainConfig & AddModifyingProperties(ModifyingPropertiesT &&value)
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ElasticsearchDomainConfig & WithNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsT &&value)
ElasticsearchDomainConfig & WithEncryptionAtRestOptions(EncryptionAtRestOptionsT &&value)
ElasticsearchDomainConfig & WithDomainEndpointOptions(DomainEndpointOptionsT &&value)
ElasticsearchDomainConfig & WithModifyingProperties(ModifyingPropertiesT &&value)
void SetAutomatedSnapshotPauseOptions(AutomatedSnapshotPauseOptionsT &&value)
const AdvancedSecurityOptionsStatus & GetAdvancedSecurityOptions() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue