AWS SDK for C++

AWS SDK for C++ Version 1.11.812

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/EBSOptions.h>
18#include <aws/es/model/ElasticsearchClusterConfig.h>
19#include <aws/es/model/EncryptionAtRestOptions.h>
20#include <aws/es/model/LogPublishingOption.h>
21#include <aws/es/model/LogType.h>
22#include <aws/es/model/NodeToNodeEncryptionOptions.h>
23#include <aws/es/model/SnapshotOptions.h>
24#include <aws/es/model/VPCOptions.h>
25
26#include <utility>
27
28namespace Aws {
29namespace ElasticsearchService {
30namespace Model {
31
40 public:
41 AWS_ELASTICSEARCHSERVICE_API UpdateElasticsearchDomainConfigRequest() = default;
42
43 // Service request name is the Operation name which will send this request out,
44 // each operation should has unique request name, so that we can get operation's name from this request.
45 // Note: this is not true for response, multiple operations may have the same response name,
46 // so we can not get operation's name from response.
47 inline virtual const char* GetServiceRequestName() const override { return "UpdateElasticsearchDomainConfig"; }
48
49 AWS_ELASTICSEARCHSERVICE_API Aws::String SerializePayload() const override;
50
52
55 inline const Aws::String& GetDomainName() const { return m_domainName; }
56 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
57 template <typename DomainNameT = Aws::String>
58 void SetDomainName(DomainNameT&& value) {
59 m_domainNameHasBeenSet = true;
60 m_domainName = std::forward<DomainNameT>(value);
61 }
62 template <typename DomainNameT = Aws::String>
64 SetDomainName(std::forward<DomainNameT>(value));
65 return *this;
66 }
68
70
73 inline const ElasticsearchClusterConfig& GetElasticsearchClusterConfig() const { return m_elasticsearchClusterConfig; }
74 inline bool ElasticsearchClusterConfigHasBeenSet() const { return m_elasticsearchClusterConfigHasBeenSet; }
75 template <typename ElasticsearchClusterConfigT = ElasticsearchClusterConfig>
76 void SetElasticsearchClusterConfig(ElasticsearchClusterConfigT&& value) {
77 m_elasticsearchClusterConfigHasBeenSet = true;
78 m_elasticsearchClusterConfig = std::forward<ElasticsearchClusterConfigT>(value);
79 }
80 template <typename ElasticsearchClusterConfigT = ElasticsearchClusterConfig>
82 SetElasticsearchClusterConfig(std::forward<ElasticsearchClusterConfigT>(value));
83 return *this;
84 }
86
88
91 inline const EBSOptions& GetEBSOptions() const { return m_eBSOptions; }
92 inline bool EBSOptionsHasBeenSet() const { return m_eBSOptionsHasBeenSet; }
93 template <typename EBSOptionsT = EBSOptions>
94 void SetEBSOptions(EBSOptionsT&& value) {
95 m_eBSOptionsHasBeenSet = true;
96 m_eBSOptions = std::forward<EBSOptionsT>(value);
97 }
98 template <typename EBSOptionsT = EBSOptions>
100 SetEBSOptions(std::forward<EBSOptionsT>(value));
101 return *this;
102 }
104
106
110 inline const SnapshotOptions& GetSnapshotOptions() const { return m_snapshotOptions; }
111 inline bool SnapshotOptionsHasBeenSet() const { return m_snapshotOptionsHasBeenSet; }
112 template <typename SnapshotOptionsT = SnapshotOptions>
113 void SetSnapshotOptions(SnapshotOptionsT&& value) {
114 m_snapshotOptionsHasBeenSet = true;
115 m_snapshotOptions = std::forward<SnapshotOptionsT>(value);
116 }
117 template <typename SnapshotOptionsT = SnapshotOptions>
119 SetSnapshotOptions(std::forward<SnapshotOptionsT>(value));
120 return *this;
121 }
123
125
132 inline const VPCOptions& GetVPCOptions() const { return m_vPCOptions; }
133 inline bool VPCOptionsHasBeenSet() const { return m_vPCOptionsHasBeenSet; }
134 template <typename VPCOptionsT = VPCOptions>
135 void SetVPCOptions(VPCOptionsT&& value) {
136 m_vPCOptionsHasBeenSet = true;
137 m_vPCOptions = std::forward<VPCOptionsT>(value);
138 }
139 template <typename VPCOptionsT = VPCOptions>
141 SetVPCOptions(std::forward<VPCOptionsT>(value));
142 return *this;
143 }
145
147
153 inline const CognitoOptions& GetCognitoOptions() const { return m_cognitoOptions; }
154 inline bool CognitoOptionsHasBeenSet() const { return m_cognitoOptionsHasBeenSet; }
155 template <typename CognitoOptionsT = CognitoOptions>
156 void SetCognitoOptions(CognitoOptionsT&& value) {
157 m_cognitoOptionsHasBeenSet = true;
158 m_cognitoOptions = std::forward<CognitoOptionsT>(value);
159 }
160 template <typename CognitoOptionsT = CognitoOptions>
162 SetCognitoOptions(std::forward<CognitoOptionsT>(value));
163 return *this;
164 }
166
168
175 inline const Aws::Map<Aws::String, Aws::String>& GetAdvancedOptions() const { return m_advancedOptions; }
176 inline bool AdvancedOptionsHasBeenSet() const { return m_advancedOptionsHasBeenSet; }
177 template <typename AdvancedOptionsT = Aws::Map<Aws::String, Aws::String>>
178 void SetAdvancedOptions(AdvancedOptionsT&& value) {
179 m_advancedOptionsHasBeenSet = true;
180 m_advancedOptions = std::forward<AdvancedOptionsT>(value);
181 }
182 template <typename AdvancedOptionsT = Aws::Map<Aws::String, Aws::String>>
184 SetAdvancedOptions(std::forward<AdvancedOptionsT>(value));
185 return *this;
186 }
187 template <typename AdvancedOptionsKeyT = Aws::String, typename AdvancedOptionsValueT = Aws::String>
188 UpdateElasticsearchDomainConfigRequest& AddAdvancedOptions(AdvancedOptionsKeyT&& key, AdvancedOptionsValueT&& value) {
189 m_advancedOptionsHasBeenSet = true;
190 m_advancedOptions.emplace(std::forward<AdvancedOptionsKeyT>(key), std::forward<AdvancedOptionsValueT>(value));
191 return *this;
192 }
194
196
199 inline const Aws::String& GetAccessPolicies() const { return m_accessPolicies; }
200 inline bool AccessPoliciesHasBeenSet() const { return m_accessPoliciesHasBeenSet; }
201 template <typename AccessPoliciesT = Aws::String>
202 void SetAccessPolicies(AccessPoliciesT&& value) {
203 m_accessPoliciesHasBeenSet = true;
204 m_accessPolicies = std::forward<AccessPoliciesT>(value);
205 }
206 template <typename AccessPoliciesT = Aws::String>
208 SetAccessPolicies(std::forward<AccessPoliciesT>(value));
209 return *this;
210 }
212
214
218 inline const Aws::Map<LogType, LogPublishingOption>& GetLogPublishingOptions() const { return m_logPublishingOptions; }
219 inline bool LogPublishingOptionsHasBeenSet() const { return m_logPublishingOptionsHasBeenSet; }
220 template <typename LogPublishingOptionsT = Aws::Map<LogType, LogPublishingOption>>
221 void SetLogPublishingOptions(LogPublishingOptionsT&& value) {
222 m_logPublishingOptionsHasBeenSet = true;
223 m_logPublishingOptions = std::forward<LogPublishingOptionsT>(value);
224 }
225 template <typename LogPublishingOptionsT = Aws::Map<LogType, LogPublishingOption>>
227 SetLogPublishingOptions(std::forward<LogPublishingOptionsT>(value));
228 return *this;
229 }
231 m_logPublishingOptionsHasBeenSet = true;
232 m_logPublishingOptions.emplace(key, value);
233 return *this;
234 }
236
238
242 inline const DomainEndpointOptions& GetDomainEndpointOptions() const { return m_domainEndpointOptions; }
243 inline bool DomainEndpointOptionsHasBeenSet() const { return m_domainEndpointOptionsHasBeenSet; }
244 template <typename DomainEndpointOptionsT = DomainEndpointOptions>
245 void SetDomainEndpointOptions(DomainEndpointOptionsT&& value) {
246 m_domainEndpointOptionsHasBeenSet = true;
247 m_domainEndpointOptions = std::forward<DomainEndpointOptionsT>(value);
248 }
249 template <typename DomainEndpointOptionsT = DomainEndpointOptions>
251 SetDomainEndpointOptions(std::forward<DomainEndpointOptionsT>(value));
252 return *this;
253 }
255
257
260 inline const AdvancedSecurityOptionsInput& GetAdvancedSecurityOptions() const { return m_advancedSecurityOptions; }
261 inline bool AdvancedSecurityOptionsHasBeenSet() const { return m_advancedSecurityOptionsHasBeenSet; }
262 template <typename AdvancedSecurityOptionsT = AdvancedSecurityOptionsInput>
263 void SetAdvancedSecurityOptions(AdvancedSecurityOptionsT&& value) {
264 m_advancedSecurityOptionsHasBeenSet = true;
265 m_advancedSecurityOptions = std::forward<AdvancedSecurityOptionsT>(value);
266 }
267 template <typename AdvancedSecurityOptionsT = AdvancedSecurityOptionsInput>
269 SetAdvancedSecurityOptions(std::forward<AdvancedSecurityOptionsT>(value));
270 return *this;
271 }
273
275
278 inline const NodeToNodeEncryptionOptions& GetNodeToNodeEncryptionOptions() const { return m_nodeToNodeEncryptionOptions; }
279 inline bool NodeToNodeEncryptionOptionsHasBeenSet() const { return m_nodeToNodeEncryptionOptionsHasBeenSet; }
280 template <typename NodeToNodeEncryptionOptionsT = NodeToNodeEncryptionOptions>
281 void SetNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsT&& value) {
282 m_nodeToNodeEncryptionOptionsHasBeenSet = true;
283 m_nodeToNodeEncryptionOptions = std::forward<NodeToNodeEncryptionOptionsT>(value);
284 }
285 template <typename NodeToNodeEncryptionOptionsT = NodeToNodeEncryptionOptions>
287 SetNodeToNodeEncryptionOptions(std::forward<NodeToNodeEncryptionOptionsT>(value));
288 return *this;
289 }
291
293
296 inline const EncryptionAtRestOptions& GetEncryptionAtRestOptions() const { return m_encryptionAtRestOptions; }
297 inline bool EncryptionAtRestOptionsHasBeenSet() const { return m_encryptionAtRestOptionsHasBeenSet; }
298 template <typename EncryptionAtRestOptionsT = EncryptionAtRestOptions>
299 void SetEncryptionAtRestOptions(EncryptionAtRestOptionsT&& value) {
300 m_encryptionAtRestOptionsHasBeenSet = true;
301 m_encryptionAtRestOptions = std::forward<EncryptionAtRestOptionsT>(value);
302 }
303 template <typename EncryptionAtRestOptionsT = EncryptionAtRestOptions>
305 SetEncryptionAtRestOptions(std::forward<EncryptionAtRestOptionsT>(value));
306 return *this;
307 }
309
311
314 inline const AutoTuneOptions& GetAutoTuneOptions() const { return m_autoTuneOptions; }
315 inline bool AutoTuneOptionsHasBeenSet() const { return m_autoTuneOptionsHasBeenSet; }
316 template <typename AutoTuneOptionsT = AutoTuneOptions>
317 void SetAutoTuneOptions(AutoTuneOptionsT&& value) {
318 m_autoTuneOptionsHasBeenSet = true;
319 m_autoTuneOptions = std::forward<AutoTuneOptionsT>(value);
320 }
321 template <typename AutoTuneOptionsT = AutoTuneOptions>
323 SetAutoTuneOptions(std::forward<AutoTuneOptionsT>(value));
324 return *this;
325 }
327
329
336 inline bool GetDryRun() const { return m_dryRun; }
337 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
338 inline void SetDryRun(bool value) {
339 m_dryRunHasBeenSet = true;
340 m_dryRun = value;
341 }
343 SetDryRun(value);
344 return *this;
345 }
347
349
352 inline const DeploymentStrategyOptions& GetDeploymentStrategyOptions() const { return m_deploymentStrategyOptions; }
353 inline bool DeploymentStrategyOptionsHasBeenSet() const { return m_deploymentStrategyOptionsHasBeenSet; }
354 template <typename DeploymentStrategyOptionsT = DeploymentStrategyOptions>
355 void SetDeploymentStrategyOptions(DeploymentStrategyOptionsT&& value) {
356 m_deploymentStrategyOptionsHasBeenSet = true;
357 m_deploymentStrategyOptions = std::forward<DeploymentStrategyOptionsT>(value);
358 }
359 template <typename DeploymentStrategyOptionsT = DeploymentStrategyOptions>
361 SetDeploymentStrategyOptions(std::forward<DeploymentStrategyOptionsT>(value));
362 return *this;
363 }
365
367
374 inline const AutomatedSnapshotPauseRequestOptions& GetAutomatedSnapshotPauseOptions() const { return m_automatedSnapshotPauseOptions; }
375 inline bool AutomatedSnapshotPauseOptionsHasBeenSet() const { return m_automatedSnapshotPauseOptionsHasBeenSet; }
376 template <typename AutomatedSnapshotPauseOptionsT = AutomatedSnapshotPauseRequestOptions>
377 void SetAutomatedSnapshotPauseOptions(AutomatedSnapshotPauseOptionsT&& value) {
378 m_automatedSnapshotPauseOptionsHasBeenSet = true;
379 m_automatedSnapshotPauseOptions = std::forward<AutomatedSnapshotPauseOptionsT>(value);
380 }
381 template <typename AutomatedSnapshotPauseOptionsT = AutomatedSnapshotPauseRequestOptions>
383 SetAutomatedSnapshotPauseOptions(std::forward<AutomatedSnapshotPauseOptionsT>(value));
384 return *this;
385 }
387 private:
388 Aws::String m_domainName;
389
390 ElasticsearchClusterConfig m_elasticsearchClusterConfig;
391
392 EBSOptions m_eBSOptions;
393
394 SnapshotOptions m_snapshotOptions;
395
396 VPCOptions m_vPCOptions;
397
398 CognitoOptions m_cognitoOptions;
399
400 Aws::Map<Aws::String, Aws::String> m_advancedOptions;
401
402 Aws::String m_accessPolicies;
403
404 Aws::Map<LogType, LogPublishingOption> m_logPublishingOptions;
405
406 DomainEndpointOptions m_domainEndpointOptions;
407
408 AdvancedSecurityOptionsInput m_advancedSecurityOptions;
409
410 NodeToNodeEncryptionOptions m_nodeToNodeEncryptionOptions;
411
412 EncryptionAtRestOptions m_encryptionAtRestOptions;
413
414 AutoTuneOptions m_autoTuneOptions;
415
416 bool m_dryRun{false};
417
418 DeploymentStrategyOptions m_deploymentStrategyOptions;
419
420 AutomatedSnapshotPauseRequestOptions m_automatedSnapshotPauseOptions;
421 bool m_domainNameHasBeenSet = false;
422 bool m_elasticsearchClusterConfigHasBeenSet = false;
423 bool m_eBSOptionsHasBeenSet = false;
424 bool m_snapshotOptionsHasBeenSet = false;
425 bool m_vPCOptionsHasBeenSet = false;
426 bool m_cognitoOptionsHasBeenSet = false;
427 bool m_advancedOptionsHasBeenSet = false;
428 bool m_accessPoliciesHasBeenSet = false;
429 bool m_logPublishingOptionsHasBeenSet = false;
430 bool m_domainEndpointOptionsHasBeenSet = false;
431 bool m_advancedSecurityOptionsHasBeenSet = false;
432 bool m_nodeToNodeEncryptionOptionsHasBeenSet = false;
433 bool m_encryptionAtRestOptionsHasBeenSet = false;
434 bool m_autoTuneOptionsHasBeenSet = false;
435 bool m_dryRunHasBeenSet = false;
436 bool m_deploymentStrategyOptionsHasBeenSet = false;
437 bool m_automatedSnapshotPauseOptionsHasBeenSet = false;
438};
439
440} // namespace Model
441} // namespace ElasticsearchService
442} // 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 & 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