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/ClusterConfig.h>
16#include <aws/opensearch/model/CognitoOptions.h>
17#include <aws/opensearch/model/DeploymentStrategyOptions.h>
18#include <aws/opensearch/model/DomainEndpointOptions.h>
19#include <aws/opensearch/model/EBSOptions.h>
20#include <aws/opensearch/model/EncryptionAtRestOptions.h>
21#include <aws/opensearch/model/IPAddressType.h>
22#include <aws/opensearch/model/IdentityCenterOptionsInput.h>
23#include <aws/opensearch/model/LogPublishingOption.h>
24#include <aws/opensearch/model/LogType.h>
25#include <aws/opensearch/model/NodeToNodeEncryptionOptions.h>
26#include <aws/opensearch/model/OffPeakWindowOptions.h>
27#include <aws/opensearch/model/SnapshotOptions.h>
28#include <aws/opensearch/model/SoftwareUpdateOptions.h>
29#include <aws/opensearch/model/Tag.h>
30#include <aws/opensearch/model/VPCOptions.h>
35namespace OpenSearchService {
59 template <
typename DomainNameT = Aws::String>
61 m_domainNameHasBeenSet =
true;
62 m_domainName = std::forward<DomainNameT>(value);
64 template <
typename DomainNameT = Aws::String>
82 template <
typename EngineVersionT = Aws::String>
84 m_engineVersionHasBeenSet =
true;
85 m_engineVersion = std::forward<EngineVersionT>(value);
87 template <
typename EngineVersionT = Aws::String>
100 template <
typename ClusterConfigT = ClusterConfig>
102 m_clusterConfigHasBeenSet =
true;
103 m_clusterConfig = std::forward<ClusterConfigT>(value);
105 template <
typename ClusterConfigT = ClusterConfig>
119 template <
typename EBSOptionsT = EBSOptions>
121 m_eBSOptionsHasBeenSet =
true;
122 m_eBSOptions = std::forward<EBSOptionsT>(value);
124 template <
typename EBSOptionsT = EBSOptions>
138 template <
typename AccessPoliciesT = Aws::String>
140 m_accessPoliciesHasBeenSet =
true;
141 m_accessPolicies = std::forward<AccessPoliciesT>(value);
143 template <
typename AccessPoliciesT = Aws::String>
160 m_iPAddressTypeHasBeenSet =
true;
161 m_iPAddressType = value;
176 template <
typename SnapshotOptionsT = SnapshotOptions>
178 m_snapshotOptionsHasBeenSet =
true;
179 m_snapshotOptions = std::forward<SnapshotOptionsT>(value);
181 template <
typename SnapshotOptionsT = SnapshotOptions>
198 template <
typename VPCOptionsT = VPCOptions>
200 m_vPCOptionsHasBeenSet =
true;
201 m_vPCOptions = std::forward<VPCOptionsT>(value);
203 template <
typename VPCOptionsT = VPCOptions>
219 template <
typename CognitoOptionsT = CognitoOptions>
221 m_cognitoOptionsHasBeenSet =
true;
222 m_cognitoOptions = std::forward<CognitoOptionsT>(value);
224 template <
typename CognitoOptionsT = CognitoOptions>
237 template <
typename EncryptionAtRestOptionsT = EncryptionAtRestOptions>
239 m_encryptionAtRestOptionsHasBeenSet =
true;
240 m_encryptionAtRestOptions = std::forward<EncryptionAtRestOptionsT>(value);
242 template <
typename EncryptionAtRestOptionsT = EncryptionAtRestOptions>
255 template <
typename NodeToNodeEncryptionOptionsT = NodeToNodeEncryptionOptions>
257 m_nodeToNodeEncryptionOptionsHasBeenSet =
true;
258 m_nodeToNodeEncryptionOptions = std::forward<NodeToNodeEncryptionOptionsT>(value);
260 template <
typename NodeToNodeEncryptionOptionsT = NodeToNodeEncryptionOptions>
293 template <
typename AdvancedOptionsT = Aws::Map<Aws::String, Aws::String>>
295 m_advancedOptionsHasBeenSet =
true;
296 m_advancedOptions = std::forward<AdvancedOptionsT>(value);
298 template <
typename AdvancedOptionsT = Aws::Map<Aws::String, Aws::String>>
303 template <
typename AdvancedOptionsKeyT = Aws::String,
typename AdvancedOptionsValueT = Aws::String>
305 m_advancedOptionsHasBeenSet =
true;
306 m_advancedOptions.emplace(std::forward<AdvancedOptionsKeyT>(key), std::forward<AdvancedOptionsValueT>(value));
317 template <
typename LogPublishingOptionsT = Aws::Map<LogType, LogPublishingOption>>
319 m_logPublishingOptionsHasBeenSet =
true;
320 m_logPublishingOptions = std::forward<LogPublishingOptionsT>(value);
322 template <
typename LogPublishingOptionsT = Aws::Map<LogType, LogPublishingOption>>
328 m_logPublishingOptionsHasBeenSet =
true;
329 m_logPublishingOptions.emplace(key, value);
341 template <
typename DomainEndpo
intOptionsT = DomainEndpo
intOptions>
343 m_domainEndpointOptionsHasBeenSet =
true;
344 m_domainEndpointOptions = std::forward<DomainEndpointOptionsT>(value);
346 template <
typename DomainEndpo
intOptionsT = DomainEndpo
intOptions>
359 template <
typename AdvancedSecurityOptionsT = AdvancedSecurityOptionsInput>
361 m_advancedSecurityOptionsHasBeenSet =
true;
362 m_advancedSecurityOptions = std::forward<AdvancedSecurityOptionsT>(value);
364 template <
typename AdvancedSecurityOptionsT = AdvancedSecurityOptionsInput>
378 template <
typename IdentityCenterOptionsT = IdentityCenterOptionsInput>
380 m_identityCenterOptionsHasBeenSet =
true;
381 m_identityCenterOptions = std::forward<IdentityCenterOptionsT>(value);
383 template <
typename IdentityCenterOptionsT = IdentityCenterOptionsInput>
396 template <
typename TagListT = Aws::Vector<Tag>>
398 m_tagListHasBeenSet =
true;
399 m_tagList = std::forward<TagListT>(value);
401 template <
typename TagListT = Aws::Vector<Tag>>
406 template <
typename TagListT = Tag>
408 m_tagListHasBeenSet =
true;
409 m_tagList.emplace_back(std::forward<TagListT>(value));
420 template <
typename AutoTuneOptionsT = AutoTuneOptionsInput>
422 m_autoTuneOptionsHasBeenSet =
true;
423 m_autoTuneOptions = std::forward<AutoTuneOptionsT>(value);
425 template <
typename AutoTuneOptionsT = AutoTuneOptionsInput>
442 template <
typename OffPeakWindowOptionsT = OffPeakWindowOptions>
444 m_offPeakWindowOptionsHasBeenSet =
true;
445 m_offPeakWindowOptions = std::forward<OffPeakWindowOptionsT>(value);
447 template <
typename OffPeakWindowOptionsT = OffPeakWindowOptions>
460 template <
typename SoftwareUpdateOptionsT = SoftwareUpdateOptions>
462 m_softwareUpdateOptionsHasBeenSet =
true;
463 m_softwareUpdateOptions = std::forward<SoftwareUpdateOptionsT>(value);
465 template <
typename SoftwareUpdateOptionsT = SoftwareUpdateOptions>
478 template <
typename AIMLOptionsT = AIMLOptionsInput>
480 m_aIMLOptionsHasBeenSet =
true;
481 m_aIMLOptions = std::forward<AIMLOptionsT>(value);
483 template <
typename AIMLOptionsT = AIMLOptionsInput>
496 template <
typename DeploymentStrategyOptionsT = DeploymentStrategyOptions>
498 m_deploymentStrategyOptionsHasBeenSet =
true;
499 m_deploymentStrategyOptions = std::forward<DeploymentStrategyOptionsT>(value);
501 template <
typename DeploymentStrategyOptionsT = DeploymentStrategyOptions>
520 SnapshotOptions m_snapshotOptions;
522 VPCOptions m_vPCOptions;
524 CognitoOptions m_cognitoOptions;
526 EncryptionAtRestOptions m_encryptionAtRestOptions;
528 NodeToNodeEncryptionOptions m_nodeToNodeEncryptionOptions;
534 DomainEndpointOptions m_domainEndpointOptions;
536 AdvancedSecurityOptionsInput m_advancedSecurityOptions;
538 IdentityCenterOptionsInput m_identityCenterOptions;
542 AutoTuneOptionsInput m_autoTuneOptions;
544 OffPeakWindowOptions m_offPeakWindowOptions;
546 SoftwareUpdateOptions m_softwareUpdateOptions;
548 AIMLOptionsInput m_aIMLOptions;
550 DeploymentStrategyOptions m_deploymentStrategyOptions;
551 bool m_domainNameHasBeenSet =
false;
552 bool m_engineVersionHasBeenSet =
false;
553 bool m_clusterConfigHasBeenSet =
false;
554 bool m_eBSOptionsHasBeenSet =
false;
555 bool m_accessPoliciesHasBeenSet =
false;
556 bool m_iPAddressTypeHasBeenSet =
false;
557 bool m_snapshotOptionsHasBeenSet =
false;
558 bool m_vPCOptionsHasBeenSet =
false;
559 bool m_cognitoOptionsHasBeenSet =
false;
560 bool m_encryptionAtRestOptionsHasBeenSet =
false;
561 bool m_nodeToNodeEncryptionOptionsHasBeenSet =
false;
562 bool m_advancedOptionsHasBeenSet =
false;
563 bool m_logPublishingOptionsHasBeenSet =
false;
564 bool m_domainEndpointOptionsHasBeenSet =
false;
565 bool m_advancedSecurityOptionsHasBeenSet =
false;
566 bool m_identityCenterOptionsHasBeenSet =
false;
567 bool m_tagListHasBeenSet =
false;
568 bool m_autoTuneOptionsHasBeenSet =
false;
569 bool m_offPeakWindowOptionsHasBeenSet =
false;
570 bool m_softwareUpdateOptionsHasBeenSet =
false;
571 bool m_aIMLOptionsHasBeenSet =
false;
572 bool m_deploymentStrategyOptionsHasBeenSet =
false;
void SetIdentityCenterOptions(IdentityCenterOptionsT &&value)
CreateDomainRequest & WithNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsT &&value)
bool DeploymentStrategyOptionsHasBeenSet() const
CreateDomainRequest & WithTagList(TagListT &&value)
bool EngineVersionHasBeenSet() const
const Aws::Map< LogType, LogPublishingOption > & GetLogPublishingOptions() const
void SetSoftwareUpdateOptions(SoftwareUpdateOptionsT &&value)
bool SnapshotOptionsHasBeenSet() const
bool IdentityCenterOptionsHasBeenSet() const
CreateDomainRequest & WithAdvancedSecurityOptions(AdvancedSecurityOptionsT &&value)
CreateDomainRequest & AddAdvancedOptions(AdvancedOptionsKeyT &&key, AdvancedOptionsValueT &&value)
const ClusterConfig & GetClusterConfig() const
void SetIPAddressType(IPAddressType value)
const AIMLOptionsInput & GetAIMLOptions() const
bool DomainNameHasBeenSet() const
void SetAIMLOptions(AIMLOptionsT &&value)
const CognitoOptions & GetCognitoOptions() const
IPAddressType GetIPAddressType() const
CreateDomainRequest & WithDeploymentStrategyOptions(DeploymentStrategyOptionsT &&value)
CreateDomainRequest & WithDomainName(DomainNameT &&value)
CreateDomainRequest & WithCognitoOptions(CognitoOptionsT &&value)
const Aws::String & GetEngineVersion() const
bool AutoTuneOptionsHasBeenSet() const
void SetEBSOptions(EBSOptionsT &&value)
void SetClusterConfig(ClusterConfigT &&value)
virtual const char * GetServiceRequestName() const override
CreateDomainRequest & WithEngineVersion(EngineVersionT &&value)
CreateDomainRequest & WithAIMLOptions(AIMLOptionsT &&value)
CreateDomainRequest & AddTagList(TagListT &&value)
bool AdvancedOptionsHasBeenSet() const
CreateDomainRequest & WithVPCOptions(VPCOptionsT &&value)
void SetDomainEndpointOptions(DomainEndpointOptionsT &&value)
CreateDomainRequest & WithEBSOptions(EBSOptionsT &&value)
const SoftwareUpdateOptions & GetSoftwareUpdateOptions() const
bool ClusterConfigHasBeenSet() const
CreateDomainRequest & WithAutoTuneOptions(AutoTuneOptionsT &&value)
const EBSOptions & GetEBSOptions() const
void SetDeploymentStrategyOptions(DeploymentStrategyOptionsT &&value)
const DeploymentStrategyOptions & GetDeploymentStrategyOptions() const
const IdentityCenterOptionsInput & GetIdentityCenterOptions() const
const AdvancedSecurityOptionsInput & GetAdvancedSecurityOptions() const
const NodeToNodeEncryptionOptions & GetNodeToNodeEncryptionOptions() const
bool SoftwareUpdateOptionsHasBeenSet() const
const SnapshotOptions & GetSnapshotOptions() const
bool EBSOptionsHasBeenSet() const
const Aws::String & GetAccessPolicies() const
void SetSnapshotOptions(SnapshotOptionsT &&value)
CreateDomainRequest & WithIdentityCenterOptions(IdentityCenterOptionsT &&value)
bool AdvancedSecurityOptionsHasBeenSet() const
const DomainEndpointOptions & GetDomainEndpointOptions() const
const EncryptionAtRestOptions & GetEncryptionAtRestOptions() const
const Aws::String & GetDomainName() const
void SetOffPeakWindowOptions(OffPeakWindowOptionsT &&value)
AWS_OPENSEARCHSERVICE_API CreateDomainRequest()=default
void SetAccessPolicies(AccessPoliciesT &&value)
bool OffPeakWindowOptionsHasBeenSet() const
void SetTagList(TagListT &&value)
CreateDomainRequest & WithAccessPolicies(AccessPoliciesT &&value)
void SetEncryptionAtRestOptions(EncryptionAtRestOptionsT &&value)
void SetCognitoOptions(CognitoOptionsT &&value)
CreateDomainRequest & WithSnapshotOptions(SnapshotOptionsT &&value)
bool LogPublishingOptionsHasBeenSet() const
CreateDomainRequest & WithAdvancedOptions(AdvancedOptionsT &&value)
bool NodeToNodeEncryptionOptionsHasBeenSet() const
const VPCOptions & GetVPCOptions() const
bool EncryptionAtRestOptionsHasBeenSet() const
const OffPeakWindowOptions & GetOffPeakWindowOptions() const
CreateDomainRequest & WithSoftwareUpdateOptions(SoftwareUpdateOptionsT &&value)
void SetAdvancedOptions(AdvancedOptionsT &&value)
void SetAutoTuneOptions(AutoTuneOptionsT &&value)
bool AIMLOptionsHasBeenSet() const
const Aws::Vector< Tag > & GetTagList() const
void SetEngineVersion(EngineVersionT &&value)
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)
bool IPAddressTypeHasBeenSet() const
bool AccessPoliciesHasBeenSet() const
void SetVPCOptions(VPCOptionsT &&value)
const AutoTuneOptionsInput & GetAutoTuneOptions() const
void SetLogPublishingOptions(LogPublishingOptionsT &&value)
CreateDomainRequest & WithDomainEndpointOptions(DomainEndpointOptionsT &&value)
void SetDomainName(DomainNameT &&value)
bool TagListHasBeenSet() const
void SetNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsT &&value)
void SetAdvancedSecurityOptions(AdvancedSecurityOptionsT &&value)
bool VPCOptionsHasBeenSet() const
CreateDomainRequest & WithOffPeakWindowOptions(OffPeakWindowOptionsT &&value)
bool DomainEndpointOptionsHasBeenSet() const
CreateDomainRequest & WithClusterConfig(ClusterConfigT &&value)
bool CognitoOptionsHasBeenSet() const
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