AWS SDK for C++

AWS SDK for C++ Version 1.11.853

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/DomainUseCase.h>
22#include <aws/opensearch/model/EBSOptions.h>
23#include <aws/opensearch/model/EncryptionAtRestOptions.h>
24#include <aws/opensearch/model/EngineMode.h>
25#include <aws/opensearch/model/IPAddressType.h>
26#include <aws/opensearch/model/IdentityCenterOptions.h>
27#include <aws/opensearch/model/LogPublishingOption.h>
28#include <aws/opensearch/model/LogType.h>
29#include <aws/opensearch/model/ModifyingProperties.h>
30#include <aws/opensearch/model/NodeToNodeEncryptionOptions.h>
31#include <aws/opensearch/model/OffPeakWindowOptions.h>
32#include <aws/opensearch/model/ServiceSoftwareOptions.h>
33#include <aws/opensearch/model/SnapshotOptions.h>
34#include <aws/opensearch/model/SoftwareUpdateOptions.h>
35#include <aws/opensearch/model/VPCDerivedInfo.h>
36
37#include <utility>
38
39namespace Aws {
40namespace Utils {
41namespace Json {
42class JsonValue;
43class JsonView;
44} // namespace Json
45} // namespace Utils
46namespace OpenSearchService {
47namespace Model {
48
56 public:
57 AWS_OPENSEARCHSERVICE_API DomainStatus() = default;
58 AWS_OPENSEARCHSERVICE_API DomainStatus(Aws::Utils::Json::JsonView jsonValue);
59 AWS_OPENSEARCHSERVICE_API DomainStatus& operator=(Aws::Utils::Json::JsonView jsonValue);
60 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
61
63
66 inline const Aws::String& GetDomainId() const { return m_domainId; }
67 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
68 template <typename DomainIdT = Aws::String>
69 void SetDomainId(DomainIdT&& value) {
70 m_domainIdHasBeenSet = true;
71 m_domainId = std::forward<DomainIdT>(value);
72 }
73 template <typename DomainIdT = Aws::String>
74 DomainStatus& WithDomainId(DomainIdT&& value) {
75 SetDomainId(std::forward<DomainIdT>(value));
76 return *this;
77 }
79
81
85 inline const Aws::String& GetDomainName() const { return m_domainName; }
86 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
87 template <typename DomainNameT = Aws::String>
88 void SetDomainName(DomainNameT&& value) {
89 m_domainNameHasBeenSet = true;
90 m_domainName = std::forward<DomainNameT>(value);
91 }
92 template <typename DomainNameT = Aws::String>
93 DomainStatus& WithDomainName(DomainNameT&& value) {
94 SetDomainName(std::forward<DomainNameT>(value));
95 return *this;
96 }
98
100
106 inline const Aws::String& GetARN() const { return m_aRN; }
107 inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
108 template <typename ARNT = Aws::String>
109 void SetARN(ARNT&& value) {
110 m_aRNHasBeenSet = true;
111 m_aRN = std::forward<ARNT>(value);
112 }
113 template <typename ARNT = Aws::String>
114 DomainStatus& WithARN(ARNT&& value) {
115 SetARN(std::forward<ARNT>(value));
116 return *this;
117 }
119
121
125 inline bool GetCreated() const { return m_created; }
126 inline bool CreatedHasBeenSet() const { return m_createdHasBeenSet; }
127 inline void SetCreated(bool value) {
128 m_createdHasBeenSet = true;
129 m_created = value;
130 }
131 inline DomainStatus& WithCreated(bool value) {
132 SetCreated(value);
133 return *this;
134 }
136
138
143 inline bool GetDeleted() const { return m_deleted; }
144 inline bool DeletedHasBeenSet() const { return m_deletedHasBeenSet; }
145 inline void SetDeleted(bool value) {
146 m_deletedHasBeenSet = true;
147 m_deleted = value;
148 }
149 inline DomainStatus& WithDeleted(bool value) {
150 SetDeleted(value);
151 return *this;
152 }
154
156
160 inline const Aws::String& GetEndpoint() const { return m_endpoint; }
161 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
162 template <typename EndpointT = Aws::String>
163 void SetEndpoint(EndpointT&& value) {
164 m_endpointHasBeenSet = true;
165 m_endpoint = std::forward<EndpointT>(value);
166 }
167 template <typename EndpointT = Aws::String>
168 DomainStatus& WithEndpoint(EndpointT&& value) {
169 SetEndpoint(std::forward<EndpointT>(value));
170 return *this;
171 }
173
175
181 inline const Aws::String& GetEndpointV2() const { return m_endpointV2; }
182 inline bool EndpointV2HasBeenSet() const { return m_endpointV2HasBeenSet; }
183 template <typename EndpointV2T = Aws::String>
184 void SetEndpointV2(EndpointV2T&& value) {
185 m_endpointV2HasBeenSet = true;
186 m_endpointV2 = std::forward<EndpointV2T>(value);
187 }
188 template <typename EndpointV2T = Aws::String>
189 DomainStatus& WithEndpointV2(EndpointV2T&& value) {
190 SetEndpointV2(std::forward<EndpointV2T>(value));
191 return *this;
192 }
194
196
204 inline const Aws::Map<Aws::String, Aws::String>& GetEndpoints() const { return m_endpoints; }
205 inline bool EndpointsHasBeenSet() const { return m_endpointsHasBeenSet; }
206 template <typename EndpointsT = Aws::Map<Aws::String, Aws::String>>
207 void SetEndpoints(EndpointsT&& value) {
208 m_endpointsHasBeenSet = true;
209 m_endpoints = std::forward<EndpointsT>(value);
210 }
211 template <typename EndpointsT = Aws::Map<Aws::String, Aws::String>>
212 DomainStatus& WithEndpoints(EndpointsT&& value) {
213 SetEndpoints(std::forward<EndpointsT>(value));
214 return *this;
215 }
216 template <typename EndpointsKeyT = Aws::String, typename EndpointsValueT = Aws::String>
217 DomainStatus& AddEndpoints(EndpointsKeyT&& key, EndpointsValueT&& value) {
218 m_endpointsHasBeenSet = true;
219 m_endpoints.emplace(std::forward<EndpointsKeyT>(key), std::forward<EndpointsValueT>(value));
220 return *this;
221 }
223
225
228 inline const Aws::String& GetDomainEndpointV2HostedZoneId() const { return m_domainEndpointV2HostedZoneId; }
229 inline bool DomainEndpointV2HostedZoneIdHasBeenSet() const { return m_domainEndpointV2HostedZoneIdHasBeenSet; }
230 template <typename DomainEndpointV2HostedZoneIdT = Aws::String>
231 void SetDomainEndpointV2HostedZoneId(DomainEndpointV2HostedZoneIdT&& value) {
232 m_domainEndpointV2HostedZoneIdHasBeenSet = true;
233 m_domainEndpointV2HostedZoneId = std::forward<DomainEndpointV2HostedZoneIdT>(value);
234 }
235 template <typename DomainEndpointV2HostedZoneIdT = Aws::String>
236 DomainStatus& WithDomainEndpointV2HostedZoneId(DomainEndpointV2HostedZoneIdT&& value) {
237 SetDomainEndpointV2HostedZoneId(std::forward<DomainEndpointV2HostedZoneIdT>(value));
238 return *this;
239 }
241
243
247 inline bool GetProcessing() const { return m_processing; }
248 inline bool ProcessingHasBeenSet() const { return m_processingHasBeenSet; }
249 inline void SetProcessing(bool value) {
250 m_processingHasBeenSet = true;
251 m_processing = value;
252 }
253 inline DomainStatus& WithProcessing(bool value) {
254 SetProcessing(value);
255 return *this;
256 }
258
260
265 inline bool GetUpgradeProcessing() const { return m_upgradeProcessing; }
266 inline bool UpgradeProcessingHasBeenSet() const { return m_upgradeProcessingHasBeenSet; }
267 inline void SetUpgradeProcessing(bool value) {
268 m_upgradeProcessingHasBeenSet = true;
269 m_upgradeProcessing = value;
270 }
273 return *this;
274 }
276
278
282 inline const Aws::String& GetEngineVersion() const { return m_engineVersion; }
283 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
284 template <typename EngineVersionT = Aws::String>
285 void SetEngineVersion(EngineVersionT&& value) {
286 m_engineVersionHasBeenSet = true;
287 m_engineVersion = std::forward<EngineVersionT>(value);
288 }
289 template <typename EngineVersionT = Aws::String>
290 DomainStatus& WithEngineVersion(EngineVersionT&& value) {
291 SetEngineVersion(std::forward<EngineVersionT>(value));
292 return *this;
293 }
295
297
300 inline const ClusterConfig& GetClusterConfig() const { return m_clusterConfig; }
301 inline bool ClusterConfigHasBeenSet() const { return m_clusterConfigHasBeenSet; }
302 template <typename ClusterConfigT = ClusterConfig>
303 void SetClusterConfig(ClusterConfigT&& value) {
304 m_clusterConfigHasBeenSet = true;
305 m_clusterConfig = std::forward<ClusterConfigT>(value);
306 }
307 template <typename ClusterConfigT = ClusterConfig>
308 DomainStatus& WithClusterConfig(ClusterConfigT&& value) {
309 SetClusterConfig(std::forward<ClusterConfigT>(value));
310 return *this;
311 }
313
315
318 inline const EBSOptions& GetEBSOptions() const { return m_eBSOptions; }
319 inline bool EBSOptionsHasBeenSet() const { return m_eBSOptionsHasBeenSet; }
320 template <typename EBSOptionsT = EBSOptions>
321 void SetEBSOptions(EBSOptionsT&& value) {
322 m_eBSOptionsHasBeenSet = true;
323 m_eBSOptions = std::forward<EBSOptionsT>(value);
324 }
325 template <typename EBSOptionsT = EBSOptions>
326 DomainStatus& WithEBSOptions(EBSOptionsT&& value) {
327 SetEBSOptions(std::forward<EBSOptionsT>(value));
328 return *this;
329 }
331
333
337 inline const Aws::String& GetAccessPolicies() const { return m_accessPolicies; }
338 inline bool AccessPoliciesHasBeenSet() const { return m_accessPoliciesHasBeenSet; }
339 template <typename AccessPoliciesT = Aws::String>
340 void SetAccessPolicies(AccessPoliciesT&& value) {
341 m_accessPoliciesHasBeenSet = true;
342 m_accessPolicies = std::forward<AccessPoliciesT>(value);
343 }
344 template <typename AccessPoliciesT = Aws::String>
345 DomainStatus& WithAccessPolicies(AccessPoliciesT&& value) {
346 SetAccessPolicies(std::forward<AccessPoliciesT>(value));
347 return *this;
348 }
350
352
355 inline IPAddressType GetIPAddressType() const { return m_iPAddressType; }
356 inline bool IPAddressTypeHasBeenSet() const { return m_iPAddressTypeHasBeenSet; }
357 inline void SetIPAddressType(IPAddressType value) {
358 m_iPAddressTypeHasBeenSet = true;
359 m_iPAddressType = value;
360 }
362 SetIPAddressType(value);
363 return *this;
364 }
366
368
372 inline const SnapshotOptions& GetSnapshotOptions() const { return m_snapshotOptions; }
373 inline bool SnapshotOptionsHasBeenSet() const { return m_snapshotOptionsHasBeenSet; }
374 template <typename SnapshotOptionsT = SnapshotOptions>
375 void SetSnapshotOptions(SnapshotOptionsT&& value) {
376 m_snapshotOptionsHasBeenSet = true;
377 m_snapshotOptions = std::forward<SnapshotOptionsT>(value);
378 }
379 template <typename SnapshotOptionsT = SnapshotOptions>
380 DomainStatus& WithSnapshotOptions(SnapshotOptionsT&& value) {
381 SetSnapshotOptions(std::forward<SnapshotOptionsT>(value));
382 return *this;
383 }
385
387
390 inline const VPCDerivedInfo& GetVPCOptions() const { return m_vPCOptions; }
391 inline bool VPCOptionsHasBeenSet() const { return m_vPCOptionsHasBeenSet; }
392 template <typename VPCOptionsT = VPCDerivedInfo>
393 void SetVPCOptions(VPCOptionsT&& value) {
394 m_vPCOptionsHasBeenSet = true;
395 m_vPCOptions = std::forward<VPCOptionsT>(value);
396 }
397 template <typename VPCOptionsT = VPCDerivedInfo>
398 DomainStatus& WithVPCOptions(VPCOptionsT&& value) {
399 SetVPCOptions(std::forward<VPCOptionsT>(value));
400 return *this;
401 }
403
405
409 inline const CognitoOptions& GetCognitoOptions() const { return m_cognitoOptions; }
410 inline bool CognitoOptionsHasBeenSet() const { return m_cognitoOptionsHasBeenSet; }
411 template <typename CognitoOptionsT = CognitoOptions>
412 void SetCognitoOptions(CognitoOptionsT&& value) {
413 m_cognitoOptionsHasBeenSet = true;
414 m_cognitoOptions = std::forward<CognitoOptionsT>(value);
415 }
416 template <typename CognitoOptionsT = CognitoOptions>
417 DomainStatus& WithCognitoOptions(CognitoOptionsT&& value) {
418 SetCognitoOptions(std::forward<CognitoOptionsT>(value));
419 return *this;
420 }
422
424
427 inline const EncryptionAtRestOptions& GetEncryptionAtRestOptions() const { return m_encryptionAtRestOptions; }
428 inline bool EncryptionAtRestOptionsHasBeenSet() const { return m_encryptionAtRestOptionsHasBeenSet; }
429 template <typename EncryptionAtRestOptionsT = EncryptionAtRestOptions>
430 void SetEncryptionAtRestOptions(EncryptionAtRestOptionsT&& value) {
431 m_encryptionAtRestOptionsHasBeenSet = true;
432 m_encryptionAtRestOptions = std::forward<EncryptionAtRestOptionsT>(value);
433 }
434 template <typename EncryptionAtRestOptionsT = EncryptionAtRestOptions>
435 DomainStatus& WithEncryptionAtRestOptions(EncryptionAtRestOptionsT&& value) {
436 SetEncryptionAtRestOptions(std::forward<EncryptionAtRestOptionsT>(value));
437 return *this;
438 }
440
442
445 inline const NodeToNodeEncryptionOptions& GetNodeToNodeEncryptionOptions() const { return m_nodeToNodeEncryptionOptions; }
446 inline bool NodeToNodeEncryptionOptionsHasBeenSet() const { return m_nodeToNodeEncryptionOptionsHasBeenSet; }
447 template <typename NodeToNodeEncryptionOptionsT = NodeToNodeEncryptionOptions>
448 void SetNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsT&& value) {
449 m_nodeToNodeEncryptionOptionsHasBeenSet = true;
450 m_nodeToNodeEncryptionOptions = std::forward<NodeToNodeEncryptionOptionsT>(value);
451 }
452 template <typename NodeToNodeEncryptionOptionsT = NodeToNodeEncryptionOptions>
453 DomainStatus& WithNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsT&& value) {
454 SetNodeToNodeEncryptionOptions(std::forward<NodeToNodeEncryptionOptionsT>(value));
455 return *this;
456 }
458
460
463 inline const Aws::Map<Aws::String, Aws::String>& GetAdvancedOptions() const { return m_advancedOptions; }
464 inline bool AdvancedOptionsHasBeenSet() const { return m_advancedOptionsHasBeenSet; }
465 template <typename AdvancedOptionsT = Aws::Map<Aws::String, Aws::String>>
466 void SetAdvancedOptions(AdvancedOptionsT&& value) {
467 m_advancedOptionsHasBeenSet = true;
468 m_advancedOptions = std::forward<AdvancedOptionsT>(value);
469 }
470 template <typename AdvancedOptionsT = Aws::Map<Aws::String, Aws::String>>
471 DomainStatus& WithAdvancedOptions(AdvancedOptionsT&& value) {
472 SetAdvancedOptions(std::forward<AdvancedOptionsT>(value));
473 return *this;
474 }
475 template <typename AdvancedOptionsKeyT = Aws::String, typename AdvancedOptionsValueT = Aws::String>
476 DomainStatus& AddAdvancedOptions(AdvancedOptionsKeyT&& key, AdvancedOptionsValueT&& value) {
477 m_advancedOptionsHasBeenSet = true;
478 m_advancedOptions.emplace(std::forward<AdvancedOptionsKeyT>(key), std::forward<AdvancedOptionsValueT>(value));
479 return *this;
480 }
482
484
487 inline const Aws::Map<LogType, LogPublishingOption>& GetLogPublishingOptions() const { return m_logPublishingOptions; }
488 inline bool LogPublishingOptionsHasBeenSet() const { return m_logPublishingOptionsHasBeenSet; }
489 template <typename LogPublishingOptionsT = Aws::Map<LogType, LogPublishingOption>>
490 void SetLogPublishingOptions(LogPublishingOptionsT&& value) {
491 m_logPublishingOptionsHasBeenSet = true;
492 m_logPublishingOptions = std::forward<LogPublishingOptionsT>(value);
493 }
494 template <typename LogPublishingOptionsT = Aws::Map<LogType, LogPublishingOption>>
495 DomainStatus& WithLogPublishingOptions(LogPublishingOptionsT&& value) {
496 SetLogPublishingOptions(std::forward<LogPublishingOptionsT>(value));
497 return *this;
498 }
500 m_logPublishingOptionsHasBeenSet = true;
501 m_logPublishingOptions.emplace(key, value);
502 return *this;
503 }
505
507
510 inline const ServiceSoftwareOptions& GetServiceSoftwareOptions() const { return m_serviceSoftwareOptions; }
511 inline bool ServiceSoftwareOptionsHasBeenSet() const { return m_serviceSoftwareOptionsHasBeenSet; }
512 template <typename ServiceSoftwareOptionsT = ServiceSoftwareOptions>
513 void SetServiceSoftwareOptions(ServiceSoftwareOptionsT&& value) {
514 m_serviceSoftwareOptionsHasBeenSet = true;
515 m_serviceSoftwareOptions = std::forward<ServiceSoftwareOptionsT>(value);
516 }
517 template <typename ServiceSoftwareOptionsT = ServiceSoftwareOptions>
518 DomainStatus& WithServiceSoftwareOptions(ServiceSoftwareOptionsT&& value) {
519 SetServiceSoftwareOptions(std::forward<ServiceSoftwareOptionsT>(value));
520 return *this;
521 }
523
525
529 inline const DomainEndpointOptions& GetDomainEndpointOptions() const { return m_domainEndpointOptions; }
530 inline bool DomainEndpointOptionsHasBeenSet() const { return m_domainEndpointOptionsHasBeenSet; }
531 template <typename DomainEndpointOptionsT = DomainEndpointOptions>
532 void SetDomainEndpointOptions(DomainEndpointOptionsT&& value) {
533 m_domainEndpointOptionsHasBeenSet = true;
534 m_domainEndpointOptions = std::forward<DomainEndpointOptionsT>(value);
535 }
536 template <typename DomainEndpointOptionsT = DomainEndpointOptions>
537 DomainStatus& WithDomainEndpointOptions(DomainEndpointOptionsT&& value) {
538 SetDomainEndpointOptions(std::forward<DomainEndpointOptionsT>(value));
539 return *this;
540 }
542
544
547 inline const AdvancedSecurityOptions& GetAdvancedSecurityOptions() const { return m_advancedSecurityOptions; }
548 inline bool AdvancedSecurityOptionsHasBeenSet() const { return m_advancedSecurityOptionsHasBeenSet; }
549 template <typename AdvancedSecurityOptionsT = AdvancedSecurityOptions>
550 void SetAdvancedSecurityOptions(AdvancedSecurityOptionsT&& value) {
551 m_advancedSecurityOptionsHasBeenSet = true;
552 m_advancedSecurityOptions = std::forward<AdvancedSecurityOptionsT>(value);
553 }
554 template <typename AdvancedSecurityOptionsT = AdvancedSecurityOptions>
555 DomainStatus& WithAdvancedSecurityOptions(AdvancedSecurityOptionsT&& value) {
556 SetAdvancedSecurityOptions(std::forward<AdvancedSecurityOptionsT>(value));
557 return *this;
558 }
560
562
566 inline const IdentityCenterOptions& GetIdentityCenterOptions() const { return m_identityCenterOptions; }
567 inline bool IdentityCenterOptionsHasBeenSet() const { return m_identityCenterOptionsHasBeenSet; }
568 template <typename IdentityCenterOptionsT = IdentityCenterOptions>
569 void SetIdentityCenterOptions(IdentityCenterOptionsT&& value) {
570 m_identityCenterOptionsHasBeenSet = true;
571 m_identityCenterOptions = std::forward<IdentityCenterOptionsT>(value);
572 }
573 template <typename IdentityCenterOptionsT = IdentityCenterOptions>
574 DomainStatus& WithIdentityCenterOptions(IdentityCenterOptionsT&& value) {
575 SetIdentityCenterOptions(std::forward<IdentityCenterOptionsT>(value));
576 return *this;
577 }
579
581
584 inline const AutoTuneOptionsOutput& GetAutoTuneOptions() const { return m_autoTuneOptions; }
585 inline bool AutoTuneOptionsHasBeenSet() const { return m_autoTuneOptionsHasBeenSet; }
586 template <typename AutoTuneOptionsT = AutoTuneOptionsOutput>
587 void SetAutoTuneOptions(AutoTuneOptionsT&& value) {
588 m_autoTuneOptionsHasBeenSet = true;
589 m_autoTuneOptions = std::forward<AutoTuneOptionsT>(value);
590 }
591 template <typename AutoTuneOptionsT = AutoTuneOptionsOutput>
592 DomainStatus& WithAutoTuneOptions(AutoTuneOptionsT&& value) {
593 SetAutoTuneOptions(std::forward<AutoTuneOptionsT>(value));
594 return *this;
595 }
597
599
602 inline const ChangeProgressDetails& GetChangeProgressDetails() const { return m_changeProgressDetails; }
603 inline bool ChangeProgressDetailsHasBeenSet() const { return m_changeProgressDetailsHasBeenSet; }
604 template <typename ChangeProgressDetailsT = ChangeProgressDetails>
605 void SetChangeProgressDetails(ChangeProgressDetailsT&& value) {
606 m_changeProgressDetailsHasBeenSet = true;
607 m_changeProgressDetails = std::forward<ChangeProgressDetailsT>(value);
608 }
609 template <typename ChangeProgressDetailsT = ChangeProgressDetails>
610 DomainStatus& WithChangeProgressDetails(ChangeProgressDetailsT&& value) {
611 SetChangeProgressDetails(std::forward<ChangeProgressDetailsT>(value));
612 return *this;
613 }
615
617
621 inline const OffPeakWindowOptions& GetOffPeakWindowOptions() const { return m_offPeakWindowOptions; }
622 inline bool OffPeakWindowOptionsHasBeenSet() const { return m_offPeakWindowOptionsHasBeenSet; }
623 template <typename OffPeakWindowOptionsT = OffPeakWindowOptions>
624 void SetOffPeakWindowOptions(OffPeakWindowOptionsT&& value) {
625 m_offPeakWindowOptionsHasBeenSet = true;
626 m_offPeakWindowOptions = std::forward<OffPeakWindowOptionsT>(value);
627 }
628 template <typename OffPeakWindowOptionsT = OffPeakWindowOptions>
629 DomainStatus& WithOffPeakWindowOptions(OffPeakWindowOptionsT&& value) {
630 SetOffPeakWindowOptions(std::forward<OffPeakWindowOptionsT>(value));
631 return *this;
632 }
634
636
639 inline const SoftwareUpdateOptions& GetSoftwareUpdateOptions() const { return m_softwareUpdateOptions; }
640 inline bool SoftwareUpdateOptionsHasBeenSet() const { return m_softwareUpdateOptionsHasBeenSet; }
641 template <typename SoftwareUpdateOptionsT = SoftwareUpdateOptions>
642 void SetSoftwareUpdateOptions(SoftwareUpdateOptionsT&& value) {
643 m_softwareUpdateOptionsHasBeenSet = true;
644 m_softwareUpdateOptions = std::forward<SoftwareUpdateOptionsT>(value);
645 }
646 template <typename SoftwareUpdateOptionsT = SoftwareUpdateOptions>
647 DomainStatus& WithSoftwareUpdateOptions(SoftwareUpdateOptionsT&& value) {
648 SetSoftwareUpdateOptions(std::forward<SoftwareUpdateOptionsT>(value));
649 return *this;
650 }
652
654
657 inline DomainProcessingStatusType GetDomainProcessingStatus() const { return m_domainProcessingStatus; }
658 inline bool DomainProcessingStatusHasBeenSet() const { return m_domainProcessingStatusHasBeenSet; }
660 m_domainProcessingStatusHasBeenSet = true;
661 m_domainProcessingStatus = value;
662 }
665 return *this;
666 }
668
670
674 inline const Aws::Vector<ModifyingProperties>& GetModifyingProperties() const { return m_modifyingProperties; }
675 inline bool ModifyingPropertiesHasBeenSet() const { return m_modifyingPropertiesHasBeenSet; }
676 template <typename ModifyingPropertiesT = Aws::Vector<ModifyingProperties>>
677 void SetModifyingProperties(ModifyingPropertiesT&& value) {
678 m_modifyingPropertiesHasBeenSet = true;
679 m_modifyingProperties = std::forward<ModifyingPropertiesT>(value);
680 }
681 template <typename ModifyingPropertiesT = Aws::Vector<ModifyingProperties>>
682 DomainStatus& WithModifyingProperties(ModifyingPropertiesT&& value) {
683 SetModifyingProperties(std::forward<ModifyingPropertiesT>(value));
684 return *this;
685 }
686 template <typename ModifyingPropertiesT = ModifyingProperties>
687 DomainStatus& AddModifyingProperties(ModifyingPropertiesT&& value) {
688 m_modifyingPropertiesHasBeenSet = true;
689 m_modifyingProperties.emplace_back(std::forward<ModifyingPropertiesT>(value));
690 return *this;
691 }
693
695
699 inline const AIMLOptionsOutput& GetAIMLOptions() const { return m_aIMLOptions; }
700 inline bool AIMLOptionsHasBeenSet() const { return m_aIMLOptionsHasBeenSet; }
701 template <typename AIMLOptionsT = AIMLOptionsOutput>
702 void SetAIMLOptions(AIMLOptionsT&& value) {
703 m_aIMLOptionsHasBeenSet = true;
704 m_aIMLOptions = std::forward<AIMLOptionsT>(value);
705 }
706 template <typename AIMLOptionsT = AIMLOptionsOutput>
707 DomainStatus& WithAIMLOptions(AIMLOptionsT&& value) {
708 SetAIMLOptions(std::forward<AIMLOptionsT>(value));
709 return *this;
710 }
712
714
717 inline const DeploymentStrategyOptions& GetDeploymentStrategyOptions() const { return m_deploymentStrategyOptions; }
718 inline bool DeploymentStrategyOptionsHasBeenSet() const { return m_deploymentStrategyOptionsHasBeenSet; }
719 template <typename DeploymentStrategyOptionsT = DeploymentStrategyOptions>
720 void SetDeploymentStrategyOptions(DeploymentStrategyOptionsT&& value) {
721 m_deploymentStrategyOptionsHasBeenSet = true;
722 m_deploymentStrategyOptions = std::forward<DeploymentStrategyOptionsT>(value);
723 }
724 template <typename DeploymentStrategyOptionsT = DeploymentStrategyOptions>
725 DomainStatus& WithDeploymentStrategyOptions(DeploymentStrategyOptionsT&& value) {
726 SetDeploymentStrategyOptions(std::forward<DeploymentStrategyOptionsT>(value));
727 return *this;
728 }
730
732
735 inline const AutomatedSnapshotPauseOptions& GetAutomatedSnapshotPauseOptions() const { return m_automatedSnapshotPauseOptions; }
736 inline bool AutomatedSnapshotPauseOptionsHasBeenSet() const { return m_automatedSnapshotPauseOptionsHasBeenSet; }
737 template <typename AutomatedSnapshotPauseOptionsT = AutomatedSnapshotPauseOptions>
738 void SetAutomatedSnapshotPauseOptions(AutomatedSnapshotPauseOptionsT&& value) {
739 m_automatedSnapshotPauseOptionsHasBeenSet = true;
740 m_automatedSnapshotPauseOptions = std::forward<AutomatedSnapshotPauseOptionsT>(value);
741 }
742 template <typename AutomatedSnapshotPauseOptionsT = AutomatedSnapshotPauseOptions>
743 DomainStatus& WithAutomatedSnapshotPauseOptions(AutomatedSnapshotPauseOptionsT&& value) {
744 SetAutomatedSnapshotPauseOptions(std::forward<AutomatedSnapshotPauseOptionsT>(value));
745 return *this;
746 }
748
750
753 inline DomainUseCase GetUseCase() const { return m_useCase; }
754 inline bool UseCaseHasBeenSet() const { return m_useCaseHasBeenSet; }
755 inline void SetUseCase(DomainUseCase value) {
756 m_useCaseHasBeenSet = true;
757 m_useCase = value;
758 }
760 SetUseCase(value);
761 return *this;
762 }
764
766
769 inline EngineMode GetEngineMode() const { return m_engineMode; }
770 inline bool EngineModeHasBeenSet() const { return m_engineModeHasBeenSet; }
771 inline void SetEngineMode(EngineMode value) {
772 m_engineModeHasBeenSet = true;
773 m_engineMode = value;
774 }
776 SetEngineMode(value);
777 return *this;
778 }
780 private:
781 Aws::String m_domainId;
782
783 Aws::String m_domainName;
784
785 Aws::String m_aRN;
786
787 bool m_created{false};
788
789 bool m_deleted{false};
790
791 Aws::String m_endpoint;
792
793 Aws::String m_endpointV2;
794
796
797 Aws::String m_domainEndpointV2HostedZoneId;
798
799 bool m_processing{false};
800
801 bool m_upgradeProcessing{false};
802
803 Aws::String m_engineVersion;
804
805 ClusterConfig m_clusterConfig;
806
807 EBSOptions m_eBSOptions;
808
809 Aws::String m_accessPolicies;
810
811 IPAddressType m_iPAddressType{IPAddressType::NOT_SET};
812
813 SnapshotOptions m_snapshotOptions;
814
815 VPCDerivedInfo m_vPCOptions;
816
817 CognitoOptions m_cognitoOptions;
818
819 EncryptionAtRestOptions m_encryptionAtRestOptions;
820
821 NodeToNodeEncryptionOptions m_nodeToNodeEncryptionOptions;
822
823 Aws::Map<Aws::String, Aws::String> m_advancedOptions;
824
825 Aws::Map<LogType, LogPublishingOption> m_logPublishingOptions;
826
827 ServiceSoftwareOptions m_serviceSoftwareOptions;
828
829 DomainEndpointOptions m_domainEndpointOptions;
830
831 AdvancedSecurityOptions m_advancedSecurityOptions;
832
833 IdentityCenterOptions m_identityCenterOptions;
834
835 AutoTuneOptionsOutput m_autoTuneOptions;
836
837 ChangeProgressDetails m_changeProgressDetails;
838
839 OffPeakWindowOptions m_offPeakWindowOptions;
840
841 SoftwareUpdateOptions m_softwareUpdateOptions;
842
844
845 Aws::Vector<ModifyingProperties> m_modifyingProperties;
846
847 AIMLOptionsOutput m_aIMLOptions;
848
849 DeploymentStrategyOptions m_deploymentStrategyOptions;
850
851 AutomatedSnapshotPauseOptions m_automatedSnapshotPauseOptions;
852
854
855 EngineMode m_engineMode{EngineMode::NOT_SET};
856 bool m_domainIdHasBeenSet = false;
857 bool m_domainNameHasBeenSet = false;
858 bool m_aRNHasBeenSet = false;
859 bool m_createdHasBeenSet = false;
860 bool m_deletedHasBeenSet = false;
861 bool m_endpointHasBeenSet = false;
862 bool m_endpointV2HasBeenSet = false;
863 bool m_endpointsHasBeenSet = false;
864 bool m_domainEndpointV2HostedZoneIdHasBeenSet = false;
865 bool m_processingHasBeenSet = false;
866 bool m_upgradeProcessingHasBeenSet = false;
867 bool m_engineVersionHasBeenSet = false;
868 bool m_clusterConfigHasBeenSet = false;
869 bool m_eBSOptionsHasBeenSet = false;
870 bool m_accessPoliciesHasBeenSet = false;
871 bool m_iPAddressTypeHasBeenSet = false;
872 bool m_snapshotOptionsHasBeenSet = false;
873 bool m_vPCOptionsHasBeenSet = false;
874 bool m_cognitoOptionsHasBeenSet = false;
875 bool m_encryptionAtRestOptionsHasBeenSet = false;
876 bool m_nodeToNodeEncryptionOptionsHasBeenSet = false;
877 bool m_advancedOptionsHasBeenSet = false;
878 bool m_logPublishingOptionsHasBeenSet = false;
879 bool m_serviceSoftwareOptionsHasBeenSet = false;
880 bool m_domainEndpointOptionsHasBeenSet = false;
881 bool m_advancedSecurityOptionsHasBeenSet = false;
882 bool m_identityCenterOptionsHasBeenSet = false;
883 bool m_autoTuneOptionsHasBeenSet = false;
884 bool m_changeProgressDetailsHasBeenSet = false;
885 bool m_offPeakWindowOptionsHasBeenSet = false;
886 bool m_softwareUpdateOptionsHasBeenSet = false;
887 bool m_domainProcessingStatusHasBeenSet = false;
888 bool m_modifyingPropertiesHasBeenSet = false;
889 bool m_aIMLOptionsHasBeenSet = false;
890 bool m_deploymentStrategyOptionsHasBeenSet = false;
891 bool m_automatedSnapshotPauseOptionsHasBeenSet = false;
892 bool m_useCaseHasBeenSet = false;
893 bool m_engineModeHasBeenSet = false;
894};
895
896} // namespace Model
897} // namespace OpenSearchService
898} // 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 & WithEngineMode(EngineMode 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 & WithUseCase(DomainUseCase value)
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