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/OpenSearchService_EXPORTS.h>
11#include <aws/opensearch/model/AIMLOptionsOutput.h>
12#include <aws/opensearch/model/AdvancedSecurityOptions.h>
13#include <aws/opensearch/model/AutoTuneOptionsOutput.h>
14#include <aws/opensearch/model/ChangeProgressDetails.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/DomainProcessingStatusType.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/IdentityCenterOptions.h>
23#include <aws/opensearch/model/LogPublishingOption.h>
24#include <aws/opensearch/model/LogType.h>
25#include <aws/opensearch/model/ModifyingProperties.h>
26#include <aws/opensearch/model/NodeToNodeEncryptionOptions.h>
27#include <aws/opensearch/model/OffPeakWindowOptions.h>
28#include <aws/opensearch/model/ServiceSoftwareOptions.h>
29#include <aws/opensearch/model/SnapshotOptions.h>
30#include <aws/opensearch/model/SoftwareUpdateOptions.h>
31#include <aws/opensearch/model/VPCDerivedInfo.h>
42namespace OpenSearchService {
64 template <
typename DomainIdT = Aws::String>
66 m_domainIdHasBeenSet =
true;
67 m_domainId = std::forward<DomainIdT>(value);
69 template <
typename DomainIdT = Aws::String>
83 template <
typename DomainNameT = Aws::String>
85 m_domainNameHasBeenSet =
true;
86 m_domainName = std::forward<DomainNameT>(value);
88 template <
typename DomainNameT = Aws::String>
104 template <
typename ARNT = Aws::String>
106 m_aRNHasBeenSet =
true;
107 m_aRN = std::forward<ARNT>(value);
109 template <
typename ARNT = Aws::String>
111 SetARN(std::forward<ARNT>(value));
124 m_createdHasBeenSet =
true;
142 m_deletedHasBeenSet =
true;
158 template <
typename Endpo
intT = Aws::String>
160 m_endpointHasBeenSet =
true;
161 m_endpoint = std::forward<EndpointT>(value);
163 template <
typename Endpo
intT = Aws::String>
179 template <
typename Endpo
intV2T = Aws::String>
181 m_endpointV2HasBeenSet =
true;
182 m_endpointV2 = std::forward<EndpointV2T>(value);
184 template <
typename Endpo
intV2T = Aws::String>
202 template <
typename Endpo
intsT = Aws::Map<Aws::String, Aws::String>>
204 m_endpointsHasBeenSet =
true;
205 m_endpoints = std::forward<EndpointsT>(value);
207 template <
typename Endpo
intsT = Aws::Map<Aws::String, Aws::String>>
212 template <
typename Endpo
intsKeyT = Aws::String,
typename Endpo
intsValueT = Aws::String>
214 m_endpointsHasBeenSet =
true;
215 m_endpoints.emplace(std::forward<EndpointsKeyT>(key), std::forward<EndpointsValueT>(value));
226 template <
typename DomainEndpo
intV2HostedZoneIdT = Aws::String>
228 m_domainEndpointV2HostedZoneIdHasBeenSet =
true;
229 m_domainEndpointV2HostedZoneId = std::forward<DomainEndpointV2HostedZoneIdT>(value);
231 template <
typename DomainEndpo
intV2HostedZoneIdT = Aws::String>
246 m_processingHasBeenSet =
true;
247 m_processing = value;
264 m_upgradeProcessingHasBeenSet =
true;
265 m_upgradeProcessing = value;
280 template <
typename EngineVersionT = Aws::String>
282 m_engineVersionHasBeenSet =
true;
283 m_engineVersion = std::forward<EngineVersionT>(value);
285 template <
typename EngineVersionT = Aws::String>
298 template <
typename ClusterConfigT = ClusterConfig>
300 m_clusterConfigHasBeenSet =
true;
301 m_clusterConfig = std::forward<ClusterConfigT>(value);
303 template <
typename ClusterConfigT = ClusterConfig>
316 template <
typename EBSOptionsT = EBSOptions>
318 m_eBSOptionsHasBeenSet =
true;
319 m_eBSOptions = std::forward<EBSOptionsT>(value);
321 template <
typename EBSOptionsT = EBSOptions>
335 template <
typename AccessPoliciesT = Aws::String>
337 m_accessPoliciesHasBeenSet =
true;
338 m_accessPolicies = std::forward<AccessPoliciesT>(value);
340 template <
typename AccessPoliciesT = Aws::String>
354 m_iPAddressTypeHasBeenSet =
true;
355 m_iPAddressType = value;
370 template <
typename SnapshotOptionsT = SnapshotOptions>
372 m_snapshotOptionsHasBeenSet =
true;
373 m_snapshotOptions = std::forward<SnapshotOptionsT>(value);
375 template <
typename SnapshotOptionsT = SnapshotOptions>
388 template <
typename VPCOptionsT = VPCDerivedInfo>
390 m_vPCOptionsHasBeenSet =
true;
391 m_vPCOptions = std::forward<VPCOptionsT>(value);
393 template <
typename VPCOptionsT = VPCDerivedInfo>
407 template <
typename CognitoOptionsT = CognitoOptions>
409 m_cognitoOptionsHasBeenSet =
true;
410 m_cognitoOptions = std::forward<CognitoOptionsT>(value);
412 template <
typename CognitoOptionsT = CognitoOptions>
425 template <
typename EncryptionAtRestOptionsT = EncryptionAtRestOptions>
427 m_encryptionAtRestOptionsHasBeenSet =
true;
428 m_encryptionAtRestOptions = std::forward<EncryptionAtRestOptionsT>(value);
430 template <
typename EncryptionAtRestOptionsT = EncryptionAtRestOptions>
443 template <
typename NodeToNodeEncryptionOptionsT = NodeToNodeEncryptionOptions>
445 m_nodeToNodeEncryptionOptionsHasBeenSet =
true;
446 m_nodeToNodeEncryptionOptions = std::forward<NodeToNodeEncryptionOptionsT>(value);
448 template <
typename NodeToNodeEncryptionOptionsT = NodeToNodeEncryptionOptions>
461 template <
typename AdvancedOptionsT = Aws::Map<Aws::String, Aws::String>>
463 m_advancedOptionsHasBeenSet =
true;
464 m_advancedOptions = std::forward<AdvancedOptionsT>(value);
466 template <
typename AdvancedOptionsT = Aws::Map<Aws::String, Aws::String>>
471 template <
typename AdvancedOptionsKeyT = Aws::String,
typename AdvancedOptionsValueT = Aws::String>
473 m_advancedOptionsHasBeenSet =
true;
474 m_advancedOptions.emplace(std::forward<AdvancedOptionsKeyT>(key), std::forward<AdvancedOptionsValueT>(value));
485 template <
typename LogPublishingOptionsT = Aws::Map<LogType, LogPublishingOption>>
487 m_logPublishingOptionsHasBeenSet =
true;
488 m_logPublishingOptions = std::forward<LogPublishingOptionsT>(value);
490 template <
typename LogPublishingOptionsT = Aws::Map<LogType, LogPublishingOption>>
496 m_logPublishingOptionsHasBeenSet =
true;
497 m_logPublishingOptions.emplace(key, value);
508 template <
typename ServiceSoftwareOptionsT = ServiceSoftwareOptions>
510 m_serviceSoftwareOptionsHasBeenSet =
true;
511 m_serviceSoftwareOptions = std::forward<ServiceSoftwareOptionsT>(value);
513 template <
typename ServiceSoftwareOptionsT = ServiceSoftwareOptions>
527 template <
typename DomainEndpo
intOptionsT = DomainEndpo
intOptions>
529 m_domainEndpointOptionsHasBeenSet =
true;
530 m_domainEndpointOptions = std::forward<DomainEndpointOptionsT>(value);
532 template <
typename DomainEndpo
intOptionsT = DomainEndpo
intOptions>
545 template <
typename AdvancedSecurityOptionsT = AdvancedSecurityOptions>
547 m_advancedSecurityOptionsHasBeenSet =
true;
548 m_advancedSecurityOptions = std::forward<AdvancedSecurityOptionsT>(value);
550 template <
typename AdvancedSecurityOptionsT = AdvancedSecurityOptions>
564 template <
typename IdentityCenterOptionsT = IdentityCenterOptions>
566 m_identityCenterOptionsHasBeenSet =
true;
567 m_identityCenterOptions = std::forward<IdentityCenterOptionsT>(value);
569 template <
typename IdentityCenterOptionsT = IdentityCenterOptions>
582 template <
typename AutoTuneOptionsT = AutoTuneOptionsOutput>
584 m_autoTuneOptionsHasBeenSet =
true;
585 m_autoTuneOptions = std::forward<AutoTuneOptionsT>(value);
587 template <
typename AutoTuneOptionsT = AutoTuneOptionsOutput>
600 template <
typename ChangeProgressDetailsT = ChangeProgressDetails>
602 m_changeProgressDetailsHasBeenSet =
true;
603 m_changeProgressDetails = std::forward<ChangeProgressDetailsT>(value);
605 template <
typename ChangeProgressDetailsT = ChangeProgressDetails>
619 template <
typename OffPeakWindowOptionsT = OffPeakWindowOptions>
621 m_offPeakWindowOptionsHasBeenSet =
true;
622 m_offPeakWindowOptions = std::forward<OffPeakWindowOptionsT>(value);
624 template <
typename OffPeakWindowOptionsT = OffPeakWindowOptions>
637 template <
typename SoftwareUpdateOptionsT = SoftwareUpdateOptions>
639 m_softwareUpdateOptionsHasBeenSet =
true;
640 m_softwareUpdateOptions = std::forward<SoftwareUpdateOptionsT>(value);
642 template <
typename SoftwareUpdateOptionsT = SoftwareUpdateOptions>
656 m_domainProcessingStatusHasBeenSet =
true;
657 m_domainProcessingStatus = value;
672 template <
typename ModifyingPropertiesT = Aws::Vector<ModifyingProperties>>
674 m_modifyingPropertiesHasBeenSet =
true;
675 m_modifyingProperties = std::forward<ModifyingPropertiesT>(value);
677 template <
typename ModifyingPropertiesT = Aws::Vector<ModifyingProperties>>
682 template <
typename ModifyingPropertiesT = ModifyingProperties>
684 m_modifyingPropertiesHasBeenSet =
true;
685 m_modifyingProperties.emplace_back(std::forward<ModifyingPropertiesT>(value));
697 template <
typename AIMLOptionsT = AIMLOptionsOutput>
699 m_aIMLOptionsHasBeenSet =
true;
700 m_aIMLOptions = std::forward<AIMLOptionsT>(value);
702 template <
typename AIMLOptionsT = AIMLOptionsOutput>
715 bool m_created{
false};
717 bool m_deleted{
false};
727 bool m_processing{
false};
729 bool m_upgradeProcessing{
false};
733 ClusterConfig m_clusterConfig;
735 EBSOptions m_eBSOptions;
741 SnapshotOptions m_snapshotOptions;
743 VPCDerivedInfo m_vPCOptions;
745 CognitoOptions m_cognitoOptions;
747 EncryptionAtRestOptions m_encryptionAtRestOptions;
749 NodeToNodeEncryptionOptions m_nodeToNodeEncryptionOptions;
755 ServiceSoftwareOptions m_serviceSoftwareOptions;
757 DomainEndpointOptions m_domainEndpointOptions;
759 AdvancedSecurityOptions m_advancedSecurityOptions;
761 IdentityCenterOptions m_identityCenterOptions;
763 AutoTuneOptionsOutput m_autoTuneOptions;
765 ChangeProgressDetails m_changeProgressDetails;
767 OffPeakWindowOptions m_offPeakWindowOptions;
769 SoftwareUpdateOptions m_softwareUpdateOptions;
775 AIMLOptionsOutput m_aIMLOptions;
776 bool m_domainIdHasBeenSet =
false;
777 bool m_domainNameHasBeenSet =
false;
778 bool m_aRNHasBeenSet =
false;
779 bool m_createdHasBeenSet =
false;
780 bool m_deletedHasBeenSet =
false;
781 bool m_endpointHasBeenSet =
false;
782 bool m_endpointV2HasBeenSet =
false;
783 bool m_endpointsHasBeenSet =
false;
784 bool m_domainEndpointV2HostedZoneIdHasBeenSet =
false;
785 bool m_processingHasBeenSet =
false;
786 bool m_upgradeProcessingHasBeenSet =
false;
787 bool m_engineVersionHasBeenSet =
false;
788 bool m_clusterConfigHasBeenSet =
false;
789 bool m_eBSOptionsHasBeenSet =
false;
790 bool m_accessPoliciesHasBeenSet =
false;
791 bool m_iPAddressTypeHasBeenSet =
false;
792 bool m_snapshotOptionsHasBeenSet =
false;
793 bool m_vPCOptionsHasBeenSet =
false;
794 bool m_cognitoOptionsHasBeenSet =
false;
795 bool m_encryptionAtRestOptionsHasBeenSet =
false;
796 bool m_nodeToNodeEncryptionOptionsHasBeenSet =
false;
797 bool m_advancedOptionsHasBeenSet =
false;
798 bool m_logPublishingOptionsHasBeenSet =
false;
799 bool m_serviceSoftwareOptionsHasBeenSet =
false;
800 bool m_domainEndpointOptionsHasBeenSet =
false;
801 bool m_advancedSecurityOptionsHasBeenSet =
false;
802 bool m_identityCenterOptionsHasBeenSet =
false;
803 bool m_autoTuneOptionsHasBeenSet =
false;
804 bool m_changeProgressDetailsHasBeenSet =
false;
805 bool m_offPeakWindowOptionsHasBeenSet =
false;
806 bool m_softwareUpdateOptionsHasBeenSet =
false;
807 bool m_domainProcessingStatusHasBeenSet =
false;
808 bool m_modifyingPropertiesHasBeenSet =
false;
809 bool m_aIMLOptionsHasBeenSet =
false;
void SetOffPeakWindowOptions(OffPeakWindowOptionsT &&value)
const AutoTuneOptionsOutput & GetAutoTuneOptions() const
bool EndpointsHasBeenSet() const
DomainStatus & WithEncryptionAtRestOptions(EncryptionAtRestOptionsT &&value)
DomainStatus & WithSnapshotOptions(SnapshotOptionsT &&value)
void SetVPCOptions(VPCOptionsT &&value)
DomainStatus & WithVPCOptions(VPCOptionsT &&value)
DomainStatus & WithCreated(bool value)
bool ModifyingPropertiesHasBeenSet() const
bool NodeToNodeEncryptionOptionsHasBeenSet() const
void SetIdentityCenterOptions(IdentityCenterOptionsT &&value)
DomainStatus & WithServiceSoftwareOptions(ServiceSoftwareOptionsT &&value)
DomainStatus & WithChangeProgressDetails(ChangeProgressDetailsT &&value)
DomainStatus & AddEndpoints(EndpointsKeyT &&key, EndpointsValueT &&value)
void SetDomainProcessingStatus(DomainProcessingStatusType value)
void SetCreated(bool value)
bool EngineVersionHasBeenSet() const
const EBSOptions & GetEBSOptions() const
bool EBSOptionsHasBeenSet() const
void SetServiceSoftwareOptions(ServiceSoftwareOptionsT &&value)
DomainStatus & WithEngineVersion(EngineVersionT &&value)
void SetAdvancedOptions(AdvancedOptionsT &&value)
DomainStatus & WithEndpoint(EndpointT &&value)
DomainStatus & WithProcessing(bool value)
void SetEncryptionAtRestOptions(EncryptionAtRestOptionsT &&value)
DomainStatus & WithDomainEndpointV2HostedZoneId(DomainEndpointV2HostedZoneIdT &&value)
void SetEndpointV2(EndpointV2T &&value)
const Aws::Map< Aws::String, Aws::String > & GetAdvancedOptions() const
void SetNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsT &&value)
DomainStatus & AddLogPublishingOptions(LogType key, LogPublishingOption value)
const Aws::String & GetAccessPolicies() const
const Aws::String & GetDomainEndpointV2HostedZoneId() const
DomainStatus & WithCognitoOptions(CognitoOptionsT &&value)
bool AdvancedOptionsHasBeenSet() const
bool DomainEndpointV2HostedZoneIdHasBeenSet() const
bool IPAddressTypeHasBeenSet() const
bool ServiceSoftwareOptionsHasBeenSet() const
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEndpoint(EndpointT &&value)
DomainStatus & AddAdvancedOptions(AdvancedOptionsKeyT &&key, AdvancedOptionsValueT &&value)
DomainStatus & WithNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsT &&value)
void SetDomainName(DomainNameT &&value)
bool AccessPoliciesHasBeenSet() const
const VPCDerivedInfo & GetVPCOptions() const
DomainStatus & WithDomainName(DomainNameT &&value)
const Aws::Map< Aws::String, Aws::String > & GetEndpoints() const
bool DeletedHasBeenSet() const
bool AutoTuneOptionsHasBeenSet() const
AWS_OPENSEARCHSERVICE_API DomainStatus(Aws::Utils::Json::JsonView jsonValue)
const NodeToNodeEncryptionOptions & GetNodeToNodeEncryptionOptions() const
DomainStatus & AddModifyingProperties(ModifyingPropertiesT &&value)
bool CreatedHasBeenSet() const
bool UpgradeProcessingHasBeenSet() const
IPAddressType GetIPAddressType() const
bool OffPeakWindowOptionsHasBeenSet() const
DomainStatus & WithDomainProcessingStatus(DomainProcessingStatusType value)
DomainStatus & WithSoftwareUpdateOptions(SoftwareUpdateOptionsT &&value)
bool EndpointHasBeenSet() const
const SnapshotOptions & GetSnapshotOptions() const
bool ProcessingHasBeenSet() const
void SetClusterConfig(ClusterConfigT &&value)
void SetAutoTuneOptions(AutoTuneOptionsT &&value)
void SetLogPublishingOptions(LogPublishingOptionsT &&value)
const Aws::Vector< ModifyingProperties > & GetModifyingProperties() const
bool VPCOptionsHasBeenSet() const
void SetAIMLOptions(AIMLOptionsT &&value)
bool DomainNameHasBeenSet() const
void SetCognitoOptions(CognitoOptionsT &&value)
bool LogPublishingOptionsHasBeenSet() const
DomainStatus & WithEndpointV2(EndpointV2T &&value)
bool DomainEndpointOptionsHasBeenSet() const
bool EncryptionAtRestOptionsHasBeenSet() const
void SetDeleted(bool value)
void SetDomainId(DomainIdT &&value)
void SetChangeProgressDetails(ChangeProgressDetailsT &&value)
void SetUpgradeProcessing(bool value)
bool ClusterConfigHasBeenSet() const
DomainStatus & WithDeleted(bool value)
const IdentityCenterOptions & GetIdentityCenterOptions() const
const AdvancedSecurityOptions & GetAdvancedSecurityOptions() const
bool AIMLOptionsHasBeenSet() const
bool ARNHasBeenSet() const
DomainStatus & WithDomainId(DomainIdT &&value)
const DomainEndpointOptions & GetDomainEndpointOptions() const
DomainStatus & WithAIMLOptions(AIMLOptionsT &&value)
bool DomainProcessingStatusHasBeenSet() const
AWS_OPENSEARCHSERVICE_API DomainStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
const AIMLOptionsOutput & GetAIMLOptions() const
bool GetUpgradeProcessing() const
const OffPeakWindowOptions & GetOffPeakWindowOptions() const
DomainStatus & WithModifyingProperties(ModifyingPropertiesT &&value)
void SetDomainEndpointOptions(DomainEndpointOptionsT &&value)
const EncryptionAtRestOptions & GetEncryptionAtRestOptions() const
void SetEBSOptions(EBSOptionsT &&value)
bool GetProcessing() const
void SetARN(ARNT &&value)
DomainStatus & WithAutoTuneOptions(AutoTuneOptionsT &&value)
DomainProcessingStatusType GetDomainProcessingStatus() const
bool CognitoOptionsHasBeenSet() const
DomainStatus & WithUpgradeProcessing(bool value)
const Aws::String & GetEndpointV2() const
const Aws::Map< LogType, LogPublishingOption > & GetLogPublishingOptions() const
DomainStatus & WithOffPeakWindowOptions(OffPeakWindowOptionsT &&value)
bool ChangeProgressDetailsHasBeenSet() const
DomainStatus & WithLogPublishingOptions(LogPublishingOptionsT &&value)
void SetAdvancedSecurityOptions(AdvancedSecurityOptionsT &&value)
void SetIPAddressType(IPAddressType value)
const ChangeProgressDetails & GetChangeProgressDetails() const
void SetDomainEndpointV2HostedZoneId(DomainEndpointV2HostedZoneIdT &&value)
void SetEndpoints(EndpointsT &&value)
DomainStatus & WithDomainEndpointOptions(DomainEndpointOptionsT &&value)
bool DomainIdHasBeenSet() const
DomainStatus & WithIdentityCenterOptions(IdentityCenterOptionsT &&value)
DomainStatus & WithAccessPolicies(AccessPoliciesT &&value)
DomainStatus & WithEBSOptions(EBSOptionsT &&value)
bool EndpointV2HasBeenSet() const
void SetProcessing(bool value)
AWS_OPENSEARCHSERVICE_API DomainStatus()=default
const Aws::String & GetDomainName() const
DomainStatus & WithAdvancedSecurityOptions(AdvancedSecurityOptionsT &&value)
void SetSnapshotOptions(SnapshotOptionsT &&value)
bool AdvancedSecurityOptionsHasBeenSet() const
const Aws::String & GetEngineVersion() const
DomainStatus & WithIPAddressType(IPAddressType value)
void SetEngineVersion(EngineVersionT &&value)
const Aws::String & GetEndpoint() const
DomainStatus & WithAdvancedOptions(AdvancedOptionsT &&value)
const ServiceSoftwareOptions & GetServiceSoftwareOptions() const
void SetModifyingProperties(ModifyingPropertiesT &&value)
DomainStatus & WithClusterConfig(ClusterConfigT &&value)
const Aws::String & GetARN() const
const Aws::String & GetDomainId() const
void SetAccessPolicies(AccessPoliciesT &&value)
DomainStatus & WithARN(ARNT &&value)
bool IdentityCenterOptionsHasBeenSet() const
const SoftwareUpdateOptions & GetSoftwareUpdateOptions() const
void SetSoftwareUpdateOptions(SoftwareUpdateOptionsT &&value)
const ClusterConfig & GetClusterConfig() const
bool SnapshotOptionsHasBeenSet() const
DomainStatus & WithEndpoints(EndpointsT &&value)
bool SoftwareUpdateOptionsHasBeenSet() const
const CognitoOptions & GetCognitoOptions() const
DomainProcessingStatusType
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
Aws::Utils::Json::JsonValue JsonValue