AWS SDK for C++

AWS SDK for C++ Version 1.11.757

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/DomainEndpointOptionsStatus.h>
16#include <aws/es/model/EBSOptionsStatus.h>
17#include <aws/es/model/ElasticsearchClusterConfigStatus.h>
18#include <aws/es/model/ElasticsearchVersionStatus.h>
19#include <aws/es/model/EncryptionAtRestOptionsStatus.h>
20#include <aws/es/model/LogPublishingOptionsStatus.h>
21#include <aws/es/model/ModifyingProperties.h>
22#include <aws/es/model/NodeToNodeEncryptionOptionsStatus.h>
23#include <aws/es/model/SnapshotOptionsStatus.h>
24#include <aws/es/model/VPCDerivedInfoStatus.h>
25
26#include <utility>
27
28namespace Aws {
29namespace Utils {
30namespace Json {
31class JsonValue;
32class JsonView;
33} // namespace Json
34} // namespace Utils
35namespace ElasticsearchService {
36namespace Model {
37
44 public:
45 AWS_ELASTICSEARCHSERVICE_API ElasticsearchDomainConfig() = default;
46 AWS_ELASTICSEARCHSERVICE_API ElasticsearchDomainConfig(Aws::Utils::Json::JsonView jsonValue);
47 AWS_ELASTICSEARCHSERVICE_API ElasticsearchDomainConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
48 AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
49
51
54 inline const ElasticsearchVersionStatus& GetElasticsearchVersion() const { return m_elasticsearchVersion; }
55 inline bool ElasticsearchVersionHasBeenSet() const { return m_elasticsearchVersionHasBeenSet; }
56 template <typename ElasticsearchVersionT = ElasticsearchVersionStatus>
57 void SetElasticsearchVersion(ElasticsearchVersionT&& value) {
58 m_elasticsearchVersionHasBeenSet = true;
59 m_elasticsearchVersion = std::forward<ElasticsearchVersionT>(value);
60 }
61 template <typename ElasticsearchVersionT = ElasticsearchVersionStatus>
62 ElasticsearchDomainConfig& WithElasticsearchVersion(ElasticsearchVersionT&& value) {
63 SetElasticsearchVersion(std::forward<ElasticsearchVersionT>(value));
64 return *this;
65 }
67
69
73 inline const ElasticsearchClusterConfigStatus& GetElasticsearchClusterConfig() const { return m_elasticsearchClusterConfig; }
74 inline bool ElasticsearchClusterConfigHasBeenSet() const { return m_elasticsearchClusterConfigHasBeenSet; }
75 template <typename ElasticsearchClusterConfigT = ElasticsearchClusterConfigStatus>
76 void SetElasticsearchClusterConfig(ElasticsearchClusterConfigT&& value) {
77 m_elasticsearchClusterConfigHasBeenSet = true;
78 m_elasticsearchClusterConfig = std::forward<ElasticsearchClusterConfigT>(value);
79 }
80 template <typename ElasticsearchClusterConfigT = ElasticsearchClusterConfigStatus>
81 ElasticsearchDomainConfig& WithElasticsearchClusterConfig(ElasticsearchClusterConfigT&& value) {
82 SetElasticsearchClusterConfig(std::forward<ElasticsearchClusterConfigT>(value));
83 return *this;
84 }
86
88
91 inline const EBSOptionsStatus& GetEBSOptions() const { return m_eBSOptions; }
92 inline bool EBSOptionsHasBeenSet() const { return m_eBSOptionsHasBeenSet; }
93 template <typename EBSOptionsT = EBSOptionsStatus>
94 void SetEBSOptions(EBSOptionsT&& value) {
95 m_eBSOptionsHasBeenSet = true;
96 m_eBSOptions = std::forward<EBSOptionsT>(value);
97 }
98 template <typename EBSOptionsT = EBSOptionsStatus>
100 SetEBSOptions(std::forward<EBSOptionsT>(value));
101 return *this;
102 }
104
106
109 inline const AccessPoliciesStatus& GetAccessPolicies() const { return m_accessPolicies; }
110 inline bool AccessPoliciesHasBeenSet() const { return m_accessPoliciesHasBeenSet; }
111 template <typename AccessPoliciesT = AccessPoliciesStatus>
112 void SetAccessPolicies(AccessPoliciesT&& value) {
113 m_accessPoliciesHasBeenSet = true;
114 m_accessPolicies = std::forward<AccessPoliciesT>(value);
115 }
116 template <typename AccessPoliciesT = AccessPoliciesStatus>
118 SetAccessPolicies(std::forward<AccessPoliciesT>(value));
119 return *this;
120 }
122
124
127 inline const SnapshotOptionsStatus& GetSnapshotOptions() const { return m_snapshotOptions; }
128 inline bool SnapshotOptionsHasBeenSet() const { return m_snapshotOptionsHasBeenSet; }
129 template <typename SnapshotOptionsT = SnapshotOptionsStatus>
130 void SetSnapshotOptions(SnapshotOptionsT&& value) {
131 m_snapshotOptionsHasBeenSet = true;
132 m_snapshotOptions = std::forward<SnapshotOptionsT>(value);
133 }
134 template <typename SnapshotOptionsT = SnapshotOptionsStatus>
136 SetSnapshotOptions(std::forward<SnapshotOptionsT>(value));
137 return *this;
138 }
140
142
148 inline const VPCDerivedInfoStatus& GetVPCOptions() const { return m_vPCOptions; }
149 inline bool VPCOptionsHasBeenSet() const { return m_vPCOptionsHasBeenSet; }
150 template <typename VPCOptionsT = VPCDerivedInfoStatus>
151 void SetVPCOptions(VPCOptionsT&& value) {
152 m_vPCOptionsHasBeenSet = true;
153 m_vPCOptions = std::forward<VPCOptionsT>(value);
154 }
155 template <typename VPCOptionsT = VPCDerivedInfoStatus>
157 SetVPCOptions(std::forward<VPCOptionsT>(value));
158 return *this;
159 }
161
163
169 inline const CognitoOptionsStatus& GetCognitoOptions() const { return m_cognitoOptions; }
170 inline bool CognitoOptionsHasBeenSet() const { return m_cognitoOptionsHasBeenSet; }
171 template <typename CognitoOptionsT = CognitoOptionsStatus>
172 void SetCognitoOptions(CognitoOptionsT&& value) {
173 m_cognitoOptionsHasBeenSet = true;
174 m_cognitoOptions = std::forward<CognitoOptionsT>(value);
175 }
176 template <typename CognitoOptionsT = CognitoOptionsStatus>
178 SetCognitoOptions(std::forward<CognitoOptionsT>(value));
179 return *this;
180 }
182
184
188 inline const EncryptionAtRestOptionsStatus& GetEncryptionAtRestOptions() const { return m_encryptionAtRestOptions; }
189 inline bool EncryptionAtRestOptionsHasBeenSet() const { return m_encryptionAtRestOptionsHasBeenSet; }
190 template <typename EncryptionAtRestOptionsT = EncryptionAtRestOptionsStatus>
191 void SetEncryptionAtRestOptions(EncryptionAtRestOptionsT&& value) {
192 m_encryptionAtRestOptionsHasBeenSet = true;
193 m_encryptionAtRestOptions = std::forward<EncryptionAtRestOptionsT>(value);
194 }
195 template <typename EncryptionAtRestOptionsT = EncryptionAtRestOptionsStatus>
196 ElasticsearchDomainConfig& WithEncryptionAtRestOptions(EncryptionAtRestOptionsT&& value) {
197 SetEncryptionAtRestOptions(std::forward<EncryptionAtRestOptionsT>(value));
198 return *this;
199 }
201
203
207 inline const NodeToNodeEncryptionOptionsStatus& GetNodeToNodeEncryptionOptions() const { return m_nodeToNodeEncryptionOptions; }
208 inline bool NodeToNodeEncryptionOptionsHasBeenSet() const { return m_nodeToNodeEncryptionOptionsHasBeenSet; }
209 template <typename NodeToNodeEncryptionOptionsT = NodeToNodeEncryptionOptionsStatus>
210 void SetNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsT&& value) {
211 m_nodeToNodeEncryptionOptionsHasBeenSet = true;
212 m_nodeToNodeEncryptionOptions = std::forward<NodeToNodeEncryptionOptionsT>(value);
213 }
214 template <typename NodeToNodeEncryptionOptionsT = NodeToNodeEncryptionOptionsStatus>
215 ElasticsearchDomainConfig& WithNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsT&& value) {
216 SetNodeToNodeEncryptionOptions(std::forward<NodeToNodeEncryptionOptionsT>(value));
217 return *this;
218 }
220
222
227 inline const AdvancedOptionsStatus& GetAdvancedOptions() const { return m_advancedOptions; }
228 inline bool AdvancedOptionsHasBeenSet() const { return m_advancedOptionsHasBeenSet; }
229 template <typename AdvancedOptionsT = AdvancedOptionsStatus>
230 void SetAdvancedOptions(AdvancedOptionsT&& value) {
231 m_advancedOptionsHasBeenSet = true;
232 m_advancedOptions = std::forward<AdvancedOptionsT>(value);
233 }
234 template <typename AdvancedOptionsT = AdvancedOptionsStatus>
236 SetAdvancedOptions(std::forward<AdvancedOptionsT>(value));
237 return *this;
238 }
240
242
245 inline const LogPublishingOptionsStatus& GetLogPublishingOptions() const { return m_logPublishingOptions; }
246 inline bool LogPublishingOptionsHasBeenSet() const { return m_logPublishingOptionsHasBeenSet; }
247 template <typename LogPublishingOptionsT = LogPublishingOptionsStatus>
248 void SetLogPublishingOptions(LogPublishingOptionsT&& value) {
249 m_logPublishingOptionsHasBeenSet = true;
250 m_logPublishingOptions = std::forward<LogPublishingOptionsT>(value);
251 }
252 template <typename LogPublishingOptionsT = LogPublishingOptionsStatus>
253 ElasticsearchDomainConfig& WithLogPublishingOptions(LogPublishingOptionsT&& value) {
254 SetLogPublishingOptions(std::forward<LogPublishingOptionsT>(value));
255 return *this;
256 }
258
260
264 inline const DomainEndpointOptionsStatus& GetDomainEndpointOptions() const { return m_domainEndpointOptions; }
265 inline bool DomainEndpointOptionsHasBeenSet() const { return m_domainEndpointOptionsHasBeenSet; }
266 template <typename DomainEndpointOptionsT = DomainEndpointOptionsStatus>
267 void SetDomainEndpointOptions(DomainEndpointOptionsT&& value) {
268 m_domainEndpointOptionsHasBeenSet = true;
269 m_domainEndpointOptions = std::forward<DomainEndpointOptionsT>(value);
270 }
271 template <typename DomainEndpointOptionsT = DomainEndpointOptionsStatus>
272 ElasticsearchDomainConfig& WithDomainEndpointOptions(DomainEndpointOptionsT&& value) {
273 SetDomainEndpointOptions(std::forward<DomainEndpointOptionsT>(value));
274 return *this;
275 }
277
279
282 inline const AdvancedSecurityOptionsStatus& GetAdvancedSecurityOptions() const { return m_advancedSecurityOptions; }
283 inline bool AdvancedSecurityOptionsHasBeenSet() const { return m_advancedSecurityOptionsHasBeenSet; }
284 template <typename AdvancedSecurityOptionsT = AdvancedSecurityOptionsStatus>
285 void SetAdvancedSecurityOptions(AdvancedSecurityOptionsT&& value) {
286 m_advancedSecurityOptionsHasBeenSet = true;
287 m_advancedSecurityOptions = std::forward<AdvancedSecurityOptionsT>(value);
288 }
289 template <typename AdvancedSecurityOptionsT = AdvancedSecurityOptionsStatus>
290 ElasticsearchDomainConfig& WithAdvancedSecurityOptions(AdvancedSecurityOptionsT&& value) {
291 SetAdvancedSecurityOptions(std::forward<AdvancedSecurityOptionsT>(value));
292 return *this;
293 }
295
297
300 inline const AutoTuneOptionsStatus& GetAutoTuneOptions() const { return m_autoTuneOptions; }
301 inline bool AutoTuneOptionsHasBeenSet() const { return m_autoTuneOptionsHasBeenSet; }
302 template <typename AutoTuneOptionsT = AutoTuneOptionsStatus>
303 void SetAutoTuneOptions(AutoTuneOptionsT&& value) {
304 m_autoTuneOptionsHasBeenSet = true;
305 m_autoTuneOptions = std::forward<AutoTuneOptionsT>(value);
306 }
307 template <typename AutoTuneOptionsT = AutoTuneOptionsStatus>
309 SetAutoTuneOptions(std::forward<AutoTuneOptionsT>(value));
310 return *this;
311 }
313
315
318 inline const ChangeProgressDetails& GetChangeProgressDetails() const { return m_changeProgressDetails; }
319 inline bool ChangeProgressDetailsHasBeenSet() const { return m_changeProgressDetailsHasBeenSet; }
320 template <typename ChangeProgressDetailsT = ChangeProgressDetails>
321 void SetChangeProgressDetails(ChangeProgressDetailsT&& value) {
322 m_changeProgressDetailsHasBeenSet = true;
323 m_changeProgressDetails = std::forward<ChangeProgressDetailsT>(value);
324 }
325 template <typename ChangeProgressDetailsT = ChangeProgressDetails>
326 ElasticsearchDomainConfig& WithChangeProgressDetails(ChangeProgressDetailsT&& value) {
327 SetChangeProgressDetails(std::forward<ChangeProgressDetailsT>(value));
328 return *this;
329 }
331
333
337 inline const Aws::Vector<ModifyingProperties>& GetModifyingProperties() const { return m_modifyingProperties; }
338 inline bool ModifyingPropertiesHasBeenSet() const { return m_modifyingPropertiesHasBeenSet; }
339 template <typename ModifyingPropertiesT = Aws::Vector<ModifyingProperties>>
340 void SetModifyingProperties(ModifyingPropertiesT&& value) {
341 m_modifyingPropertiesHasBeenSet = true;
342 m_modifyingProperties = std::forward<ModifyingPropertiesT>(value);
343 }
344 template <typename ModifyingPropertiesT = Aws::Vector<ModifyingProperties>>
345 ElasticsearchDomainConfig& WithModifyingProperties(ModifyingPropertiesT&& value) {
346 SetModifyingProperties(std::forward<ModifyingPropertiesT>(value));
347 return *this;
348 }
349 template <typename ModifyingPropertiesT = ModifyingProperties>
350 ElasticsearchDomainConfig& AddModifyingProperties(ModifyingPropertiesT&& value) {
351 m_modifyingPropertiesHasBeenSet = true;
352 m_modifyingProperties.emplace_back(std::forward<ModifyingPropertiesT>(value));
353 return *this;
354 }
356 private:
357 ElasticsearchVersionStatus m_elasticsearchVersion;
358
359 ElasticsearchClusterConfigStatus m_elasticsearchClusterConfig;
360
361 EBSOptionsStatus m_eBSOptions;
362
363 AccessPoliciesStatus m_accessPolicies;
364
365 SnapshotOptionsStatus m_snapshotOptions;
366
367 VPCDerivedInfoStatus m_vPCOptions;
368
369 CognitoOptionsStatus m_cognitoOptions;
370
371 EncryptionAtRestOptionsStatus m_encryptionAtRestOptions;
372
373 NodeToNodeEncryptionOptionsStatus m_nodeToNodeEncryptionOptions;
374
375 AdvancedOptionsStatus m_advancedOptions;
376
377 LogPublishingOptionsStatus m_logPublishingOptions;
378
379 DomainEndpointOptionsStatus m_domainEndpointOptions;
380
381 AdvancedSecurityOptionsStatus m_advancedSecurityOptions;
382
383 AutoTuneOptionsStatus m_autoTuneOptions;
384
385 ChangeProgressDetails m_changeProgressDetails;
386
387 Aws::Vector<ModifyingProperties> m_modifyingProperties;
388 bool m_elasticsearchVersionHasBeenSet = false;
389 bool m_elasticsearchClusterConfigHasBeenSet = false;
390 bool m_eBSOptionsHasBeenSet = false;
391 bool m_accessPoliciesHasBeenSet = false;
392 bool m_snapshotOptionsHasBeenSet = false;
393 bool m_vPCOptionsHasBeenSet = false;
394 bool m_cognitoOptionsHasBeenSet = false;
395 bool m_encryptionAtRestOptionsHasBeenSet = false;
396 bool m_nodeToNodeEncryptionOptionsHasBeenSet = false;
397 bool m_advancedOptionsHasBeenSet = false;
398 bool m_logPublishingOptionsHasBeenSet = false;
399 bool m_domainEndpointOptionsHasBeenSet = false;
400 bool m_advancedSecurityOptionsHasBeenSet = false;
401 bool m_autoTuneOptionsHasBeenSet = false;
402 bool m_changeProgressDetailsHasBeenSet = false;
403 bool m_modifyingPropertiesHasBeenSet = false;
404};
405
406} // namespace Model
407} // namespace ElasticsearchService
408} // 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 & 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
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 & 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