AWS SDK for C++

AWS SDK for C++ Version 1.11.788

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/ChangeProgressDetails.h>
14#include <aws/es/model/CognitoOptionsStatus.h>
15#include <aws/es/model/DeploymentStrategyOptionsStatus.h>
16#include <aws/es/model/DomainEndpointOptionsStatus.h>
17#include <aws/es/model/EBSOptionsStatus.h>
18#include <aws/es/model/ElasticsearchClusterConfigStatus.h>
19#include <aws/es/model/ElasticsearchVersionStatus.h>
20#include <aws/es/model/EncryptionAtRestOptionsStatus.h>
21#include <aws/es/model/LogPublishingOptionsStatus.h>
22#include <aws/es/model/ModifyingProperties.h>
23#include <aws/es/model/NodeToNodeEncryptionOptionsStatus.h>
24#include <aws/es/model/SnapshotOptionsStatus.h>
25#include <aws/es/model/VPCDerivedInfoStatus.h>
26
27#include <utility>
28
29namespace Aws {
30namespace Utils {
31namespace Json {
32class JsonValue;
33class JsonView;
34} // namespace Json
35} // namespace Utils
36namespace ElasticsearchService {
37namespace Model {
38
45 public:
46 AWS_ELASTICSEARCHSERVICE_API ElasticsearchDomainConfig() = default;
47 AWS_ELASTICSEARCHSERVICE_API ElasticsearchDomainConfig(Aws::Utils::Json::JsonView jsonValue);
48 AWS_ELASTICSEARCHSERVICE_API ElasticsearchDomainConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
49 AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
50
52
55 inline const ElasticsearchVersionStatus& GetElasticsearchVersion() const { return m_elasticsearchVersion; }
56 inline bool ElasticsearchVersionHasBeenSet() const { return m_elasticsearchVersionHasBeenSet; }
57 template <typename ElasticsearchVersionT = ElasticsearchVersionStatus>
58 void SetElasticsearchVersion(ElasticsearchVersionT&& value) {
59 m_elasticsearchVersionHasBeenSet = true;
60 m_elasticsearchVersion = std::forward<ElasticsearchVersionT>(value);
61 }
62 template <typename ElasticsearchVersionT = ElasticsearchVersionStatus>
63 ElasticsearchDomainConfig& WithElasticsearchVersion(ElasticsearchVersionT&& value) {
64 SetElasticsearchVersion(std::forward<ElasticsearchVersionT>(value));
65 return *this;
66 }
68
70
74 inline const ElasticsearchClusterConfigStatus& GetElasticsearchClusterConfig() const { return m_elasticsearchClusterConfig; }
75 inline bool ElasticsearchClusterConfigHasBeenSet() const { return m_elasticsearchClusterConfigHasBeenSet; }
76 template <typename ElasticsearchClusterConfigT = ElasticsearchClusterConfigStatus>
77 void SetElasticsearchClusterConfig(ElasticsearchClusterConfigT&& value) {
78 m_elasticsearchClusterConfigHasBeenSet = true;
79 m_elasticsearchClusterConfig = std::forward<ElasticsearchClusterConfigT>(value);
80 }
81 template <typename ElasticsearchClusterConfigT = ElasticsearchClusterConfigStatus>
82 ElasticsearchDomainConfig& WithElasticsearchClusterConfig(ElasticsearchClusterConfigT&& value) {
83 SetElasticsearchClusterConfig(std::forward<ElasticsearchClusterConfigT>(value));
84 return *this;
85 }
87
89
92 inline const EBSOptionsStatus& GetEBSOptions() const { return m_eBSOptions; }
93 inline bool EBSOptionsHasBeenSet() const { return m_eBSOptionsHasBeenSet; }
94 template <typename EBSOptionsT = EBSOptionsStatus>
95 void SetEBSOptions(EBSOptionsT&& value) {
96 m_eBSOptionsHasBeenSet = true;
97 m_eBSOptions = std::forward<EBSOptionsT>(value);
98 }
99 template <typename EBSOptionsT = EBSOptionsStatus>
101 SetEBSOptions(std::forward<EBSOptionsT>(value));
102 return *this;
103 }
105
107
110 inline const AccessPoliciesStatus& GetAccessPolicies() const { return m_accessPolicies; }
111 inline bool AccessPoliciesHasBeenSet() const { return m_accessPoliciesHasBeenSet; }
112 template <typename AccessPoliciesT = AccessPoliciesStatus>
113 void SetAccessPolicies(AccessPoliciesT&& value) {
114 m_accessPoliciesHasBeenSet = true;
115 m_accessPolicies = std::forward<AccessPoliciesT>(value);
116 }
117 template <typename AccessPoliciesT = AccessPoliciesStatus>
119 SetAccessPolicies(std::forward<AccessPoliciesT>(value));
120 return *this;
121 }
123
125
128 inline const SnapshotOptionsStatus& GetSnapshotOptions() const { return m_snapshotOptions; }
129 inline bool SnapshotOptionsHasBeenSet() const { return m_snapshotOptionsHasBeenSet; }
130 template <typename SnapshotOptionsT = SnapshotOptionsStatus>
131 void SetSnapshotOptions(SnapshotOptionsT&& value) {
132 m_snapshotOptionsHasBeenSet = true;
133 m_snapshotOptions = std::forward<SnapshotOptionsT>(value);
134 }
135 template <typename SnapshotOptionsT = SnapshotOptionsStatus>
137 SetSnapshotOptions(std::forward<SnapshotOptionsT>(value));
138 return *this;
139 }
141
143
149 inline const VPCDerivedInfoStatus& GetVPCOptions() const { return m_vPCOptions; }
150 inline bool VPCOptionsHasBeenSet() const { return m_vPCOptionsHasBeenSet; }
151 template <typename VPCOptionsT = VPCDerivedInfoStatus>
152 void SetVPCOptions(VPCOptionsT&& value) {
153 m_vPCOptionsHasBeenSet = true;
154 m_vPCOptions = std::forward<VPCOptionsT>(value);
155 }
156 template <typename VPCOptionsT = VPCDerivedInfoStatus>
158 SetVPCOptions(std::forward<VPCOptionsT>(value));
159 return *this;
160 }
162
164
170 inline const CognitoOptionsStatus& GetCognitoOptions() const { return m_cognitoOptions; }
171 inline bool CognitoOptionsHasBeenSet() const { return m_cognitoOptionsHasBeenSet; }
172 template <typename CognitoOptionsT = CognitoOptionsStatus>
173 void SetCognitoOptions(CognitoOptionsT&& value) {
174 m_cognitoOptionsHasBeenSet = true;
175 m_cognitoOptions = std::forward<CognitoOptionsT>(value);
176 }
177 template <typename CognitoOptionsT = CognitoOptionsStatus>
179 SetCognitoOptions(std::forward<CognitoOptionsT>(value));
180 return *this;
181 }
183
185
189 inline const EncryptionAtRestOptionsStatus& GetEncryptionAtRestOptions() const { return m_encryptionAtRestOptions; }
190 inline bool EncryptionAtRestOptionsHasBeenSet() const { return m_encryptionAtRestOptionsHasBeenSet; }
191 template <typename EncryptionAtRestOptionsT = EncryptionAtRestOptionsStatus>
192 void SetEncryptionAtRestOptions(EncryptionAtRestOptionsT&& value) {
193 m_encryptionAtRestOptionsHasBeenSet = true;
194 m_encryptionAtRestOptions = std::forward<EncryptionAtRestOptionsT>(value);
195 }
196 template <typename EncryptionAtRestOptionsT = EncryptionAtRestOptionsStatus>
197 ElasticsearchDomainConfig& WithEncryptionAtRestOptions(EncryptionAtRestOptionsT&& value) {
198 SetEncryptionAtRestOptions(std::forward<EncryptionAtRestOptionsT>(value));
199 return *this;
200 }
202
204
208 inline const NodeToNodeEncryptionOptionsStatus& GetNodeToNodeEncryptionOptions() const { return m_nodeToNodeEncryptionOptions; }
209 inline bool NodeToNodeEncryptionOptionsHasBeenSet() const { return m_nodeToNodeEncryptionOptionsHasBeenSet; }
210 template <typename NodeToNodeEncryptionOptionsT = NodeToNodeEncryptionOptionsStatus>
211 void SetNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsT&& value) {
212 m_nodeToNodeEncryptionOptionsHasBeenSet = true;
213 m_nodeToNodeEncryptionOptions = std::forward<NodeToNodeEncryptionOptionsT>(value);
214 }
215 template <typename NodeToNodeEncryptionOptionsT = NodeToNodeEncryptionOptionsStatus>
216 ElasticsearchDomainConfig& WithNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsT&& value) {
217 SetNodeToNodeEncryptionOptions(std::forward<NodeToNodeEncryptionOptionsT>(value));
218 return *this;
219 }
221
223
228 inline const AdvancedOptionsStatus& GetAdvancedOptions() const { return m_advancedOptions; }
229 inline bool AdvancedOptionsHasBeenSet() const { return m_advancedOptionsHasBeenSet; }
230 template <typename AdvancedOptionsT = AdvancedOptionsStatus>
231 void SetAdvancedOptions(AdvancedOptionsT&& value) {
232 m_advancedOptionsHasBeenSet = true;
233 m_advancedOptions = std::forward<AdvancedOptionsT>(value);
234 }
235 template <typename AdvancedOptionsT = AdvancedOptionsStatus>
237 SetAdvancedOptions(std::forward<AdvancedOptionsT>(value));
238 return *this;
239 }
241
243
246 inline const LogPublishingOptionsStatus& GetLogPublishingOptions() const { return m_logPublishingOptions; }
247 inline bool LogPublishingOptionsHasBeenSet() const { return m_logPublishingOptionsHasBeenSet; }
248 template <typename LogPublishingOptionsT = LogPublishingOptionsStatus>
249 void SetLogPublishingOptions(LogPublishingOptionsT&& value) {
250 m_logPublishingOptionsHasBeenSet = true;
251 m_logPublishingOptions = std::forward<LogPublishingOptionsT>(value);
252 }
253 template <typename LogPublishingOptionsT = LogPublishingOptionsStatus>
254 ElasticsearchDomainConfig& WithLogPublishingOptions(LogPublishingOptionsT&& value) {
255 SetLogPublishingOptions(std::forward<LogPublishingOptionsT>(value));
256 return *this;
257 }
259
261
265 inline const DomainEndpointOptionsStatus& GetDomainEndpointOptions() const { return m_domainEndpointOptions; }
266 inline bool DomainEndpointOptionsHasBeenSet() const { return m_domainEndpointOptionsHasBeenSet; }
267 template <typename DomainEndpointOptionsT = DomainEndpointOptionsStatus>
268 void SetDomainEndpointOptions(DomainEndpointOptionsT&& value) {
269 m_domainEndpointOptionsHasBeenSet = true;
270 m_domainEndpointOptions = std::forward<DomainEndpointOptionsT>(value);
271 }
272 template <typename DomainEndpointOptionsT = DomainEndpointOptionsStatus>
273 ElasticsearchDomainConfig& WithDomainEndpointOptions(DomainEndpointOptionsT&& value) {
274 SetDomainEndpointOptions(std::forward<DomainEndpointOptionsT>(value));
275 return *this;
276 }
278
280
283 inline const AdvancedSecurityOptionsStatus& GetAdvancedSecurityOptions() const { return m_advancedSecurityOptions; }
284 inline bool AdvancedSecurityOptionsHasBeenSet() const { return m_advancedSecurityOptionsHasBeenSet; }
285 template <typename AdvancedSecurityOptionsT = AdvancedSecurityOptionsStatus>
286 void SetAdvancedSecurityOptions(AdvancedSecurityOptionsT&& value) {
287 m_advancedSecurityOptionsHasBeenSet = true;
288 m_advancedSecurityOptions = std::forward<AdvancedSecurityOptionsT>(value);
289 }
290 template <typename AdvancedSecurityOptionsT = AdvancedSecurityOptionsStatus>
291 ElasticsearchDomainConfig& WithAdvancedSecurityOptions(AdvancedSecurityOptionsT&& value) {
292 SetAdvancedSecurityOptions(std::forward<AdvancedSecurityOptionsT>(value));
293 return *this;
294 }
296
298
301 inline const AutoTuneOptionsStatus& GetAutoTuneOptions() const { return m_autoTuneOptions; }
302 inline bool AutoTuneOptionsHasBeenSet() const { return m_autoTuneOptionsHasBeenSet; }
303 template <typename AutoTuneOptionsT = AutoTuneOptionsStatus>
304 void SetAutoTuneOptions(AutoTuneOptionsT&& value) {
305 m_autoTuneOptionsHasBeenSet = true;
306 m_autoTuneOptions = std::forward<AutoTuneOptionsT>(value);
307 }
308 template <typename AutoTuneOptionsT = AutoTuneOptionsStatus>
310 SetAutoTuneOptions(std::forward<AutoTuneOptionsT>(value));
311 return *this;
312 }
314
316
319 inline const ChangeProgressDetails& GetChangeProgressDetails() const { return m_changeProgressDetails; }
320 inline bool ChangeProgressDetailsHasBeenSet() const { return m_changeProgressDetailsHasBeenSet; }
321 template <typename ChangeProgressDetailsT = ChangeProgressDetails>
322 void SetChangeProgressDetails(ChangeProgressDetailsT&& value) {
323 m_changeProgressDetailsHasBeenSet = true;
324 m_changeProgressDetails = std::forward<ChangeProgressDetailsT>(value);
325 }
326 template <typename ChangeProgressDetailsT = ChangeProgressDetails>
327 ElasticsearchDomainConfig& WithChangeProgressDetails(ChangeProgressDetailsT&& value) {
328 SetChangeProgressDetails(std::forward<ChangeProgressDetailsT>(value));
329 return *this;
330 }
332
334
338 inline const Aws::Vector<ModifyingProperties>& GetModifyingProperties() const { return m_modifyingProperties; }
339 inline bool ModifyingPropertiesHasBeenSet() const { return m_modifyingPropertiesHasBeenSet; }
340 template <typename ModifyingPropertiesT = Aws::Vector<ModifyingProperties>>
341 void SetModifyingProperties(ModifyingPropertiesT&& value) {
342 m_modifyingPropertiesHasBeenSet = true;
343 m_modifyingProperties = std::forward<ModifyingPropertiesT>(value);
344 }
345 template <typename ModifyingPropertiesT = Aws::Vector<ModifyingProperties>>
346 ElasticsearchDomainConfig& WithModifyingProperties(ModifyingPropertiesT&& value) {
347 SetModifyingProperties(std::forward<ModifyingPropertiesT>(value));
348 return *this;
349 }
350 template <typename ModifyingPropertiesT = ModifyingProperties>
351 ElasticsearchDomainConfig& AddModifyingProperties(ModifyingPropertiesT&& value) {
352 m_modifyingPropertiesHasBeenSet = true;
353 m_modifyingProperties.emplace_back(std::forward<ModifyingPropertiesT>(value));
354 return *this;
355 }
357
359
362 inline const DeploymentStrategyOptionsStatus& GetDeploymentStrategyOptions() const { return m_deploymentStrategyOptions; }
363 inline bool DeploymentStrategyOptionsHasBeenSet() const { return m_deploymentStrategyOptionsHasBeenSet; }
364 template <typename DeploymentStrategyOptionsT = DeploymentStrategyOptionsStatus>
365 void SetDeploymentStrategyOptions(DeploymentStrategyOptionsT&& value) {
366 m_deploymentStrategyOptionsHasBeenSet = true;
367 m_deploymentStrategyOptions = std::forward<DeploymentStrategyOptionsT>(value);
368 }
369 template <typename DeploymentStrategyOptionsT = DeploymentStrategyOptionsStatus>
370 ElasticsearchDomainConfig& WithDeploymentStrategyOptions(DeploymentStrategyOptionsT&& value) {
371 SetDeploymentStrategyOptions(std::forward<DeploymentStrategyOptionsT>(value));
372 return *this;
373 }
375 private:
376 ElasticsearchVersionStatus m_elasticsearchVersion;
377
378 ElasticsearchClusterConfigStatus m_elasticsearchClusterConfig;
379
380 EBSOptionsStatus m_eBSOptions;
381
382 AccessPoliciesStatus m_accessPolicies;
383
384 SnapshotOptionsStatus m_snapshotOptions;
385
386 VPCDerivedInfoStatus m_vPCOptions;
387
388 CognitoOptionsStatus m_cognitoOptions;
389
390 EncryptionAtRestOptionsStatus m_encryptionAtRestOptions;
391
392 NodeToNodeEncryptionOptionsStatus m_nodeToNodeEncryptionOptions;
393
394 AdvancedOptionsStatus m_advancedOptions;
395
396 LogPublishingOptionsStatus m_logPublishingOptions;
397
398 DomainEndpointOptionsStatus m_domainEndpointOptions;
399
400 AdvancedSecurityOptionsStatus m_advancedSecurityOptions;
401
402 AutoTuneOptionsStatus m_autoTuneOptions;
403
404 ChangeProgressDetails m_changeProgressDetails;
405
406 Aws::Vector<ModifyingProperties> m_modifyingProperties;
407
408 DeploymentStrategyOptionsStatus m_deploymentStrategyOptions;
409 bool m_elasticsearchVersionHasBeenSet = false;
410 bool m_elasticsearchClusterConfigHasBeenSet = false;
411 bool m_eBSOptionsHasBeenSet = false;
412 bool m_accessPoliciesHasBeenSet = false;
413 bool m_snapshotOptionsHasBeenSet = false;
414 bool m_vPCOptionsHasBeenSet = false;
415 bool m_cognitoOptionsHasBeenSet = false;
416 bool m_encryptionAtRestOptionsHasBeenSet = false;
417 bool m_nodeToNodeEncryptionOptionsHasBeenSet = false;
418 bool m_advancedOptionsHasBeenSet = false;
419 bool m_logPublishingOptionsHasBeenSet = false;
420 bool m_domainEndpointOptionsHasBeenSet = false;
421 bool m_advancedSecurityOptionsHasBeenSet = false;
422 bool m_autoTuneOptionsHasBeenSet = false;
423 bool m_changeProgressDetailsHasBeenSet = false;
424 bool m_modifyingPropertiesHasBeenSet = false;
425 bool m_deploymentStrategyOptionsHasBeenSet = false;
426};
427
428} // namespace Model
429} // namespace ElasticsearchService
430} // 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
void SetDeploymentStrategyOptions(DeploymentStrategyOptionsT &&value)
ElasticsearchDomainConfig & WithEBSOptions(EBSOptionsT &&value)
ElasticsearchDomainConfig & WithChangeProgressDetails(ChangeProgressDetailsT &&value)
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)
const AdvancedSecurityOptionsStatus & GetAdvancedSecurityOptions() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue