AWS SDK for C++

AWS SDK for C++ Version 1.11.851

Loading...
Searching...
No Matches
UpdateElasticsearchDomainConfigRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/es/ElasticsearchServiceRequest.h>
10#include <aws/es/ElasticsearchService_EXPORTS.h>
11#include <aws/es/model/AdvancedSecurityOptionsInput.h>
12#include <aws/es/model/AutoTuneOptions.h>
13#include <aws/es/model/AutomatedSnapshotPauseRequestOptions.h>
14#include <aws/es/model/CognitoOptions.h>
15#include <aws/es/model/DeploymentStrategyOptions.h>
16#include <aws/es/model/DomainEndpointOptions.h>
17#include <aws/es/model/DomainEngineMode.h>
18#include <aws/es/model/DomainUseCase.h>
19#include <aws/es/model/EBSOptions.h>
20#include <aws/es/model/ElasticsearchClusterConfig.h>
21#include <aws/es/model/EncryptionAtRestOptions.h>
22#include <aws/es/model/LogPublishingOption.h>
23#include <aws/es/model/LogType.h>
24#include <aws/es/model/NodeToNodeEncryptionOptions.h>
25#include <aws/es/model/SnapshotOptions.h>
26#include <aws/es/model/VPCOptions.h>
27
28#include <utility>
29
30namespace Aws {
31namespace ElasticsearchService {
32namespace Model {
33
42 public:
43 AWS_ELASTICSEARCHSERVICE_API UpdateElasticsearchDomainConfigRequest() = default;
44
45 // Service request name is the Operation name which will send this request out,
46 // each operation should has unique request name, so that we can get operation's name from this request.
47 // Note: this is not true for response, multiple operations may have the same response name,
48 // so we can not get operation's name from response.
49 inline virtual const char* GetServiceRequestName() const override { return "UpdateElasticsearchDomainConfig"; }
50
51 AWS_ELASTICSEARCHSERVICE_API Aws::String SerializePayload() const override;
52
54
57 inline const Aws::String& GetDomainName() const { return m_domainName; }
58 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
59 template <typename DomainNameT = Aws::String>
60 void SetDomainName(DomainNameT&& value) {
61 m_domainNameHasBeenSet = true;
62 m_domainName = std::forward<DomainNameT>(value);
63 }
64 template <typename DomainNameT = Aws::String>
66 SetDomainName(std::forward<DomainNameT>(value));
67 return *this;
68 }
70
72
75 inline const ElasticsearchClusterConfig& GetElasticsearchClusterConfig() const { return m_elasticsearchClusterConfig; }
76 inline bool ElasticsearchClusterConfigHasBeenSet() const { return m_elasticsearchClusterConfigHasBeenSet; }
77 template <typename ElasticsearchClusterConfigT = ElasticsearchClusterConfig>
78 void SetElasticsearchClusterConfig(ElasticsearchClusterConfigT&& value) {
79 m_elasticsearchClusterConfigHasBeenSet = true;
80 m_elasticsearchClusterConfig = std::forward<ElasticsearchClusterConfigT>(value);
81 }
82 template <typename ElasticsearchClusterConfigT = ElasticsearchClusterConfig>
84 SetElasticsearchClusterConfig(std::forward<ElasticsearchClusterConfigT>(value));
85 return *this;
86 }
88
90
93 inline const EBSOptions& GetEBSOptions() const { return m_eBSOptions; }
94 inline bool EBSOptionsHasBeenSet() const { return m_eBSOptionsHasBeenSet; }
95 template <typename EBSOptionsT = EBSOptions>
96 void SetEBSOptions(EBSOptionsT&& value) {
97 m_eBSOptionsHasBeenSet = true;
98 m_eBSOptions = std::forward<EBSOptionsT>(value);
99 }
100 template <typename EBSOptionsT = EBSOptions>
102 SetEBSOptions(std::forward<EBSOptionsT>(value));
103 return *this;
104 }
106
108
112 inline const SnapshotOptions& GetSnapshotOptions() const { return m_snapshotOptions; }
113 inline bool SnapshotOptionsHasBeenSet() const { return m_snapshotOptionsHasBeenSet; }
114 template <typename SnapshotOptionsT = SnapshotOptions>
115 void SetSnapshotOptions(SnapshotOptionsT&& value) {
116 m_snapshotOptionsHasBeenSet = true;
117 m_snapshotOptions = std::forward<SnapshotOptionsT>(value);
118 }
119 template <typename SnapshotOptionsT = SnapshotOptions>
121 SetSnapshotOptions(std::forward<SnapshotOptionsT>(value));
122 return *this;
123 }
125
127
134 inline const VPCOptions& GetVPCOptions() const { return m_vPCOptions; }
135 inline bool VPCOptionsHasBeenSet() const { return m_vPCOptionsHasBeenSet; }
136 template <typename VPCOptionsT = VPCOptions>
137 void SetVPCOptions(VPCOptionsT&& value) {
138 m_vPCOptionsHasBeenSet = true;
139 m_vPCOptions = std::forward<VPCOptionsT>(value);
140 }
141 template <typename VPCOptionsT = VPCOptions>
143 SetVPCOptions(std::forward<VPCOptionsT>(value));
144 return *this;
145 }
147
149
155 inline const CognitoOptions& GetCognitoOptions() const { return m_cognitoOptions; }
156 inline bool CognitoOptionsHasBeenSet() const { return m_cognitoOptionsHasBeenSet; }
157 template <typename CognitoOptionsT = CognitoOptions>
158 void SetCognitoOptions(CognitoOptionsT&& value) {
159 m_cognitoOptionsHasBeenSet = true;
160 m_cognitoOptions = std::forward<CognitoOptionsT>(value);
161 }
162 template <typename CognitoOptionsT = CognitoOptions>
164 SetCognitoOptions(std::forward<CognitoOptionsT>(value));
165 return *this;
166 }
168
170
177 inline const Aws::Map<Aws::String, Aws::String>& GetAdvancedOptions() const { return m_advancedOptions; }
178 inline bool AdvancedOptionsHasBeenSet() const { return m_advancedOptionsHasBeenSet; }
179 template <typename AdvancedOptionsT = Aws::Map<Aws::String, Aws::String>>
180 void SetAdvancedOptions(AdvancedOptionsT&& value) {
181 m_advancedOptionsHasBeenSet = true;
182 m_advancedOptions = std::forward<AdvancedOptionsT>(value);
183 }
184 template <typename AdvancedOptionsT = Aws::Map<Aws::String, Aws::String>>
186 SetAdvancedOptions(std::forward<AdvancedOptionsT>(value));
187 return *this;
188 }
189 template <typename AdvancedOptionsKeyT = Aws::String, typename AdvancedOptionsValueT = Aws::String>
190 UpdateElasticsearchDomainConfigRequest& AddAdvancedOptions(AdvancedOptionsKeyT&& key, AdvancedOptionsValueT&& value) {
191 m_advancedOptionsHasBeenSet = true;
192 m_advancedOptions.emplace(std::forward<AdvancedOptionsKeyT>(key), std::forward<AdvancedOptionsValueT>(value));
193 return *this;
194 }
196
198
201 inline const Aws::String& GetAccessPolicies() const { return m_accessPolicies; }
202 inline bool AccessPoliciesHasBeenSet() const { return m_accessPoliciesHasBeenSet; }
203 template <typename AccessPoliciesT = Aws::String>
204 void SetAccessPolicies(AccessPoliciesT&& value) {
205 m_accessPoliciesHasBeenSet = true;
206 m_accessPolicies = std::forward<AccessPoliciesT>(value);
207 }
208 template <typename AccessPoliciesT = Aws::String>
210 SetAccessPolicies(std::forward<AccessPoliciesT>(value));
211 return *this;
212 }
214
216
220 inline const Aws::Map<LogType, LogPublishingOption>& GetLogPublishingOptions() const { return m_logPublishingOptions; }
221 inline bool LogPublishingOptionsHasBeenSet() const { return m_logPublishingOptionsHasBeenSet; }
222 template <typename LogPublishingOptionsT = Aws::Map<LogType, LogPublishingOption>>
223 void SetLogPublishingOptions(LogPublishingOptionsT&& value) {
224 m_logPublishingOptionsHasBeenSet = true;
225 m_logPublishingOptions = std::forward<LogPublishingOptionsT>(value);
226 }
227 template <typename LogPublishingOptionsT = Aws::Map<LogType, LogPublishingOption>>
229 SetLogPublishingOptions(std::forward<LogPublishingOptionsT>(value));
230 return *this;
231 }
233 m_logPublishingOptionsHasBeenSet = true;
234 m_logPublishingOptions.emplace(key, value);
235 return *this;
236 }
238
240
244 inline const DomainEndpointOptions& GetDomainEndpointOptions() const { return m_domainEndpointOptions; }
245 inline bool DomainEndpointOptionsHasBeenSet() const { return m_domainEndpointOptionsHasBeenSet; }
246 template <typename DomainEndpointOptionsT = DomainEndpointOptions>
247 void SetDomainEndpointOptions(DomainEndpointOptionsT&& value) {
248 m_domainEndpointOptionsHasBeenSet = true;
249 m_domainEndpointOptions = std::forward<DomainEndpointOptionsT>(value);
250 }
251 template <typename DomainEndpointOptionsT = DomainEndpointOptions>
253 SetDomainEndpointOptions(std::forward<DomainEndpointOptionsT>(value));
254 return *this;
255 }
257
259
262 inline const AdvancedSecurityOptionsInput& GetAdvancedSecurityOptions() const { return m_advancedSecurityOptions; }
263 inline bool AdvancedSecurityOptionsHasBeenSet() const { return m_advancedSecurityOptionsHasBeenSet; }
264 template <typename AdvancedSecurityOptionsT = AdvancedSecurityOptionsInput>
265 void SetAdvancedSecurityOptions(AdvancedSecurityOptionsT&& value) {
266 m_advancedSecurityOptionsHasBeenSet = true;
267 m_advancedSecurityOptions = std::forward<AdvancedSecurityOptionsT>(value);
268 }
269 template <typename AdvancedSecurityOptionsT = AdvancedSecurityOptionsInput>
271 SetAdvancedSecurityOptions(std::forward<AdvancedSecurityOptionsT>(value));
272 return *this;
273 }
275
277
280 inline const NodeToNodeEncryptionOptions& GetNodeToNodeEncryptionOptions() const { return m_nodeToNodeEncryptionOptions; }
281 inline bool NodeToNodeEncryptionOptionsHasBeenSet() const { return m_nodeToNodeEncryptionOptionsHasBeenSet; }
282 template <typename NodeToNodeEncryptionOptionsT = NodeToNodeEncryptionOptions>
283 void SetNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsT&& value) {
284 m_nodeToNodeEncryptionOptionsHasBeenSet = true;
285 m_nodeToNodeEncryptionOptions = std::forward<NodeToNodeEncryptionOptionsT>(value);
286 }
287 template <typename NodeToNodeEncryptionOptionsT = NodeToNodeEncryptionOptions>
289 SetNodeToNodeEncryptionOptions(std::forward<NodeToNodeEncryptionOptionsT>(value));
290 return *this;
291 }
293
295
298 inline const EncryptionAtRestOptions& GetEncryptionAtRestOptions() const { return m_encryptionAtRestOptions; }
299 inline bool EncryptionAtRestOptionsHasBeenSet() const { return m_encryptionAtRestOptionsHasBeenSet; }
300 template <typename EncryptionAtRestOptionsT = EncryptionAtRestOptions>
301 void SetEncryptionAtRestOptions(EncryptionAtRestOptionsT&& value) {
302 m_encryptionAtRestOptionsHasBeenSet = true;
303 m_encryptionAtRestOptions = std::forward<EncryptionAtRestOptionsT>(value);
304 }
305 template <typename EncryptionAtRestOptionsT = EncryptionAtRestOptions>
307 SetEncryptionAtRestOptions(std::forward<EncryptionAtRestOptionsT>(value));
308 return *this;
309 }
311
313
316 inline const AutoTuneOptions& GetAutoTuneOptions() const { return m_autoTuneOptions; }
317 inline bool AutoTuneOptionsHasBeenSet() const { return m_autoTuneOptionsHasBeenSet; }
318 template <typename AutoTuneOptionsT = AutoTuneOptions>
319 void SetAutoTuneOptions(AutoTuneOptionsT&& value) {
320 m_autoTuneOptionsHasBeenSet = true;
321 m_autoTuneOptions = std::forward<AutoTuneOptionsT>(value);
322 }
323 template <typename AutoTuneOptionsT = AutoTuneOptions>
325 SetAutoTuneOptions(std::forward<AutoTuneOptionsT>(value));
326 return *this;
327 }
329
331
338 inline bool GetDryRun() const { return m_dryRun; }
339 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
340 inline void SetDryRun(bool value) {
341 m_dryRunHasBeenSet = true;
342 m_dryRun = value;
343 }
345 SetDryRun(value);
346 return *this;
347 }
349
351
354 inline const DeploymentStrategyOptions& GetDeploymentStrategyOptions() const { return m_deploymentStrategyOptions; }
355 inline bool DeploymentStrategyOptionsHasBeenSet() const { return m_deploymentStrategyOptionsHasBeenSet; }
356 template <typename DeploymentStrategyOptionsT = DeploymentStrategyOptions>
357 void SetDeploymentStrategyOptions(DeploymentStrategyOptionsT&& value) {
358 m_deploymentStrategyOptionsHasBeenSet = true;
359 m_deploymentStrategyOptions = std::forward<DeploymentStrategyOptionsT>(value);
360 }
361 template <typename DeploymentStrategyOptionsT = DeploymentStrategyOptions>
363 SetDeploymentStrategyOptions(std::forward<DeploymentStrategyOptionsT>(value));
364 return *this;
365 }
367
369
376 inline const AutomatedSnapshotPauseRequestOptions& GetAutomatedSnapshotPauseOptions() const { return m_automatedSnapshotPauseOptions; }
377 inline bool AutomatedSnapshotPauseOptionsHasBeenSet() const { return m_automatedSnapshotPauseOptionsHasBeenSet; }
378 template <typename AutomatedSnapshotPauseOptionsT = AutomatedSnapshotPauseRequestOptions>
379 void SetAutomatedSnapshotPauseOptions(AutomatedSnapshotPauseOptionsT&& value) {
380 m_automatedSnapshotPauseOptionsHasBeenSet = true;
381 m_automatedSnapshotPauseOptions = std::forward<AutomatedSnapshotPauseOptionsT>(value);
382 }
383 template <typename AutomatedSnapshotPauseOptionsT = AutomatedSnapshotPauseRequestOptions>
385 SetAutomatedSnapshotPauseOptions(std::forward<AutomatedSnapshotPauseOptionsT>(value));
386 return *this;
387 }
389
391
395 inline DomainUseCase GetUseCase() const { return m_useCase; }
396 inline bool UseCaseHasBeenSet() const { return m_useCaseHasBeenSet; }
397 inline void SetUseCase(DomainUseCase value) {
398 m_useCaseHasBeenSet = true;
399 m_useCase = value;
400 }
402 SetUseCase(value);
403 return *this;
404 }
406
408
412 inline DomainEngineMode GetEngineMode() const { return m_engineMode; }
413 inline bool EngineModeHasBeenSet() const { return m_engineModeHasBeenSet; }
414 inline void SetEngineMode(DomainEngineMode value) {
415 m_engineModeHasBeenSet = true;
416 m_engineMode = value;
417 }
419 SetEngineMode(value);
420 return *this;
421 }
423 private:
424 Aws::String m_domainName;
425
426 ElasticsearchClusterConfig m_elasticsearchClusterConfig;
427
428 EBSOptions m_eBSOptions;
429
430 SnapshotOptions m_snapshotOptions;
431
432 VPCOptions m_vPCOptions;
433
434 CognitoOptions m_cognitoOptions;
435
436 Aws::Map<Aws::String, Aws::String> m_advancedOptions;
437
438 Aws::String m_accessPolicies;
439
440 Aws::Map<LogType, LogPublishingOption> m_logPublishingOptions;
441
442 DomainEndpointOptions m_domainEndpointOptions;
443
444 AdvancedSecurityOptionsInput m_advancedSecurityOptions;
445
446 NodeToNodeEncryptionOptions m_nodeToNodeEncryptionOptions;
447
448 EncryptionAtRestOptions m_encryptionAtRestOptions;
449
450 AutoTuneOptions m_autoTuneOptions;
451
452 bool m_dryRun{false};
453
454 DeploymentStrategyOptions m_deploymentStrategyOptions;
455
456 AutomatedSnapshotPauseRequestOptions m_automatedSnapshotPauseOptions;
457
459
461 bool m_domainNameHasBeenSet = false;
462 bool m_elasticsearchClusterConfigHasBeenSet = false;
463 bool m_eBSOptionsHasBeenSet = false;
464 bool m_snapshotOptionsHasBeenSet = false;
465 bool m_vPCOptionsHasBeenSet = false;
466 bool m_cognitoOptionsHasBeenSet = false;
467 bool m_advancedOptionsHasBeenSet = false;
468 bool m_accessPoliciesHasBeenSet = false;
469 bool m_logPublishingOptionsHasBeenSet = false;
470 bool m_domainEndpointOptionsHasBeenSet = false;
471 bool m_advancedSecurityOptionsHasBeenSet = false;
472 bool m_nodeToNodeEncryptionOptionsHasBeenSet = false;
473 bool m_encryptionAtRestOptionsHasBeenSet = false;
474 bool m_autoTuneOptionsHasBeenSet = false;
475 bool m_dryRunHasBeenSet = false;
476 bool m_deploymentStrategyOptionsHasBeenSet = false;
477 bool m_automatedSnapshotPauseOptionsHasBeenSet = false;
478 bool m_useCaseHasBeenSet = false;
479 bool m_engineModeHasBeenSet = false;
480};
481
482} // namespace Model
483} // namespace ElasticsearchService
484} // namespace Aws
UpdateElasticsearchDomainConfigRequest & WithEncryptionAtRestOptions(EncryptionAtRestOptionsT &&value)
UpdateElasticsearchDomainConfigRequest & WithDomainEndpointOptions(DomainEndpointOptionsT &&value)
UpdateElasticsearchDomainConfigRequest & WithNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsT &&value)
UpdateElasticsearchDomainConfigRequest & WithAdvancedSecurityOptions(AdvancedSecurityOptionsT &&value)
UpdateElasticsearchDomainConfigRequest & AddLogPublishingOptions(LogType key, LogPublishingOption value)
UpdateElasticsearchDomainConfigRequest & WithAdvancedOptions(AdvancedOptionsT &&value)
UpdateElasticsearchDomainConfigRequest & WithSnapshotOptions(SnapshotOptionsT &&value)
UpdateElasticsearchDomainConfigRequest & WithDeploymentStrategyOptions(DeploymentStrategyOptionsT &&value)
UpdateElasticsearchDomainConfigRequest & WithAutoTuneOptions(AutoTuneOptionsT &&value)
UpdateElasticsearchDomainConfigRequest & WithAutomatedSnapshotPauseOptions(AutomatedSnapshotPauseOptionsT &&value)
UpdateElasticsearchDomainConfigRequest & AddAdvancedOptions(AdvancedOptionsKeyT &&key, AdvancedOptionsValueT &&value)
AWS_ELASTICSEARCHSERVICE_API Aws::String SerializePayload() const override
UpdateElasticsearchDomainConfigRequest & WithLogPublishingOptions(LogPublishingOptionsT &&value)
AWS_ELASTICSEARCHSERVICE_API UpdateElasticsearchDomainConfigRequest()=default
UpdateElasticsearchDomainConfigRequest & WithCognitoOptions(CognitoOptionsT &&value)
UpdateElasticsearchDomainConfigRequest & WithEngineMode(DomainEngineMode value)
UpdateElasticsearchDomainConfigRequest & WithElasticsearchClusterConfig(ElasticsearchClusterConfigT &&value)
UpdateElasticsearchDomainConfigRequest & WithAccessPolicies(AccessPoliciesT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String