AWS SDK for C++

AWS SDK for C++ Version 1.11.752

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/DomainEndpointOptions.h>
15#include <aws/es/model/EBSOptions.h>
16#include <aws/es/model/ElasticsearchClusterConfig.h>
17#include <aws/es/model/EncryptionAtRestOptions.h>
18#include <aws/es/model/LogPublishingOption.h>
19#include <aws/es/model/LogType.h>
20#include <aws/es/model/NodeToNodeEncryptionOptions.h>
21#include <aws/es/model/SnapshotOptions.h>
22#include <aws/es/model/VPCOptions.h>
23
24#include <utility>
25
26namespace Aws {
27namespace ElasticsearchService {
28namespace Model {
29
38 public:
39 AWS_ELASTICSEARCHSERVICE_API UpdateElasticsearchDomainConfigRequest() = default;
40
41 // Service request name is the Operation name which will send this request out,
42 // each operation should has unique request name, so that we can get operation's name from this request.
43 // Note: this is not true for response, multiple operations may have the same response name,
44 // so we can not get operation's name from response.
45 inline virtual const char* GetServiceRequestName() const override { return "UpdateElasticsearchDomainConfig"; }
46
47 AWS_ELASTICSEARCHSERVICE_API Aws::String SerializePayload() const override;
48
50
53 inline const Aws::String& GetDomainName() const { return m_domainName; }
54 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
55 template <typename DomainNameT = Aws::String>
56 void SetDomainName(DomainNameT&& value) {
57 m_domainNameHasBeenSet = true;
58 m_domainName = std::forward<DomainNameT>(value);
59 }
60 template <typename DomainNameT = Aws::String>
62 SetDomainName(std::forward<DomainNameT>(value));
63 return *this;
64 }
66
68
71 inline const ElasticsearchClusterConfig& GetElasticsearchClusterConfig() const { return m_elasticsearchClusterConfig; }
72 inline bool ElasticsearchClusterConfigHasBeenSet() const { return m_elasticsearchClusterConfigHasBeenSet; }
73 template <typename ElasticsearchClusterConfigT = ElasticsearchClusterConfig>
74 void SetElasticsearchClusterConfig(ElasticsearchClusterConfigT&& value) {
75 m_elasticsearchClusterConfigHasBeenSet = true;
76 m_elasticsearchClusterConfig = std::forward<ElasticsearchClusterConfigT>(value);
77 }
78 template <typename ElasticsearchClusterConfigT = ElasticsearchClusterConfig>
80 SetElasticsearchClusterConfig(std::forward<ElasticsearchClusterConfigT>(value));
81 return *this;
82 }
84
86
89 inline const EBSOptions& GetEBSOptions() const { return m_eBSOptions; }
90 inline bool EBSOptionsHasBeenSet() const { return m_eBSOptionsHasBeenSet; }
91 template <typename EBSOptionsT = EBSOptions>
92 void SetEBSOptions(EBSOptionsT&& value) {
93 m_eBSOptionsHasBeenSet = true;
94 m_eBSOptions = std::forward<EBSOptionsT>(value);
95 }
96 template <typename EBSOptionsT = EBSOptions>
98 SetEBSOptions(std::forward<EBSOptionsT>(value));
99 return *this;
100 }
102
104
108 inline const SnapshotOptions& GetSnapshotOptions() const { return m_snapshotOptions; }
109 inline bool SnapshotOptionsHasBeenSet() const { return m_snapshotOptionsHasBeenSet; }
110 template <typename SnapshotOptionsT = SnapshotOptions>
111 void SetSnapshotOptions(SnapshotOptionsT&& value) {
112 m_snapshotOptionsHasBeenSet = true;
113 m_snapshotOptions = std::forward<SnapshotOptionsT>(value);
114 }
115 template <typename SnapshotOptionsT = SnapshotOptions>
117 SetSnapshotOptions(std::forward<SnapshotOptionsT>(value));
118 return *this;
119 }
121
123
130 inline const VPCOptions& GetVPCOptions() const { return m_vPCOptions; }
131 inline bool VPCOptionsHasBeenSet() const { return m_vPCOptionsHasBeenSet; }
132 template <typename VPCOptionsT = VPCOptions>
133 void SetVPCOptions(VPCOptionsT&& value) {
134 m_vPCOptionsHasBeenSet = true;
135 m_vPCOptions = std::forward<VPCOptionsT>(value);
136 }
137 template <typename VPCOptionsT = VPCOptions>
139 SetVPCOptions(std::forward<VPCOptionsT>(value));
140 return *this;
141 }
143
145
151 inline const CognitoOptions& GetCognitoOptions() const { return m_cognitoOptions; }
152 inline bool CognitoOptionsHasBeenSet() const { return m_cognitoOptionsHasBeenSet; }
153 template <typename CognitoOptionsT = CognitoOptions>
154 void SetCognitoOptions(CognitoOptionsT&& value) {
155 m_cognitoOptionsHasBeenSet = true;
156 m_cognitoOptions = std::forward<CognitoOptionsT>(value);
157 }
158 template <typename CognitoOptionsT = CognitoOptions>
160 SetCognitoOptions(std::forward<CognitoOptionsT>(value));
161 return *this;
162 }
164
166
173 inline const Aws::Map<Aws::String, Aws::String>& GetAdvancedOptions() const { return m_advancedOptions; }
174 inline bool AdvancedOptionsHasBeenSet() const { return m_advancedOptionsHasBeenSet; }
175 template <typename AdvancedOptionsT = Aws::Map<Aws::String, Aws::String>>
176 void SetAdvancedOptions(AdvancedOptionsT&& value) {
177 m_advancedOptionsHasBeenSet = true;
178 m_advancedOptions = std::forward<AdvancedOptionsT>(value);
179 }
180 template <typename AdvancedOptionsT = Aws::Map<Aws::String, Aws::String>>
182 SetAdvancedOptions(std::forward<AdvancedOptionsT>(value));
183 return *this;
184 }
185 template <typename AdvancedOptionsKeyT = Aws::String, typename AdvancedOptionsValueT = Aws::String>
186 UpdateElasticsearchDomainConfigRequest& AddAdvancedOptions(AdvancedOptionsKeyT&& key, AdvancedOptionsValueT&& value) {
187 m_advancedOptionsHasBeenSet = true;
188 m_advancedOptions.emplace(std::forward<AdvancedOptionsKeyT>(key), std::forward<AdvancedOptionsValueT>(value));
189 return *this;
190 }
192
194
197 inline const Aws::String& GetAccessPolicies() const { return m_accessPolicies; }
198 inline bool AccessPoliciesHasBeenSet() const { return m_accessPoliciesHasBeenSet; }
199 template <typename AccessPoliciesT = Aws::String>
200 void SetAccessPolicies(AccessPoliciesT&& value) {
201 m_accessPoliciesHasBeenSet = true;
202 m_accessPolicies = std::forward<AccessPoliciesT>(value);
203 }
204 template <typename AccessPoliciesT = Aws::String>
206 SetAccessPolicies(std::forward<AccessPoliciesT>(value));
207 return *this;
208 }
210
212
216 inline const Aws::Map<LogType, LogPublishingOption>& GetLogPublishingOptions() const { return m_logPublishingOptions; }
217 inline bool LogPublishingOptionsHasBeenSet() const { return m_logPublishingOptionsHasBeenSet; }
218 template <typename LogPublishingOptionsT = Aws::Map<LogType, LogPublishingOption>>
219 void SetLogPublishingOptions(LogPublishingOptionsT&& value) {
220 m_logPublishingOptionsHasBeenSet = true;
221 m_logPublishingOptions = std::forward<LogPublishingOptionsT>(value);
222 }
223 template <typename LogPublishingOptionsT = Aws::Map<LogType, LogPublishingOption>>
225 SetLogPublishingOptions(std::forward<LogPublishingOptionsT>(value));
226 return *this;
227 }
229 m_logPublishingOptionsHasBeenSet = true;
230 m_logPublishingOptions.emplace(key, value);
231 return *this;
232 }
234
236
240 inline const DomainEndpointOptions& GetDomainEndpointOptions() const { return m_domainEndpointOptions; }
241 inline bool DomainEndpointOptionsHasBeenSet() const { return m_domainEndpointOptionsHasBeenSet; }
242 template <typename DomainEndpointOptionsT = DomainEndpointOptions>
243 void SetDomainEndpointOptions(DomainEndpointOptionsT&& value) {
244 m_domainEndpointOptionsHasBeenSet = true;
245 m_domainEndpointOptions = std::forward<DomainEndpointOptionsT>(value);
246 }
247 template <typename DomainEndpointOptionsT = DomainEndpointOptions>
249 SetDomainEndpointOptions(std::forward<DomainEndpointOptionsT>(value));
250 return *this;
251 }
253
255
258 inline const AdvancedSecurityOptionsInput& GetAdvancedSecurityOptions() const { return m_advancedSecurityOptions; }
259 inline bool AdvancedSecurityOptionsHasBeenSet() const { return m_advancedSecurityOptionsHasBeenSet; }
260 template <typename AdvancedSecurityOptionsT = AdvancedSecurityOptionsInput>
261 void SetAdvancedSecurityOptions(AdvancedSecurityOptionsT&& value) {
262 m_advancedSecurityOptionsHasBeenSet = true;
263 m_advancedSecurityOptions = std::forward<AdvancedSecurityOptionsT>(value);
264 }
265 template <typename AdvancedSecurityOptionsT = AdvancedSecurityOptionsInput>
267 SetAdvancedSecurityOptions(std::forward<AdvancedSecurityOptionsT>(value));
268 return *this;
269 }
271
273
276 inline const NodeToNodeEncryptionOptions& GetNodeToNodeEncryptionOptions() const { return m_nodeToNodeEncryptionOptions; }
277 inline bool NodeToNodeEncryptionOptionsHasBeenSet() const { return m_nodeToNodeEncryptionOptionsHasBeenSet; }
278 template <typename NodeToNodeEncryptionOptionsT = NodeToNodeEncryptionOptions>
279 void SetNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsT&& value) {
280 m_nodeToNodeEncryptionOptionsHasBeenSet = true;
281 m_nodeToNodeEncryptionOptions = std::forward<NodeToNodeEncryptionOptionsT>(value);
282 }
283 template <typename NodeToNodeEncryptionOptionsT = NodeToNodeEncryptionOptions>
285 SetNodeToNodeEncryptionOptions(std::forward<NodeToNodeEncryptionOptionsT>(value));
286 return *this;
287 }
289
291
294 inline const EncryptionAtRestOptions& GetEncryptionAtRestOptions() const { return m_encryptionAtRestOptions; }
295 inline bool EncryptionAtRestOptionsHasBeenSet() const { return m_encryptionAtRestOptionsHasBeenSet; }
296 template <typename EncryptionAtRestOptionsT = EncryptionAtRestOptions>
297 void SetEncryptionAtRestOptions(EncryptionAtRestOptionsT&& value) {
298 m_encryptionAtRestOptionsHasBeenSet = true;
299 m_encryptionAtRestOptions = std::forward<EncryptionAtRestOptionsT>(value);
300 }
301 template <typename EncryptionAtRestOptionsT = EncryptionAtRestOptions>
303 SetEncryptionAtRestOptions(std::forward<EncryptionAtRestOptionsT>(value));
304 return *this;
305 }
307
309
312 inline const AutoTuneOptions& GetAutoTuneOptions() const { return m_autoTuneOptions; }
313 inline bool AutoTuneOptionsHasBeenSet() const { return m_autoTuneOptionsHasBeenSet; }
314 template <typename AutoTuneOptionsT = AutoTuneOptions>
315 void SetAutoTuneOptions(AutoTuneOptionsT&& value) {
316 m_autoTuneOptionsHasBeenSet = true;
317 m_autoTuneOptions = std::forward<AutoTuneOptionsT>(value);
318 }
319 template <typename AutoTuneOptionsT = AutoTuneOptions>
321 SetAutoTuneOptions(std::forward<AutoTuneOptionsT>(value));
322 return *this;
323 }
325
327
334 inline bool GetDryRun() const { return m_dryRun; }
335 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
336 inline void SetDryRun(bool value) {
337 m_dryRunHasBeenSet = true;
338 m_dryRun = value;
339 }
341 SetDryRun(value);
342 return *this;
343 }
345 private:
346 Aws::String m_domainName;
347
348 ElasticsearchClusterConfig m_elasticsearchClusterConfig;
349
350 EBSOptions m_eBSOptions;
351
352 SnapshotOptions m_snapshotOptions;
353
354 VPCOptions m_vPCOptions;
355
356 CognitoOptions m_cognitoOptions;
357
358 Aws::Map<Aws::String, Aws::String> m_advancedOptions;
359
360 Aws::String m_accessPolicies;
361
362 Aws::Map<LogType, LogPublishingOption> m_logPublishingOptions;
363
364 DomainEndpointOptions m_domainEndpointOptions;
365
366 AdvancedSecurityOptionsInput m_advancedSecurityOptions;
367
368 NodeToNodeEncryptionOptions m_nodeToNodeEncryptionOptions;
369
370 EncryptionAtRestOptions m_encryptionAtRestOptions;
371
372 AutoTuneOptions m_autoTuneOptions;
373
374 bool m_dryRun{false};
375 bool m_domainNameHasBeenSet = false;
376 bool m_elasticsearchClusterConfigHasBeenSet = false;
377 bool m_eBSOptionsHasBeenSet = false;
378 bool m_snapshotOptionsHasBeenSet = false;
379 bool m_vPCOptionsHasBeenSet = false;
380 bool m_cognitoOptionsHasBeenSet = false;
381 bool m_advancedOptionsHasBeenSet = false;
382 bool m_accessPoliciesHasBeenSet = false;
383 bool m_logPublishingOptionsHasBeenSet = false;
384 bool m_domainEndpointOptionsHasBeenSet = false;
385 bool m_advancedSecurityOptionsHasBeenSet = false;
386 bool m_nodeToNodeEncryptionOptionsHasBeenSet = false;
387 bool m_encryptionAtRestOptionsHasBeenSet = false;
388 bool m_autoTuneOptionsHasBeenSet = false;
389 bool m_dryRunHasBeenSet = false;
390};
391
392} // namespace Model
393} // namespace ElasticsearchService
394} // 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 & 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