AWS SDK for C++

AWS SDK for C++ Version 1.11.555

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Loading...
Searching...
No Matches
UpdateElasticsearchDomainConfigRequest.h
1
6#pragma once
7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/es/ElasticsearchServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/es/model/ElasticsearchClusterConfig.h>
11#include <aws/es/model/EBSOptions.h>
12#include <aws/es/model/SnapshotOptions.h>
13#include <aws/es/model/VPCOptions.h>
14#include <aws/es/model/CognitoOptions.h>
15#include <aws/core/utils/memory/stl/AWSMap.h>
16#include <aws/es/model/DomainEndpointOptions.h>
17#include <aws/es/model/AdvancedSecurityOptionsInput.h>
18#include <aws/es/model/NodeToNodeEncryptionOptions.h>
19#include <aws/es/model/EncryptionAtRestOptions.h>
20#include <aws/es/model/AutoTuneOptions.h>
21#include <aws/es/model/LogType.h>
22#include <aws/es/model/LogPublishingOption.h>
23#include <utility>
24
25namespace Aws
26{
27namespace ElasticsearchService
28{
29namespace Model
30{
31
40 {
41 public:
42 AWS_ELASTICSEARCHSERVICE_API UpdateElasticsearchDomainConfigRequest() = default;
43
44 // Service request name is the Operation name which will send this request out,
45 // each operation should has unique request name, so that we can get operation's name from this request.
46 // Note: this is not true for response, multiple operations may have the same response name,
47 // so we can not get operation's name from response.
48 inline virtual const char* GetServiceRequestName() const override { return "UpdateElasticsearchDomainConfig"; }
49
50 AWS_ELASTICSEARCHSERVICE_API Aws::String SerializePayload() const override;
51
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) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
61 template<typename DomainNameT = Aws::String>
62 UpdateElasticsearchDomainConfigRequest& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
64
66
69 inline const ElasticsearchClusterConfig& GetElasticsearchClusterConfig() const { return m_elasticsearchClusterConfig; }
70 inline bool ElasticsearchClusterConfigHasBeenSet() const { return m_elasticsearchClusterConfigHasBeenSet; }
71 template<typename ElasticsearchClusterConfigT = ElasticsearchClusterConfig>
72 void SetElasticsearchClusterConfig(ElasticsearchClusterConfigT&& value) { m_elasticsearchClusterConfigHasBeenSet = true; m_elasticsearchClusterConfig = std::forward<ElasticsearchClusterConfigT>(value); }
73 template<typename ElasticsearchClusterConfigT = ElasticsearchClusterConfig>
74 UpdateElasticsearchDomainConfigRequest& WithElasticsearchClusterConfig(ElasticsearchClusterConfigT&& value) { SetElasticsearchClusterConfig(std::forward<ElasticsearchClusterConfigT>(value)); return *this;}
76
78
81 inline const EBSOptions& GetEBSOptions() const { return m_eBSOptions; }
82 inline bool EBSOptionsHasBeenSet() const { return m_eBSOptionsHasBeenSet; }
83 template<typename EBSOptionsT = EBSOptions>
84 void SetEBSOptions(EBSOptionsT&& value) { m_eBSOptionsHasBeenSet = true; m_eBSOptions = std::forward<EBSOptionsT>(value); }
85 template<typename EBSOptionsT = EBSOptions>
86 UpdateElasticsearchDomainConfigRequest& WithEBSOptions(EBSOptionsT&& value) { SetEBSOptions(std::forward<EBSOptionsT>(value)); return *this;}
88
90
94 inline const SnapshotOptions& GetSnapshotOptions() const { return m_snapshotOptions; }
95 inline bool SnapshotOptionsHasBeenSet() const { return m_snapshotOptionsHasBeenSet; }
96 template<typename SnapshotOptionsT = SnapshotOptions>
97 void SetSnapshotOptions(SnapshotOptionsT&& value) { m_snapshotOptionsHasBeenSet = true; m_snapshotOptions = std::forward<SnapshotOptionsT>(value); }
98 template<typename SnapshotOptionsT = SnapshotOptions>
99 UpdateElasticsearchDomainConfigRequest& WithSnapshotOptions(SnapshotOptionsT&& value) { SetSnapshotOptions(std::forward<SnapshotOptionsT>(value)); return *this;}
101
103
110 inline const VPCOptions& GetVPCOptions() const { return m_vPCOptions; }
111 inline bool VPCOptionsHasBeenSet() const { return m_vPCOptionsHasBeenSet; }
112 template<typename VPCOptionsT = VPCOptions>
113 void SetVPCOptions(VPCOptionsT&& value) { m_vPCOptionsHasBeenSet = true; m_vPCOptions = std::forward<VPCOptionsT>(value); }
114 template<typename VPCOptionsT = VPCOptions>
115 UpdateElasticsearchDomainConfigRequest& WithVPCOptions(VPCOptionsT&& value) { SetVPCOptions(std::forward<VPCOptionsT>(value)); return *this;}
117
119
125 inline const CognitoOptions& GetCognitoOptions() const { return m_cognitoOptions; }
126 inline bool CognitoOptionsHasBeenSet() const { return m_cognitoOptionsHasBeenSet; }
127 template<typename CognitoOptionsT = CognitoOptions>
128 void SetCognitoOptions(CognitoOptionsT&& value) { m_cognitoOptionsHasBeenSet = true; m_cognitoOptions = std::forward<CognitoOptionsT>(value); }
129 template<typename CognitoOptionsT = CognitoOptions>
130 UpdateElasticsearchDomainConfigRequest& WithCognitoOptions(CognitoOptionsT&& value) { SetCognitoOptions(std::forward<CognitoOptionsT>(value)); return *this;}
132
134
141 inline const Aws::Map<Aws::String, Aws::String>& GetAdvancedOptions() const { return m_advancedOptions; }
142 inline bool AdvancedOptionsHasBeenSet() const { return m_advancedOptionsHasBeenSet; }
143 template<typename AdvancedOptionsT = Aws::Map<Aws::String, Aws::String>>
144 void SetAdvancedOptions(AdvancedOptionsT&& value) { m_advancedOptionsHasBeenSet = true; m_advancedOptions = std::forward<AdvancedOptionsT>(value); }
145 template<typename AdvancedOptionsT = Aws::Map<Aws::String, Aws::String>>
146 UpdateElasticsearchDomainConfigRequest& WithAdvancedOptions(AdvancedOptionsT&& value) { SetAdvancedOptions(std::forward<AdvancedOptionsT>(value)); return *this;}
147 template<typename AdvancedOptionsKeyT = Aws::String, typename AdvancedOptionsValueT = Aws::String>
148 UpdateElasticsearchDomainConfigRequest& AddAdvancedOptions(AdvancedOptionsKeyT&& key, AdvancedOptionsValueT&& value) {
149 m_advancedOptionsHasBeenSet = true; m_advancedOptions.emplace(std::forward<AdvancedOptionsKeyT>(key), std::forward<AdvancedOptionsValueT>(value)); return *this;
150 }
152
154
157 inline const Aws::String& GetAccessPolicies() const { return m_accessPolicies; }
158 inline bool AccessPoliciesHasBeenSet() const { return m_accessPoliciesHasBeenSet; }
159 template<typename AccessPoliciesT = Aws::String>
160 void SetAccessPolicies(AccessPoliciesT&& value) { m_accessPoliciesHasBeenSet = true; m_accessPolicies = std::forward<AccessPoliciesT>(value); }
161 template<typename AccessPoliciesT = Aws::String>
162 UpdateElasticsearchDomainConfigRequest& WithAccessPolicies(AccessPoliciesT&& value) { SetAccessPolicies(std::forward<AccessPoliciesT>(value)); return *this;}
164
166
170 inline const Aws::Map<LogType, LogPublishingOption>& GetLogPublishingOptions() const { return m_logPublishingOptions; }
171 inline bool LogPublishingOptionsHasBeenSet() const { return m_logPublishingOptionsHasBeenSet; }
172 template<typename LogPublishingOptionsT = Aws::Map<LogType, LogPublishingOption>>
173 void SetLogPublishingOptions(LogPublishingOptionsT&& value) { m_logPublishingOptionsHasBeenSet = true; m_logPublishingOptions = std::forward<LogPublishingOptionsT>(value); }
174 template<typename LogPublishingOptionsT = Aws::Map<LogType, LogPublishingOption>>
175 UpdateElasticsearchDomainConfigRequest& WithLogPublishingOptions(LogPublishingOptionsT&& value) { SetLogPublishingOptions(std::forward<LogPublishingOptionsT>(value)); return *this;}
177 m_logPublishingOptionsHasBeenSet = true; m_logPublishingOptions.emplace(key, value); return *this;
178 }
180
182
186 inline const DomainEndpointOptions& GetDomainEndpointOptions() const { return m_domainEndpointOptions; }
187 inline bool DomainEndpointOptionsHasBeenSet() const { return m_domainEndpointOptionsHasBeenSet; }
188 template<typename DomainEndpointOptionsT = DomainEndpointOptions>
189 void SetDomainEndpointOptions(DomainEndpointOptionsT&& value) { m_domainEndpointOptionsHasBeenSet = true; m_domainEndpointOptions = std::forward<DomainEndpointOptionsT>(value); }
190 template<typename DomainEndpointOptionsT = DomainEndpointOptions>
191 UpdateElasticsearchDomainConfigRequest& WithDomainEndpointOptions(DomainEndpointOptionsT&& value) { SetDomainEndpointOptions(std::forward<DomainEndpointOptionsT>(value)); return *this;}
193
195
198 inline const AdvancedSecurityOptionsInput& GetAdvancedSecurityOptions() const { return m_advancedSecurityOptions; }
199 inline bool AdvancedSecurityOptionsHasBeenSet() const { return m_advancedSecurityOptionsHasBeenSet; }
200 template<typename AdvancedSecurityOptionsT = AdvancedSecurityOptionsInput>
201 void SetAdvancedSecurityOptions(AdvancedSecurityOptionsT&& value) { m_advancedSecurityOptionsHasBeenSet = true; m_advancedSecurityOptions = std::forward<AdvancedSecurityOptionsT>(value); }
202 template<typename AdvancedSecurityOptionsT = AdvancedSecurityOptionsInput>
203 UpdateElasticsearchDomainConfigRequest& WithAdvancedSecurityOptions(AdvancedSecurityOptionsT&& value) { SetAdvancedSecurityOptions(std::forward<AdvancedSecurityOptionsT>(value)); return *this;}
205
207
210 inline const NodeToNodeEncryptionOptions& GetNodeToNodeEncryptionOptions() const { return m_nodeToNodeEncryptionOptions; }
211 inline bool NodeToNodeEncryptionOptionsHasBeenSet() const { return m_nodeToNodeEncryptionOptionsHasBeenSet; }
212 template<typename NodeToNodeEncryptionOptionsT = NodeToNodeEncryptionOptions>
213 void SetNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsT&& value) { m_nodeToNodeEncryptionOptionsHasBeenSet = true; m_nodeToNodeEncryptionOptions = std::forward<NodeToNodeEncryptionOptionsT>(value); }
214 template<typename NodeToNodeEncryptionOptionsT = NodeToNodeEncryptionOptions>
215 UpdateElasticsearchDomainConfigRequest& WithNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsT&& value) { SetNodeToNodeEncryptionOptions(std::forward<NodeToNodeEncryptionOptionsT>(value)); return *this;}
217
219
222 inline const EncryptionAtRestOptions& GetEncryptionAtRestOptions() const { return m_encryptionAtRestOptions; }
223 inline bool EncryptionAtRestOptionsHasBeenSet() const { return m_encryptionAtRestOptionsHasBeenSet; }
224 template<typename EncryptionAtRestOptionsT = EncryptionAtRestOptions>
225 void SetEncryptionAtRestOptions(EncryptionAtRestOptionsT&& value) { m_encryptionAtRestOptionsHasBeenSet = true; m_encryptionAtRestOptions = std::forward<EncryptionAtRestOptionsT>(value); }
226 template<typename EncryptionAtRestOptionsT = EncryptionAtRestOptions>
227 UpdateElasticsearchDomainConfigRequest& WithEncryptionAtRestOptions(EncryptionAtRestOptionsT&& value) { SetEncryptionAtRestOptions(std::forward<EncryptionAtRestOptionsT>(value)); return *this;}
229
231
234 inline const AutoTuneOptions& GetAutoTuneOptions() const { return m_autoTuneOptions; }
235 inline bool AutoTuneOptionsHasBeenSet() const { return m_autoTuneOptionsHasBeenSet; }
236 template<typename AutoTuneOptionsT = AutoTuneOptions>
237 void SetAutoTuneOptions(AutoTuneOptionsT&& value) { m_autoTuneOptionsHasBeenSet = true; m_autoTuneOptions = std::forward<AutoTuneOptionsT>(value); }
238 template<typename AutoTuneOptionsT = AutoTuneOptions>
239 UpdateElasticsearchDomainConfigRequest& WithAutoTuneOptions(AutoTuneOptionsT&& value) { SetAutoTuneOptions(std::forward<AutoTuneOptionsT>(value)); return *this;}
241
243
250 inline bool GetDryRun() const { return m_dryRun; }
251 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
252 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
253 inline UpdateElasticsearchDomainConfigRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
255 private:
256
257 Aws::String m_domainName;
258 bool m_domainNameHasBeenSet = false;
259
260 ElasticsearchClusterConfig m_elasticsearchClusterConfig;
261 bool m_elasticsearchClusterConfigHasBeenSet = false;
262
263 EBSOptions m_eBSOptions;
264 bool m_eBSOptionsHasBeenSet = false;
265
266 SnapshotOptions m_snapshotOptions;
267 bool m_snapshotOptionsHasBeenSet = false;
268
269 VPCOptions m_vPCOptions;
270 bool m_vPCOptionsHasBeenSet = false;
271
272 CognitoOptions m_cognitoOptions;
273 bool m_cognitoOptionsHasBeenSet = false;
274
275 Aws::Map<Aws::String, Aws::String> m_advancedOptions;
276 bool m_advancedOptionsHasBeenSet = false;
277
278 Aws::String m_accessPolicies;
279 bool m_accessPoliciesHasBeenSet = false;
280
281 Aws::Map<LogType, LogPublishingOption> m_logPublishingOptions;
282 bool m_logPublishingOptionsHasBeenSet = false;
283
284 DomainEndpointOptions m_domainEndpointOptions;
285 bool m_domainEndpointOptionsHasBeenSet = false;
286
287 AdvancedSecurityOptionsInput m_advancedSecurityOptions;
288 bool m_advancedSecurityOptionsHasBeenSet = false;
289
290 NodeToNodeEncryptionOptions m_nodeToNodeEncryptionOptions;
291 bool m_nodeToNodeEncryptionOptionsHasBeenSet = false;
292
293 EncryptionAtRestOptions m_encryptionAtRestOptions;
294 bool m_encryptionAtRestOptionsHasBeenSet = false;
295
296 AutoTuneOptions m_autoTuneOptions;
297 bool m_autoTuneOptionsHasBeenSet = false;
298
299 bool m_dryRun{false};
300 bool m_dryRunHasBeenSet = false;
301 };
302
303} // namespace Model
304} // namespace ElasticsearchService
305} // 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