AWS SDK for C++

AWS SDK for C++ Version 1.11.849

Loading...
Searching...
No Matches
CreateDomainRequest.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/core/utils/memory/stl/AWSVector.h>
10#include <aws/opensearch/OpenSearchServiceRequest.h>
11#include <aws/opensearch/OpenSearchService_EXPORTS.h>
12#include <aws/opensearch/model/AIMLOptionsInput.h>
13#include <aws/opensearch/model/AdvancedSecurityOptionsInput.h>
14#include <aws/opensearch/model/AutoTuneOptionsInput.h>
15#include <aws/opensearch/model/AutomatedSnapshotPauseRequestOptions.h>
16#include <aws/opensearch/model/ClusterConfig.h>
17#include <aws/opensearch/model/CognitoOptions.h>
18#include <aws/opensearch/model/DeploymentStrategyOptions.h>
19#include <aws/opensearch/model/DomainEndpointOptions.h>
20#include <aws/opensearch/model/DomainUseCase.h>
21#include <aws/opensearch/model/EBSOptions.h>
22#include <aws/opensearch/model/EncryptionAtRestOptions.h>
23#include <aws/opensearch/model/EngineMode.h>
24#include <aws/opensearch/model/IPAddressType.h>
25#include <aws/opensearch/model/IdentityCenterOptionsInput.h>
26#include <aws/opensearch/model/LogPublishingOption.h>
27#include <aws/opensearch/model/LogType.h>
28#include <aws/opensearch/model/NodeToNodeEncryptionOptions.h>
29#include <aws/opensearch/model/OffPeakWindowOptions.h>
30#include <aws/opensearch/model/SnapshotOptions.h>
31#include <aws/opensearch/model/SoftwareUpdateOptions.h>
32#include <aws/opensearch/model/Tag.h>
33#include <aws/opensearch/model/VPCOptions.h>
34
35#include <utility>
36
37namespace Aws {
38namespace OpenSearchService {
39namespace Model {
40
44 public:
45 AWS_OPENSEARCHSERVICE_API CreateDomainRequest() = default;
46
47 // Service request name is the Operation name which will send this request out,
48 // each operation should has unique request name, so that we can get operation's name from this request.
49 // Note: this is not true for response, multiple operations may have the same response name,
50 // so we can not get operation's name from response.
51 inline virtual const char* GetServiceRequestName() const override { return "CreateDomain"; }
52
53 AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override;
54
56
60 inline const Aws::String& GetDomainName() const { return m_domainName; }
61 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
62 template <typename DomainNameT = Aws::String>
63 void SetDomainName(DomainNameT&& value) {
64 m_domainNameHasBeenSet = true;
65 m_domainName = std::forward<DomainNameT>(value);
66 }
67 template <typename DomainNameT = Aws::String>
68 CreateDomainRequest& WithDomainName(DomainNameT&& value) {
69 SetDomainName(std::forward<DomainNameT>(value));
70 return *this;
71 }
73
75
83 inline const Aws::String& GetEngineVersion() const { return m_engineVersion; }
84 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
85 template <typename EngineVersionT = Aws::String>
86 void SetEngineVersion(EngineVersionT&& value) {
87 m_engineVersionHasBeenSet = true;
88 m_engineVersion = std::forward<EngineVersionT>(value);
89 }
90 template <typename EngineVersionT = Aws::String>
91 CreateDomainRequest& WithEngineVersion(EngineVersionT&& value) {
92 SetEngineVersion(std::forward<EngineVersionT>(value));
93 return *this;
94 }
96
98
101 inline const ClusterConfig& GetClusterConfig() const { return m_clusterConfig; }
102 inline bool ClusterConfigHasBeenSet() const { return m_clusterConfigHasBeenSet; }
103 template <typename ClusterConfigT = ClusterConfig>
104 void SetClusterConfig(ClusterConfigT&& value) {
105 m_clusterConfigHasBeenSet = true;
106 m_clusterConfig = std::forward<ClusterConfigT>(value);
107 }
108 template <typename ClusterConfigT = ClusterConfig>
109 CreateDomainRequest& WithClusterConfig(ClusterConfigT&& value) {
110 SetClusterConfig(std::forward<ClusterConfigT>(value));
111 return *this;
112 }
114
116
120 inline const EBSOptions& GetEBSOptions() const { return m_eBSOptions; }
121 inline bool EBSOptionsHasBeenSet() const { return m_eBSOptionsHasBeenSet; }
122 template <typename EBSOptionsT = EBSOptions>
123 void SetEBSOptions(EBSOptionsT&& value) {
124 m_eBSOptionsHasBeenSet = true;
125 m_eBSOptions = std::forward<EBSOptionsT>(value);
126 }
127 template <typename EBSOptionsT = EBSOptions>
128 CreateDomainRequest& WithEBSOptions(EBSOptionsT&& value) {
129 SetEBSOptions(std::forward<EBSOptionsT>(value));
130 return *this;
131 }
133
135
139 inline const Aws::String& GetAccessPolicies() const { return m_accessPolicies; }
140 inline bool AccessPoliciesHasBeenSet() const { return m_accessPoliciesHasBeenSet; }
141 template <typename AccessPoliciesT = Aws::String>
142 void SetAccessPolicies(AccessPoliciesT&& value) {
143 m_accessPoliciesHasBeenSet = true;
144 m_accessPolicies = std::forward<AccessPoliciesT>(value);
145 }
146 template <typename AccessPoliciesT = Aws::String>
147 CreateDomainRequest& WithAccessPolicies(AccessPoliciesT&& value) {
148 SetAccessPolicies(std::forward<AccessPoliciesT>(value));
149 return *this;
150 }
152
154
160 inline IPAddressType GetIPAddressType() const { return m_iPAddressType; }
161 inline bool IPAddressTypeHasBeenSet() const { return m_iPAddressTypeHasBeenSet; }
162 inline void SetIPAddressType(IPAddressType value) {
163 m_iPAddressTypeHasBeenSet = true;
164 m_iPAddressType = value;
165 }
167 SetIPAddressType(value);
168 return *this;
169 }
171
173
177 inline const SnapshotOptions& GetSnapshotOptions() const { return m_snapshotOptions; }
178 inline bool SnapshotOptionsHasBeenSet() const { return m_snapshotOptionsHasBeenSet; }
179 template <typename SnapshotOptionsT = SnapshotOptions>
180 void SetSnapshotOptions(SnapshotOptionsT&& value) {
181 m_snapshotOptionsHasBeenSet = true;
182 m_snapshotOptions = std::forward<SnapshotOptionsT>(value);
183 }
184 template <typename SnapshotOptionsT = SnapshotOptions>
185 CreateDomainRequest& WithSnapshotOptions(SnapshotOptionsT&& value) {
186 SetSnapshotOptions(std::forward<SnapshotOptionsT>(value));
187 return *this;
188 }
190
192
199 inline const VPCOptions& GetVPCOptions() const { return m_vPCOptions; }
200 inline bool VPCOptionsHasBeenSet() const { return m_vPCOptionsHasBeenSet; }
201 template <typename VPCOptionsT = VPCOptions>
202 void SetVPCOptions(VPCOptionsT&& value) {
203 m_vPCOptionsHasBeenSet = true;
204 m_vPCOptions = std::forward<VPCOptionsT>(value);
205 }
206 template <typename VPCOptionsT = VPCOptions>
207 CreateDomainRequest& WithVPCOptions(VPCOptionsT&& value) {
208 SetVPCOptions(std::forward<VPCOptionsT>(value));
209 return *this;
210 }
212
214
220 inline const CognitoOptions& GetCognitoOptions() const { return m_cognitoOptions; }
221 inline bool CognitoOptionsHasBeenSet() const { return m_cognitoOptionsHasBeenSet; }
222 template <typename CognitoOptionsT = CognitoOptions>
223 void SetCognitoOptions(CognitoOptionsT&& value) {
224 m_cognitoOptionsHasBeenSet = true;
225 m_cognitoOptions = std::forward<CognitoOptionsT>(value);
226 }
227 template <typename CognitoOptionsT = CognitoOptions>
228 CreateDomainRequest& WithCognitoOptions(CognitoOptionsT&& value) {
229 SetCognitoOptions(std::forward<CognitoOptionsT>(value));
230 return *this;
231 }
233
235
238 inline const EncryptionAtRestOptions& GetEncryptionAtRestOptions() const { return m_encryptionAtRestOptions; }
239 inline bool EncryptionAtRestOptionsHasBeenSet() const { return m_encryptionAtRestOptionsHasBeenSet; }
240 template <typename EncryptionAtRestOptionsT = EncryptionAtRestOptions>
241 void SetEncryptionAtRestOptions(EncryptionAtRestOptionsT&& value) {
242 m_encryptionAtRestOptionsHasBeenSet = true;
243 m_encryptionAtRestOptions = std::forward<EncryptionAtRestOptionsT>(value);
244 }
245 template <typename EncryptionAtRestOptionsT = EncryptionAtRestOptions>
246 CreateDomainRequest& WithEncryptionAtRestOptions(EncryptionAtRestOptionsT&& value) {
247 SetEncryptionAtRestOptions(std::forward<EncryptionAtRestOptionsT>(value));
248 return *this;
249 }
251
253
256 inline const NodeToNodeEncryptionOptions& GetNodeToNodeEncryptionOptions() const { return m_nodeToNodeEncryptionOptions; }
257 inline bool NodeToNodeEncryptionOptionsHasBeenSet() const { return m_nodeToNodeEncryptionOptionsHasBeenSet; }
258 template <typename NodeToNodeEncryptionOptionsT = NodeToNodeEncryptionOptions>
259 void SetNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsT&& value) {
260 m_nodeToNodeEncryptionOptionsHasBeenSet = true;
261 m_nodeToNodeEncryptionOptions = std::forward<NodeToNodeEncryptionOptionsT>(value);
262 }
263 template <typename NodeToNodeEncryptionOptionsT = NodeToNodeEncryptionOptions>
264 CreateDomainRequest& WithNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsT&& value) {
265 SetNodeToNodeEncryptionOptions(std::forward<NodeToNodeEncryptionOptionsT>(value));
266 return *this;
267 }
269
271
294 inline const Aws::Map<Aws::String, Aws::String>& GetAdvancedOptions() const { return m_advancedOptions; }
295 inline bool AdvancedOptionsHasBeenSet() const { return m_advancedOptionsHasBeenSet; }
296 template <typename AdvancedOptionsT = Aws::Map<Aws::String, Aws::String>>
297 void SetAdvancedOptions(AdvancedOptionsT&& value) {
298 m_advancedOptionsHasBeenSet = true;
299 m_advancedOptions = std::forward<AdvancedOptionsT>(value);
300 }
301 template <typename AdvancedOptionsT = Aws::Map<Aws::String, Aws::String>>
302 CreateDomainRequest& WithAdvancedOptions(AdvancedOptionsT&& value) {
303 SetAdvancedOptions(std::forward<AdvancedOptionsT>(value));
304 return *this;
305 }
306 template <typename AdvancedOptionsKeyT = Aws::String, typename AdvancedOptionsValueT = Aws::String>
307 CreateDomainRequest& AddAdvancedOptions(AdvancedOptionsKeyT&& key, AdvancedOptionsValueT&& value) {
308 m_advancedOptionsHasBeenSet = true;
309 m_advancedOptions.emplace(std::forward<AdvancedOptionsKeyT>(key), std::forward<AdvancedOptionsValueT>(value));
310 return *this;
311 }
313
315
318 inline const Aws::Map<LogType, LogPublishingOption>& GetLogPublishingOptions() const { return m_logPublishingOptions; }
319 inline bool LogPublishingOptionsHasBeenSet() const { return m_logPublishingOptionsHasBeenSet; }
320 template <typename LogPublishingOptionsT = Aws::Map<LogType, LogPublishingOption>>
321 void SetLogPublishingOptions(LogPublishingOptionsT&& value) {
322 m_logPublishingOptionsHasBeenSet = true;
323 m_logPublishingOptions = std::forward<LogPublishingOptionsT>(value);
324 }
325 template <typename LogPublishingOptionsT = Aws::Map<LogType, LogPublishingOption>>
326 CreateDomainRequest& WithLogPublishingOptions(LogPublishingOptionsT&& value) {
327 SetLogPublishingOptions(std::forward<LogPublishingOptionsT>(value));
328 return *this;
329 }
331 m_logPublishingOptionsHasBeenSet = true;
332 m_logPublishingOptions.emplace(key, value);
333 return *this;
334 }
336
338
342 inline const DomainEndpointOptions& GetDomainEndpointOptions() const { return m_domainEndpointOptions; }
343 inline bool DomainEndpointOptionsHasBeenSet() const { return m_domainEndpointOptionsHasBeenSet; }
344 template <typename DomainEndpointOptionsT = DomainEndpointOptions>
345 void SetDomainEndpointOptions(DomainEndpointOptionsT&& value) {
346 m_domainEndpointOptionsHasBeenSet = true;
347 m_domainEndpointOptions = std::forward<DomainEndpointOptionsT>(value);
348 }
349 template <typename DomainEndpointOptionsT = DomainEndpointOptions>
350 CreateDomainRequest& WithDomainEndpointOptions(DomainEndpointOptionsT&& value) {
351 SetDomainEndpointOptions(std::forward<DomainEndpointOptionsT>(value));
352 return *this;
353 }
355
357
360 inline const AdvancedSecurityOptionsInput& GetAdvancedSecurityOptions() const { return m_advancedSecurityOptions; }
361 inline bool AdvancedSecurityOptionsHasBeenSet() const { return m_advancedSecurityOptionsHasBeenSet; }
362 template <typename AdvancedSecurityOptionsT = AdvancedSecurityOptionsInput>
363 void SetAdvancedSecurityOptions(AdvancedSecurityOptionsT&& value) {
364 m_advancedSecurityOptionsHasBeenSet = true;
365 m_advancedSecurityOptions = std::forward<AdvancedSecurityOptionsT>(value);
366 }
367 template <typename AdvancedSecurityOptionsT = AdvancedSecurityOptionsInput>
368 CreateDomainRequest& WithAdvancedSecurityOptions(AdvancedSecurityOptionsT&& value) {
369 SetAdvancedSecurityOptions(std::forward<AdvancedSecurityOptionsT>(value));
370 return *this;
371 }
373
375
379 inline const IdentityCenterOptionsInput& GetIdentityCenterOptions() const { return m_identityCenterOptions; }
380 inline bool IdentityCenterOptionsHasBeenSet() const { return m_identityCenterOptionsHasBeenSet; }
381 template <typename IdentityCenterOptionsT = IdentityCenterOptionsInput>
382 void SetIdentityCenterOptions(IdentityCenterOptionsT&& value) {
383 m_identityCenterOptionsHasBeenSet = true;
384 m_identityCenterOptions = std::forward<IdentityCenterOptionsT>(value);
385 }
386 template <typename IdentityCenterOptionsT = IdentityCenterOptionsInput>
387 CreateDomainRequest& WithIdentityCenterOptions(IdentityCenterOptionsT&& value) {
388 SetIdentityCenterOptions(std::forward<IdentityCenterOptionsT>(value));
389 return *this;
390 }
392
394
397 inline const Aws::Vector<Tag>& GetTagList() const { return m_tagList; }
398 inline bool TagListHasBeenSet() const { return m_tagListHasBeenSet; }
399 template <typename TagListT = Aws::Vector<Tag>>
400 void SetTagList(TagListT&& value) {
401 m_tagListHasBeenSet = true;
402 m_tagList = std::forward<TagListT>(value);
403 }
404 template <typename TagListT = Aws::Vector<Tag>>
405 CreateDomainRequest& WithTagList(TagListT&& value) {
406 SetTagList(std::forward<TagListT>(value));
407 return *this;
408 }
409 template <typename TagListT = Tag>
410 CreateDomainRequest& AddTagList(TagListT&& value) {
411 m_tagListHasBeenSet = true;
412 m_tagList.emplace_back(std::forward<TagListT>(value));
413 return *this;
414 }
416
418
421 inline const AutoTuneOptionsInput& GetAutoTuneOptions() const { return m_autoTuneOptions; }
422 inline bool AutoTuneOptionsHasBeenSet() const { return m_autoTuneOptionsHasBeenSet; }
423 template <typename AutoTuneOptionsT = AutoTuneOptionsInput>
424 void SetAutoTuneOptions(AutoTuneOptionsT&& value) {
425 m_autoTuneOptionsHasBeenSet = true;
426 m_autoTuneOptions = std::forward<AutoTuneOptionsT>(value);
427 }
428 template <typename AutoTuneOptionsT = AutoTuneOptionsInput>
429 CreateDomainRequest& WithAutoTuneOptions(AutoTuneOptionsT&& value) {
430 SetAutoTuneOptions(std::forward<AutoTuneOptionsT>(value));
431 return *this;
432 }
434
436
443 inline const OffPeakWindowOptions& GetOffPeakWindowOptions() const { return m_offPeakWindowOptions; }
444 inline bool OffPeakWindowOptionsHasBeenSet() const { return m_offPeakWindowOptionsHasBeenSet; }
445 template <typename OffPeakWindowOptionsT = OffPeakWindowOptions>
446 void SetOffPeakWindowOptions(OffPeakWindowOptionsT&& value) {
447 m_offPeakWindowOptionsHasBeenSet = true;
448 m_offPeakWindowOptions = std::forward<OffPeakWindowOptionsT>(value);
449 }
450 template <typename OffPeakWindowOptionsT = OffPeakWindowOptions>
451 CreateDomainRequest& WithOffPeakWindowOptions(OffPeakWindowOptionsT&& value) {
452 SetOffPeakWindowOptions(std::forward<OffPeakWindowOptionsT>(value));
453 return *this;
454 }
456
458
461 inline const SoftwareUpdateOptions& GetSoftwareUpdateOptions() const { return m_softwareUpdateOptions; }
462 inline bool SoftwareUpdateOptionsHasBeenSet() const { return m_softwareUpdateOptionsHasBeenSet; }
463 template <typename SoftwareUpdateOptionsT = SoftwareUpdateOptions>
464 void SetSoftwareUpdateOptions(SoftwareUpdateOptionsT&& value) {
465 m_softwareUpdateOptionsHasBeenSet = true;
466 m_softwareUpdateOptions = std::forward<SoftwareUpdateOptionsT>(value);
467 }
468 template <typename SoftwareUpdateOptionsT = SoftwareUpdateOptions>
469 CreateDomainRequest& WithSoftwareUpdateOptions(SoftwareUpdateOptionsT&& value) {
470 SetSoftwareUpdateOptions(std::forward<SoftwareUpdateOptionsT>(value));
471 return *this;
472 }
474
476
479 inline const AIMLOptionsInput& GetAIMLOptions() const { return m_aIMLOptions; }
480 inline bool AIMLOptionsHasBeenSet() const { return m_aIMLOptionsHasBeenSet; }
481 template <typename AIMLOptionsT = AIMLOptionsInput>
482 void SetAIMLOptions(AIMLOptionsT&& value) {
483 m_aIMLOptionsHasBeenSet = true;
484 m_aIMLOptions = std::forward<AIMLOptionsT>(value);
485 }
486 template <typename AIMLOptionsT = AIMLOptionsInput>
487 CreateDomainRequest& WithAIMLOptions(AIMLOptionsT&& value) {
488 SetAIMLOptions(std::forward<AIMLOptionsT>(value));
489 return *this;
490 }
492
494
497 inline const DeploymentStrategyOptions& GetDeploymentStrategyOptions() const { return m_deploymentStrategyOptions; }
498 inline bool DeploymentStrategyOptionsHasBeenSet() const { return m_deploymentStrategyOptionsHasBeenSet; }
499 template <typename DeploymentStrategyOptionsT = DeploymentStrategyOptions>
500 void SetDeploymentStrategyOptions(DeploymentStrategyOptionsT&& value) {
501 m_deploymentStrategyOptionsHasBeenSet = true;
502 m_deploymentStrategyOptions = std::forward<DeploymentStrategyOptionsT>(value);
503 }
504 template <typename DeploymentStrategyOptionsT = DeploymentStrategyOptions>
505 CreateDomainRequest& WithDeploymentStrategyOptions(DeploymentStrategyOptionsT&& value) {
506 SetDeploymentStrategyOptions(std::forward<DeploymentStrategyOptionsT>(value));
507 return *this;
508 }
510
512
519 inline const AutomatedSnapshotPauseRequestOptions& GetAutomatedSnapshotPauseOptions() const { return m_automatedSnapshotPauseOptions; }
520 inline bool AutomatedSnapshotPauseOptionsHasBeenSet() const { return m_automatedSnapshotPauseOptionsHasBeenSet; }
521 template <typename AutomatedSnapshotPauseOptionsT = AutomatedSnapshotPauseRequestOptions>
522 void SetAutomatedSnapshotPauseOptions(AutomatedSnapshotPauseOptionsT&& value) {
523 m_automatedSnapshotPauseOptionsHasBeenSet = true;
524 m_automatedSnapshotPauseOptions = std::forward<AutomatedSnapshotPauseOptionsT>(value);
525 }
526 template <typename AutomatedSnapshotPauseOptionsT = AutomatedSnapshotPauseRequestOptions>
527 CreateDomainRequest& WithAutomatedSnapshotPauseOptions(AutomatedSnapshotPauseOptionsT&& value) {
528 SetAutomatedSnapshotPauseOptions(std::forward<AutomatedSnapshotPauseOptionsT>(value));
529 return *this;
530 }
532
534
538 inline DomainUseCase GetUseCase() const { return m_useCase; }
539 inline bool UseCaseHasBeenSet() const { return m_useCaseHasBeenSet; }
540 inline void SetUseCase(DomainUseCase value) {
541 m_useCaseHasBeenSet = true;
542 m_useCase = value;
543 }
545 SetUseCase(value);
546 return *this;
547 }
549
551
555 inline EngineMode GetEngineMode() const { return m_engineMode; }
556 inline bool EngineModeHasBeenSet() const { return m_engineModeHasBeenSet; }
557 inline void SetEngineMode(EngineMode value) {
558 m_engineModeHasBeenSet = true;
559 m_engineMode = value;
560 }
562 SetEngineMode(value);
563 return *this;
564 }
566 private:
567 Aws::String m_domainName;
568
569 Aws::String m_engineVersion;
570
571 ClusterConfig m_clusterConfig;
572
573 EBSOptions m_eBSOptions;
574
575 Aws::String m_accessPolicies;
576
577 IPAddressType m_iPAddressType{IPAddressType::NOT_SET};
578
579 SnapshotOptions m_snapshotOptions;
580
581 VPCOptions m_vPCOptions;
582
583 CognitoOptions m_cognitoOptions;
584
585 EncryptionAtRestOptions m_encryptionAtRestOptions;
586
587 NodeToNodeEncryptionOptions m_nodeToNodeEncryptionOptions;
588
589 Aws::Map<Aws::String, Aws::String> m_advancedOptions;
590
591 Aws::Map<LogType, LogPublishingOption> m_logPublishingOptions;
592
593 DomainEndpointOptions m_domainEndpointOptions;
594
595 AdvancedSecurityOptionsInput m_advancedSecurityOptions;
596
597 IdentityCenterOptionsInput m_identityCenterOptions;
598
599 Aws::Vector<Tag> m_tagList;
600
601 AutoTuneOptionsInput m_autoTuneOptions;
602
603 OffPeakWindowOptions m_offPeakWindowOptions;
604
605 SoftwareUpdateOptions m_softwareUpdateOptions;
606
607 AIMLOptionsInput m_aIMLOptions;
608
609 DeploymentStrategyOptions m_deploymentStrategyOptions;
610
611 AutomatedSnapshotPauseRequestOptions m_automatedSnapshotPauseOptions;
612
614
615 EngineMode m_engineMode{EngineMode::NOT_SET};
616 bool m_domainNameHasBeenSet = false;
617 bool m_engineVersionHasBeenSet = false;
618 bool m_clusterConfigHasBeenSet = false;
619 bool m_eBSOptionsHasBeenSet = false;
620 bool m_accessPoliciesHasBeenSet = false;
621 bool m_iPAddressTypeHasBeenSet = false;
622 bool m_snapshotOptionsHasBeenSet = false;
623 bool m_vPCOptionsHasBeenSet = false;
624 bool m_cognitoOptionsHasBeenSet = false;
625 bool m_encryptionAtRestOptionsHasBeenSet = false;
626 bool m_nodeToNodeEncryptionOptionsHasBeenSet = false;
627 bool m_advancedOptionsHasBeenSet = false;
628 bool m_logPublishingOptionsHasBeenSet = false;
629 bool m_domainEndpointOptionsHasBeenSet = false;
630 bool m_advancedSecurityOptionsHasBeenSet = false;
631 bool m_identityCenterOptionsHasBeenSet = false;
632 bool m_tagListHasBeenSet = false;
633 bool m_autoTuneOptionsHasBeenSet = false;
634 bool m_offPeakWindowOptionsHasBeenSet = false;
635 bool m_softwareUpdateOptionsHasBeenSet = false;
636 bool m_aIMLOptionsHasBeenSet = false;
637 bool m_deploymentStrategyOptionsHasBeenSet = false;
638 bool m_automatedSnapshotPauseOptionsHasBeenSet = false;
639 bool m_useCaseHasBeenSet = false;
640 bool m_engineModeHasBeenSet = false;
641};
642
643} // namespace Model
644} // namespace OpenSearchService
645} // namespace Aws
void SetIdentityCenterOptions(IdentityCenterOptionsT &&value)
CreateDomainRequest & WithNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsT &&value)
CreateDomainRequest & WithTagList(TagListT &&value)
const Aws::Map< LogType, LogPublishingOption > & GetLogPublishingOptions() const
void SetSoftwareUpdateOptions(SoftwareUpdateOptionsT &&value)
void SetAutomatedSnapshotPauseOptions(AutomatedSnapshotPauseOptionsT &&value)
CreateDomainRequest & WithAdvancedSecurityOptions(AdvancedSecurityOptionsT &&value)
CreateDomainRequest & AddAdvancedOptions(AdvancedOptionsKeyT &&key, AdvancedOptionsValueT &&value)
CreateDomainRequest & WithDeploymentStrategyOptions(DeploymentStrategyOptionsT &&value)
CreateDomainRequest & WithDomainName(DomainNameT &&value)
CreateDomainRequest & WithCognitoOptions(CognitoOptionsT &&value)
virtual const char * GetServiceRequestName() const override
CreateDomainRequest & WithEngineVersion(EngineVersionT &&value)
CreateDomainRequest & WithAIMLOptions(AIMLOptionsT &&value)
CreateDomainRequest & AddTagList(TagListT &&value)
CreateDomainRequest & WithVPCOptions(VPCOptionsT &&value)
void SetDomainEndpointOptions(DomainEndpointOptionsT &&value)
CreateDomainRequest & WithEBSOptions(EBSOptionsT &&value)
const SoftwareUpdateOptions & GetSoftwareUpdateOptions() const
CreateDomainRequest & WithAutoTuneOptions(AutoTuneOptionsT &&value)
void SetDeploymentStrategyOptions(DeploymentStrategyOptionsT &&value)
const DeploymentStrategyOptions & GetDeploymentStrategyOptions() const
const IdentityCenterOptionsInput & GetIdentityCenterOptions() const
const AdvancedSecurityOptionsInput & GetAdvancedSecurityOptions() const
const NodeToNodeEncryptionOptions & GetNodeToNodeEncryptionOptions() const
CreateDomainRequest & WithIdentityCenterOptions(IdentityCenterOptionsT &&value)
const DomainEndpointOptions & GetDomainEndpointOptions() const
const EncryptionAtRestOptions & GetEncryptionAtRestOptions() const
void SetOffPeakWindowOptions(OffPeakWindowOptionsT &&value)
AWS_OPENSEARCHSERVICE_API CreateDomainRequest()=default
CreateDomainRequest & WithUseCase(DomainUseCase value)
CreateDomainRequest & WithAccessPolicies(AccessPoliciesT &&value)
void SetEncryptionAtRestOptions(EncryptionAtRestOptionsT &&value)
CreateDomainRequest & WithSnapshotOptions(SnapshotOptionsT &&value)
CreateDomainRequest & WithAdvancedOptions(AdvancedOptionsT &&value)
const OffPeakWindowOptions & GetOffPeakWindowOptions() const
CreateDomainRequest & WithSoftwareUpdateOptions(SoftwareUpdateOptionsT &&value)
CreateDomainRequest & WithEngineMode(EngineMode value)
const AutomatedSnapshotPauseRequestOptions & GetAutomatedSnapshotPauseOptions() const
CreateDomainRequest & WithEncryptionAtRestOptions(EncryptionAtRestOptionsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetAdvancedOptions() const
AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override
CreateDomainRequest & AddLogPublishingOptions(LogType key, LogPublishingOption value)
CreateDomainRequest & WithLogPublishingOptions(LogPublishingOptionsT &&value)
const AutoTuneOptionsInput & GetAutoTuneOptions() const
void SetLogPublishingOptions(LogPublishingOptionsT &&value)
CreateDomainRequest & WithDomainEndpointOptions(DomainEndpointOptionsT &&value)
void SetNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsT &&value)
void SetAdvancedSecurityOptions(AdvancedSecurityOptionsT &&value)
CreateDomainRequest & WithOffPeakWindowOptions(OffPeakWindowOptionsT &&value)
CreateDomainRequest & WithAutomatedSnapshotPauseOptions(AutomatedSnapshotPauseOptionsT &&value)
CreateDomainRequest & WithClusterConfig(ClusterConfigT &&value)
CreateDomainRequest & WithIPAddressType(IPAddressType 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
std::vector< T, Aws::Allocator< T > > Vector