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/DomainProcessingStatusType.h>
19#include <aws/es/model/EBSOptions.h>
20#include <aws/es/model/ElasticsearchClusterConfig.h>
21#include <aws/es/model/EncryptionAtRestOptions.h>
22#include <aws/es/model/LogPublishingOption.h>
23#include <aws/es/model/LogType.h>
24#include <aws/es/model/ModifyingProperties.h>
25#include <aws/es/model/NodeToNodeEncryptionOptions.h>
26#include <aws/es/model/ServiceSoftwareOptions.h>
27#include <aws/es/model/SnapshotOptions.h>
28#include <aws/es/model/VPCDerivedInfo.h>
39namespace ElasticsearchService {
60 template <
typename DomainIdT = Aws::String>
62 m_domainIdHasBeenSet =
true;
63 m_domainId = std::forward<DomainIdT>(value);
65 template <
typename DomainIdT = Aws::String>
81 template <
typename DomainNameT = Aws::String>
83 m_domainNameHasBeenSet =
true;
84 m_domainName = std::forward<DomainNameT>(value);
86 template <
typename DomainNameT = Aws::String>
102 template <
typename ARNT = Aws::String>
104 m_aRNHasBeenSet =
true;
105 m_aRN = std::forward<ARNT>(value);
107 template <
typename ARNT = Aws::String>
109 SetARN(std::forward<ARNT>(value));
123 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>
178 template <
typename Endpo
intsT = Aws::Map<Aws::String, Aws::String>>
180 m_endpointsHasBeenSet =
true;
181 m_endpoints = std::forward<EndpointsT>(value);
183 template <
typename Endpo
intsT = Aws::Map<Aws::String, Aws::String>>
188 template <
typename Endpo
intsKeyT = Aws::String,
typename Endpo
intsValueT = Aws::String>
190 m_endpointsHasBeenSet =
true;
191 m_endpoints.emplace(std::forward<EndpointsKeyT>(key), std::forward<EndpointsValueT>(value));
205 m_processingHasBeenSet =
true;
206 m_processing = value;
223 m_upgradeProcessingHasBeenSet =
true;
224 m_upgradeProcessing = value;
236 template <
typename ElasticsearchVersionT = Aws::String>
238 m_elasticsearchVersionHasBeenSet =
true;
239 m_elasticsearchVersion = std::forward<ElasticsearchVersionT>(value);
241 template <
typename ElasticsearchVersionT = Aws::String>
254 template <
typename ElasticsearchClusterConfigT = ElasticsearchClusterConfig>
256 m_elasticsearchClusterConfigHasBeenSet =
true;
257 m_elasticsearchClusterConfig = std::forward<ElasticsearchClusterConfigT>(value);
259 template <
typename ElasticsearchClusterConfigT = ElasticsearchClusterConfig>
274 template <
typename EBSOptionsT = EBSOptions>
276 m_eBSOptionsHasBeenSet =
true;
277 m_eBSOptions = std::forward<EBSOptionsT>(value);
279 template <
typename EBSOptionsT = EBSOptions>
292 template <
typename AccessPoliciesT = Aws::String>
294 m_accessPoliciesHasBeenSet =
true;
295 m_accessPolicies = std::forward<AccessPoliciesT>(value);
297 template <
typename AccessPoliciesT = Aws::String>
310 template <
typename SnapshotOptionsT = SnapshotOptions>
312 m_snapshotOptionsHasBeenSet =
true;
313 m_snapshotOptions = std::forward<SnapshotOptionsT>(value);
315 template <
typename SnapshotOptionsT = SnapshotOptions>
331 template <
typename VPCOptionsT = VPCDerivedInfo>
333 m_vPCOptionsHasBeenSet =
true;
334 m_vPCOptions = std::forward<VPCOptionsT>(value);
336 template <
typename VPCOptionsT = VPCDerivedInfo>
352 template <
typename CognitoOptionsT = CognitoOptions>
354 m_cognitoOptionsHasBeenSet =
true;
355 m_cognitoOptions = std::forward<CognitoOptionsT>(value);
357 template <
typename CognitoOptionsT = CognitoOptions>
370 template <
typename EncryptionAtRestOptionsT = EncryptionAtRestOptions>
372 m_encryptionAtRestOptionsHasBeenSet =
true;
373 m_encryptionAtRestOptions = std::forward<EncryptionAtRestOptionsT>(value);
375 template <
typename EncryptionAtRestOptionsT = EncryptionAtRestOptions>
388 template <
typename NodeToNodeEncryptionOptionsT = NodeToNodeEncryptionOptions>
390 m_nodeToNodeEncryptionOptionsHasBeenSet =
true;
391 m_nodeToNodeEncryptionOptions = std::forward<NodeToNodeEncryptionOptionsT>(value);
393 template <
typename NodeToNodeEncryptionOptionsT = NodeToNodeEncryptionOptions>
406 template <
typename AdvancedOptionsT = Aws::Map<Aws::String, Aws::String>>
408 m_advancedOptionsHasBeenSet =
true;
409 m_advancedOptions = std::forward<AdvancedOptionsT>(value);
411 template <
typename AdvancedOptionsT = Aws::Map<Aws::String, Aws::String>>
416 template <
typename AdvancedOptionsKeyT = Aws::String,
typename AdvancedOptionsValueT = Aws::String>
418 m_advancedOptionsHasBeenSet =
true;
419 m_advancedOptions.emplace(std::forward<AdvancedOptionsKeyT>(key), std::forward<AdvancedOptionsValueT>(value));
430 template <
typename LogPublishingOptionsT = Aws::Map<LogType, LogPublishingOption>>
432 m_logPublishingOptionsHasBeenSet =
true;
433 m_logPublishingOptions = std::forward<LogPublishingOptionsT>(value);
435 template <
typename LogPublishingOptionsT = Aws::Map<LogType, LogPublishingOption>>
441 m_logPublishingOptionsHasBeenSet =
true;
442 m_logPublishingOptions.emplace(key, value);
453 template <
typename ServiceSoftwareOptionsT = ServiceSoftwareOptions>
455 m_serviceSoftwareOptionsHasBeenSet =
true;
456 m_serviceSoftwareOptions = std::forward<ServiceSoftwareOptionsT>(value);
458 template <
typename ServiceSoftwareOptionsT = ServiceSoftwareOptions>
471 template <
typename DomainEndpo
intOptionsT = DomainEndpo
intOptions>
473 m_domainEndpointOptionsHasBeenSet =
true;
474 m_domainEndpointOptions = std::forward<DomainEndpointOptionsT>(value);
476 template <
typename DomainEndpo
intOptionsT = DomainEndpo
intOptions>
490 template <
typename AdvancedSecurityOptionsT = AdvancedSecurityOptions>
492 m_advancedSecurityOptionsHasBeenSet =
true;
493 m_advancedSecurityOptions = std::forward<AdvancedSecurityOptionsT>(value);
495 template <
typename AdvancedSecurityOptionsT = AdvancedSecurityOptions>
508 template <
typename AutoTuneOptionsT = AutoTuneOptionsOutput>
510 m_autoTuneOptionsHasBeenSet =
true;
511 m_autoTuneOptions = std::forward<AutoTuneOptionsT>(value);
513 template <
typename AutoTuneOptionsT = AutoTuneOptionsOutput>
526 template <
typename ChangeProgressDetailsT = ChangeProgressDetails>
528 m_changeProgressDetailsHasBeenSet =
true;
529 m_changeProgressDetails = std::forward<ChangeProgressDetailsT>(value);
531 template <
typename ChangeProgressDetailsT = ChangeProgressDetails>
545 m_domainProcessingStatusHasBeenSet =
true;
546 m_domainProcessingStatus = value;
561 template <
typename ModifyingPropertiesT = Aws::Vector<ModifyingProperties>>
563 m_modifyingPropertiesHasBeenSet =
true;
564 m_modifyingProperties = std::forward<ModifyingPropertiesT>(value);
566 template <
typename ModifyingPropertiesT = Aws::Vector<ModifyingProperties>>
571 template <
typename ModifyingPropertiesT = ModifyingProperties>
573 m_modifyingPropertiesHasBeenSet =
true;
574 m_modifyingProperties.emplace_back(std::forward<ModifyingPropertiesT>(value));
586 template <
typename DeploymentStrategyOptionsT = DeploymentStrategyOptions>
588 m_deploymentStrategyOptionsHasBeenSet =
true;
589 m_deploymentStrategyOptions = std::forward<DeploymentStrategyOptionsT>(value);
591 template <
typename DeploymentStrategyOptionsT = DeploymentStrategyOptions>
605 template <
typename AutomatedSnapshotPauseOptionsT = AutomatedSnapshotPauseOptions>
607 m_automatedSnapshotPauseOptionsHasBeenSet =
true;
608 m_automatedSnapshotPauseOptions = std::forward<AutomatedSnapshotPauseOptionsT>(value);
610 template <
typename AutomatedSnapshotPauseOptionsT = AutomatedSnapshotPauseOptions>
623 bool m_created{
false};
625 bool m_deleted{
false};
631 bool m_processing{
false};
633 bool m_upgradeProcessing{
false};
637 ElasticsearchClusterConfig m_elasticsearchClusterConfig;
639 EBSOptions m_eBSOptions;
643 SnapshotOptions m_snapshotOptions;
645 VPCDerivedInfo m_vPCOptions;
647 CognitoOptions m_cognitoOptions;
649 EncryptionAtRestOptions m_encryptionAtRestOptions;
651 NodeToNodeEncryptionOptions m_nodeToNodeEncryptionOptions;
657 ServiceSoftwareOptions m_serviceSoftwareOptions;
659 DomainEndpointOptions m_domainEndpointOptions;
661 AdvancedSecurityOptions m_advancedSecurityOptions;
663 AutoTuneOptionsOutput m_autoTuneOptions;
665 ChangeProgressDetails m_changeProgressDetails;
671 DeploymentStrategyOptions m_deploymentStrategyOptions;
673 AutomatedSnapshotPauseOptions m_automatedSnapshotPauseOptions;
674 bool m_domainIdHasBeenSet =
false;
675 bool m_domainNameHasBeenSet =
false;
676 bool m_aRNHasBeenSet =
false;
677 bool m_createdHasBeenSet =
false;
678 bool m_deletedHasBeenSet =
false;
679 bool m_endpointHasBeenSet =
false;
680 bool m_endpointsHasBeenSet =
false;
681 bool m_processingHasBeenSet =
false;
682 bool m_upgradeProcessingHasBeenSet =
false;
683 bool m_elasticsearchVersionHasBeenSet =
false;
684 bool m_elasticsearchClusterConfigHasBeenSet =
false;
685 bool m_eBSOptionsHasBeenSet =
false;
686 bool m_accessPoliciesHasBeenSet =
false;
687 bool m_snapshotOptionsHasBeenSet =
false;
688 bool m_vPCOptionsHasBeenSet =
false;
689 bool m_cognitoOptionsHasBeenSet =
false;
690 bool m_encryptionAtRestOptionsHasBeenSet =
false;
691 bool m_nodeToNodeEncryptionOptionsHasBeenSet =
false;
692 bool m_advancedOptionsHasBeenSet =
false;
693 bool m_logPublishingOptionsHasBeenSet =
false;
694 bool m_serviceSoftwareOptionsHasBeenSet =
false;
695 bool m_domainEndpointOptionsHasBeenSet =
false;
696 bool m_advancedSecurityOptionsHasBeenSet =
false;
697 bool m_autoTuneOptionsHasBeenSet =
false;
698 bool m_changeProgressDetailsHasBeenSet =
false;
699 bool m_domainProcessingStatusHasBeenSet =
false;
700 bool m_modifyingPropertiesHasBeenSet =
false;
701 bool m_deploymentStrategyOptionsHasBeenSet =
false;
702 bool m_automatedSnapshotPauseOptionsHasBeenSet =
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)
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
void SetSnapshotOptions(SnapshotOptionsT &&value)
bool EndpointsHasBeenSet() const
bool ARNHasBeenSet() const
ElasticsearchDomainStatus & WithDomainEndpointOptions(DomainEndpointOptionsT &&value)
void SetCognitoOptions(CognitoOptionsT &&value)
ElasticsearchDomainStatus & WithDomainName(DomainNameT &&value)
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)
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)
const Aws::String & GetAccessPolicies() const
ElasticsearchDomainStatus & WithEndpoints(EndpointsT &&value)
bool AutomatedSnapshotPauseOptionsHasBeenSet() const
const VPCDerivedInfo & GetVPCOptions() const
bool AdvancedOptionsHasBeenSet() const
bool AdvancedSecurityOptionsHasBeenSet() const
void SetServiceSoftwareOptions(ServiceSoftwareOptionsT &&value)
void SetLogPublishingOptions(LogPublishingOptionsT &&value)
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