AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetElasticsearchVersion(const ElasticsearchVersionStatus& value) { m_elasticsearchVersionHasBeenSet = true; m_elasticsearchVersion = value; }
63 inline void SetElasticsearchVersion(ElasticsearchVersionStatus&& value) { m_elasticsearchVersionHasBeenSet = true; m_elasticsearchVersion = std::move(value); }
67
69
73 inline const ElasticsearchClusterConfigStatus& GetElasticsearchClusterConfig() const{ return m_elasticsearchClusterConfig; }
74 inline bool ElasticsearchClusterConfigHasBeenSet() const { return m_elasticsearchClusterConfigHasBeenSet; }
75 inline void SetElasticsearchClusterConfig(const ElasticsearchClusterConfigStatus& value) { m_elasticsearchClusterConfigHasBeenSet = true; m_elasticsearchClusterConfig = value; }
76 inline void SetElasticsearchClusterConfig(ElasticsearchClusterConfigStatus&& value) { m_elasticsearchClusterConfigHasBeenSet = true; m_elasticsearchClusterConfig = std::move(value); }
80
82
85 inline const EBSOptionsStatus& GetEBSOptions() const{ return m_eBSOptions; }
86 inline bool EBSOptionsHasBeenSet() const { return m_eBSOptionsHasBeenSet; }
87 inline void SetEBSOptions(const EBSOptionsStatus& value) { m_eBSOptionsHasBeenSet = true; m_eBSOptions = value; }
88 inline void SetEBSOptions(EBSOptionsStatus&& value) { m_eBSOptionsHasBeenSet = true; m_eBSOptions = std::move(value); }
89 inline ElasticsearchDomainConfig& WithEBSOptions(const EBSOptionsStatus& value) { SetEBSOptions(value); return *this;}
90 inline ElasticsearchDomainConfig& WithEBSOptions(EBSOptionsStatus&& value) { SetEBSOptions(std::move(value)); return *this;}
92
94
97 inline const AccessPoliciesStatus& GetAccessPolicies() const{ return m_accessPolicies; }
98 inline bool AccessPoliciesHasBeenSet() const { return m_accessPoliciesHasBeenSet; }
99 inline void SetAccessPolicies(const AccessPoliciesStatus& value) { m_accessPoliciesHasBeenSet = true; m_accessPolicies = value; }
100 inline void SetAccessPolicies(AccessPoliciesStatus&& value) { m_accessPoliciesHasBeenSet = true; m_accessPolicies = std::move(value); }
102 inline ElasticsearchDomainConfig& WithAccessPolicies(AccessPoliciesStatus&& value) { SetAccessPolicies(std::move(value)); return *this;}
104
106
109 inline const SnapshotOptionsStatus& GetSnapshotOptions() const{ return m_snapshotOptions; }
110 inline bool SnapshotOptionsHasBeenSet() const { return m_snapshotOptionsHasBeenSet; }
111 inline void SetSnapshotOptions(const SnapshotOptionsStatus& value) { m_snapshotOptionsHasBeenSet = true; m_snapshotOptions = value; }
112 inline void SetSnapshotOptions(SnapshotOptionsStatus&& value) { m_snapshotOptionsHasBeenSet = true; m_snapshotOptions = std::move(value); }
116
118
124 inline const VPCDerivedInfoStatus& GetVPCOptions() const{ return m_vPCOptions; }
125 inline bool VPCOptionsHasBeenSet() const { return m_vPCOptionsHasBeenSet; }
126 inline void SetVPCOptions(const VPCDerivedInfoStatus& value) { m_vPCOptionsHasBeenSet = true; m_vPCOptions = value; }
127 inline void SetVPCOptions(VPCDerivedInfoStatus&& value) { m_vPCOptionsHasBeenSet = true; m_vPCOptions = std::move(value); }
128 inline ElasticsearchDomainConfig& WithVPCOptions(const VPCDerivedInfoStatus& value) { SetVPCOptions(value); return *this;}
129 inline ElasticsearchDomainConfig& WithVPCOptions(VPCDerivedInfoStatus&& value) { SetVPCOptions(std::move(value)); return *this;}
131
133
139 inline const CognitoOptionsStatus& GetCognitoOptions() const{ return m_cognitoOptions; }
140 inline bool CognitoOptionsHasBeenSet() const { return m_cognitoOptionsHasBeenSet; }
141 inline void SetCognitoOptions(const CognitoOptionsStatus& value) { m_cognitoOptionsHasBeenSet = true; m_cognitoOptions = value; }
142 inline void SetCognitoOptions(CognitoOptionsStatus&& value) { m_cognitoOptionsHasBeenSet = true; m_cognitoOptions = std::move(value); }
144 inline ElasticsearchDomainConfig& WithCognitoOptions(CognitoOptionsStatus&& value) { SetCognitoOptions(std::move(value)); return *this;}
146
148
152 inline const EncryptionAtRestOptionsStatus& GetEncryptionAtRestOptions() const{ return m_encryptionAtRestOptions; }
153 inline bool EncryptionAtRestOptionsHasBeenSet() const { return m_encryptionAtRestOptionsHasBeenSet; }
154 inline void SetEncryptionAtRestOptions(const EncryptionAtRestOptionsStatus& value) { m_encryptionAtRestOptionsHasBeenSet = true; m_encryptionAtRestOptions = value; }
155 inline void SetEncryptionAtRestOptions(EncryptionAtRestOptionsStatus&& value) { m_encryptionAtRestOptionsHasBeenSet = true; m_encryptionAtRestOptions = std::move(value); }
159
161
165 inline const NodeToNodeEncryptionOptionsStatus& GetNodeToNodeEncryptionOptions() const{ return m_nodeToNodeEncryptionOptions; }
166 inline bool NodeToNodeEncryptionOptionsHasBeenSet() const { return m_nodeToNodeEncryptionOptionsHasBeenSet; }
167 inline void SetNodeToNodeEncryptionOptions(const NodeToNodeEncryptionOptionsStatus& value) { m_nodeToNodeEncryptionOptionsHasBeenSet = true; m_nodeToNodeEncryptionOptions = value; }
168 inline void SetNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsStatus&& value) { m_nodeToNodeEncryptionOptionsHasBeenSet = true; m_nodeToNodeEncryptionOptions = std::move(value); }
172
174
179 inline const AdvancedOptionsStatus& GetAdvancedOptions() const{ return m_advancedOptions; }
180 inline bool AdvancedOptionsHasBeenSet() const { return m_advancedOptionsHasBeenSet; }
181 inline void SetAdvancedOptions(const AdvancedOptionsStatus& value) { m_advancedOptionsHasBeenSet = true; m_advancedOptions = value; }
182 inline void SetAdvancedOptions(AdvancedOptionsStatus&& value) { m_advancedOptionsHasBeenSet = true; m_advancedOptions = std::move(value); }
186
188
191 inline const LogPublishingOptionsStatus& GetLogPublishingOptions() const{ return m_logPublishingOptions; }
192 inline bool LogPublishingOptionsHasBeenSet() const { return m_logPublishingOptionsHasBeenSet; }
193 inline void SetLogPublishingOptions(const LogPublishingOptionsStatus& value) { m_logPublishingOptionsHasBeenSet = true; m_logPublishingOptions = value; }
194 inline void SetLogPublishingOptions(LogPublishingOptionsStatus&& value) { m_logPublishingOptionsHasBeenSet = true; m_logPublishingOptions = std::move(value); }
198
200
204 inline const DomainEndpointOptionsStatus& GetDomainEndpointOptions() const{ return m_domainEndpointOptions; }
205 inline bool DomainEndpointOptionsHasBeenSet() const { return m_domainEndpointOptionsHasBeenSet; }
206 inline void SetDomainEndpointOptions(const DomainEndpointOptionsStatus& value) { m_domainEndpointOptionsHasBeenSet = true; m_domainEndpointOptions = value; }
207 inline void SetDomainEndpointOptions(DomainEndpointOptionsStatus&& value) { m_domainEndpointOptionsHasBeenSet = true; m_domainEndpointOptions = std::move(value); }
211
213
216 inline const AdvancedSecurityOptionsStatus& GetAdvancedSecurityOptions() const{ return m_advancedSecurityOptions; }
217 inline bool AdvancedSecurityOptionsHasBeenSet() const { return m_advancedSecurityOptionsHasBeenSet; }
218 inline void SetAdvancedSecurityOptions(const AdvancedSecurityOptionsStatus& value) { m_advancedSecurityOptionsHasBeenSet = true; m_advancedSecurityOptions = value; }
219 inline void SetAdvancedSecurityOptions(AdvancedSecurityOptionsStatus&& value) { m_advancedSecurityOptionsHasBeenSet = true; m_advancedSecurityOptions = std::move(value); }
223
225
228 inline const AutoTuneOptionsStatus& GetAutoTuneOptions() const{ return m_autoTuneOptions; }
229 inline bool AutoTuneOptionsHasBeenSet() const { return m_autoTuneOptionsHasBeenSet; }
230 inline void SetAutoTuneOptions(const AutoTuneOptionsStatus& value) { m_autoTuneOptionsHasBeenSet = true; m_autoTuneOptions = value; }
231 inline void SetAutoTuneOptions(AutoTuneOptionsStatus&& value) { m_autoTuneOptionsHasBeenSet = true; m_autoTuneOptions = std::move(value); }
235
237
240 inline const ChangeProgressDetails& GetChangeProgressDetails() const{ return m_changeProgressDetails; }
241 inline bool ChangeProgressDetailsHasBeenSet() const { return m_changeProgressDetailsHasBeenSet; }
242 inline void SetChangeProgressDetails(const ChangeProgressDetails& value) { m_changeProgressDetailsHasBeenSet = true; m_changeProgressDetails = value; }
243 inline void SetChangeProgressDetails(ChangeProgressDetails&& value) { m_changeProgressDetailsHasBeenSet = true; m_changeProgressDetails = std::move(value); }
247
249
253 inline const Aws::Vector<ModifyingProperties>& GetModifyingProperties() const{ return m_modifyingProperties; }
254 inline bool ModifyingPropertiesHasBeenSet() const { return m_modifyingPropertiesHasBeenSet; }
255 inline void SetModifyingProperties(const Aws::Vector<ModifyingProperties>& value) { m_modifyingPropertiesHasBeenSet = true; m_modifyingProperties = value; }
256 inline void SetModifyingProperties(Aws::Vector<ModifyingProperties>&& value) { m_modifyingPropertiesHasBeenSet = true; m_modifyingProperties = std::move(value); }
259 inline ElasticsearchDomainConfig& AddModifyingProperties(const ModifyingProperties& value) { m_modifyingPropertiesHasBeenSet = true; m_modifyingProperties.push_back(value); return *this; }
260 inline ElasticsearchDomainConfig& AddModifyingProperties(ModifyingProperties&& value) { m_modifyingPropertiesHasBeenSet = true; m_modifyingProperties.push_back(std::move(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(SnapshotOptionsStatus &&value)
ElasticsearchDomainConfig & WithEncryptionAtRestOptions(EncryptionAtRestOptionsStatus &&value)
void SetNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsStatus &&value)
ElasticsearchDomainConfig & WithDomainEndpointOptions(const DomainEndpointOptionsStatus &value)
ElasticsearchDomainConfig & WithAutoTuneOptions(const AutoTuneOptionsStatus &value)
AWS_ELASTICSEARCHSERVICE_API ElasticsearchDomainConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
ElasticsearchDomainConfig & WithElasticsearchVersion(ElasticsearchVersionStatus &&value)
ElasticsearchDomainConfig & WithModifyingProperties(const Aws::Vector< ModifyingProperties > &value)
void SetNodeToNodeEncryptionOptions(const NodeToNodeEncryptionOptionsStatus &value)
const ElasticsearchClusterConfigStatus & GetElasticsearchClusterConfig() const
ElasticsearchDomainConfig & WithAutoTuneOptions(AutoTuneOptionsStatus &&value)
const LogPublishingOptionsStatus & GetLogPublishingOptions() const
ElasticsearchDomainConfig & WithModifyingProperties(Aws::Vector< ModifyingProperties > &&value)
ElasticsearchDomainConfig & WithElasticsearchClusterConfig(const ElasticsearchClusterConfigStatus &value)
ElasticsearchDomainConfig & AddModifyingProperties(const ModifyingProperties &value)
ElasticsearchDomainConfig & WithCognitoOptions(const CognitoOptionsStatus &value)
ElasticsearchDomainConfig & WithElasticsearchClusterConfig(ElasticsearchClusterConfigStatus &&value)
ElasticsearchDomainConfig & WithAccessPolicies(const AccessPoliciesStatus &value)
void SetElasticsearchClusterConfig(ElasticsearchClusterConfigStatus &&value)
ElasticsearchDomainConfig & WithAccessPolicies(AccessPoliciesStatus &&value)
ElasticsearchDomainConfig & AddModifyingProperties(ModifyingProperties &&value)
void SetEncryptionAtRestOptions(EncryptionAtRestOptionsStatus &&value)
ElasticsearchDomainConfig & WithElasticsearchVersion(const ElasticsearchVersionStatus &value)
ElasticsearchDomainConfig & WithAdvancedSecurityOptions(const AdvancedSecurityOptionsStatus &value)
ElasticsearchDomainConfig & WithLogPublishingOptions(const LogPublishingOptionsStatus &value)
ElasticsearchDomainConfig & WithNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsStatus &&value)
const ElasticsearchVersionStatus & GetElasticsearchVersion() const
const Aws::Vector< ModifyingProperties > & GetModifyingProperties() const
void SetAdvancedSecurityOptions(const AdvancedSecurityOptionsStatus &value)
void SetAdvancedSecurityOptions(AdvancedSecurityOptionsStatus &&value)
ElasticsearchDomainConfig & WithVPCOptions(VPCDerivedInfoStatus &&value)
void SetDomainEndpointOptions(const DomainEndpointOptionsStatus &value)
const NodeToNodeEncryptionOptionsStatus & GetNodeToNodeEncryptionOptions() const
void SetEncryptionAtRestOptions(const EncryptionAtRestOptionsStatus &value)
ElasticsearchDomainConfig & WithCognitoOptions(CognitoOptionsStatus &&value)
const EncryptionAtRestOptionsStatus & GetEncryptionAtRestOptions() const
ElasticsearchDomainConfig & WithLogPublishingOptions(LogPublishingOptionsStatus &&value)
ElasticsearchDomainConfig & WithChangeProgressDetails(const ChangeProgressDetails &value)
void SetElasticsearchClusterConfig(const ElasticsearchClusterConfigStatus &value)
void SetModifyingProperties(Aws::Vector< ModifyingProperties > &&value)
ElasticsearchDomainConfig & WithEBSOptions(const EBSOptionsStatus &value)
ElasticsearchDomainConfig & WithNodeToNodeEncryptionOptions(const NodeToNodeEncryptionOptionsStatus &value)
const DomainEndpointOptionsStatus & GetDomainEndpointOptions() const
AWS_ELASTICSEARCHSERVICE_API ElasticsearchDomainConfig(Aws::Utils::Json::JsonView jsonValue)
ElasticsearchDomainConfig & WithDomainEndpointOptions(DomainEndpointOptionsStatus &&value)
ElasticsearchDomainConfig & WithChangeProgressDetails(ChangeProgressDetails &&value)
ElasticsearchDomainConfig & WithSnapshotOptions(const SnapshotOptionsStatus &value)
void SetLogPublishingOptions(const LogPublishingOptionsStatus &value)
ElasticsearchDomainConfig & WithAdvancedSecurityOptions(AdvancedSecurityOptionsStatus &&value)
ElasticsearchDomainConfig & WithAdvancedOptions(AdvancedOptionsStatus &&value)
void SetElasticsearchVersion(const ElasticsearchVersionStatus &value)
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetModifyingProperties(const Aws::Vector< ModifyingProperties > &value)
ElasticsearchDomainConfig & WithVPCOptions(const VPCDerivedInfoStatus &value)
ElasticsearchDomainConfig & WithEBSOptions(EBSOptionsStatus &&value)
const AdvancedSecurityOptionsStatus & GetAdvancedSecurityOptions() const
ElasticsearchDomainConfig & WithEncryptionAtRestOptions(const EncryptionAtRestOptionsStatus &value)
ElasticsearchDomainConfig & WithAdvancedOptions(const AdvancedOptionsStatus &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue