7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/opensearch/model/VersionStatus.h>
9#include <aws/opensearch/model/ClusterConfigStatus.h>
10#include <aws/opensearch/model/EBSOptionsStatus.h>
11#include <aws/opensearch/model/AccessPoliciesStatus.h>
12#include <aws/opensearch/model/IPAddressTypeStatus.h>
13#include <aws/opensearch/model/SnapshotOptionsStatus.h>
14#include <aws/opensearch/model/VPCDerivedInfoStatus.h>
15#include <aws/opensearch/model/CognitoOptionsStatus.h>
16#include <aws/opensearch/model/EncryptionAtRestOptionsStatus.h>
17#include <aws/opensearch/model/NodeToNodeEncryptionOptionsStatus.h>
18#include <aws/opensearch/model/AdvancedOptionsStatus.h>
19#include <aws/opensearch/model/LogPublishingOptionsStatus.h>
20#include <aws/opensearch/model/DomainEndpointOptionsStatus.h>
21#include <aws/opensearch/model/AdvancedSecurityOptionsStatus.h>
22#include <aws/opensearch/model/IdentityCenterOptionsStatus.h>
23#include <aws/opensearch/model/AutoTuneOptionsStatus.h>
24#include <aws/opensearch/model/ChangeProgressDetails.h>
25#include <aws/opensearch/model/OffPeakWindowOptionsStatus.h>
26#include <aws/opensearch/model/SoftwareUpdateOptionsStatus.h>
27#include <aws/core/utils/memory/stl/AWSVector.h>
28#include <aws/opensearch/model/AIMLOptionsStatus.h>
29#include <aws/opensearch/model/ModifyingProperties.h>
42namespace OpenSearchService
68 template<
typename EngineVersionT = VersionStatus>
69 void SetEngineVersion(EngineVersionT&& value) { m_engineVersionHasBeenSet =
true; m_engineVersion = std::forward<EngineVersionT>(value); }
70 template<
typename EngineVersionT = VersionStatus>
80 template<
typename ClusterConfigT = ClusterConfigStatus>
81 void SetClusterConfig(ClusterConfigT&& value) { m_clusterConfigHasBeenSet =
true; m_clusterConfig = std::forward<ClusterConfigT>(value); }
82 template<
typename ClusterConfigT = ClusterConfigStatus>
92 template<
typename EBSOptionsT = EBSOptionsStatus>
93 void SetEBSOptions(EBSOptionsT&& value) { m_eBSOptionsHasBeenSet =
true; m_eBSOptions = std::forward<EBSOptionsT>(value); }
94 template<
typename EBSOptionsT = EBSOptionsStatus>
104 template<
typename AccessPoliciesT = AccessPoliciesStatus>
105 void SetAccessPolicies(AccessPoliciesT&& value) { m_accessPoliciesHasBeenSet =
true; m_accessPolicies = std::forward<AccessPoliciesT>(value); }
106 template<
typename AccessPoliciesT = AccessPoliciesStatus>
119 template<
typename IPAddressTypeT = IPAddressTypeStatus>
120 void SetIPAddressType(IPAddressTypeT&& value) { m_iPAddressTypeHasBeenSet =
true; m_iPAddressType = std::forward<IPAddressTypeT>(value); }
121 template<
typename IPAddressTypeT = IPAddressTypeStatus>
132 template<
typename SnapshotOptionsT = SnapshotOptionsStatus>
133 void SetSnapshotOptions(SnapshotOptionsT&& value) { m_snapshotOptionsHasBeenSet =
true; m_snapshotOptions = std::forward<SnapshotOptionsT>(value); }
134 template<
typename SnapshotOptionsT = SnapshotOptionsStatus>
145 template<
typename VPCOptionsT = VPCDerivedInfoStatus>
146 void SetVPCOptions(VPCOptionsT&& value) { m_vPCOptionsHasBeenSet =
true; m_vPCOptions = std::forward<VPCOptionsT>(value); }
147 template<
typename VPCOptionsT = VPCDerivedInfoStatus>
157 template<
typename CognitoOptionsT = CognitoOptionsStatus>
158 void SetCognitoOptions(CognitoOptionsT&& value) { m_cognitoOptionsHasBeenSet =
true; m_cognitoOptions = std::forward<CognitoOptionsT>(value); }
159 template<
typename CognitoOptionsT = CognitoOptionsStatus>
169 template<
typename EncryptionAtRestOptionsT = EncryptionAtRestOptionsStatus>
170 void SetEncryptionAtRestOptions(EncryptionAtRestOptionsT&& value) { m_encryptionAtRestOptionsHasBeenSet =
true; m_encryptionAtRestOptions = std::forward<EncryptionAtRestOptionsT>(value); }
171 template<
typename EncryptionAtRestOptionsT = EncryptionAtRestOptionsStatus>
181 template<
typename NodeToNodeEncryptionOptionsT = NodeToNodeEncryptionOptionsStatus>
182 void SetNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsT&& value) { m_nodeToNodeEncryptionOptionsHasBeenSet =
true; m_nodeToNodeEncryptionOptions = std::forward<NodeToNodeEncryptionOptionsT>(value); }
183 template<
typename NodeToNodeEncryptionOptionsT = NodeToNodeEncryptionOptionsStatus>
196 template<
typename AdvancedOptionsT = AdvancedOptionsStatus>
197 void SetAdvancedOptions(AdvancedOptionsT&& value) { m_advancedOptionsHasBeenSet =
true; m_advancedOptions = std::forward<AdvancedOptionsT>(value); }
198 template<
typename AdvancedOptionsT = AdvancedOptionsStatus>
208 template<
typename LogPublishingOptionsT = LogPublishingOptionsStatus>
209 void SetLogPublishingOptions(LogPublishingOptionsT&& value) { m_logPublishingOptionsHasBeenSet =
true; m_logPublishingOptions = std::forward<LogPublishingOptionsT>(value); }
210 template<
typename LogPublishingOptionsT = LogPublishingOptionsStatus>
221 template<
typename DomainEndpo
intOptionsT = DomainEndpo
intOptionsStatus>
222 void SetDomainEndpointOptions(DomainEndpointOptionsT&& value) { m_domainEndpointOptionsHasBeenSet =
true; m_domainEndpointOptions = std::forward<DomainEndpointOptionsT>(value); }
223 template<
typename DomainEndpo
intOptionsT = DomainEndpo
intOptionsStatus>
233 template<
typename AdvancedSecurityOptionsT = AdvancedSecurityOptionsStatus>
234 void SetAdvancedSecurityOptions(AdvancedSecurityOptionsT&& value) { m_advancedSecurityOptionsHasBeenSet =
true; m_advancedSecurityOptions = std::forward<AdvancedSecurityOptionsT>(value); }
235 template<
typename AdvancedSecurityOptionsT = AdvancedSecurityOptionsStatus>
246 template<
typename IdentityCenterOptionsT = IdentityCenterOptionsStatus>
247 void SetIdentityCenterOptions(IdentityCenterOptionsT&& value) { m_identityCenterOptionsHasBeenSet =
true; m_identityCenterOptions = std::forward<IdentityCenterOptionsT>(value); }
248 template<
typename IdentityCenterOptionsT = IdentityCenterOptionsStatus>
258 template<
typename AutoTuneOptionsT = AutoTuneOptionsStatus>
259 void SetAutoTuneOptions(AutoTuneOptionsT&& value) { m_autoTuneOptionsHasBeenSet =
true; m_autoTuneOptions = std::forward<AutoTuneOptionsT>(value); }
260 template<
typename AutoTuneOptionsT = AutoTuneOptionsStatus>
271 template<
typename ChangeProgressDetailsT = ChangeProgressDetails>
272 void SetChangeProgressDetails(ChangeProgressDetailsT&& value) { m_changeProgressDetailsHasBeenSet =
true; m_changeProgressDetails = std::forward<ChangeProgressDetailsT>(value); }
273 template<
typename ChangeProgressDetailsT = ChangeProgressDetails>
283 template<
typename OffPeakWindowOptionsT = OffPeakWindowOptionsStatus>
284 void SetOffPeakWindowOptions(OffPeakWindowOptionsT&& value) { m_offPeakWindowOptionsHasBeenSet =
true; m_offPeakWindowOptions = std::forward<OffPeakWindowOptionsT>(value); }
285 template<
typename OffPeakWindowOptionsT = OffPeakWindowOptionsStatus>
295 template<
typename SoftwareUpdateOptionsT = SoftwareUpdateOptionsStatus>
296 void SetSoftwareUpdateOptions(SoftwareUpdateOptionsT&& value) { m_softwareUpdateOptionsHasBeenSet =
true; m_softwareUpdateOptions = std::forward<SoftwareUpdateOptionsT>(value); }
297 template<
typename SoftwareUpdateOptionsT = SoftwareUpdateOptionsStatus>
308 template<
typename ModifyingPropertiesT = Aws::Vector<ModifyingProperties>>
309 void SetModifyingProperties(ModifyingPropertiesT&& value) { m_modifyingPropertiesHasBeenSet =
true; m_modifyingProperties = std::forward<ModifyingPropertiesT>(value); }
310 template<
typename ModifyingPropertiesT = Aws::Vector<ModifyingProperties>>
312 template<
typename ModifyingPropertiesT = ModifyingProperties>
313 DomainConfig&
AddModifyingProperties(ModifyingPropertiesT&& value) { m_modifyingPropertiesHasBeenSet =
true; m_modifyingProperties.emplace_back(std::forward<ModifyingPropertiesT>(value));
return *
this; }
323 template<
typename AIMLOptionsT = AIMLOptionsStatus>
324 void SetAIMLOptions(AIMLOptionsT&& value) { m_aIMLOptionsHasBeenSet =
true; m_aIMLOptions = std::forward<AIMLOptionsT>(value); }
325 template<
typename AIMLOptionsT = AIMLOptionsStatus>
331 bool m_engineVersionHasBeenSet =
false;
334 bool m_clusterConfigHasBeenSet =
false;
337 bool m_eBSOptionsHasBeenSet =
false;
340 bool m_accessPoliciesHasBeenSet =
false;
343 bool m_iPAddressTypeHasBeenSet =
false;
346 bool m_snapshotOptionsHasBeenSet =
false;
349 bool m_vPCOptionsHasBeenSet =
false;
352 bool m_cognitoOptionsHasBeenSet =
false;
355 bool m_encryptionAtRestOptionsHasBeenSet =
false;
358 bool m_nodeToNodeEncryptionOptionsHasBeenSet =
false;
361 bool m_advancedOptionsHasBeenSet =
false;
364 bool m_logPublishingOptionsHasBeenSet =
false;
367 bool m_domainEndpointOptionsHasBeenSet =
false;
370 bool m_advancedSecurityOptionsHasBeenSet =
false;
373 bool m_identityCenterOptionsHasBeenSet =
false;
376 bool m_autoTuneOptionsHasBeenSet =
false;
379 bool m_changeProgressDetailsHasBeenSet =
false;
382 bool m_offPeakWindowOptionsHasBeenSet =
false;
385 bool m_softwareUpdateOptionsHasBeenSet =
false;
388 bool m_modifyingPropertiesHasBeenSet =
false;
391 bool m_aIMLOptionsHasBeenSet =
false;
void SetAccessPolicies(AccessPoliciesT &&value)
bool IPAddressTypeHasBeenSet() const
void SetIPAddressType(IPAddressTypeT &&value)
AWS_OPENSEARCHSERVICE_API DomainConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
DomainConfig & WithAIMLOptions(AIMLOptionsT &&value)
AWS_OPENSEARCHSERVICE_API DomainConfig()=default
void SetAIMLOptions(AIMLOptionsT &&value)
void SetAdvancedOptions(AdvancedOptionsT &&value)
bool ChangeProgressDetailsHasBeenSet() const
bool LogPublishingOptionsHasBeenSet() const
bool AdvancedOptionsHasBeenSet() const
void SetEngineVersion(EngineVersionT &&value)
const NodeToNodeEncryptionOptionsStatus & GetNodeToNodeEncryptionOptions() const
void SetLogPublishingOptions(LogPublishingOptionsT &&value)
bool VPCOptionsHasBeenSet() const
const SoftwareUpdateOptionsStatus & GetSoftwareUpdateOptions() const
void SetNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsT &&value)
const DomainEndpointOptionsStatus & GetDomainEndpointOptions() const
void SetSnapshotOptions(SnapshotOptionsT &&value)
const AdvancedOptionsStatus & GetAdvancedOptions() const
bool EBSOptionsHasBeenSet() const
void SetCognitoOptions(CognitoOptionsT &&value)
const SnapshotOptionsStatus & GetSnapshotOptions() const
void SetClusterConfig(ClusterConfigT &&value)
const AccessPoliciesStatus & GetAccessPolicies() const
bool SnapshotOptionsHasBeenSet() const
void SetSoftwareUpdateOptions(SoftwareUpdateOptionsT &&value)
const CognitoOptionsStatus & GetCognitoOptions() const
DomainConfig & WithCognitoOptions(CognitoOptionsT &&value)
const IPAddressTypeStatus & GetIPAddressType() const
DomainConfig & WithEBSOptions(EBSOptionsT &&value)
DomainConfig & WithAutoTuneOptions(AutoTuneOptionsT &&value)
DomainConfig & WithAdvancedOptions(AdvancedOptionsT &&value)
DomainConfig & WithSoftwareUpdateOptions(SoftwareUpdateOptionsT &&value)
bool ClusterConfigHasBeenSet() const
void SetVPCOptions(VPCOptionsT &&value)
const LogPublishingOptionsStatus & GetLogPublishingOptions() const
bool ModifyingPropertiesHasBeenSet() const
void SetAdvancedSecurityOptions(AdvancedSecurityOptionsT &&value)
DomainConfig & WithNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsT &&value)
void SetChangeProgressDetails(ChangeProgressDetailsT &&value)
bool CognitoOptionsHasBeenSet() const
DomainConfig & WithIdentityCenterOptions(IdentityCenterOptionsT &&value)
void SetEBSOptions(EBSOptionsT &&value)
DomainConfig & WithDomainEndpointOptions(DomainEndpointOptionsT &&value)
DomainConfig & WithClusterConfig(ClusterConfigT &&value)
DomainConfig & WithEncryptionAtRestOptions(EncryptionAtRestOptionsT &&value)
const EBSOptionsStatus & GetEBSOptions() const
DomainConfig & WithOffPeakWindowOptions(OffPeakWindowOptionsT &&value)
void SetAutoTuneOptions(AutoTuneOptionsT &&value)
const ChangeProgressDetails & GetChangeProgressDetails() const
const AdvancedSecurityOptionsStatus & GetAdvancedSecurityOptions() const
DomainConfig & WithLogPublishingOptions(LogPublishingOptionsT &&value)
DomainConfig & WithSnapshotOptions(SnapshotOptionsT &&value)
const VersionStatus & GetEngineVersion() const
const ClusterConfigStatus & GetClusterConfig() const
const AIMLOptionsStatus & GetAIMLOptions() const
bool EncryptionAtRestOptionsHasBeenSet() const
const VPCDerivedInfoStatus & GetVPCOptions() const
void SetDomainEndpointOptions(DomainEndpointOptionsT &&value)
void SetOffPeakWindowOptions(OffPeakWindowOptionsT &&value)
void SetIdentityCenterOptions(IdentityCenterOptionsT &&value)
void SetModifyingProperties(ModifyingPropertiesT &&value)
DomainConfig & WithIPAddressType(IPAddressTypeT &&value)
bool AIMLOptionsHasBeenSet() const
DomainConfig & WithAccessPolicies(AccessPoliciesT &&value)
const OffPeakWindowOptionsStatus & GetOffPeakWindowOptions() const
bool IdentityCenterOptionsHasBeenSet() const
DomainConfig & WithAdvancedSecurityOptions(AdvancedSecurityOptionsT &&value)
const AutoTuneOptionsStatus & GetAutoTuneOptions() const
DomainConfig & WithVPCOptions(VPCOptionsT &&value)
DomainConfig & AddModifyingProperties(ModifyingPropertiesT &&value)
bool AdvancedSecurityOptionsHasBeenSet() const
DomainConfig & WithEngineVersion(EngineVersionT &&value)
bool DomainEndpointOptionsHasBeenSet() const
bool OffPeakWindowOptionsHasBeenSet() const
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEncryptionAtRestOptions(EncryptionAtRestOptionsT &&value)
const EncryptionAtRestOptionsStatus & GetEncryptionAtRestOptions() const
bool NodeToNodeEncryptionOptionsHasBeenSet() const
AWS_OPENSEARCHSERVICE_API DomainConfig(Aws::Utils::Json::JsonView jsonValue)
bool AccessPoliciesHasBeenSet() const
bool EngineVersionHasBeenSet() const
const Aws::Vector< ModifyingProperties > & GetModifyingProperties() const
DomainConfig & WithModifyingProperties(ModifyingPropertiesT &&value)
bool SoftwareUpdateOptionsHasBeenSet() const
const IdentityCenterOptionsStatus & GetIdentityCenterOptions() const
bool AutoTuneOptionsHasBeenSet() const
DomainConfig & WithChangeProgressDetails(ChangeProgressDetailsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue