AWS SDK for C++

AWS SDK for C++ Version 1.11.787

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/CognitoOptions.h>
14#include <aws/es/model/DeploymentStrategyOptions.h>
15#include <aws/es/model/DomainEndpointOptions.h>
16#include <aws/es/model/EBSOptions.h>
17#include <aws/es/model/ElasticsearchClusterConfig.h>
18#include <aws/es/model/EncryptionAtRestOptions.h>
19#include <aws/es/model/LogPublishingOption.h>
20#include <aws/es/model/LogType.h>
21#include <aws/es/model/NodeToNodeEncryptionOptions.h>
22#include <aws/es/model/SnapshotOptions.h>
23#include <aws/es/model/VPCOptions.h>
24
25#include <utility>
26
27namespace Aws {
28namespace ElasticsearchService {
29namespace Model {
30
39 public:
40 AWS_ELASTICSEARCHSERVICE_API UpdateElasticsearchDomainConfigRequest() = default;
41
42 // Service request name is the Operation name which will send this request out,
43 // each operation should has unique request name, so that we can get operation's name from this request.
44 // Note: this is not true for response, multiple operations may have the same response name,
45 // so we can not get operation's name from response.
46 inline virtual const char* GetServiceRequestName() const override { return "UpdateElasticsearchDomainConfig"; }
47
48 AWS_ELASTICSEARCHSERVICE_API Aws::String SerializePayload() const override;
49
51
54 inline const Aws::String& GetDomainName() const { return m_domainName; }
55 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
56 template <typename DomainNameT = Aws::String>
57 void SetDomainName(DomainNameT&& value) {
58 m_domainNameHasBeenSet = true;
59 m_domainName = std::forward<DomainNameT>(value);
60 }
61 template <typename DomainNameT = Aws::String>
63 SetDomainName(std::forward<DomainNameT>(value));
64 return *this;
65 }
67
69
72 inline const ElasticsearchClusterConfig& GetElasticsearchClusterConfig() const { return m_elasticsearchClusterConfig; }
73 inline bool ElasticsearchClusterConfigHasBeenSet() const { return m_elasticsearchClusterConfigHasBeenSet; }
74 template <typename ElasticsearchClusterConfigT = ElasticsearchClusterConfig>
75 void SetElasticsearchClusterConfig(ElasticsearchClusterConfigT&& value) {
76 m_elasticsearchClusterConfigHasBeenSet = true;
77 m_elasticsearchClusterConfig = std::forward<ElasticsearchClusterConfigT>(value);
78 }
79 template <typename ElasticsearchClusterConfigT = ElasticsearchClusterConfig>
81 SetElasticsearchClusterConfig(std::forward<ElasticsearchClusterConfigT>(value));
82 return *this;
83 }
85
87
90 inline const EBSOptions& GetEBSOptions() const { return m_eBSOptions; }
91 inline bool EBSOptionsHasBeenSet() const { return m_eBSOptionsHasBeenSet; }
92 template <typename EBSOptionsT = EBSOptions>
93 void SetEBSOptions(EBSOptionsT&& value) {
94 m_eBSOptionsHasBeenSet = true;
95 m_eBSOptions = std::forward<EBSOptionsT>(value);
96 }
97 template <typename EBSOptionsT = EBSOptions>
99 SetEBSOptions(std::forward<EBSOptionsT>(value));
100 return *this;
101 }
103
105
109 inline const SnapshotOptions& GetSnapshotOptions() const { return m_snapshotOptions; }
110 inline bool SnapshotOptionsHasBeenSet() const { return m_snapshotOptionsHasBeenSet; }
111 template <typename SnapshotOptionsT = SnapshotOptions>
112 void SetSnapshotOptions(SnapshotOptionsT&& value) {
113 m_snapshotOptionsHasBeenSet = true;
114 m_snapshotOptions = std::forward<SnapshotOptionsT>(value);
115 }
116 template <typename SnapshotOptionsT = SnapshotOptions>
118 SetSnapshotOptions(std::forward<SnapshotOptionsT>(value));
119 return *this;
120 }
122
124
131 inline const VPCOptions& GetVPCOptions() const { return m_vPCOptions; }
132 inline bool VPCOptionsHasBeenSet() const { return m_vPCOptionsHasBeenSet; }
133 template <typename VPCOptionsT = VPCOptions>
134 void SetVPCOptions(VPCOptionsT&& value) {
135 m_vPCOptionsHasBeenSet = true;
136 m_vPCOptions = std::forward<VPCOptionsT>(value);
137 }
138 template <typename VPCOptionsT = VPCOptions>
140 SetVPCOptions(std::forward<VPCOptionsT>(value));
141 return *this;
142 }
144
146
152 inline const CognitoOptions& GetCognitoOptions() const { return m_cognitoOptions; }
153 inline bool CognitoOptionsHasBeenSet() const { return m_cognitoOptionsHasBeenSet; }
154 template <typename CognitoOptionsT = CognitoOptions>
155 void SetCognitoOptions(CognitoOptionsT&& value) {
156 m_cognitoOptionsHasBeenSet = true;
157 m_cognitoOptions = std::forward<CognitoOptionsT>(value);
158 }
159 template <typename CognitoOptionsT = CognitoOptions>
161 SetCognitoOptions(std::forward<CognitoOptionsT>(value));
162 return *this;
163 }
165
167
174 inline const Aws::Map<Aws::String, Aws::String>& GetAdvancedOptions() const { return m_advancedOptions; }
175 inline bool AdvancedOptionsHasBeenSet() const { return m_advancedOptionsHasBeenSet; }
176 template <typename AdvancedOptionsT = Aws::Map<Aws::String, Aws::String>>
177 void SetAdvancedOptions(AdvancedOptionsT&& value) {
178 m_advancedOptionsHasBeenSet = true;
179 m_advancedOptions = std::forward<AdvancedOptionsT>(value);
180 }
181 template <typename AdvancedOptionsT = Aws::Map<Aws::String, Aws::String>>
183 SetAdvancedOptions(std::forward<AdvancedOptionsT>(value));
184 return *this;
185 }
186 template <typename AdvancedOptionsKeyT = Aws::String, typename AdvancedOptionsValueT = Aws::String>
187 UpdateElasticsearchDomainConfigRequest& AddAdvancedOptions(AdvancedOptionsKeyT&& key, AdvancedOptionsValueT&& value) {
188 m_advancedOptionsHasBeenSet = true;
189 m_advancedOptions.emplace(std::forward<AdvancedOptionsKeyT>(key), std::forward<AdvancedOptionsValueT>(value));
190 return *this;
191 }
193
195
198 inline const Aws::String& GetAccessPolicies() const { return m_accessPolicies; }
199 inline bool AccessPoliciesHasBeenSet() const { return m_accessPoliciesHasBeenSet; }
200 template <typename AccessPoliciesT = Aws::String>
201 void SetAccessPolicies(AccessPoliciesT&& value) {
202 m_accessPoliciesHasBeenSet = true;
203 m_accessPolicies = std::forward<AccessPoliciesT>(value);
204 }
205 template <typename AccessPoliciesT = Aws::String>
207 SetAccessPolicies(std::forward<AccessPoliciesT>(value));
208 return *this;
209 }
211
213
217 inline const Aws::Map<LogType, LogPublishingOption>& GetLogPublishingOptions() const { return m_logPublishingOptions; }
218 inline bool LogPublishingOptionsHasBeenSet() const { return m_logPublishingOptionsHasBeenSet; }
219 template <typename LogPublishingOptionsT = Aws::Map<LogType, LogPublishingOption>>
220 void SetLogPublishingOptions(LogPublishingOptionsT&& value) {
221 m_logPublishingOptionsHasBeenSet = true;
222 m_logPublishingOptions = std::forward<LogPublishingOptionsT>(value);
223 }
224 template <typename LogPublishingOptionsT = Aws::Map<LogType, LogPublishingOption>>
226 SetLogPublishingOptions(std::forward<LogPublishingOptionsT>(value));
227 return *this;
228 }
230 m_logPublishingOptionsHasBeenSet = true;
231 m_logPublishingOptions.emplace(key, value);
232 return *this;
233 }
235
237
241 inline const DomainEndpointOptions& GetDomainEndpointOptions() const { return m_domainEndpointOptions; }
242 inline bool DomainEndpointOptionsHasBeenSet() const { return m_domainEndpointOptionsHasBeenSet; }
243 template <typename DomainEndpointOptionsT = DomainEndpointOptions>
244 void SetDomainEndpointOptions(DomainEndpointOptionsT&& value) {
245 m_domainEndpointOptionsHasBeenSet = true;
246 m_domainEndpointOptions = std::forward<DomainEndpointOptionsT>(value);
247 }
248 template <typename DomainEndpointOptionsT = DomainEndpointOptions>
250 SetDomainEndpointOptions(std::forward<DomainEndpointOptionsT>(value));
251 return *this;
252 }
254
256
259 inline const AdvancedSecurityOptionsInput& GetAdvancedSecurityOptions() const { return m_advancedSecurityOptions; }
260 inline bool AdvancedSecurityOptionsHasBeenSet() const { return m_advancedSecurityOptionsHasBeenSet; }
261 template <typename AdvancedSecurityOptionsT = AdvancedSecurityOptionsInput>
262 void SetAdvancedSecurityOptions(AdvancedSecurityOptionsT&& value) {
263 m_advancedSecurityOptionsHasBeenSet = true;
264 m_advancedSecurityOptions = std::forward<AdvancedSecurityOptionsT>(value);
265 }
266 template <typename AdvancedSecurityOptionsT = AdvancedSecurityOptionsInput>
268 SetAdvancedSecurityOptions(std::forward<AdvancedSecurityOptionsT>(value));
269 return *this;
270 }
272
274
277 inline const NodeToNodeEncryptionOptions& GetNodeToNodeEncryptionOptions() const { return m_nodeToNodeEncryptionOptions; }
278 inline bool NodeToNodeEncryptionOptionsHasBeenSet() const { return m_nodeToNodeEncryptionOptionsHasBeenSet; }
279 template <typename NodeToNodeEncryptionOptionsT = NodeToNodeEncryptionOptions>
280 void SetNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsT&& value) {
281 m_nodeToNodeEncryptionOptionsHasBeenSet = true;
282 m_nodeToNodeEncryptionOptions = std::forward<NodeToNodeEncryptionOptionsT>(value);
283 }
284 template <typename NodeToNodeEncryptionOptionsT = NodeToNodeEncryptionOptions>
286 SetNodeToNodeEncryptionOptions(std::forward<NodeToNodeEncryptionOptionsT>(value));
287 return *this;
288 }
290
292
295 inline const EncryptionAtRestOptions& GetEncryptionAtRestOptions() const { return m_encryptionAtRestOptions; }
296 inline bool EncryptionAtRestOptionsHasBeenSet() const { return m_encryptionAtRestOptionsHasBeenSet; }
297 template <typename EncryptionAtRestOptionsT = EncryptionAtRestOptions>
298 void SetEncryptionAtRestOptions(EncryptionAtRestOptionsT&& value) {
299 m_encryptionAtRestOptionsHasBeenSet = true;
300 m_encryptionAtRestOptions = std::forward<EncryptionAtRestOptionsT>(value);
301 }
302 template <typename EncryptionAtRestOptionsT = EncryptionAtRestOptions>
304 SetEncryptionAtRestOptions(std::forward<EncryptionAtRestOptionsT>(value));
305 return *this;
306 }
308
310
313 inline const AutoTuneOptions& GetAutoTuneOptions() const { return m_autoTuneOptions; }
314 inline bool AutoTuneOptionsHasBeenSet() const { return m_autoTuneOptionsHasBeenSet; }
315 template <typename AutoTuneOptionsT = AutoTuneOptions>
316 void SetAutoTuneOptions(AutoTuneOptionsT&& value) {
317 m_autoTuneOptionsHasBeenSet = true;
318 m_autoTuneOptions = std::forward<AutoTuneOptionsT>(value);
319 }
320 template <typename AutoTuneOptionsT = AutoTuneOptions>
322 SetAutoTuneOptions(std::forward<AutoTuneOptionsT>(value));
323 return *this;
324 }
326
328
335 inline bool GetDryRun() const { return m_dryRun; }
336 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
337 inline void SetDryRun(bool value) {
338 m_dryRunHasBeenSet = true;
339 m_dryRun = value;
340 }
342 SetDryRun(value);
343 return *this;
344 }
346
348
351 inline const DeploymentStrategyOptions& GetDeploymentStrategyOptions() const { return m_deploymentStrategyOptions; }
352 inline bool DeploymentStrategyOptionsHasBeenSet() const { return m_deploymentStrategyOptionsHasBeenSet; }
353 template <typename DeploymentStrategyOptionsT = DeploymentStrategyOptions>
354 void SetDeploymentStrategyOptions(DeploymentStrategyOptionsT&& value) {
355 m_deploymentStrategyOptionsHasBeenSet = true;
356 m_deploymentStrategyOptions = std::forward<DeploymentStrategyOptionsT>(value);
357 }
358 template <typename DeploymentStrategyOptionsT = DeploymentStrategyOptions>
360 SetDeploymentStrategyOptions(std::forward<DeploymentStrategyOptionsT>(value));
361 return *this;
362 }
364 private:
365 Aws::String m_domainName;
366
367 ElasticsearchClusterConfig m_elasticsearchClusterConfig;
368
369 EBSOptions m_eBSOptions;
370
371 SnapshotOptions m_snapshotOptions;
372
373 VPCOptions m_vPCOptions;
374
375 CognitoOptions m_cognitoOptions;
376
377 Aws::Map<Aws::String, Aws::String> m_advancedOptions;
378
379 Aws::String m_accessPolicies;
380
381 Aws::Map<LogType, LogPublishingOption> m_logPublishingOptions;
382
383 DomainEndpointOptions m_domainEndpointOptions;
384
385 AdvancedSecurityOptionsInput m_advancedSecurityOptions;
386
387 NodeToNodeEncryptionOptions m_nodeToNodeEncryptionOptions;
388
389 EncryptionAtRestOptions m_encryptionAtRestOptions;
390
391 AutoTuneOptions m_autoTuneOptions;
392
393 bool m_dryRun{false};
394
395 DeploymentStrategyOptions m_deploymentStrategyOptions;
396 bool m_domainNameHasBeenSet = false;
397 bool m_elasticsearchClusterConfigHasBeenSet = false;
398 bool m_eBSOptionsHasBeenSet = false;
399 bool m_snapshotOptionsHasBeenSet = false;
400 bool m_vPCOptionsHasBeenSet = false;
401 bool m_cognitoOptionsHasBeenSet = false;
402 bool m_advancedOptionsHasBeenSet = false;
403 bool m_accessPoliciesHasBeenSet = false;
404 bool m_logPublishingOptionsHasBeenSet = false;
405 bool m_domainEndpointOptionsHasBeenSet = false;
406 bool m_advancedSecurityOptionsHasBeenSet = false;
407 bool m_nodeToNodeEncryptionOptionsHasBeenSet = false;
408 bool m_encryptionAtRestOptionsHasBeenSet = false;
409 bool m_autoTuneOptionsHasBeenSet = false;
410 bool m_dryRunHasBeenSet = false;
411 bool m_deploymentStrategyOptionsHasBeenSet = false;
412};
413
414} // namespace Model
415} // namespace ElasticsearchService
416} // 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 & 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