AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
60 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
61 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
63 inline UpdateElasticsearchDomainConfigRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
64 inline UpdateElasticsearchDomainConfigRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
66
68
71 inline const ElasticsearchClusterConfig& GetElasticsearchClusterConfig() const{ return m_elasticsearchClusterConfig; }
72 inline bool ElasticsearchClusterConfigHasBeenSet() const { return m_elasticsearchClusterConfigHasBeenSet; }
73 inline void SetElasticsearchClusterConfig(const ElasticsearchClusterConfig& value) { m_elasticsearchClusterConfigHasBeenSet = true; m_elasticsearchClusterConfig = value; }
74 inline void SetElasticsearchClusterConfig(ElasticsearchClusterConfig&& value) { m_elasticsearchClusterConfigHasBeenSet = true; m_elasticsearchClusterConfig = std::move(value); }
78
80
83 inline const EBSOptions& GetEBSOptions() const{ return m_eBSOptions; }
84 inline bool EBSOptionsHasBeenSet() const { return m_eBSOptionsHasBeenSet; }
85 inline void SetEBSOptions(const EBSOptions& value) { m_eBSOptionsHasBeenSet = true; m_eBSOptions = value; }
86 inline void SetEBSOptions(EBSOptions&& value) { m_eBSOptionsHasBeenSet = true; m_eBSOptions = std::move(value); }
88 inline UpdateElasticsearchDomainConfigRequest& WithEBSOptions(EBSOptions&& value) { SetEBSOptions(std::move(value)); return *this;}
90
92
96 inline const SnapshotOptions& GetSnapshotOptions() const{ return m_snapshotOptions; }
97 inline bool SnapshotOptionsHasBeenSet() const { return m_snapshotOptionsHasBeenSet; }
98 inline void SetSnapshotOptions(const SnapshotOptions& value) { m_snapshotOptionsHasBeenSet = true; m_snapshotOptions = value; }
99 inline void SetSnapshotOptions(SnapshotOptions&& value) { m_snapshotOptionsHasBeenSet = true; m_snapshotOptions = std::move(value); }
103
105
112 inline const VPCOptions& GetVPCOptions() const{ return m_vPCOptions; }
113 inline bool VPCOptionsHasBeenSet() const { return m_vPCOptionsHasBeenSet; }
114 inline void SetVPCOptions(const VPCOptions& value) { m_vPCOptionsHasBeenSet = true; m_vPCOptions = value; }
115 inline void SetVPCOptions(VPCOptions&& value) { m_vPCOptionsHasBeenSet = true; m_vPCOptions = std::move(value); }
117 inline UpdateElasticsearchDomainConfigRequest& WithVPCOptions(VPCOptions&& value) { SetVPCOptions(std::move(value)); return *this;}
119
121
127 inline const CognitoOptions& GetCognitoOptions() const{ return m_cognitoOptions; }
128 inline bool CognitoOptionsHasBeenSet() const { return m_cognitoOptionsHasBeenSet; }
129 inline void SetCognitoOptions(const CognitoOptions& value) { m_cognitoOptionsHasBeenSet = true; m_cognitoOptions = value; }
130 inline void SetCognitoOptions(CognitoOptions&& value) { m_cognitoOptionsHasBeenSet = true; m_cognitoOptions = std::move(value); }
134
136
143 inline const Aws::Map<Aws::String, Aws::String>& GetAdvancedOptions() const{ return m_advancedOptions; }
144 inline bool AdvancedOptionsHasBeenSet() const { return m_advancedOptionsHasBeenSet; }
145 inline void SetAdvancedOptions(const Aws::Map<Aws::String, Aws::String>& value) { m_advancedOptionsHasBeenSet = true; m_advancedOptions = value; }
146 inline void SetAdvancedOptions(Aws::Map<Aws::String, Aws::String>&& value) { m_advancedOptionsHasBeenSet = true; m_advancedOptions = std::move(value); }
149 inline UpdateElasticsearchDomainConfigRequest& AddAdvancedOptions(const Aws::String& key, const Aws::String& value) { m_advancedOptionsHasBeenSet = true; m_advancedOptions.emplace(key, value); return *this; }
150 inline UpdateElasticsearchDomainConfigRequest& AddAdvancedOptions(Aws::String&& key, const Aws::String& value) { m_advancedOptionsHasBeenSet = true; m_advancedOptions.emplace(std::move(key), value); return *this; }
151 inline UpdateElasticsearchDomainConfigRequest& AddAdvancedOptions(const Aws::String& key, Aws::String&& value) { m_advancedOptionsHasBeenSet = true; m_advancedOptions.emplace(key, std::move(value)); return *this; }
152 inline UpdateElasticsearchDomainConfigRequest& AddAdvancedOptions(Aws::String&& key, Aws::String&& value) { m_advancedOptionsHasBeenSet = true; m_advancedOptions.emplace(std::move(key), std::move(value)); return *this; }
153 inline UpdateElasticsearchDomainConfigRequest& AddAdvancedOptions(const char* key, Aws::String&& value) { m_advancedOptionsHasBeenSet = true; m_advancedOptions.emplace(key, std::move(value)); return *this; }
154 inline UpdateElasticsearchDomainConfigRequest& AddAdvancedOptions(Aws::String&& key, const char* value) { m_advancedOptionsHasBeenSet = true; m_advancedOptions.emplace(std::move(key), value); return *this; }
155 inline UpdateElasticsearchDomainConfigRequest& AddAdvancedOptions(const char* key, const char* value) { m_advancedOptionsHasBeenSet = true; m_advancedOptions.emplace(key, value); return *this; }
157
159
162 inline const Aws::String& GetAccessPolicies() const{ return m_accessPolicies; }
163 inline bool AccessPoliciesHasBeenSet() const { return m_accessPoliciesHasBeenSet; }
164 inline void SetAccessPolicies(const Aws::String& value) { m_accessPoliciesHasBeenSet = true; m_accessPolicies = value; }
165 inline void SetAccessPolicies(Aws::String&& value) { m_accessPoliciesHasBeenSet = true; m_accessPolicies = std::move(value); }
166 inline void SetAccessPolicies(const char* value) { m_accessPoliciesHasBeenSet = true; m_accessPolicies.assign(value); }
169 inline UpdateElasticsearchDomainConfigRequest& WithAccessPolicies(const char* value) { SetAccessPolicies(value); return *this;}
171
173
177 inline const Aws::Map<LogType, LogPublishingOption>& GetLogPublishingOptions() const{ return m_logPublishingOptions; }
178 inline bool LogPublishingOptionsHasBeenSet() const { return m_logPublishingOptionsHasBeenSet; }
179 inline void SetLogPublishingOptions(const Aws::Map<LogType, LogPublishingOption>& value) { m_logPublishingOptionsHasBeenSet = true; m_logPublishingOptions = value; }
180 inline void SetLogPublishingOptions(Aws::Map<LogType, LogPublishingOption>&& value) { m_logPublishingOptionsHasBeenSet = true; m_logPublishingOptions = std::move(value); }
183 inline UpdateElasticsearchDomainConfigRequest& AddLogPublishingOptions(const LogType& key, const LogPublishingOption& value) { m_logPublishingOptionsHasBeenSet = true; m_logPublishingOptions.emplace(key, value); return *this; }
184 inline UpdateElasticsearchDomainConfigRequest& AddLogPublishingOptions(LogType&& key, const LogPublishingOption& value) { m_logPublishingOptionsHasBeenSet = true; m_logPublishingOptions.emplace(std::move(key), value); return *this; }
185 inline UpdateElasticsearchDomainConfigRequest& AddLogPublishingOptions(const LogType& key, LogPublishingOption&& value) { m_logPublishingOptionsHasBeenSet = true; m_logPublishingOptions.emplace(key, std::move(value)); return *this; }
186 inline UpdateElasticsearchDomainConfigRequest& AddLogPublishingOptions(LogType&& key, LogPublishingOption&& value) { m_logPublishingOptionsHasBeenSet = true; m_logPublishingOptions.emplace(std::move(key), std::move(value)); return *this; }
188
190
194 inline const DomainEndpointOptions& GetDomainEndpointOptions() const{ return m_domainEndpointOptions; }
195 inline bool DomainEndpointOptionsHasBeenSet() const { return m_domainEndpointOptionsHasBeenSet; }
196 inline void SetDomainEndpointOptions(const DomainEndpointOptions& value) { m_domainEndpointOptionsHasBeenSet = true; m_domainEndpointOptions = value; }
197 inline void SetDomainEndpointOptions(DomainEndpointOptions&& value) { m_domainEndpointOptionsHasBeenSet = true; m_domainEndpointOptions = std::move(value); }
201
203
206 inline const AdvancedSecurityOptionsInput& GetAdvancedSecurityOptions() const{ return m_advancedSecurityOptions; }
207 inline bool AdvancedSecurityOptionsHasBeenSet() const { return m_advancedSecurityOptionsHasBeenSet; }
208 inline void SetAdvancedSecurityOptions(const AdvancedSecurityOptionsInput& value) { m_advancedSecurityOptionsHasBeenSet = true; m_advancedSecurityOptions = value; }
209 inline void SetAdvancedSecurityOptions(AdvancedSecurityOptionsInput&& value) { m_advancedSecurityOptionsHasBeenSet = true; m_advancedSecurityOptions = std::move(value); }
213
215
218 inline const NodeToNodeEncryptionOptions& GetNodeToNodeEncryptionOptions() const{ return m_nodeToNodeEncryptionOptions; }
219 inline bool NodeToNodeEncryptionOptionsHasBeenSet() const { return m_nodeToNodeEncryptionOptionsHasBeenSet; }
220 inline void SetNodeToNodeEncryptionOptions(const NodeToNodeEncryptionOptions& value) { m_nodeToNodeEncryptionOptionsHasBeenSet = true; m_nodeToNodeEncryptionOptions = value; }
221 inline void SetNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptions&& value) { m_nodeToNodeEncryptionOptionsHasBeenSet = true; m_nodeToNodeEncryptionOptions = std::move(value); }
225
227
230 inline const EncryptionAtRestOptions& GetEncryptionAtRestOptions() const{ return m_encryptionAtRestOptions; }
231 inline bool EncryptionAtRestOptionsHasBeenSet() const { return m_encryptionAtRestOptionsHasBeenSet; }
232 inline void SetEncryptionAtRestOptions(const EncryptionAtRestOptions& value) { m_encryptionAtRestOptionsHasBeenSet = true; m_encryptionAtRestOptions = value; }
233 inline void SetEncryptionAtRestOptions(EncryptionAtRestOptions&& value) { m_encryptionAtRestOptionsHasBeenSet = true; m_encryptionAtRestOptions = std::move(value); }
237
239
242 inline const AutoTuneOptions& GetAutoTuneOptions() const{ return m_autoTuneOptions; }
243 inline bool AutoTuneOptionsHasBeenSet() const { return m_autoTuneOptionsHasBeenSet; }
244 inline void SetAutoTuneOptions(const AutoTuneOptions& value) { m_autoTuneOptionsHasBeenSet = true; m_autoTuneOptions = value; }
245 inline void SetAutoTuneOptions(AutoTuneOptions&& value) { m_autoTuneOptionsHasBeenSet = true; m_autoTuneOptions = std::move(value); }
249
251
258 inline bool GetDryRun() const{ return m_dryRun; }
259 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
260 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
261 inline UpdateElasticsearchDomainConfigRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
263 private:
264
265 Aws::String m_domainName;
266 bool m_domainNameHasBeenSet = false;
267
268 ElasticsearchClusterConfig m_elasticsearchClusterConfig;
269 bool m_elasticsearchClusterConfigHasBeenSet = false;
270
271 EBSOptions m_eBSOptions;
272 bool m_eBSOptionsHasBeenSet = false;
273
274 SnapshotOptions m_snapshotOptions;
275 bool m_snapshotOptionsHasBeenSet = false;
276
277 VPCOptions m_vPCOptions;
278 bool m_vPCOptionsHasBeenSet = false;
279
280 CognitoOptions m_cognitoOptions;
281 bool m_cognitoOptionsHasBeenSet = false;
282
283 Aws::Map<Aws::String, Aws::String> m_advancedOptions;
284 bool m_advancedOptionsHasBeenSet = false;
285
286 Aws::String m_accessPolicies;
287 bool m_accessPoliciesHasBeenSet = false;
288
289 Aws::Map<LogType, LogPublishingOption> m_logPublishingOptions;
290 bool m_logPublishingOptionsHasBeenSet = false;
291
292 DomainEndpointOptions m_domainEndpointOptions;
293 bool m_domainEndpointOptionsHasBeenSet = false;
294
295 AdvancedSecurityOptionsInput m_advancedSecurityOptions;
296 bool m_advancedSecurityOptionsHasBeenSet = false;
297
298 NodeToNodeEncryptionOptions m_nodeToNodeEncryptionOptions;
299 bool m_nodeToNodeEncryptionOptionsHasBeenSet = false;
300
301 EncryptionAtRestOptions m_encryptionAtRestOptions;
302 bool m_encryptionAtRestOptionsHasBeenSet = false;
303
304 AutoTuneOptions m_autoTuneOptions;
305 bool m_autoTuneOptionsHasBeenSet = false;
306
307 bool m_dryRun;
308 bool m_dryRunHasBeenSet = false;
309 };
310
311} // namespace Model
312} // namespace ElasticsearchService
313} // namespace Aws
UpdateElasticsearchDomainConfigRequest & AddLogPublishingOptions(LogType &&key, LogPublishingOption &&value)
UpdateElasticsearchDomainConfigRequest & WithAdvancedSecurityOptions(const AdvancedSecurityOptionsInput &value)
UpdateElasticsearchDomainConfigRequest & WithAutoTuneOptions(const AutoTuneOptions &value)
UpdateElasticsearchDomainConfigRequest & WithLogPublishingOptions(Aws::Map< LogType, LogPublishingOption > &&value)
UpdateElasticsearchDomainConfigRequest & WithSnapshotOptions(const SnapshotOptions &value)
UpdateElasticsearchDomainConfigRequest & AddAdvancedOptions(const char *key, const char *value)
UpdateElasticsearchDomainConfigRequest & WithAccessPolicies(Aws::String &&value)
UpdateElasticsearchDomainConfigRequest & WithEncryptionAtRestOptions(EncryptionAtRestOptions &&value)
UpdateElasticsearchDomainConfigRequest & WithEBSOptions(const EBSOptions &value)
UpdateElasticsearchDomainConfigRequest & AddAdvancedOptions(Aws::String &&key, const Aws::String &value)
UpdateElasticsearchDomainConfigRequest & WithCognitoOptions(CognitoOptions &&value)
UpdateElasticsearchDomainConfigRequest & WithNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptions &&value)
UpdateElasticsearchDomainConfigRequest & AddAdvancedOptions(Aws::String &&key, const char *value)
UpdateElasticsearchDomainConfigRequest & WithVPCOptions(const VPCOptions &value)
UpdateElasticsearchDomainConfigRequest & WithElasticsearchClusterConfig(const ElasticsearchClusterConfig &value)
UpdateElasticsearchDomainConfigRequest & WithLogPublishingOptions(const Aws::Map< LogType, LogPublishingOption > &value)
UpdateElasticsearchDomainConfigRequest & WithDomainName(const Aws::String &value)
UpdateElasticsearchDomainConfigRequest & WithEncryptionAtRestOptions(const EncryptionAtRestOptions &value)
UpdateElasticsearchDomainConfigRequest & AddLogPublishingOptions(LogType &&key, const LogPublishingOption &value)
UpdateElasticsearchDomainConfigRequest & WithAdvancedSecurityOptions(AdvancedSecurityOptionsInput &&value)
UpdateElasticsearchDomainConfigRequest & WithAutoTuneOptions(AutoTuneOptions &&value)
UpdateElasticsearchDomainConfigRequest & AddAdvancedOptions(const Aws::String &key, Aws::String &&value)
UpdateElasticsearchDomainConfigRequest & WithDomainEndpointOptions(const DomainEndpointOptions &value)
UpdateElasticsearchDomainConfigRequest & AddLogPublishingOptions(const LogType &key, LogPublishingOption &&value)
UpdateElasticsearchDomainConfigRequest & WithCognitoOptions(const CognitoOptions &value)
UpdateElasticsearchDomainConfigRequest & AddAdvancedOptions(Aws::String &&key, Aws::String &&value)
UpdateElasticsearchDomainConfigRequest & AddLogPublishingOptions(const LogType &key, const LogPublishingOption &value)
AWS_ELASTICSEARCHSERVICE_API Aws::String SerializePayload() const override
UpdateElasticsearchDomainConfigRequest & WithAdvancedOptions(Aws::Map< Aws::String, Aws::String > &&value)
UpdateElasticsearchDomainConfigRequest & AddAdvancedOptions(const Aws::String &key, const Aws::String &value)
UpdateElasticsearchDomainConfigRequest & WithDomainEndpointOptions(DomainEndpointOptions &&value)
UpdateElasticsearchDomainConfigRequest & WithAccessPolicies(const Aws::String &value)
UpdateElasticsearchDomainConfigRequest & WithAdvancedOptions(const Aws::Map< Aws::String, Aws::String > &value)
UpdateElasticsearchDomainConfigRequest & AddAdvancedOptions(const char *key, Aws::String &&value)
UpdateElasticsearchDomainConfigRequest & WithSnapshotOptions(SnapshotOptions &&value)
UpdateElasticsearchDomainConfigRequest & WithNodeToNodeEncryptionOptions(const NodeToNodeEncryptionOptions &value)
UpdateElasticsearchDomainConfigRequest & WithElasticsearchClusterConfig(ElasticsearchClusterConfig &&value)
void SetLogPublishingOptions(const Aws::Map< LogType, LogPublishingOption > &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