AWS SDK for C++

AWS SDK for C++ Version 1.11.816

Loading...
Searching...
No Matches
DomainStatus.h
1
6#pragma once
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/AutomatedSnapshotPauseOptions.h>
15#include <aws/opensearch/model/ChangeProgressDetails.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/DomainProcessingStatusType.h>
21#include <aws/opensearch/model/EBSOptions.h>
22#include <aws/opensearch/model/EncryptionAtRestOptions.h>
23#include <aws/opensearch/model/IPAddressType.h>
24#include <aws/opensearch/model/IdentityCenterOptions.h>
25#include <aws/opensearch/model/LogPublishingOption.h>
26#include <aws/opensearch/model/LogType.h>
27#include <aws/opensearch/model/ModifyingProperties.h>
28#include <aws/opensearch/model/NodeToNodeEncryptionOptions.h>
29#include <aws/opensearch/model/OffPeakWindowOptions.h>
30#include <aws/opensearch/model/ServiceSoftwareOptions.h>
31#include <aws/opensearch/model/SnapshotOptions.h>
32#include <aws/opensearch/model/SoftwareUpdateOptions.h>
33#include <aws/opensearch/model/VPCDerivedInfo.h>
34
35#include <utility>
36
37namespace Aws {
38namespace Utils {
39namespace Json {
40class JsonValue;
41class JsonView;
42} // namespace Json
43} // namespace Utils
44namespace OpenSearchService {
45namespace Model {
46
54 public:
55 AWS_OPENSEARCHSERVICE_API DomainStatus() = default;
56 AWS_OPENSEARCHSERVICE_API DomainStatus(Aws::Utils::Json::JsonView jsonValue);
57 AWS_OPENSEARCHSERVICE_API DomainStatus& operator=(Aws::Utils::Json::JsonView jsonValue);
58 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
59
61
64 inline const Aws::String& GetDomainId() const { return m_domainId; }
65 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
66 template <typename DomainIdT = Aws::String>
67 void SetDomainId(DomainIdT&& value) {
68 m_domainIdHasBeenSet = true;
69 m_domainId = std::forward<DomainIdT>(value);
70 }
71 template <typename DomainIdT = Aws::String>
72 DomainStatus& WithDomainId(DomainIdT&& value) {
73 SetDomainId(std::forward<DomainIdT>(value));
74 return *this;
75 }
77
79
83 inline const Aws::String& GetDomainName() const { return m_domainName; }
84 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
85 template <typename DomainNameT = Aws::String>
86 void SetDomainName(DomainNameT&& value) {
87 m_domainNameHasBeenSet = true;
88 m_domainName = std::forward<DomainNameT>(value);
89 }
90 template <typename DomainNameT = Aws::String>
91 DomainStatus& WithDomainName(DomainNameT&& value) {
92 SetDomainName(std::forward<DomainNameT>(value));
93 return *this;
94 }
96
98
104 inline const Aws::String& GetARN() const { return m_aRN; }
105 inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
106 template <typename ARNT = Aws::String>
107 void SetARN(ARNT&& value) {
108 m_aRNHasBeenSet = true;
109 m_aRN = std::forward<ARNT>(value);
110 }
111 template <typename ARNT = Aws::String>
112 DomainStatus& WithARN(ARNT&& value) {
113 SetARN(std::forward<ARNT>(value));
114 return *this;
115 }
117
119
123 inline bool GetCreated() const { return m_created; }
124 inline bool CreatedHasBeenSet() const { return m_createdHasBeenSet; }
125 inline void SetCreated(bool value) {
126 m_createdHasBeenSet = true;
127 m_created = value;
128 }
129 inline DomainStatus& WithCreated(bool value) {
130 SetCreated(value);
131 return *this;
132 }
134
136
141 inline bool GetDeleted() const { return m_deleted; }
142 inline bool DeletedHasBeenSet() const { return m_deletedHasBeenSet; }
143 inline void SetDeleted(bool value) {
144 m_deletedHasBeenSet = true;
145 m_deleted = value;
146 }
147 inline DomainStatus& WithDeleted(bool value) {
148 SetDeleted(value);
149 return *this;
150 }
152
154
158 inline const Aws::String& GetEndpoint() const { return m_endpoint; }
159 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
160 template <typename EndpointT = Aws::String>
161 void SetEndpoint(EndpointT&& value) {
162 m_endpointHasBeenSet = true;
163 m_endpoint = std::forward<EndpointT>(value);
164 }
165 template <typename EndpointT = Aws::String>
166 DomainStatus& WithEndpoint(EndpointT&& value) {
167 SetEndpoint(std::forward<EndpointT>(value));
168 return *this;
169 }
171
173
179 inline const Aws::String& GetEndpointV2() const { return m_endpointV2; }
180 inline bool EndpointV2HasBeenSet() const { return m_endpointV2HasBeenSet; }
181 template <typename EndpointV2T = Aws::String>
182 void SetEndpointV2(EndpointV2T&& value) {
183 m_endpointV2HasBeenSet = true;
184 m_endpointV2 = std::forward<EndpointV2T>(value);
185 }
186 template <typename EndpointV2T = Aws::String>
187 DomainStatus& WithEndpointV2(EndpointV2T&& value) {
188 SetEndpointV2(std::forward<EndpointV2T>(value));
189 return *this;
190 }
192
194
202 inline const Aws::Map<Aws::String, Aws::String>& GetEndpoints() const { return m_endpoints; }
203 inline bool EndpointsHasBeenSet() const { return m_endpointsHasBeenSet; }
204 template <typename EndpointsT = Aws::Map<Aws::String, Aws::String>>
205 void SetEndpoints(EndpointsT&& value) {
206 m_endpointsHasBeenSet = true;
207 m_endpoints = std::forward<EndpointsT>(value);
208 }
209 template <typename EndpointsT = Aws::Map<Aws::String, Aws::String>>
210 DomainStatus& WithEndpoints(EndpointsT&& value) {
211 SetEndpoints(std::forward<EndpointsT>(value));
212 return *this;
213 }
214 template <typename EndpointsKeyT = Aws::String, typename EndpointsValueT = Aws::String>
215 DomainStatus& AddEndpoints(EndpointsKeyT&& key, EndpointsValueT&& value) {
216 m_endpointsHasBeenSet = true;
217 m_endpoints.emplace(std::forward<EndpointsKeyT>(key), std::forward<EndpointsValueT>(value));
218 return *this;
219 }
221
223
226 inline const Aws::String& GetDomainEndpointV2HostedZoneId() const { return m_domainEndpointV2HostedZoneId; }
227 inline bool DomainEndpointV2HostedZoneIdHasBeenSet() const { return m_domainEndpointV2HostedZoneIdHasBeenSet; }
228 template <typename DomainEndpointV2HostedZoneIdT = Aws::String>
229 void SetDomainEndpointV2HostedZoneId(DomainEndpointV2HostedZoneIdT&& value) {
230 m_domainEndpointV2HostedZoneIdHasBeenSet = true;
231 m_domainEndpointV2HostedZoneId = std::forward<DomainEndpointV2HostedZoneIdT>(value);
232 }
233 template <typename DomainEndpointV2HostedZoneIdT = Aws::String>
234 DomainStatus& WithDomainEndpointV2HostedZoneId(DomainEndpointV2HostedZoneIdT&& value) {
235 SetDomainEndpointV2HostedZoneId(std::forward<DomainEndpointV2HostedZoneIdT>(value));
236 return *this;
237 }
239
241
245 inline bool GetProcessing() const { return m_processing; }
246 inline bool ProcessingHasBeenSet() const { return m_processingHasBeenSet; }
247 inline void SetProcessing(bool value) {
248 m_processingHasBeenSet = true;
249 m_processing = value;
250 }
251 inline DomainStatus& WithProcessing(bool value) {
252 SetProcessing(value);
253 return *this;
254 }
256
258
263 inline bool GetUpgradeProcessing() const { return m_upgradeProcessing; }
264 inline bool UpgradeProcessingHasBeenSet() const { return m_upgradeProcessingHasBeenSet; }
265 inline void SetUpgradeProcessing(bool value) {
266 m_upgradeProcessingHasBeenSet = true;
267 m_upgradeProcessing = value;
268 }
271 return *this;
272 }
274
276
280 inline const Aws::String& GetEngineVersion() const { return m_engineVersion; }
281 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
282 template <typename EngineVersionT = Aws::String>
283 void SetEngineVersion(EngineVersionT&& value) {
284 m_engineVersionHasBeenSet = true;
285 m_engineVersion = std::forward<EngineVersionT>(value);
286 }
287 template <typename EngineVersionT = Aws::String>
288 DomainStatus& WithEngineVersion(EngineVersionT&& value) {
289 SetEngineVersion(std::forward<EngineVersionT>(value));
290 return *this;
291 }
293
295
298 inline const ClusterConfig& GetClusterConfig() const { return m_clusterConfig; }
299 inline bool ClusterConfigHasBeenSet() const { return m_clusterConfigHasBeenSet; }
300 template <typename ClusterConfigT = ClusterConfig>
301 void SetClusterConfig(ClusterConfigT&& value) {
302 m_clusterConfigHasBeenSet = true;
303 m_clusterConfig = std::forward<ClusterConfigT>(value);
304 }
305 template <typename ClusterConfigT = ClusterConfig>
306 DomainStatus& WithClusterConfig(ClusterConfigT&& value) {
307 SetClusterConfig(std::forward<ClusterConfigT>(value));
308 return *this;
309 }
311
313
316 inline const EBSOptions& GetEBSOptions() const { return m_eBSOptions; }
317 inline bool EBSOptionsHasBeenSet() const { return m_eBSOptionsHasBeenSet; }
318 template <typename EBSOptionsT = EBSOptions>
319 void SetEBSOptions(EBSOptionsT&& value) {
320 m_eBSOptionsHasBeenSet = true;
321 m_eBSOptions = std::forward<EBSOptionsT>(value);
322 }
323 template <typename EBSOptionsT = EBSOptions>
324 DomainStatus& WithEBSOptions(EBSOptionsT&& value) {
325 SetEBSOptions(std::forward<EBSOptionsT>(value));
326 return *this;
327 }
329
331
335 inline const Aws::String& GetAccessPolicies() const { return m_accessPolicies; }
336 inline bool AccessPoliciesHasBeenSet() const { return m_accessPoliciesHasBeenSet; }
337 template <typename AccessPoliciesT = Aws::String>
338 void SetAccessPolicies(AccessPoliciesT&& value) {
339 m_accessPoliciesHasBeenSet = true;
340 m_accessPolicies = std::forward<AccessPoliciesT>(value);
341 }
342 template <typename AccessPoliciesT = Aws::String>
343 DomainStatus& WithAccessPolicies(AccessPoliciesT&& value) {
344 SetAccessPolicies(std::forward<AccessPoliciesT>(value));
345 return *this;
346 }
348
350
353 inline IPAddressType GetIPAddressType() const { return m_iPAddressType; }
354 inline bool IPAddressTypeHasBeenSet() const { return m_iPAddressTypeHasBeenSet; }
355 inline void SetIPAddressType(IPAddressType value) {
356 m_iPAddressTypeHasBeenSet = true;
357 m_iPAddressType = value;
358 }
360 SetIPAddressType(value);
361 return *this;
362 }
364
366
370 inline const SnapshotOptions& GetSnapshotOptions() const { return m_snapshotOptions; }
371 inline bool SnapshotOptionsHasBeenSet() const { return m_snapshotOptionsHasBeenSet; }
372 template <typename SnapshotOptionsT = SnapshotOptions>
373 void SetSnapshotOptions(SnapshotOptionsT&& value) {
374 m_snapshotOptionsHasBeenSet = true;
375 m_snapshotOptions = std::forward<SnapshotOptionsT>(value);
376 }
377 template <typename SnapshotOptionsT = SnapshotOptions>
378 DomainStatus& WithSnapshotOptions(SnapshotOptionsT&& value) {
379 SetSnapshotOptions(std::forward<SnapshotOptionsT>(value));
380 return *this;
381 }
383
385
388 inline const VPCDerivedInfo& GetVPCOptions() const { return m_vPCOptions; }
389 inline bool VPCOptionsHasBeenSet() const { return m_vPCOptionsHasBeenSet; }
390 template <typename VPCOptionsT = VPCDerivedInfo>
391 void SetVPCOptions(VPCOptionsT&& value) {
392 m_vPCOptionsHasBeenSet = true;
393 m_vPCOptions = std::forward<VPCOptionsT>(value);
394 }
395 template <typename VPCOptionsT = VPCDerivedInfo>
396 DomainStatus& WithVPCOptions(VPCOptionsT&& value) {
397 SetVPCOptions(std::forward<VPCOptionsT>(value));
398 return *this;
399 }
401
403
407 inline const CognitoOptions& GetCognitoOptions() const { return m_cognitoOptions; }
408 inline bool CognitoOptionsHasBeenSet() const { return m_cognitoOptionsHasBeenSet; }
409 template <typename CognitoOptionsT = CognitoOptions>
410 void SetCognitoOptions(CognitoOptionsT&& value) {
411 m_cognitoOptionsHasBeenSet = true;
412 m_cognitoOptions = std::forward<CognitoOptionsT>(value);
413 }
414 template <typename CognitoOptionsT = CognitoOptions>
415 DomainStatus& WithCognitoOptions(CognitoOptionsT&& value) {
416 SetCognitoOptions(std::forward<CognitoOptionsT>(value));
417 return *this;
418 }
420
422
425 inline const EncryptionAtRestOptions& GetEncryptionAtRestOptions() const { return m_encryptionAtRestOptions; }
426 inline bool EncryptionAtRestOptionsHasBeenSet() const { return m_encryptionAtRestOptionsHasBeenSet; }
427 template <typename EncryptionAtRestOptionsT = EncryptionAtRestOptions>
428 void SetEncryptionAtRestOptions(EncryptionAtRestOptionsT&& value) {
429 m_encryptionAtRestOptionsHasBeenSet = true;
430 m_encryptionAtRestOptions = std::forward<EncryptionAtRestOptionsT>(value);
431 }
432 template <typename EncryptionAtRestOptionsT = EncryptionAtRestOptions>
433 DomainStatus& WithEncryptionAtRestOptions(EncryptionAtRestOptionsT&& value) {
434 SetEncryptionAtRestOptions(std::forward<EncryptionAtRestOptionsT>(value));
435 return *this;
436 }
438
440
443 inline const NodeToNodeEncryptionOptions& GetNodeToNodeEncryptionOptions() const { return m_nodeToNodeEncryptionOptions; }
444 inline bool NodeToNodeEncryptionOptionsHasBeenSet() const { return m_nodeToNodeEncryptionOptionsHasBeenSet; }
445 template <typename NodeToNodeEncryptionOptionsT = NodeToNodeEncryptionOptions>
446 void SetNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsT&& value) {
447 m_nodeToNodeEncryptionOptionsHasBeenSet = true;
448 m_nodeToNodeEncryptionOptions = std::forward<NodeToNodeEncryptionOptionsT>(value);
449 }
450 template <typename NodeToNodeEncryptionOptionsT = NodeToNodeEncryptionOptions>
451 DomainStatus& WithNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsT&& value) {
452 SetNodeToNodeEncryptionOptions(std::forward<NodeToNodeEncryptionOptionsT>(value));
453 return *this;
454 }
456
458
461 inline const Aws::Map<Aws::String, Aws::String>& GetAdvancedOptions() const { return m_advancedOptions; }
462 inline bool AdvancedOptionsHasBeenSet() const { return m_advancedOptionsHasBeenSet; }
463 template <typename AdvancedOptionsT = Aws::Map<Aws::String, Aws::String>>
464 void SetAdvancedOptions(AdvancedOptionsT&& value) {
465 m_advancedOptionsHasBeenSet = true;
466 m_advancedOptions = std::forward<AdvancedOptionsT>(value);
467 }
468 template <typename AdvancedOptionsT = Aws::Map<Aws::String, Aws::String>>
469 DomainStatus& WithAdvancedOptions(AdvancedOptionsT&& value) {
470 SetAdvancedOptions(std::forward<AdvancedOptionsT>(value));
471 return *this;
472 }
473 template <typename AdvancedOptionsKeyT = Aws::String, typename AdvancedOptionsValueT = Aws::String>
474 DomainStatus& AddAdvancedOptions(AdvancedOptionsKeyT&& key, AdvancedOptionsValueT&& value) {
475 m_advancedOptionsHasBeenSet = true;
476 m_advancedOptions.emplace(std::forward<AdvancedOptionsKeyT>(key), std::forward<AdvancedOptionsValueT>(value));
477 return *this;
478 }
480
482
485 inline const Aws::Map<LogType, LogPublishingOption>& GetLogPublishingOptions() const { return m_logPublishingOptions; }
486 inline bool LogPublishingOptionsHasBeenSet() const { return m_logPublishingOptionsHasBeenSet; }
487 template <typename LogPublishingOptionsT = Aws::Map<LogType, LogPublishingOption>>
488 void SetLogPublishingOptions(LogPublishingOptionsT&& value) {
489 m_logPublishingOptionsHasBeenSet = true;
490 m_logPublishingOptions = std::forward<LogPublishingOptionsT>(value);
491 }
492 template <typename LogPublishingOptionsT = Aws::Map<LogType, LogPublishingOption>>
493 DomainStatus& WithLogPublishingOptions(LogPublishingOptionsT&& value) {
494 SetLogPublishingOptions(std::forward<LogPublishingOptionsT>(value));
495 return *this;
496 }
498 m_logPublishingOptionsHasBeenSet = true;
499 m_logPublishingOptions.emplace(key, value);
500 return *this;
501 }
503
505
508 inline const ServiceSoftwareOptions& GetServiceSoftwareOptions() const { return m_serviceSoftwareOptions; }
509 inline bool ServiceSoftwareOptionsHasBeenSet() const { return m_serviceSoftwareOptionsHasBeenSet; }
510 template <typename ServiceSoftwareOptionsT = ServiceSoftwareOptions>
511 void SetServiceSoftwareOptions(ServiceSoftwareOptionsT&& value) {
512 m_serviceSoftwareOptionsHasBeenSet = true;
513 m_serviceSoftwareOptions = std::forward<ServiceSoftwareOptionsT>(value);
514 }
515 template <typename ServiceSoftwareOptionsT = ServiceSoftwareOptions>
516 DomainStatus& WithServiceSoftwareOptions(ServiceSoftwareOptionsT&& value) {
517 SetServiceSoftwareOptions(std::forward<ServiceSoftwareOptionsT>(value));
518 return *this;
519 }
521
523
527 inline const DomainEndpointOptions& GetDomainEndpointOptions() const { return m_domainEndpointOptions; }
528 inline bool DomainEndpointOptionsHasBeenSet() const { return m_domainEndpointOptionsHasBeenSet; }
529 template <typename DomainEndpointOptionsT = DomainEndpointOptions>
530 void SetDomainEndpointOptions(DomainEndpointOptionsT&& value) {
531 m_domainEndpointOptionsHasBeenSet = true;
532 m_domainEndpointOptions = std::forward<DomainEndpointOptionsT>(value);
533 }
534 template <typename DomainEndpointOptionsT = DomainEndpointOptions>
535 DomainStatus& WithDomainEndpointOptions(DomainEndpointOptionsT&& value) {
536 SetDomainEndpointOptions(std::forward<DomainEndpointOptionsT>(value));
537 return *this;
538 }
540
542
545 inline const AdvancedSecurityOptions& GetAdvancedSecurityOptions() const { return m_advancedSecurityOptions; }
546 inline bool AdvancedSecurityOptionsHasBeenSet() const { return m_advancedSecurityOptionsHasBeenSet; }
547 template <typename AdvancedSecurityOptionsT = AdvancedSecurityOptions>
548 void SetAdvancedSecurityOptions(AdvancedSecurityOptionsT&& value) {
549 m_advancedSecurityOptionsHasBeenSet = true;
550 m_advancedSecurityOptions = std::forward<AdvancedSecurityOptionsT>(value);
551 }
552 template <typename AdvancedSecurityOptionsT = AdvancedSecurityOptions>
553 DomainStatus& WithAdvancedSecurityOptions(AdvancedSecurityOptionsT&& value) {
554 SetAdvancedSecurityOptions(std::forward<AdvancedSecurityOptionsT>(value));
555 return *this;
556 }
558
560
564 inline const IdentityCenterOptions& GetIdentityCenterOptions() const { return m_identityCenterOptions; }
565 inline bool IdentityCenterOptionsHasBeenSet() const { return m_identityCenterOptionsHasBeenSet; }
566 template <typename IdentityCenterOptionsT = IdentityCenterOptions>
567 void SetIdentityCenterOptions(IdentityCenterOptionsT&& value) {
568 m_identityCenterOptionsHasBeenSet = true;
569 m_identityCenterOptions = std::forward<IdentityCenterOptionsT>(value);
570 }
571 template <typename IdentityCenterOptionsT = IdentityCenterOptions>
572 DomainStatus& WithIdentityCenterOptions(IdentityCenterOptionsT&& value) {
573 SetIdentityCenterOptions(std::forward<IdentityCenterOptionsT>(value));
574 return *this;
575 }
577
579
582 inline const AutoTuneOptionsOutput& GetAutoTuneOptions() const { return m_autoTuneOptions; }
583 inline bool AutoTuneOptionsHasBeenSet() const { return m_autoTuneOptionsHasBeenSet; }
584 template <typename AutoTuneOptionsT = AutoTuneOptionsOutput>
585 void SetAutoTuneOptions(AutoTuneOptionsT&& value) {
586 m_autoTuneOptionsHasBeenSet = true;
587 m_autoTuneOptions = std::forward<AutoTuneOptionsT>(value);
588 }
589 template <typename AutoTuneOptionsT = AutoTuneOptionsOutput>
590 DomainStatus& WithAutoTuneOptions(AutoTuneOptionsT&& value) {
591 SetAutoTuneOptions(std::forward<AutoTuneOptionsT>(value));
592 return *this;
593 }
595
597
600 inline const ChangeProgressDetails& GetChangeProgressDetails() const { return m_changeProgressDetails; }
601 inline bool ChangeProgressDetailsHasBeenSet() const { return m_changeProgressDetailsHasBeenSet; }
602 template <typename ChangeProgressDetailsT = ChangeProgressDetails>
603 void SetChangeProgressDetails(ChangeProgressDetailsT&& value) {
604 m_changeProgressDetailsHasBeenSet = true;
605 m_changeProgressDetails = std::forward<ChangeProgressDetailsT>(value);
606 }
607 template <typename ChangeProgressDetailsT = ChangeProgressDetails>
608 DomainStatus& WithChangeProgressDetails(ChangeProgressDetailsT&& value) {
609 SetChangeProgressDetails(std::forward<ChangeProgressDetailsT>(value));
610 return *this;
611 }
613
615
619 inline const OffPeakWindowOptions& GetOffPeakWindowOptions() const { return m_offPeakWindowOptions; }
620 inline bool OffPeakWindowOptionsHasBeenSet() const { return m_offPeakWindowOptionsHasBeenSet; }
621 template <typename OffPeakWindowOptionsT = OffPeakWindowOptions>
622 void SetOffPeakWindowOptions(OffPeakWindowOptionsT&& value) {
623 m_offPeakWindowOptionsHasBeenSet = true;
624 m_offPeakWindowOptions = std::forward<OffPeakWindowOptionsT>(value);
625 }
626 template <typename OffPeakWindowOptionsT = OffPeakWindowOptions>
627 DomainStatus& WithOffPeakWindowOptions(OffPeakWindowOptionsT&& value) {
628 SetOffPeakWindowOptions(std::forward<OffPeakWindowOptionsT>(value));
629 return *this;
630 }
632
634
637 inline const SoftwareUpdateOptions& GetSoftwareUpdateOptions() const { return m_softwareUpdateOptions; }
638 inline bool SoftwareUpdateOptionsHasBeenSet() const { return m_softwareUpdateOptionsHasBeenSet; }
639 template <typename SoftwareUpdateOptionsT = SoftwareUpdateOptions>
640 void SetSoftwareUpdateOptions(SoftwareUpdateOptionsT&& value) {
641 m_softwareUpdateOptionsHasBeenSet = true;
642 m_softwareUpdateOptions = std::forward<SoftwareUpdateOptionsT>(value);
643 }
644 template <typename SoftwareUpdateOptionsT = SoftwareUpdateOptions>
645 DomainStatus& WithSoftwareUpdateOptions(SoftwareUpdateOptionsT&& value) {
646 SetSoftwareUpdateOptions(std::forward<SoftwareUpdateOptionsT>(value));
647 return *this;
648 }
650
652
655 inline DomainProcessingStatusType GetDomainProcessingStatus() const { return m_domainProcessingStatus; }
656 inline bool DomainProcessingStatusHasBeenSet() const { return m_domainProcessingStatusHasBeenSet; }
658 m_domainProcessingStatusHasBeenSet = true;
659 m_domainProcessingStatus = value;
660 }
663 return *this;
664 }
666
668
672 inline const Aws::Vector<ModifyingProperties>& GetModifyingProperties() const { return m_modifyingProperties; }
673 inline bool ModifyingPropertiesHasBeenSet() const { return m_modifyingPropertiesHasBeenSet; }
674 template <typename ModifyingPropertiesT = Aws::Vector<ModifyingProperties>>
675 void SetModifyingProperties(ModifyingPropertiesT&& value) {
676 m_modifyingPropertiesHasBeenSet = true;
677 m_modifyingProperties = std::forward<ModifyingPropertiesT>(value);
678 }
679 template <typename ModifyingPropertiesT = Aws::Vector<ModifyingProperties>>
680 DomainStatus& WithModifyingProperties(ModifyingPropertiesT&& value) {
681 SetModifyingProperties(std::forward<ModifyingPropertiesT>(value));
682 return *this;
683 }
684 template <typename ModifyingPropertiesT = ModifyingProperties>
685 DomainStatus& AddModifyingProperties(ModifyingPropertiesT&& value) {
686 m_modifyingPropertiesHasBeenSet = true;
687 m_modifyingProperties.emplace_back(std::forward<ModifyingPropertiesT>(value));
688 return *this;
689 }
691
693
697 inline const AIMLOptionsOutput& GetAIMLOptions() const { return m_aIMLOptions; }
698 inline bool AIMLOptionsHasBeenSet() const { return m_aIMLOptionsHasBeenSet; }
699 template <typename AIMLOptionsT = AIMLOptionsOutput>
700 void SetAIMLOptions(AIMLOptionsT&& value) {
701 m_aIMLOptionsHasBeenSet = true;
702 m_aIMLOptions = std::forward<AIMLOptionsT>(value);
703 }
704 template <typename AIMLOptionsT = AIMLOptionsOutput>
705 DomainStatus& WithAIMLOptions(AIMLOptionsT&& value) {
706 SetAIMLOptions(std::forward<AIMLOptionsT>(value));
707 return *this;
708 }
710
712
715 inline const DeploymentStrategyOptions& GetDeploymentStrategyOptions() const { return m_deploymentStrategyOptions; }
716 inline bool DeploymentStrategyOptionsHasBeenSet() const { return m_deploymentStrategyOptionsHasBeenSet; }
717 template <typename DeploymentStrategyOptionsT = DeploymentStrategyOptions>
718 void SetDeploymentStrategyOptions(DeploymentStrategyOptionsT&& value) {
719 m_deploymentStrategyOptionsHasBeenSet = true;
720 m_deploymentStrategyOptions = std::forward<DeploymentStrategyOptionsT>(value);
721 }
722 template <typename DeploymentStrategyOptionsT = DeploymentStrategyOptions>
723 DomainStatus& WithDeploymentStrategyOptions(DeploymentStrategyOptionsT&& value) {
724 SetDeploymentStrategyOptions(std::forward<DeploymentStrategyOptionsT>(value));
725 return *this;
726 }
728
730
733 inline const AutomatedSnapshotPauseOptions& GetAutomatedSnapshotPauseOptions() const { return m_automatedSnapshotPauseOptions; }
734 inline bool AutomatedSnapshotPauseOptionsHasBeenSet() const { return m_automatedSnapshotPauseOptionsHasBeenSet; }
735 template <typename AutomatedSnapshotPauseOptionsT = AutomatedSnapshotPauseOptions>
736 void SetAutomatedSnapshotPauseOptions(AutomatedSnapshotPauseOptionsT&& value) {
737 m_automatedSnapshotPauseOptionsHasBeenSet = true;
738 m_automatedSnapshotPauseOptions = std::forward<AutomatedSnapshotPauseOptionsT>(value);
739 }
740 template <typename AutomatedSnapshotPauseOptionsT = AutomatedSnapshotPauseOptions>
741 DomainStatus& WithAutomatedSnapshotPauseOptions(AutomatedSnapshotPauseOptionsT&& value) {
742 SetAutomatedSnapshotPauseOptions(std::forward<AutomatedSnapshotPauseOptionsT>(value));
743 return *this;
744 }
746 private:
747 Aws::String m_domainId;
748
749 Aws::String m_domainName;
750
751 Aws::String m_aRN;
752
753 bool m_created{false};
754
755 bool m_deleted{false};
756
757 Aws::String m_endpoint;
758
759 Aws::String m_endpointV2;
760
762
763 Aws::String m_domainEndpointV2HostedZoneId;
764
765 bool m_processing{false};
766
767 bool m_upgradeProcessing{false};
768
769 Aws::String m_engineVersion;
770
771 ClusterConfig m_clusterConfig;
772
773 EBSOptions m_eBSOptions;
774
775 Aws::String m_accessPolicies;
776
777 IPAddressType m_iPAddressType{IPAddressType::NOT_SET};
778
779 SnapshotOptions m_snapshotOptions;
780
781 VPCDerivedInfo m_vPCOptions;
782
783 CognitoOptions m_cognitoOptions;
784
785 EncryptionAtRestOptions m_encryptionAtRestOptions;
786
787 NodeToNodeEncryptionOptions m_nodeToNodeEncryptionOptions;
788
789 Aws::Map<Aws::String, Aws::String> m_advancedOptions;
790
791 Aws::Map<LogType, LogPublishingOption> m_logPublishingOptions;
792
793 ServiceSoftwareOptions m_serviceSoftwareOptions;
794
795 DomainEndpointOptions m_domainEndpointOptions;
796
797 AdvancedSecurityOptions m_advancedSecurityOptions;
798
799 IdentityCenterOptions m_identityCenterOptions;
800
801 AutoTuneOptionsOutput m_autoTuneOptions;
802
803 ChangeProgressDetails m_changeProgressDetails;
804
805 OffPeakWindowOptions m_offPeakWindowOptions;
806
807 SoftwareUpdateOptions m_softwareUpdateOptions;
808
810
811 Aws::Vector<ModifyingProperties> m_modifyingProperties;
812
813 AIMLOptionsOutput m_aIMLOptions;
814
815 DeploymentStrategyOptions m_deploymentStrategyOptions;
816
817 AutomatedSnapshotPauseOptions m_automatedSnapshotPauseOptions;
818 bool m_domainIdHasBeenSet = false;
819 bool m_domainNameHasBeenSet = false;
820 bool m_aRNHasBeenSet = false;
821 bool m_createdHasBeenSet = false;
822 bool m_deletedHasBeenSet = false;
823 bool m_endpointHasBeenSet = false;
824 bool m_endpointV2HasBeenSet = false;
825 bool m_endpointsHasBeenSet = false;
826 bool m_domainEndpointV2HostedZoneIdHasBeenSet = false;
827 bool m_processingHasBeenSet = false;
828 bool m_upgradeProcessingHasBeenSet = false;
829 bool m_engineVersionHasBeenSet = false;
830 bool m_clusterConfigHasBeenSet = false;
831 bool m_eBSOptionsHasBeenSet = false;
832 bool m_accessPoliciesHasBeenSet = false;
833 bool m_iPAddressTypeHasBeenSet = false;
834 bool m_snapshotOptionsHasBeenSet = false;
835 bool m_vPCOptionsHasBeenSet = false;
836 bool m_cognitoOptionsHasBeenSet = false;
837 bool m_encryptionAtRestOptionsHasBeenSet = false;
838 bool m_nodeToNodeEncryptionOptionsHasBeenSet = false;
839 bool m_advancedOptionsHasBeenSet = false;
840 bool m_logPublishingOptionsHasBeenSet = false;
841 bool m_serviceSoftwareOptionsHasBeenSet = false;
842 bool m_domainEndpointOptionsHasBeenSet = false;
843 bool m_advancedSecurityOptionsHasBeenSet = false;
844 bool m_identityCenterOptionsHasBeenSet = false;
845 bool m_autoTuneOptionsHasBeenSet = false;
846 bool m_changeProgressDetailsHasBeenSet = false;
847 bool m_offPeakWindowOptionsHasBeenSet = false;
848 bool m_softwareUpdateOptionsHasBeenSet = false;
849 bool m_domainProcessingStatusHasBeenSet = false;
850 bool m_modifyingPropertiesHasBeenSet = false;
851 bool m_aIMLOptionsHasBeenSet = false;
852 bool m_deploymentStrategyOptionsHasBeenSet = false;
853 bool m_automatedSnapshotPauseOptionsHasBeenSet = false;
854};
855
856} // namespace Model
857} // namespace OpenSearchService
858} // namespace Aws
void SetOffPeakWindowOptions(OffPeakWindowOptionsT &&value)
const AutoTuneOptionsOutput & GetAutoTuneOptions() const
DomainStatus & WithEncryptionAtRestOptions(EncryptionAtRestOptionsT &&value)
DomainStatus & WithSnapshotOptions(SnapshotOptionsT &&value)
DomainStatus & WithVPCOptions(VPCOptionsT &&value)
void SetIdentityCenterOptions(IdentityCenterOptionsT &&value)
DomainStatus & WithServiceSoftwareOptions(ServiceSoftwareOptionsT &&value)
DomainStatus & WithChangeProgressDetails(ChangeProgressDetailsT &&value)
DomainStatus & AddEndpoints(EndpointsKeyT &&key, EndpointsValueT &&value)
void SetDomainProcessingStatus(DomainProcessingStatusType value)
const EBSOptions & GetEBSOptions() 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)
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)
DomainStatus & WithDeploymentStrategyOptions(DeploymentStrategyOptionsT &&value)
DomainStatus & WithAutomatedSnapshotPauseOptions(AutomatedSnapshotPauseOptionsT &&value)
AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
DomainStatus & AddAdvancedOptions(AdvancedOptionsKeyT &&key, AdvancedOptionsValueT &&value)
DomainStatus & WithNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsT &&value)
void SetDomainName(DomainNameT &&value)
const VPCDerivedInfo & GetVPCOptions() const
DomainStatus & WithDomainName(DomainNameT &&value)
const DeploymentStrategyOptions & GetDeploymentStrategyOptions() const
const Aws::Map< Aws::String, Aws::String > & GetEndpoints() const
AWS_OPENSEARCHSERVICE_API DomainStatus(Aws::Utils::Json::JsonView jsonValue)
const NodeToNodeEncryptionOptions & GetNodeToNodeEncryptionOptions() const
DomainStatus & AddModifyingProperties(ModifyingPropertiesT &&value)
DomainStatus & WithDomainProcessingStatus(DomainProcessingStatusType value)
DomainStatus & WithSoftwareUpdateOptions(SoftwareUpdateOptionsT &&value)
const SnapshotOptions & GetSnapshotOptions() const
void SetClusterConfig(ClusterConfigT &&value)
void SetAutoTuneOptions(AutoTuneOptionsT &&value)
void SetLogPublishingOptions(LogPublishingOptionsT &&value)
const Aws::Vector< ModifyingProperties > & GetModifyingProperties() const
void SetAIMLOptions(AIMLOptionsT &&value)
void SetCognitoOptions(CognitoOptionsT &&value)
DomainStatus & WithEndpointV2(EndpointV2T &&value)
void SetChangeProgressDetails(ChangeProgressDetailsT &&value)
const IdentityCenterOptions & GetIdentityCenterOptions() const
const AdvancedSecurityOptions & GetAdvancedSecurityOptions() const
DomainStatus & WithDomainId(DomainIdT &&value)
const DomainEndpointOptions & GetDomainEndpointOptions() const
DomainStatus & WithAIMLOptions(AIMLOptionsT &&value)
AWS_OPENSEARCHSERVICE_API DomainStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
const AIMLOptionsOutput & GetAIMLOptions() const
const AutomatedSnapshotPauseOptions & GetAutomatedSnapshotPauseOptions() const
const OffPeakWindowOptions & GetOffPeakWindowOptions() const
DomainStatus & WithModifyingProperties(ModifyingPropertiesT &&value)
void SetDomainEndpointOptions(DomainEndpointOptionsT &&value)
const EncryptionAtRestOptions & GetEncryptionAtRestOptions() const
DomainStatus & WithAutoTuneOptions(AutoTuneOptionsT &&value)
DomainProcessingStatusType GetDomainProcessingStatus() const
DomainStatus & WithUpgradeProcessing(bool value)
const Aws::String & GetEndpointV2() const
const Aws::Map< LogType, LogPublishingOption > & GetLogPublishingOptions() const
DomainStatus & WithOffPeakWindowOptions(OffPeakWindowOptionsT &&value)
void SetAutomatedSnapshotPauseOptions(AutomatedSnapshotPauseOptionsT &&value)
DomainStatus & WithLogPublishingOptions(LogPublishingOptionsT &&value)
void SetAdvancedSecurityOptions(AdvancedSecurityOptionsT &&value)
void SetIPAddressType(IPAddressType value)
const ChangeProgressDetails & GetChangeProgressDetails() const
void SetDomainEndpointV2HostedZoneId(DomainEndpointV2HostedZoneIdT &&value)
DomainStatus & WithDomainEndpointOptions(DomainEndpointOptionsT &&value)
DomainStatus & WithIdentityCenterOptions(IdentityCenterOptionsT &&value)
DomainStatus & WithAccessPolicies(AccessPoliciesT &&value)
DomainStatus & WithEBSOptions(EBSOptionsT &&value)
AWS_OPENSEARCHSERVICE_API DomainStatus()=default
const Aws::String & GetDomainName() const
DomainStatus & WithAdvancedSecurityOptions(AdvancedSecurityOptionsT &&value)
void SetSnapshotOptions(SnapshotOptionsT &&value)
const Aws::String & GetEngineVersion() const
void SetDeploymentStrategyOptions(DeploymentStrategyOptionsT &&value)
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 & GetDomainId() const
void SetAccessPolicies(AccessPoliciesT &&value)
DomainStatus & WithARN(ARNT &&value)
const SoftwareUpdateOptions & GetSoftwareUpdateOptions() const
void SetSoftwareUpdateOptions(SoftwareUpdateOptionsT &&value)
const ClusterConfig & GetClusterConfig() const
DomainStatus & WithEndpoints(EndpointsT &&value)
const CognitoOptions & GetCognitoOptions() const
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