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/es/ElasticsearchService_EXPORTS.h>
11#include <aws/es/model/AdvancedSecurityOptions.h>
12#include <aws/es/model/AutoTuneOptionsOutput.h>
13#include <aws/es/model/AutomatedSnapshotPauseOptions.h>
14#include <aws/es/model/ChangeProgressDetails.h>
15#include <aws/es/model/CognitoOptions.h>
16#include <aws/es/model/DeploymentStrategyOptions.h>
17#include <aws/es/model/DomainEndpointOptions.h>
18#include <aws/es/model/DomainEngineMode.h>
19#include <aws/es/model/DomainProcessingStatusType.h>
20#include <aws/es/model/DomainUseCase.h>
21#include <aws/es/model/EBSOptions.h>
22#include <aws/es/model/ElasticsearchClusterConfig.h>
23#include <aws/es/model/EncryptionAtRestOptions.h>
24#include <aws/es/model/LogPublishingOption.h>
25#include <aws/es/model/LogType.h>
26#include <aws/es/model/ModifyingProperties.h>
27#include <aws/es/model/NodeToNodeEncryptionOptions.h>
28#include <aws/es/model/ServiceSoftwareOptions.h>
29#include <aws/es/model/SnapshotOptions.h>
30#include <aws/es/model/VPCDerivedInfo.h>
41namespace ElasticsearchService {
62 template <
typename DomainIdT = Aws::String>
64 m_domainIdHasBeenSet =
true;
65 m_domainId = std::forward<DomainIdT>(value);
67 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));
125 m_createdHasBeenSet =
true;
144 m_deletedHasBeenSet =
true;
160 template <
typename Endpo
intT = Aws::String>
162 m_endpointHasBeenSet =
true;
163 m_endpoint = std::forward<EndpointT>(value);
165 template <
typename Endpo
intT = Aws::String>
180 template <
typename Endpo
intsT = Aws::Map<Aws::String, Aws::String>>
182 m_endpointsHasBeenSet =
true;
183 m_endpoints = std::forward<EndpointsT>(value);
185 template <
typename Endpo
intsT = Aws::Map<Aws::String, Aws::String>>
190 template <
typename Endpo
intsKeyT = Aws::String,
typename Endpo
intsValueT = Aws::String>
192 m_endpointsHasBeenSet =
true;
193 m_endpoints.emplace(std::forward<EndpointsKeyT>(key), std::forward<EndpointsValueT>(value));
207 m_processingHasBeenSet =
true;
208 m_processing = value;
225 m_upgradeProcessingHasBeenSet =
true;
226 m_upgradeProcessing = value;
238 template <
typename ElasticsearchVersionT = Aws::String>
240 m_elasticsearchVersionHasBeenSet =
true;
241 m_elasticsearchVersion = std::forward<ElasticsearchVersionT>(value);
243 template <
typename ElasticsearchVersionT = Aws::String>
256 template <
typename ElasticsearchClusterConfigT = ElasticsearchClusterConfig>
258 m_elasticsearchClusterConfigHasBeenSet =
true;
259 m_elasticsearchClusterConfig = std::forward<ElasticsearchClusterConfigT>(value);
261 template <
typename ElasticsearchClusterConfigT = ElasticsearchClusterConfig>
276 template <
typename EBSOptionsT = EBSOptions>
278 m_eBSOptionsHasBeenSet =
true;
279 m_eBSOptions = std::forward<EBSOptionsT>(value);
281 template <
typename EBSOptionsT = EBSOptions>
294 template <
typename AccessPoliciesT = Aws::String>
296 m_accessPoliciesHasBeenSet =
true;
297 m_accessPolicies = std::forward<AccessPoliciesT>(value);
299 template <
typename AccessPoliciesT = Aws::String>
312 template <
typename SnapshotOptionsT = SnapshotOptions>
314 m_snapshotOptionsHasBeenSet =
true;
315 m_snapshotOptions = std::forward<SnapshotOptionsT>(value);
317 template <
typename SnapshotOptionsT = SnapshotOptions>
333 template <
typename VPCOptionsT = VPCDerivedInfo>
335 m_vPCOptionsHasBeenSet =
true;
336 m_vPCOptions = std::forward<VPCOptionsT>(value);
338 template <
typename VPCOptionsT = VPCDerivedInfo>
354 template <
typename CognitoOptionsT = CognitoOptions>
356 m_cognitoOptionsHasBeenSet =
true;
357 m_cognitoOptions = std::forward<CognitoOptionsT>(value);
359 template <
typename CognitoOptionsT = CognitoOptions>
372 template <
typename EncryptionAtRestOptionsT = EncryptionAtRestOptions>
374 m_encryptionAtRestOptionsHasBeenSet =
true;
375 m_encryptionAtRestOptions = std::forward<EncryptionAtRestOptionsT>(value);
377 template <
typename EncryptionAtRestOptionsT = EncryptionAtRestOptions>
390 template <
typename NodeToNodeEncryptionOptionsT = NodeToNodeEncryptionOptions>
392 m_nodeToNodeEncryptionOptionsHasBeenSet =
true;
393 m_nodeToNodeEncryptionOptions = std::forward<NodeToNodeEncryptionOptionsT>(value);
395 template <
typename NodeToNodeEncryptionOptionsT = NodeToNodeEncryptionOptions>
408 template <
typename AdvancedOptionsT = Aws::Map<Aws::String, Aws::String>>
410 m_advancedOptionsHasBeenSet =
true;
411 m_advancedOptions = std::forward<AdvancedOptionsT>(value);
413 template <
typename AdvancedOptionsT = Aws::Map<Aws::String, Aws::String>>
418 template <
typename AdvancedOptionsKeyT = Aws::String,
typename AdvancedOptionsValueT = Aws::String>
420 m_advancedOptionsHasBeenSet =
true;
421 m_advancedOptions.emplace(std::forward<AdvancedOptionsKeyT>(key), std::forward<AdvancedOptionsValueT>(value));
432 template <
typename LogPublishingOptionsT = Aws::Map<LogType, LogPublishingOption>>
434 m_logPublishingOptionsHasBeenSet =
true;
435 m_logPublishingOptions = std::forward<LogPublishingOptionsT>(value);
437 template <
typename LogPublishingOptionsT = Aws::Map<LogType, LogPublishingOption>>
443 m_logPublishingOptionsHasBeenSet =
true;
444 m_logPublishingOptions.emplace(key, value);
455 template <
typename ServiceSoftwareOptionsT = ServiceSoftwareOptions>
457 m_serviceSoftwareOptionsHasBeenSet =
true;
458 m_serviceSoftwareOptions = std::forward<ServiceSoftwareOptionsT>(value);
460 template <
typename ServiceSoftwareOptionsT = ServiceSoftwareOptions>
473 template <
typename DomainEndpo
intOptionsT = DomainEndpo
intOptions>
475 m_domainEndpointOptionsHasBeenSet =
true;
476 m_domainEndpointOptions = std::forward<DomainEndpointOptionsT>(value);
478 template <
typename DomainEndpo
intOptionsT = DomainEndpo
intOptions>
492 template <
typename AdvancedSecurityOptionsT = AdvancedSecurityOptions>
494 m_advancedSecurityOptionsHasBeenSet =
true;
495 m_advancedSecurityOptions = std::forward<AdvancedSecurityOptionsT>(value);
497 template <
typename AdvancedSecurityOptionsT = AdvancedSecurityOptions>
510 template <
typename AutoTuneOptionsT = AutoTuneOptionsOutput>
512 m_autoTuneOptionsHasBeenSet =
true;
513 m_autoTuneOptions = std::forward<AutoTuneOptionsT>(value);
515 template <
typename AutoTuneOptionsT = AutoTuneOptionsOutput>
528 template <
typename ChangeProgressDetailsT = ChangeProgressDetails>
530 m_changeProgressDetailsHasBeenSet =
true;
531 m_changeProgressDetails = std::forward<ChangeProgressDetailsT>(value);
533 template <
typename ChangeProgressDetailsT = ChangeProgressDetails>
547 m_domainProcessingStatusHasBeenSet =
true;
548 m_domainProcessingStatus = value;
563 template <
typename ModifyingPropertiesT = Aws::Vector<ModifyingProperties>>
565 m_modifyingPropertiesHasBeenSet =
true;
566 m_modifyingProperties = std::forward<ModifyingPropertiesT>(value);
568 template <
typename ModifyingPropertiesT = Aws::Vector<ModifyingProperties>>
573 template <
typename ModifyingPropertiesT = ModifyingProperties>
575 m_modifyingPropertiesHasBeenSet =
true;
576 m_modifyingProperties.emplace_back(std::forward<ModifyingPropertiesT>(value));
588 template <
typename DeploymentStrategyOptionsT = DeploymentStrategyOptions>
590 m_deploymentStrategyOptionsHasBeenSet =
true;
591 m_deploymentStrategyOptions = std::forward<DeploymentStrategyOptionsT>(value);
593 template <
typename DeploymentStrategyOptionsT = DeploymentStrategyOptions>
607 template <
typename AutomatedSnapshotPauseOptionsT = AutomatedSnapshotPauseOptions>
609 m_automatedSnapshotPauseOptionsHasBeenSet =
true;
610 m_automatedSnapshotPauseOptions = std::forward<AutomatedSnapshotPauseOptionsT>(value);
612 template <
typename AutomatedSnapshotPauseOptionsT = AutomatedSnapshotPauseOptions>
626 m_useCaseHasBeenSet =
true;
642 m_engineModeHasBeenSet =
true;
643 m_engineMode = value;
657 bool m_created{
false};
659 bool m_deleted{
false};
665 bool m_processing{
false};
667 bool m_upgradeProcessing{
false};
671 ElasticsearchClusterConfig m_elasticsearchClusterConfig;
673 EBSOptions m_eBSOptions;
677 SnapshotOptions m_snapshotOptions;
679 VPCDerivedInfo m_vPCOptions;
681 CognitoOptions m_cognitoOptions;
683 EncryptionAtRestOptions m_encryptionAtRestOptions;
685 NodeToNodeEncryptionOptions m_nodeToNodeEncryptionOptions;
691 ServiceSoftwareOptions m_serviceSoftwareOptions;
693 DomainEndpointOptions m_domainEndpointOptions;
695 AdvancedSecurityOptions m_advancedSecurityOptions;
697 AutoTuneOptionsOutput m_autoTuneOptions;
699 ChangeProgressDetails m_changeProgressDetails;
705 DeploymentStrategyOptions m_deploymentStrategyOptions;
707 AutomatedSnapshotPauseOptions m_automatedSnapshotPauseOptions;
712 bool m_domainIdHasBeenSet =
false;
713 bool m_domainNameHasBeenSet =
false;
714 bool m_aRNHasBeenSet =
false;
715 bool m_createdHasBeenSet =
false;
716 bool m_deletedHasBeenSet =
false;
717 bool m_endpointHasBeenSet =
false;
718 bool m_endpointsHasBeenSet =
false;
719 bool m_processingHasBeenSet =
false;
720 bool m_upgradeProcessingHasBeenSet =
false;
721 bool m_elasticsearchVersionHasBeenSet =
false;
722 bool m_elasticsearchClusterConfigHasBeenSet =
false;
723 bool m_eBSOptionsHasBeenSet =
false;
724 bool m_accessPoliciesHasBeenSet =
false;
725 bool m_snapshotOptionsHasBeenSet =
false;
726 bool m_vPCOptionsHasBeenSet =
false;
727 bool m_cognitoOptionsHasBeenSet =
false;
728 bool m_encryptionAtRestOptionsHasBeenSet =
false;
729 bool m_nodeToNodeEncryptionOptionsHasBeenSet =
false;
730 bool m_advancedOptionsHasBeenSet =
false;
731 bool m_logPublishingOptionsHasBeenSet =
false;
732 bool m_serviceSoftwareOptionsHasBeenSet =
false;
733 bool m_domainEndpointOptionsHasBeenSet =
false;
734 bool m_advancedSecurityOptionsHasBeenSet =
false;
735 bool m_autoTuneOptionsHasBeenSet =
false;
736 bool m_changeProgressDetailsHasBeenSet =
false;
737 bool m_domainProcessingStatusHasBeenSet =
false;
738 bool m_modifyingPropertiesHasBeenSet =
false;
739 bool m_deploymentStrategyOptionsHasBeenSet =
false;
740 bool m_automatedSnapshotPauseOptionsHasBeenSet =
false;
741 bool m_useCaseHasBeenSet =
false;
742 bool m_engineModeHasBeenSet =
false;
const SnapshotOptions & GetSnapshotOptions() const
ElasticsearchDomainStatus & AddAdvancedOptions(AdvancedOptionsKeyT &&key, AdvancedOptionsValueT &&value)
DomainProcessingStatusType GetDomainProcessingStatus() const
bool AccessPoliciesHasBeenSet() const
bool ServiceSoftwareOptionsHasBeenSet() const
const Aws::String & GetARN() const
ElasticsearchDomainStatus & AddLogPublishingOptions(LogType key, LogPublishingOption value)
void SetNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsT &&value)
ElasticsearchDomainStatus & WithElasticsearchClusterConfig(ElasticsearchClusterConfigT &&value)
ElasticsearchDomainStatus & WithAdvancedSecurityOptions(AdvancedSecurityOptionsT &&value)
ElasticsearchDomainStatus & WithServiceSoftwareOptions(ServiceSoftwareOptionsT &&value)
void SetEncryptionAtRestOptions(EncryptionAtRestOptionsT &&value)
void SetAdvancedSecurityOptions(AdvancedSecurityOptionsT &&value)
bool DomainProcessingStatusHasBeenSet() const
AWS_ELASTICSEARCHSERVICE_API ElasticsearchDomainStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CreatedHasBeenSet() const
ElasticsearchDomainStatus & WithElasticsearchVersion(ElasticsearchVersionT &&value)
const DeploymentStrategyOptions & GetDeploymentStrategyOptions() const
const ServiceSoftwareOptions & GetServiceSoftwareOptions() const
ElasticsearchDomainStatus & WithEBSOptions(EBSOptionsT &&value)
ElasticsearchDomainStatus & WithEndpoint(EndpointT &&value)
void SetDeleted(bool value)
bool EndpointHasBeenSet() const
ElasticsearchDomainStatus & WithAccessPolicies(AccessPoliciesT &&value)
void SetUpgradeProcessing(bool value)
bool EBSOptionsHasBeenSet() const
void SetAutomatedSnapshotPauseOptions(AutomatedSnapshotPauseOptionsT &&value)
void SetProcessing(bool value)
ElasticsearchDomainStatus & WithDeleted(bool value)
bool ElasticsearchClusterConfigHasBeenSet() const
bool GetUpgradeProcessing() const
const AutoTuneOptionsOutput & GetAutoTuneOptions() const
ElasticsearchDomainStatus & WithEncryptionAtRestOptions(EncryptionAtRestOptionsT &&value)
void SetDomainId(DomainIdT &&value)
const DomainEndpointOptions & GetDomainEndpointOptions() const
bool ProcessingHasBeenSet() const
ElasticsearchDomainStatus & WithAutoTuneOptions(AutoTuneOptionsT &&value)
bool EngineModeHasBeenSet() const
ElasticsearchDomainStatus & WithARN(ARNT &&value)
ElasticsearchDomainStatus & WithChangeProgressDetails(ChangeProgressDetailsT &&value)
const EncryptionAtRestOptions & GetEncryptionAtRestOptions() const
ElasticsearchDomainStatus & WithCognitoOptions(CognitoOptionsT &&value)
ElasticsearchDomainStatus & WithDeploymentStrategyOptions(DeploymentStrategyOptionsT &&value)
const Aws::String & GetEndpoint() const
ElasticsearchDomainStatus & WithDomainId(DomainIdT &&value)
bool UpgradeProcessingHasBeenSet() const
bool ElasticsearchVersionHasBeenSet() const
const NodeToNodeEncryptionOptions & GetNodeToNodeEncryptionOptions() const
AWS_ELASTICSEARCHSERVICE_API ElasticsearchDomainStatus(Aws::Utils::Json::JsonView jsonValue)
bool SnapshotOptionsHasBeenSet() const
bool LogPublishingOptionsHasBeenSet() const
void SetChangeProgressDetails(ChangeProgressDetailsT &&value)
const ChangeProgressDetails & GetChangeProgressDetails() const
DomainEngineMode GetEngineMode() const
void SetSnapshotOptions(SnapshotOptionsT &&value)
bool EndpointsHasBeenSet() const
void SetUseCase(DomainUseCase value)
bool ARNHasBeenSet() const
ElasticsearchDomainStatus & WithDomainEndpointOptions(DomainEndpointOptionsT &&value)
void SetCognitoOptions(CognitoOptionsT &&value)
ElasticsearchDomainStatus & WithDomainName(DomainNameT &&value)
bool UseCaseHasBeenSet() const
bool GetProcessing() const
const AdvancedSecurityOptions & GetAdvancedSecurityOptions() const
bool CognitoOptionsHasBeenSet() const
bool ModifyingPropertiesHasBeenSet() const
void SetAccessPolicies(AccessPoliciesT &&value)
void SetEndpoint(EndpointT &&value)
const EBSOptions & GetEBSOptions() const
void SetEndpoints(EndpointsT &&value)
const Aws::String & GetElasticsearchVersion() const
ElasticsearchDomainStatus & WithLogPublishingOptions(LogPublishingOptionsT &&value)
bool EncryptionAtRestOptionsHasBeenSet() const
void SetElasticsearchClusterConfig(ElasticsearchClusterConfigT &&value)
void SetDomainEndpointOptions(DomainEndpointOptionsT &&value)
ElasticsearchDomainStatus & WithEngineMode(DomainEngineMode value)
bool DeploymentStrategyOptionsHasBeenSet() const
AWS_ELASTICSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
bool DomainNameHasBeenSet() const
ElasticsearchDomainStatus & AddEndpoints(EndpointsKeyT &&key, EndpointsValueT &&value)
ElasticsearchDomainStatus & WithUpgradeProcessing(bool value)
void SetDomainProcessingStatus(DomainProcessingStatusType value)
ElasticsearchDomainStatus & WithNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsT &&value)
const Aws::String & GetDomainId() const
void SetAdvancedOptions(AdvancedOptionsT &&value)
const Aws::Map< LogType, LogPublishingOption > & GetLogPublishingOptions() const
void SetDomainName(DomainNameT &&value)
ElasticsearchDomainStatus & WithVPCOptions(VPCOptionsT &&value)
ElasticsearchDomainStatus & WithSnapshotOptions(SnapshotOptionsT &&value)
bool DeletedHasBeenSet() const
ElasticsearchDomainStatus & AddModifyingProperties(ModifyingPropertiesT &&value)
void SetEBSOptions(EBSOptionsT &&value)
const CognitoOptions & GetCognitoOptions() const
void SetModifyingProperties(ModifyingPropertiesT &&value)
bool ChangeProgressDetailsHasBeenSet() const
void SetARN(ARNT &&value)
ElasticsearchDomainStatus & WithUseCase(DomainUseCase value)
const Aws::String & GetAccessPolicies() const
ElasticsearchDomainStatus & WithEndpoints(EndpointsT &&value)
bool AutomatedSnapshotPauseOptionsHasBeenSet() const
const VPCDerivedInfo & GetVPCOptions() const
bool AdvancedOptionsHasBeenSet() const
bool AdvancedSecurityOptionsHasBeenSet() const
void SetEngineMode(DomainEngineMode value)
void SetServiceSoftwareOptions(ServiceSoftwareOptionsT &&value)
void SetLogPublishingOptions(LogPublishingOptionsT &&value)
DomainUseCase GetUseCase() const
const Aws::String & GetDomainName() const
void SetElasticsearchVersion(ElasticsearchVersionT &&value)
bool NodeToNodeEncryptionOptionsHasBeenSet() const
bool AutoTuneOptionsHasBeenSet() const
ElasticsearchDomainStatus & WithAdvancedOptions(AdvancedOptionsT &&value)
const AutomatedSnapshotPauseOptions & GetAutomatedSnapshotPauseOptions() const
ElasticsearchDomainStatus & WithAutomatedSnapshotPauseOptions(AutomatedSnapshotPauseOptionsT &&value)
const ElasticsearchClusterConfig & GetElasticsearchClusterConfig() const
void SetDeploymentStrategyOptions(DeploymentStrategyOptionsT &&value)
void SetVPCOptions(VPCOptionsT &&value)
ElasticsearchDomainStatus & WithModifyingProperties(ModifyingPropertiesT &&value)
void SetCreated(bool value)
const Aws::Map< Aws::String, Aws::String > & GetAdvancedOptions() const
const Aws::Vector< ModifyingProperties > & GetModifyingProperties() const
bool VPCOptionsHasBeenSet() const
ElasticsearchDomainStatus & WithCreated(bool value)
void SetAutoTuneOptions(AutoTuneOptionsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetEndpoints() const
bool DomainEndpointOptionsHasBeenSet() const
AWS_ELASTICSEARCHSERVICE_API ElasticsearchDomainStatus()=default
ElasticsearchDomainStatus & WithProcessing(bool value)
bool DomainIdHasBeenSet() const
ElasticsearchDomainStatus & WithDomainProcessingStatus(DomainProcessingStatusType value)
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