AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
ElasticsearchDomainConfig.h
1
6#pragma once
7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/es/model/ElasticsearchVersionStatus.h>
9#include <aws/es/model/ElasticsearchClusterConfigStatus.h>
10#include <aws/es/model/EBSOptionsStatus.h>
11#include <aws/es/model/AccessPoliciesStatus.h>
12#include <aws/es/model/SnapshotOptionsStatus.h>
13#include <aws/es/model/VPCDerivedInfoStatus.h>
14#include <aws/es/model/CognitoOptionsStatus.h>
15#include <aws/es/model/EncryptionAtRestOptionsStatus.h>
16#include <aws/es/model/NodeToNodeEncryptionOptionsStatus.h>
17#include <aws/es/model/AdvancedOptionsStatus.h>
18#include <aws/es/model/LogPublishingOptionsStatus.h>
19#include <aws/es/model/DomainEndpointOptionsStatus.h>
20#include <aws/es/model/AdvancedSecurityOptionsStatus.h>
21#include <aws/es/model/AutoTuneOptionsStatus.h>
22#include <aws/es/model/ChangeProgressDetails.h>
23#include <aws/core/utils/memory/stl/AWSVector.h>
24#include <aws/es/model/ModifyingProperties.h>
25#include <utility>
26
27namespace Aws
28{
29namespace Utils
30{
31namespace Json
32{
33 class JsonValue;
34 class JsonView;
35} // namespace Json
36} // namespace Utils
37namespace ElasticsearchService
38{
39namespace Model
40{
41
48 {
49 public:
50 AWS_ELASTICSEARCHSERVICE_API ElasticsearchDomainConfig() = default;
51 AWS_ELASTICSEARCHSERVICE_API ElasticsearchDomainConfig(Aws::Utils::Json::JsonView jsonValue);
52 AWS_ELASTICSEARCHSERVICE_API ElasticsearchDomainConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
53 AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
54
55
57
60 inline const ElasticsearchVersionStatus& GetElasticsearchVersion() const { return m_elasticsearchVersion; }
61 inline bool ElasticsearchVersionHasBeenSet() const { return m_elasticsearchVersionHasBeenSet; }
62 template<typename ElasticsearchVersionT = ElasticsearchVersionStatus>
63 void SetElasticsearchVersion(ElasticsearchVersionT&& value) { m_elasticsearchVersionHasBeenSet = true; m_elasticsearchVersion = std::forward<ElasticsearchVersionT>(value); }
64 template<typename ElasticsearchVersionT = ElasticsearchVersionStatus>
65 ElasticsearchDomainConfig& WithElasticsearchVersion(ElasticsearchVersionT&& value) { SetElasticsearchVersion(std::forward<ElasticsearchVersionT>(value)); return *this;}
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) { m_elasticsearchClusterConfigHasBeenSet = true; m_elasticsearchClusterConfig = std::forward<ElasticsearchClusterConfigT>(value); }
77 template<typename ElasticsearchClusterConfigT = ElasticsearchClusterConfigStatus>
78 ElasticsearchDomainConfig& WithElasticsearchClusterConfig(ElasticsearchClusterConfigT&& value) { SetElasticsearchClusterConfig(std::forward<ElasticsearchClusterConfigT>(value)); return *this;}
80
82
85 inline const EBSOptionsStatus& GetEBSOptions() const { return m_eBSOptions; }
86 inline bool EBSOptionsHasBeenSet() const { return m_eBSOptionsHasBeenSet; }
87 template<typename EBSOptionsT = EBSOptionsStatus>
88 void SetEBSOptions(EBSOptionsT&& value) { m_eBSOptionsHasBeenSet = true; m_eBSOptions = std::forward<EBSOptionsT>(value); }
89 template<typename EBSOptionsT = EBSOptionsStatus>
90 ElasticsearchDomainConfig& WithEBSOptions(EBSOptionsT&& value) { SetEBSOptions(std::forward<EBSOptionsT>(value)); return *this;}
92
94
97 inline const AccessPoliciesStatus& GetAccessPolicies() const { return m_accessPolicies; }
98 inline bool AccessPoliciesHasBeenSet() const { return m_accessPoliciesHasBeenSet; }
99 template<typename AccessPoliciesT = AccessPoliciesStatus>
100 void SetAccessPolicies(AccessPoliciesT&& value) { m_accessPoliciesHasBeenSet = true; m_accessPolicies = std::forward<AccessPoliciesT>(value); }
101 template<typename AccessPoliciesT = AccessPoliciesStatus>
102 ElasticsearchDomainConfig& WithAccessPolicies(AccessPoliciesT&& value) { SetAccessPolicies(std::forward<AccessPoliciesT>(value)); return *this;}
104
106
109 inline const SnapshotOptionsStatus& GetSnapshotOptions() const { return m_snapshotOptions; }
110 inline bool SnapshotOptionsHasBeenSet() const { return m_snapshotOptionsHasBeenSet; }
111 template<typename SnapshotOptionsT = SnapshotOptionsStatus>
112 void SetSnapshotOptions(SnapshotOptionsT&& value) { m_snapshotOptionsHasBeenSet = true; m_snapshotOptions = std::forward<SnapshotOptionsT>(value); }
113 template<typename SnapshotOptionsT = SnapshotOptionsStatus>
114 ElasticsearchDomainConfig& WithSnapshotOptions(SnapshotOptionsT&& value) { SetSnapshotOptions(std::forward<SnapshotOptionsT>(value)); return *this;}
116
118
124 inline const VPCDerivedInfoStatus& GetVPCOptions() const { return m_vPCOptions; }
125 inline bool VPCOptionsHasBeenSet() const { return m_vPCOptionsHasBeenSet; }
126 template<typename VPCOptionsT = VPCDerivedInfoStatus>
127 void SetVPCOptions(VPCOptionsT&& value) { m_vPCOptionsHasBeenSet = true; m_vPCOptions = std::forward<VPCOptionsT>(value); }
128 template<typename VPCOptionsT = VPCDerivedInfoStatus>
129 ElasticsearchDomainConfig& WithVPCOptions(VPCOptionsT&& value) { SetVPCOptions(std::forward<VPCOptionsT>(value)); return *this;}
131
133
139 inline const CognitoOptionsStatus& GetCognitoOptions() const { return m_cognitoOptions; }
140 inline bool CognitoOptionsHasBeenSet() const { return m_cognitoOptionsHasBeenSet; }
141 template<typename CognitoOptionsT = CognitoOptionsStatus>
142 void SetCognitoOptions(CognitoOptionsT&& value) { m_cognitoOptionsHasBeenSet = true; m_cognitoOptions = std::forward<CognitoOptionsT>(value); }
143 template<typename CognitoOptionsT = CognitoOptionsStatus>
144 ElasticsearchDomainConfig& WithCognitoOptions(CognitoOptionsT&& value) { SetCognitoOptions(std::forward<CognitoOptionsT>(value)); return *this;}
146
148
152 inline const EncryptionAtRestOptionsStatus& GetEncryptionAtRestOptions() const { return m_encryptionAtRestOptions; }
153 inline bool EncryptionAtRestOptionsHasBeenSet() const { return m_encryptionAtRestOptionsHasBeenSet; }
154 template<typename EncryptionAtRestOptionsT = EncryptionAtRestOptionsStatus>
155 void SetEncryptionAtRestOptions(EncryptionAtRestOptionsT&& value) { m_encryptionAtRestOptionsHasBeenSet = true; m_encryptionAtRestOptions = std::forward<EncryptionAtRestOptionsT>(value); }
156 template<typename EncryptionAtRestOptionsT = EncryptionAtRestOptionsStatus>
157 ElasticsearchDomainConfig& WithEncryptionAtRestOptions(EncryptionAtRestOptionsT&& value) { SetEncryptionAtRestOptions(std::forward<EncryptionAtRestOptionsT>(value)); return *this;}
159
161
165 inline const NodeToNodeEncryptionOptionsStatus& GetNodeToNodeEncryptionOptions() const { return m_nodeToNodeEncryptionOptions; }
166 inline bool NodeToNodeEncryptionOptionsHasBeenSet() const { return m_nodeToNodeEncryptionOptionsHasBeenSet; }
167 template<typename NodeToNodeEncryptionOptionsT = NodeToNodeEncryptionOptionsStatus>
168 void SetNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsT&& value) { m_nodeToNodeEncryptionOptionsHasBeenSet = true; m_nodeToNodeEncryptionOptions = std::forward<NodeToNodeEncryptionOptionsT>(value); }
169 template<typename NodeToNodeEncryptionOptionsT = NodeToNodeEncryptionOptionsStatus>
170 ElasticsearchDomainConfig& WithNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsT&& value) { SetNodeToNodeEncryptionOptions(std::forward<NodeToNodeEncryptionOptionsT>(value)); return *this;}
172
174
179 inline const AdvancedOptionsStatus& GetAdvancedOptions() const { return m_advancedOptions; }
180 inline bool AdvancedOptionsHasBeenSet() const { return m_advancedOptionsHasBeenSet; }
181 template<typename AdvancedOptionsT = AdvancedOptionsStatus>
182 void SetAdvancedOptions(AdvancedOptionsT&& value) { m_advancedOptionsHasBeenSet = true; m_advancedOptions = std::forward<AdvancedOptionsT>(value); }
183 template<typename AdvancedOptionsT = AdvancedOptionsStatus>
184 ElasticsearchDomainConfig& WithAdvancedOptions(AdvancedOptionsT&& value) { SetAdvancedOptions(std::forward<AdvancedOptionsT>(value)); return *this;}
186
188
191 inline const LogPublishingOptionsStatus& GetLogPublishingOptions() const { return m_logPublishingOptions; }
192 inline bool LogPublishingOptionsHasBeenSet() const { return m_logPublishingOptionsHasBeenSet; }
193 template<typename LogPublishingOptionsT = LogPublishingOptionsStatus>
194 void SetLogPublishingOptions(LogPublishingOptionsT&& value) { m_logPublishingOptionsHasBeenSet = true; m_logPublishingOptions = std::forward<LogPublishingOptionsT>(value); }
195 template<typename LogPublishingOptionsT = LogPublishingOptionsStatus>
196 ElasticsearchDomainConfig& WithLogPublishingOptions(LogPublishingOptionsT&& value) { SetLogPublishingOptions(std::forward<LogPublishingOptionsT>(value)); return *this;}
198
200
204 inline const DomainEndpointOptionsStatus& GetDomainEndpointOptions() const { return m_domainEndpointOptions; }
205 inline bool DomainEndpointOptionsHasBeenSet() const { return m_domainEndpointOptionsHasBeenSet; }
206 template<typename DomainEndpointOptionsT = DomainEndpointOptionsStatus>
207 void SetDomainEndpointOptions(DomainEndpointOptionsT&& value) { m_domainEndpointOptionsHasBeenSet = true; m_domainEndpointOptions = std::forward<DomainEndpointOptionsT>(value); }
208 template<typename DomainEndpointOptionsT = DomainEndpointOptionsStatus>
209 ElasticsearchDomainConfig& WithDomainEndpointOptions(DomainEndpointOptionsT&& value) { SetDomainEndpointOptions(std::forward<DomainEndpointOptionsT>(value)); return *this;}
211
213
216 inline const AdvancedSecurityOptionsStatus& GetAdvancedSecurityOptions() const { return m_advancedSecurityOptions; }
217 inline bool AdvancedSecurityOptionsHasBeenSet() const { return m_advancedSecurityOptionsHasBeenSet; }
218 template<typename AdvancedSecurityOptionsT = AdvancedSecurityOptionsStatus>
219 void SetAdvancedSecurityOptions(AdvancedSecurityOptionsT&& value) { m_advancedSecurityOptionsHasBeenSet = true; m_advancedSecurityOptions = std::forward<AdvancedSecurityOptionsT>(value); }
220 template<typename AdvancedSecurityOptionsT = AdvancedSecurityOptionsStatus>
221 ElasticsearchDomainConfig& WithAdvancedSecurityOptions(AdvancedSecurityOptionsT&& value) { SetAdvancedSecurityOptions(std::forward<AdvancedSecurityOptionsT>(value)); return *this;}
223
225
228 inline const AutoTuneOptionsStatus& GetAutoTuneOptions() const { return m_autoTuneOptions; }
229 inline bool AutoTuneOptionsHasBeenSet() const { return m_autoTuneOptionsHasBeenSet; }
230 template<typename AutoTuneOptionsT = AutoTuneOptionsStatus>
231 void SetAutoTuneOptions(AutoTuneOptionsT&& value) { m_autoTuneOptionsHasBeenSet = true; m_autoTuneOptions = std::forward<AutoTuneOptionsT>(value); }
232 template<typename AutoTuneOptionsT = AutoTuneOptionsStatus>
233 ElasticsearchDomainConfig& WithAutoTuneOptions(AutoTuneOptionsT&& value) { SetAutoTuneOptions(std::forward<AutoTuneOptionsT>(value)); return *this;}
235
237
240 inline const ChangeProgressDetails& GetChangeProgressDetails() const { return m_changeProgressDetails; }
241 inline bool ChangeProgressDetailsHasBeenSet() const { return m_changeProgressDetailsHasBeenSet; }
242 template<typename ChangeProgressDetailsT = ChangeProgressDetails>
243 void SetChangeProgressDetails(ChangeProgressDetailsT&& value) { m_changeProgressDetailsHasBeenSet = true; m_changeProgressDetails = std::forward<ChangeProgressDetailsT>(value); }
244 template<typename ChangeProgressDetailsT = ChangeProgressDetails>
245 ElasticsearchDomainConfig& WithChangeProgressDetails(ChangeProgressDetailsT&& value) { SetChangeProgressDetails(std::forward<ChangeProgressDetailsT>(value)); return *this;}
247
249
253 inline const Aws::Vector<ModifyingProperties>& GetModifyingProperties() const { return m_modifyingProperties; }
254 inline bool ModifyingPropertiesHasBeenSet() const { return m_modifyingPropertiesHasBeenSet; }
255 template<typename ModifyingPropertiesT = Aws::Vector<ModifyingProperties>>
256 void SetModifyingProperties(ModifyingPropertiesT&& value) { m_modifyingPropertiesHasBeenSet = true; m_modifyingProperties = std::forward<ModifyingPropertiesT>(value); }
257 template<typename ModifyingPropertiesT = Aws::Vector<ModifyingProperties>>
258 ElasticsearchDomainConfig& WithModifyingProperties(ModifyingPropertiesT&& value) { SetModifyingProperties(std::forward<ModifyingPropertiesT>(value)); return *this;}
259 template<typename ModifyingPropertiesT = ModifyingProperties>
260 ElasticsearchDomainConfig& AddModifyingProperties(ModifyingPropertiesT&& value) { m_modifyingPropertiesHasBeenSet = true; m_modifyingProperties.emplace_back(std::forward<ModifyingPropertiesT>(value)); return *this; }
262 private:
263
264 ElasticsearchVersionStatus m_elasticsearchVersion;
265 bool m_elasticsearchVersionHasBeenSet = false;
266
267 ElasticsearchClusterConfigStatus m_elasticsearchClusterConfig;
268 bool m_elasticsearchClusterConfigHasBeenSet = false;
269
270 EBSOptionsStatus m_eBSOptions;
271 bool m_eBSOptionsHasBeenSet = false;
272
273 AccessPoliciesStatus m_accessPolicies;
274 bool m_accessPoliciesHasBeenSet = false;
275
276 SnapshotOptionsStatus m_snapshotOptions;
277 bool m_snapshotOptionsHasBeenSet = false;
278
279 VPCDerivedInfoStatus m_vPCOptions;
280 bool m_vPCOptionsHasBeenSet = false;
281
282 CognitoOptionsStatus m_cognitoOptions;
283 bool m_cognitoOptionsHasBeenSet = false;
284
285 EncryptionAtRestOptionsStatus m_encryptionAtRestOptions;
286 bool m_encryptionAtRestOptionsHasBeenSet = false;
287
288 NodeToNodeEncryptionOptionsStatus m_nodeToNodeEncryptionOptions;
289 bool m_nodeToNodeEncryptionOptionsHasBeenSet = false;
290
291 AdvancedOptionsStatus m_advancedOptions;
292 bool m_advancedOptionsHasBeenSet = false;
293
294 LogPublishingOptionsStatus m_logPublishingOptions;
295 bool m_logPublishingOptionsHasBeenSet = false;
296
297 DomainEndpointOptionsStatus m_domainEndpointOptions;
298 bool m_domainEndpointOptionsHasBeenSet = false;
299
300 AdvancedSecurityOptionsStatus m_advancedSecurityOptions;
301 bool m_advancedSecurityOptionsHasBeenSet = false;
302
303 AutoTuneOptionsStatus m_autoTuneOptions;
304 bool m_autoTuneOptionsHasBeenSet = false;
305
306 ChangeProgressDetails m_changeProgressDetails;
307 bool m_changeProgressDetailsHasBeenSet = false;
308
309 Aws::Vector<ModifyingProperties> m_modifyingProperties;
310 bool m_modifyingPropertiesHasBeenSet = false;
311 };
312
313} // namespace Model
314} // namespace ElasticsearchService
315} // 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