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/AutoTuneOptions.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/DryRunMode.h>
22#include <aws/opensearch/model/EBSOptions.h>
23#include <aws/opensearch/model/EncryptionAtRestOptions.h>
24#include <aws/opensearch/model/EngineMode.h>
25#include <aws/opensearch/model/IPAddressType.h>
26#include <aws/opensearch/model/IdentityCenterOptionsInput.h>
27#include <aws/opensearch/model/LogPublishingOption.h>
28#include <aws/opensearch/model/LogType.h>
29#include <aws/opensearch/model/NodeToNodeEncryptionOptions.h>
30#include <aws/opensearch/model/OffPeakWindowOptions.h>
31#include <aws/opensearch/model/SnapshotOptions.h>
32#include <aws/opensearch/model/SoftwareUpdateOptions.h>
33#include <aws/opensearch/model/VPCOptions.h>
38namespace OpenSearchService {
65 template <
typename DomainNameT = Aws::String>
67 m_domainNameHasBeenSet =
true;
68 m_domainName = std::forward<DomainNameT>(value);
70 template <
typename DomainNameT = Aws::String>
84 template <
typename ClusterConfigT = ClusterConfig>
86 m_clusterConfigHasBeenSet =
true;
87 m_clusterConfig = std::forward<ClusterConfigT>(value);
89 template <
typename ClusterConfigT = ClusterConfig>
102 template <
typename EBSOptionsT = EBSOptions>
104 m_eBSOptionsHasBeenSet =
true;
105 m_eBSOptions = std::forward<EBSOptionsT>(value);
107 template <
typename EBSOptionsT = EBSOptions>
121 template <
typename SnapshotOptionsT = SnapshotOptions>
123 m_snapshotOptionsHasBeenSet =
true;
124 m_snapshotOptions = std::forward<SnapshotOptionsT>(value);
126 template <
typename SnapshotOptionsT = SnapshotOptions>
142 template <
typename VPCOptionsT = VPCOptions>
144 m_vPCOptionsHasBeenSet =
true;
145 m_vPCOptions = std::forward<VPCOptionsT>(value);
147 template <
typename VPCOptionsT = VPCOptions>
161 template <
typename CognitoOptionsT = CognitoOptions>
163 m_cognitoOptionsHasBeenSet =
true;
164 m_cognitoOptions = std::forward<CognitoOptionsT>(value);
166 template <
typename CognitoOptionsT = CognitoOptions>
195 template <
typename AdvancedOptionsT = Aws::Map<Aws::String, Aws::String>>
197 m_advancedOptionsHasBeenSet =
true;
198 m_advancedOptions = std::forward<AdvancedOptionsT>(value);
200 template <
typename AdvancedOptionsT = Aws::Map<Aws::String, Aws::String>>
205 template <
typename AdvancedOptionsKeyT = Aws::String,
typename AdvancedOptionsValueT = Aws::String>
207 m_advancedOptionsHasBeenSet =
true;
208 m_advancedOptions.emplace(std::forward<AdvancedOptionsKeyT>(key), std::forward<AdvancedOptionsValueT>(value));
220 template <
typename AccessPoliciesT = Aws::String>
222 m_accessPoliciesHasBeenSet =
true;
223 m_accessPolicies = std::forward<AccessPoliciesT>(value);
225 template <
typename AccessPoliciesT = Aws::String>
242 m_iPAddressTypeHasBeenSet =
true;
243 m_iPAddressType = value;
257 template <
typename LogPublishingOptionsT = Aws::Map<LogType, LogPublishingOption>>
259 m_logPublishingOptionsHasBeenSet =
true;
260 m_logPublishingOptions = std::forward<LogPublishingOptionsT>(value);
262 template <
typename LogPublishingOptionsT = Aws::Map<LogType, LogPublishingOption>>
268 m_logPublishingOptionsHasBeenSet =
true;
269 m_logPublishingOptions.emplace(key, value);
280 template <
typename EncryptionAtRestOptionsT = EncryptionAtRestOptions>
282 m_encryptionAtRestOptionsHasBeenSet =
true;
283 m_encryptionAtRestOptions = std::forward<EncryptionAtRestOptionsT>(value);
285 template <
typename EncryptionAtRestOptionsT = EncryptionAtRestOptions>
299 template <
typename DomainEndpo
intOptionsT = DomainEndpo
intOptions>
301 m_domainEndpointOptionsHasBeenSet =
true;
302 m_domainEndpointOptions = std::forward<DomainEndpointOptionsT>(value);
304 template <
typename DomainEndpo
intOptionsT = DomainEndpo
intOptions>
317 template <
typename NodeToNodeEncryptionOptionsT = NodeToNodeEncryptionOptions>
319 m_nodeToNodeEncryptionOptionsHasBeenSet =
true;
320 m_nodeToNodeEncryptionOptions = std::forward<NodeToNodeEncryptionOptionsT>(value);
322 template <
typename NodeToNodeEncryptionOptionsT = NodeToNodeEncryptionOptions>
335 template <
typename AdvancedSecurityOptionsT = AdvancedSecurityOptionsInput>
337 m_advancedSecurityOptionsHasBeenSet =
true;
338 m_advancedSecurityOptions = std::forward<AdvancedSecurityOptionsT>(value);
340 template <
typename AdvancedSecurityOptionsT = AdvancedSecurityOptionsInput>
351 template <
typename IdentityCenterOptionsT = IdentityCenterOptionsInput>
353 m_identityCenterOptionsHasBeenSet =
true;
354 m_identityCenterOptions = std::forward<IdentityCenterOptionsT>(value);
356 template <
typename IdentityCenterOptionsT = IdentityCenterOptionsInput>
369 template <
typename AutoTuneOptionsT = AutoTuneOptions>
371 m_autoTuneOptionsHasBeenSet =
true;
372 m_autoTuneOptions = std::forward<AutoTuneOptionsT>(value);
374 template <
typename AutoTuneOptionsT = AutoTuneOptions>
391 m_dryRunHasBeenSet =
true;
412 m_dryRunModeHasBeenSet =
true;
413 m_dryRunMode = value;
427 template <
typename OffPeakWindowOptionsT = OffPeakWindowOptions>
429 m_offPeakWindowOptionsHasBeenSet =
true;
430 m_offPeakWindowOptions = std::forward<OffPeakWindowOptionsT>(value);
432 template <
typename OffPeakWindowOptionsT = OffPeakWindowOptions>
445 template <
typename SoftwareUpdateOptionsT = SoftwareUpdateOptions>
447 m_softwareUpdateOptionsHasBeenSet =
true;
448 m_softwareUpdateOptions = std::forward<SoftwareUpdateOptionsT>(value);
450 template <
typename SoftwareUpdateOptionsT = SoftwareUpdateOptions>
463 template <
typename AIMLOptionsT = AIMLOptionsInput>
465 m_aIMLOptionsHasBeenSet =
true;
466 m_aIMLOptions = std::forward<AIMLOptionsT>(value);
468 template <
typename AIMLOptionsT = AIMLOptionsInput>
481 template <
typename DeploymentStrategyOptionsT = DeploymentStrategyOptions>
483 m_deploymentStrategyOptionsHasBeenSet =
true;
484 m_deploymentStrategyOptions = std::forward<DeploymentStrategyOptionsT>(value);
486 template <
typename DeploymentStrategyOptionsT = DeploymentStrategyOptions>
503 template <
typename AutomatedSnapshotPauseOptionsT = AutomatedSnapshotPauseRequestOptions>
505 m_automatedSnapshotPauseOptionsHasBeenSet =
true;
506 m_automatedSnapshotPauseOptions = std::forward<AutomatedSnapshotPauseOptionsT>(value);
508 template <
typename AutomatedSnapshotPauseOptionsT = AutomatedSnapshotPauseRequestOptions>
523 m_useCaseHasBeenSet =
true;
540 m_engineModeHasBeenSet =
true;
541 m_engineMode = value;
564 template <
typename AcceptedWarningsT = Aws::Vector<Aws::String>>
566 m_acceptedWarningsHasBeenSet =
true;
567 m_acceptedWarnings = std::forward<AcceptedWarningsT>(value);
569 template <
typename AcceptedWarningsT = Aws::Vector<Aws::String>>
574 template <
typename AcceptedWarningsT = Aws::String>
576 m_acceptedWarningsHasBeenSet =
true;
577 m_acceptedWarnings.emplace_back(std::forward<AcceptedWarningsT>(value));
602 EncryptionAtRestOptions m_encryptionAtRestOptions;
604 DomainEndpointOptions m_domainEndpointOptions;
606 NodeToNodeEncryptionOptions m_nodeToNodeEncryptionOptions;
608 AdvancedSecurityOptionsInput m_advancedSecurityOptions;
610 IdentityCenterOptionsInput m_identityCenterOptions;
612 AutoTuneOptions m_autoTuneOptions;
614 bool m_dryRun{
false};
618 OffPeakWindowOptions m_offPeakWindowOptions;
620 SoftwareUpdateOptions m_softwareUpdateOptions;
622 AIMLOptionsInput m_aIMLOptions;
624 DeploymentStrategyOptions m_deploymentStrategyOptions;
626 AutomatedSnapshotPauseRequestOptions m_automatedSnapshotPauseOptions;
633 bool m_domainNameHasBeenSet =
false;
634 bool m_clusterConfigHasBeenSet =
false;
635 bool m_eBSOptionsHasBeenSet =
false;
636 bool m_snapshotOptionsHasBeenSet =
false;
637 bool m_vPCOptionsHasBeenSet =
false;
638 bool m_cognitoOptionsHasBeenSet =
false;
639 bool m_advancedOptionsHasBeenSet =
false;
640 bool m_accessPoliciesHasBeenSet =
false;
641 bool m_iPAddressTypeHasBeenSet =
false;
642 bool m_logPublishingOptionsHasBeenSet =
false;
643 bool m_encryptionAtRestOptionsHasBeenSet =
false;
644 bool m_domainEndpointOptionsHasBeenSet =
false;
645 bool m_nodeToNodeEncryptionOptionsHasBeenSet =
false;
646 bool m_advancedSecurityOptionsHasBeenSet =
false;
647 bool m_identityCenterOptionsHasBeenSet =
false;
648 bool m_autoTuneOptionsHasBeenSet =
false;
649 bool m_dryRunHasBeenSet =
false;
650 bool m_dryRunModeHasBeenSet =
false;
651 bool m_offPeakWindowOptionsHasBeenSet =
false;
652 bool m_softwareUpdateOptionsHasBeenSet =
false;
653 bool m_aIMLOptionsHasBeenSet =
false;
654 bool m_deploymentStrategyOptionsHasBeenSet =
false;
655 bool m_automatedSnapshotPauseOptionsHasBeenSet =
false;
656 bool m_useCaseHasBeenSet =
false;
657 bool m_engineModeHasBeenSet =
false;
658 bool m_acceptedWarningsHasBeenSet =
false;
UpdateDomainConfigRequest & WithSnapshotOptions(SnapshotOptionsT &&value)
const DeploymentStrategyOptions & GetDeploymentStrategyOptions() const
bool DeploymentStrategyOptionsHasBeenSet() const
UpdateDomainConfigRequest & WithIdentityCenterOptions(IdentityCenterOptionsT &&value)
void SetEngineMode(EngineMode value)
void SetOffPeakWindowOptions(OffPeakWindowOptionsT &&value)
const DomainEndpointOptions & GetDomainEndpointOptions() const
bool DryRunHasBeenSet() const
EngineMode GetEngineMode() const
void SetAIMLOptions(AIMLOptionsT &&value)
const AdvancedSecurityOptionsInput & GetAdvancedSecurityOptions() const
bool NodeToNodeEncryptionOptionsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
bool AccessPoliciesHasBeenSet() const
const Aws::String & GetAccessPolicies() const
void SetAutomatedSnapshotPauseOptions(AutomatedSnapshotPauseOptionsT &&value)
UpdateDomainConfigRequest & WithLogPublishingOptions(LogPublishingOptionsT &&value)
bool EBSOptionsHasBeenSet() const
UpdateDomainConfigRequest & WithOffPeakWindowOptions(OffPeakWindowOptionsT &&value)
UpdateDomainConfigRequest & WithDomainName(DomainNameT &&value)
bool AdvancedSecurityOptionsHasBeenSet() const
void SetEBSOptions(EBSOptionsT &&value)
bool DomainEndpointOptionsHasBeenSet() const
const Aws::Vector< Aws::String > & GetAcceptedWarnings() const
bool AdvancedOptionsHasBeenSet() const
bool AcceptedWarningsHasBeenSet() const
UpdateDomainConfigRequest & WithAccessPolicies(AccessPoliciesT &&value)
void SetUseCase(DomainUseCase value)
const AutomatedSnapshotPauseRequestOptions & GetAutomatedSnapshotPauseOptions() const
bool ClusterConfigHasBeenSet() const
UpdateDomainConfigRequest & WithCognitoOptions(CognitoOptionsT &&value)
bool LogPublishingOptionsHasBeenSet() const
UpdateDomainConfigRequest & WithAcceptedWarnings(AcceptedWarningsT &&value)
bool IdentityCenterOptionsHasBeenSet() const
void SetDryRun(bool value)
void SetEncryptionAtRestOptions(EncryptionAtRestOptionsT &&value)
void SetVPCOptions(VPCOptionsT &&value)
bool DomainNameHasBeenSet() const
void SetAdvancedOptions(AdvancedOptionsT &&value)
UpdateDomainConfigRequest & WithAIMLOptions(AIMLOptionsT &&value)
UpdateDomainConfigRequest & WithSoftwareUpdateOptions(SoftwareUpdateOptionsT &&value)
void SetClusterConfig(ClusterConfigT &&value)
UpdateDomainConfigRequest & WithAutoTuneOptions(AutoTuneOptionsT &&value)
void SetDomainEndpointOptions(DomainEndpointOptionsT &&value)
UpdateDomainConfigRequest & WithAutomatedSnapshotPauseOptions(AutomatedSnapshotPauseOptionsT &&value)
void SetDomainName(DomainNameT &&value)
const AutoTuneOptions & GetAutoTuneOptions() const
UpdateDomainConfigRequest & WithClusterConfig(ClusterConfigT &&value)
void SetAutoTuneOptions(AutoTuneOptionsT &&value)
IPAddressType GetIPAddressType() const
void SetCognitoOptions(CognitoOptionsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetAdvancedOptions() const
UpdateDomainConfigRequest & WithUseCase(DomainUseCase value)
UpdateDomainConfigRequest & WithEBSOptions(EBSOptionsT &&value)
void SetDeploymentStrategyOptions(DeploymentStrategyOptionsT &&value)
UpdateDomainConfigRequest & WithDryRun(bool value)
UpdateDomainConfigRequest & WithDryRunMode(DryRunMode value)
void SetIPAddressType(IPAddressType value)
bool SnapshotOptionsHasBeenSet() const
bool SoftwareUpdateOptionsHasBeenSet() const
bool DryRunModeHasBeenSet() const
bool IPAddressTypeHasBeenSet() const
const NodeToNodeEncryptionOptions & GetNodeToNodeEncryptionOptions() const
bool UseCaseHasBeenSet() const
bool EncryptionAtRestOptionsHasBeenSet() const
void SetSoftwareUpdateOptions(SoftwareUpdateOptionsT &&value)
bool AutomatedSnapshotPauseOptionsHasBeenSet() const
DryRunMode GetDryRunMode() const
bool EngineModeHasBeenSet() const
const VPCOptions & GetVPCOptions() const
void SetAccessPolicies(AccessPoliciesT &&value)
UpdateDomainConfigRequest & AddAdvancedOptions(AdvancedOptionsKeyT &&key, AdvancedOptionsValueT &&value)
UpdateDomainConfigRequest & WithAdvancedOptions(AdvancedOptionsT &&value)
const IdentityCenterOptionsInput & GetIdentityCenterOptions() const
bool VPCOptionsHasBeenSet() const
const Aws::Map< LogType, LogPublishingOption > & GetLogPublishingOptions() const
bool AIMLOptionsHasBeenSet() const
bool CognitoOptionsHasBeenSet() const
const Aws::String & GetDomainName() const
void SetAdvancedSecurityOptions(AdvancedSecurityOptionsT &&value)
UpdateDomainConfigRequest & WithVPCOptions(VPCOptionsT &&value)
const EncryptionAtRestOptions & GetEncryptionAtRestOptions() const
void SetAcceptedWarnings(AcceptedWarningsT &&value)
AWS_OPENSEARCHSERVICE_API UpdateDomainConfigRequest()=default
UpdateDomainConfigRequest & WithAdvancedSecurityOptions(AdvancedSecurityOptionsT &&value)
UpdateDomainConfigRequest & WithEncryptionAtRestOptions(EncryptionAtRestOptionsT &&value)
const CognitoOptions & GetCognitoOptions() const
const EBSOptions & GetEBSOptions() const
const SoftwareUpdateOptions & GetSoftwareUpdateOptions() const
void SetSnapshotOptions(SnapshotOptionsT &&value)
UpdateDomainConfigRequest & WithIPAddressType(IPAddressType value)
bool OffPeakWindowOptionsHasBeenSet() const
UpdateDomainConfigRequest & WithNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsT &&value)
UpdateDomainConfigRequest & AddAcceptedWarnings(AcceptedWarningsT &&value)
UpdateDomainConfigRequest & WithDeploymentStrategyOptions(DeploymentStrategyOptionsT &&value)
const ClusterConfig & GetClusterConfig() const
UpdateDomainConfigRequest & AddLogPublishingOptions(LogType key, LogPublishingOption value)
void SetDryRunMode(DryRunMode value)
UpdateDomainConfigRequest & WithEngineMode(EngineMode value)
bool AutoTuneOptionsHasBeenSet() const
const AIMLOptionsInput & GetAIMLOptions() const
void SetNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsT &&value)
DomainUseCase GetUseCase() const
void SetLogPublishingOptions(LogPublishingOptionsT &&value)
UpdateDomainConfigRequest & WithDomainEndpointOptions(DomainEndpointOptionsT &&value)
const OffPeakWindowOptions & GetOffPeakWindowOptions() const
void SetIdentityCenterOptions(IdentityCenterOptionsT &&value)
const SnapshotOptions & GetSnapshotOptions() const
AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override
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