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/DomainEndpointOptions.h>
18#include <aws/opensearch/model/EBSOptions.h>
19#include <aws/opensearch/model/EncryptionAtRestOptions.h>
20#include <aws/opensearch/model/IPAddressType.h>
21#include <aws/opensearch/model/IdentityCenterOptionsInput.h>
22#include <aws/opensearch/model/LogPublishingOption.h>
23#include <aws/opensearch/model/LogType.h>
24#include <aws/opensearch/model/NodeToNodeEncryptionOptions.h>
25#include <aws/opensearch/model/OffPeakWindowOptions.h>
26#include <aws/opensearch/model/SnapshotOptions.h>
27#include <aws/opensearch/model/SoftwareUpdateOptions.h>
28#include <aws/opensearch/model/Tag.h>
29#include <aws/opensearch/model/VPCOptions.h>
34namespace OpenSearchService {
58 template <
typename DomainNameT = Aws::String>
60 m_domainNameHasBeenSet =
true;
61 m_domainName = std::forward<DomainNameT>(value);
63 template <
typename DomainNameT = Aws::String>
81 template <
typename EngineVersionT = Aws::String>
83 m_engineVersionHasBeenSet =
true;
84 m_engineVersion = std::forward<EngineVersionT>(value);
86 template <
typename EngineVersionT = Aws::String>
99 template <
typename ClusterConfigT = ClusterConfig>
101 m_clusterConfigHasBeenSet =
true;
102 m_clusterConfig = std::forward<ClusterConfigT>(value);
104 template <
typename ClusterConfigT = ClusterConfig>
118 template <
typename EBSOptionsT = EBSOptions>
120 m_eBSOptionsHasBeenSet =
true;
121 m_eBSOptions = std::forward<EBSOptionsT>(value);
123 template <
typename EBSOptionsT = EBSOptions>
137 template <
typename AccessPoliciesT = Aws::String>
139 m_accessPoliciesHasBeenSet =
true;
140 m_accessPolicies = std::forward<AccessPoliciesT>(value);
142 template <
typename AccessPoliciesT = Aws::String>
159 m_iPAddressTypeHasBeenSet =
true;
160 m_iPAddressType = value;
175 template <
typename SnapshotOptionsT = SnapshotOptions>
177 m_snapshotOptionsHasBeenSet =
true;
178 m_snapshotOptions = std::forward<SnapshotOptionsT>(value);
180 template <
typename SnapshotOptionsT = SnapshotOptions>
197 template <
typename VPCOptionsT = VPCOptions>
199 m_vPCOptionsHasBeenSet =
true;
200 m_vPCOptions = std::forward<VPCOptionsT>(value);
202 template <
typename VPCOptionsT = VPCOptions>
218 template <
typename CognitoOptionsT = CognitoOptions>
220 m_cognitoOptionsHasBeenSet =
true;
221 m_cognitoOptions = std::forward<CognitoOptionsT>(value);
223 template <
typename CognitoOptionsT = CognitoOptions>
236 template <
typename EncryptionAtRestOptionsT = EncryptionAtRestOptions>
238 m_encryptionAtRestOptionsHasBeenSet =
true;
239 m_encryptionAtRestOptions = std::forward<EncryptionAtRestOptionsT>(value);
241 template <
typename EncryptionAtRestOptionsT = EncryptionAtRestOptions>
254 template <
typename NodeToNodeEncryptionOptionsT = NodeToNodeEncryptionOptions>
256 m_nodeToNodeEncryptionOptionsHasBeenSet =
true;
257 m_nodeToNodeEncryptionOptions = std::forward<NodeToNodeEncryptionOptionsT>(value);
259 template <
typename NodeToNodeEncryptionOptionsT = NodeToNodeEncryptionOptions>
292 template <
typename AdvancedOptionsT = Aws::Map<Aws::String, Aws::String>>
294 m_advancedOptionsHasBeenSet =
true;
295 m_advancedOptions = std::forward<AdvancedOptionsT>(value);
297 template <
typename AdvancedOptionsT = Aws::Map<Aws::String, Aws::String>>
302 template <
typename AdvancedOptionsKeyT = Aws::String,
typename AdvancedOptionsValueT = Aws::String>
304 m_advancedOptionsHasBeenSet =
true;
305 m_advancedOptions.emplace(std::forward<AdvancedOptionsKeyT>(key), std::forward<AdvancedOptionsValueT>(value));
316 template <
typename LogPublishingOptionsT = Aws::Map<LogType, LogPublishingOption>>
318 m_logPublishingOptionsHasBeenSet =
true;
319 m_logPublishingOptions = std::forward<LogPublishingOptionsT>(value);
321 template <
typename LogPublishingOptionsT = Aws::Map<LogType, LogPublishingOption>>
327 m_logPublishingOptionsHasBeenSet =
true;
328 m_logPublishingOptions.emplace(key, value);
340 template <
typename DomainEndpo
intOptionsT = DomainEndpo
intOptions>
342 m_domainEndpointOptionsHasBeenSet =
true;
343 m_domainEndpointOptions = std::forward<DomainEndpointOptionsT>(value);
345 template <
typename DomainEndpo
intOptionsT = DomainEndpo
intOptions>
358 template <
typename AdvancedSecurityOptionsT = AdvancedSecurityOptionsInput>
360 m_advancedSecurityOptionsHasBeenSet =
true;
361 m_advancedSecurityOptions = std::forward<AdvancedSecurityOptionsT>(value);
363 template <
typename AdvancedSecurityOptionsT = AdvancedSecurityOptionsInput>
377 template <
typename IdentityCenterOptionsT = IdentityCenterOptionsInput>
379 m_identityCenterOptionsHasBeenSet =
true;
380 m_identityCenterOptions = std::forward<IdentityCenterOptionsT>(value);
382 template <
typename IdentityCenterOptionsT = IdentityCenterOptionsInput>
395 template <
typename TagListT = Aws::Vector<Tag>>
397 m_tagListHasBeenSet =
true;
398 m_tagList = std::forward<TagListT>(value);
400 template <
typename TagListT = Aws::Vector<Tag>>
405 template <
typename TagListT = Tag>
407 m_tagListHasBeenSet =
true;
408 m_tagList.emplace_back(std::forward<TagListT>(value));
419 template <
typename AutoTuneOptionsT = AutoTuneOptionsInput>
421 m_autoTuneOptionsHasBeenSet =
true;
422 m_autoTuneOptions = std::forward<AutoTuneOptionsT>(value);
424 template <
typename AutoTuneOptionsT = AutoTuneOptionsInput>
441 template <
typename OffPeakWindowOptionsT = OffPeakWindowOptions>
443 m_offPeakWindowOptionsHasBeenSet =
true;
444 m_offPeakWindowOptions = std::forward<OffPeakWindowOptionsT>(value);
446 template <
typename OffPeakWindowOptionsT = OffPeakWindowOptions>
459 template <
typename SoftwareUpdateOptionsT = SoftwareUpdateOptions>
461 m_softwareUpdateOptionsHasBeenSet =
true;
462 m_softwareUpdateOptions = std::forward<SoftwareUpdateOptionsT>(value);
464 template <
typename SoftwareUpdateOptionsT = SoftwareUpdateOptions>
477 template <
typename AIMLOptionsT = AIMLOptionsInput>
479 m_aIMLOptionsHasBeenSet =
true;
480 m_aIMLOptions = std::forward<AIMLOptionsT>(value);
482 template <
typename AIMLOptionsT = AIMLOptionsInput>
501 SnapshotOptions m_snapshotOptions;
503 VPCOptions m_vPCOptions;
505 CognitoOptions m_cognitoOptions;
507 EncryptionAtRestOptions m_encryptionAtRestOptions;
509 NodeToNodeEncryptionOptions m_nodeToNodeEncryptionOptions;
515 DomainEndpointOptions m_domainEndpointOptions;
517 AdvancedSecurityOptionsInput m_advancedSecurityOptions;
519 IdentityCenterOptionsInput m_identityCenterOptions;
523 AutoTuneOptionsInput m_autoTuneOptions;
525 OffPeakWindowOptions m_offPeakWindowOptions;
527 SoftwareUpdateOptions m_softwareUpdateOptions;
529 AIMLOptionsInput m_aIMLOptions;
530 bool m_domainNameHasBeenSet =
false;
531 bool m_engineVersionHasBeenSet =
false;
532 bool m_clusterConfigHasBeenSet =
false;
533 bool m_eBSOptionsHasBeenSet =
false;
534 bool m_accessPoliciesHasBeenSet =
false;
535 bool m_iPAddressTypeHasBeenSet =
false;
536 bool m_snapshotOptionsHasBeenSet =
false;
537 bool m_vPCOptionsHasBeenSet =
false;
538 bool m_cognitoOptionsHasBeenSet =
false;
539 bool m_encryptionAtRestOptionsHasBeenSet =
false;
540 bool m_nodeToNodeEncryptionOptionsHasBeenSet =
false;
541 bool m_advancedOptionsHasBeenSet =
false;
542 bool m_logPublishingOptionsHasBeenSet =
false;
543 bool m_domainEndpointOptionsHasBeenSet =
false;
544 bool m_advancedSecurityOptionsHasBeenSet =
false;
545 bool m_identityCenterOptionsHasBeenSet =
false;
546 bool m_tagListHasBeenSet =
false;
547 bool m_autoTuneOptionsHasBeenSet =
false;
548 bool m_offPeakWindowOptionsHasBeenSet =
false;
549 bool m_softwareUpdateOptionsHasBeenSet =
false;
550 bool m_aIMLOptionsHasBeenSet =
false;
void SetIdentityCenterOptions(IdentityCenterOptionsT &&value)
CreateDomainRequest & WithNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsT &&value)
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 & 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
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