AWS SDK for C++

AWS SDK for C++ Version 1.11.784

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/ChangeProgressDetails.h>
15#include <aws/opensearch/model/ClusterConfig.h>
16#include <aws/opensearch/model/CognitoOptions.h>
17#include <aws/opensearch/model/DeploymentStrategyOptions.h>
18#include <aws/opensearch/model/DomainEndpointOptions.h>
19#include <aws/opensearch/model/DomainProcessingStatusType.h>
20#include <aws/opensearch/model/EBSOptions.h>
21#include <aws/opensearch/model/EncryptionAtRestOptions.h>
22#include <aws/opensearch/model/IPAddressType.h>
23#include <aws/opensearch/model/IdentityCenterOptions.h>
24#include <aws/opensearch/model/LogPublishingOption.h>
25#include <aws/opensearch/model/LogType.h>
26#include <aws/opensearch/model/ModifyingProperties.h>
27#include <aws/opensearch/model/NodeToNodeEncryptionOptions.h>
28#include <aws/opensearch/model/OffPeakWindowOptions.h>
29#include <aws/opensearch/model/ServiceSoftwareOptions.h>
30#include <aws/opensearch/model/SnapshotOptions.h>
31#include <aws/opensearch/model/SoftwareUpdateOptions.h>
32#include <aws/opensearch/model/VPCDerivedInfo.h>
33
34#include <utility>
35
36namespace Aws {
37namespace Utils {
38namespace Json {
39class JsonValue;
40class JsonView;
41} // namespace Json
42} // namespace Utils
43namespace OpenSearchService {
44namespace Model {
45
53 public:
54 AWS_OPENSEARCHSERVICE_API DomainStatus() = default;
55 AWS_OPENSEARCHSERVICE_API DomainStatus(Aws::Utils::Json::JsonView jsonValue);
56 AWS_OPENSEARCHSERVICE_API DomainStatus& operator=(Aws::Utils::Json::JsonView jsonValue);
57 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
58
60
63 inline const Aws::String& GetDomainId() const { return m_domainId; }
64 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
65 template <typename DomainIdT = Aws::String>
66 void SetDomainId(DomainIdT&& value) {
67 m_domainIdHasBeenSet = true;
68 m_domainId = std::forward<DomainIdT>(value);
69 }
70 template <typename DomainIdT = Aws::String>
71 DomainStatus& WithDomainId(DomainIdT&& value) {
72 SetDomainId(std::forward<DomainIdT>(value));
73 return *this;
74 }
76
78
82 inline const Aws::String& GetDomainName() const { return m_domainName; }
83 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
84 template <typename DomainNameT = Aws::String>
85 void SetDomainName(DomainNameT&& value) {
86 m_domainNameHasBeenSet = true;
87 m_domainName = std::forward<DomainNameT>(value);
88 }
89 template <typename DomainNameT = Aws::String>
90 DomainStatus& WithDomainName(DomainNameT&& value) {
91 SetDomainName(std::forward<DomainNameT>(value));
92 return *this;
93 }
95
97
103 inline const Aws::String& GetARN() const { return m_aRN; }
104 inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
105 template <typename ARNT = Aws::String>
106 void SetARN(ARNT&& value) {
107 m_aRNHasBeenSet = true;
108 m_aRN = std::forward<ARNT>(value);
109 }
110 template <typename ARNT = Aws::String>
111 DomainStatus& WithARN(ARNT&& value) {
112 SetARN(std::forward<ARNT>(value));
113 return *this;
114 }
116
118
122 inline bool GetCreated() const { return m_created; }
123 inline bool CreatedHasBeenSet() const { return m_createdHasBeenSet; }
124 inline void SetCreated(bool value) {
125 m_createdHasBeenSet = true;
126 m_created = value;
127 }
128 inline DomainStatus& WithCreated(bool value) {
129 SetCreated(value);
130 return *this;
131 }
133
135
140 inline bool GetDeleted() const { return m_deleted; }
141 inline bool DeletedHasBeenSet() const { return m_deletedHasBeenSet; }
142 inline void SetDeleted(bool value) {
143 m_deletedHasBeenSet = true;
144 m_deleted = value;
145 }
146 inline DomainStatus& WithDeleted(bool value) {
147 SetDeleted(value);
148 return *this;
149 }
151
153
157 inline const Aws::String& GetEndpoint() const { return m_endpoint; }
158 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
159 template <typename EndpointT = Aws::String>
160 void SetEndpoint(EndpointT&& value) {
161 m_endpointHasBeenSet = true;
162 m_endpoint = std::forward<EndpointT>(value);
163 }
164 template <typename EndpointT = Aws::String>
165 DomainStatus& WithEndpoint(EndpointT&& value) {
166 SetEndpoint(std::forward<EndpointT>(value));
167 return *this;
168 }
170
172
178 inline const Aws::String& GetEndpointV2() const { return m_endpointV2; }
179 inline bool EndpointV2HasBeenSet() const { return m_endpointV2HasBeenSet; }
180 template <typename EndpointV2T = Aws::String>
181 void SetEndpointV2(EndpointV2T&& value) {
182 m_endpointV2HasBeenSet = true;
183 m_endpointV2 = std::forward<EndpointV2T>(value);
184 }
185 template <typename EndpointV2T = Aws::String>
186 DomainStatus& WithEndpointV2(EndpointV2T&& value) {
187 SetEndpointV2(std::forward<EndpointV2T>(value));
188 return *this;
189 }
191
193
201 inline const Aws::Map<Aws::String, Aws::String>& GetEndpoints() const { return m_endpoints; }
202 inline bool EndpointsHasBeenSet() const { return m_endpointsHasBeenSet; }
203 template <typename EndpointsT = Aws::Map<Aws::String, Aws::String>>
204 void SetEndpoints(EndpointsT&& value) {
205 m_endpointsHasBeenSet = true;
206 m_endpoints = std::forward<EndpointsT>(value);
207 }
208 template <typename EndpointsT = Aws::Map<Aws::String, Aws::String>>
209 DomainStatus& WithEndpoints(EndpointsT&& value) {
210 SetEndpoints(std::forward<EndpointsT>(value));
211 return *this;
212 }
213 template <typename EndpointsKeyT = Aws::String, typename EndpointsValueT = Aws::String>
214 DomainStatus& AddEndpoints(EndpointsKeyT&& key, EndpointsValueT&& value) {
215 m_endpointsHasBeenSet = true;
216 m_endpoints.emplace(std::forward<EndpointsKeyT>(key), std::forward<EndpointsValueT>(value));
217 return *this;
218 }
220
222
225 inline const Aws::String& GetDomainEndpointV2HostedZoneId() const { return m_domainEndpointV2HostedZoneId; }
226 inline bool DomainEndpointV2HostedZoneIdHasBeenSet() const { return m_domainEndpointV2HostedZoneIdHasBeenSet; }
227 template <typename DomainEndpointV2HostedZoneIdT = Aws::String>
228 void SetDomainEndpointV2HostedZoneId(DomainEndpointV2HostedZoneIdT&& value) {
229 m_domainEndpointV2HostedZoneIdHasBeenSet = true;
230 m_domainEndpointV2HostedZoneId = std::forward<DomainEndpointV2HostedZoneIdT>(value);
231 }
232 template <typename DomainEndpointV2HostedZoneIdT = Aws::String>
233 DomainStatus& WithDomainEndpointV2HostedZoneId(DomainEndpointV2HostedZoneIdT&& value) {
234 SetDomainEndpointV2HostedZoneId(std::forward<DomainEndpointV2HostedZoneIdT>(value));
235 return *this;
236 }
238
240
244 inline bool GetProcessing() const { return m_processing; }
245 inline bool ProcessingHasBeenSet() const { return m_processingHasBeenSet; }
246 inline void SetProcessing(bool value) {
247 m_processingHasBeenSet = true;
248 m_processing = value;
249 }
250 inline DomainStatus& WithProcessing(bool value) {
251 SetProcessing(value);
252 return *this;
253 }
255
257
262 inline bool GetUpgradeProcessing() const { return m_upgradeProcessing; }
263 inline bool UpgradeProcessingHasBeenSet() const { return m_upgradeProcessingHasBeenSet; }
264 inline void SetUpgradeProcessing(bool value) {
265 m_upgradeProcessingHasBeenSet = true;
266 m_upgradeProcessing = value;
267 }
270 return *this;
271 }
273
275
279 inline const Aws::String& GetEngineVersion() const { return m_engineVersion; }
280 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
281 template <typename EngineVersionT = Aws::String>
282 void SetEngineVersion(EngineVersionT&& value) {
283 m_engineVersionHasBeenSet = true;
284 m_engineVersion = std::forward<EngineVersionT>(value);
285 }
286 template <typename EngineVersionT = Aws::String>
287 DomainStatus& WithEngineVersion(EngineVersionT&& value) {
288 SetEngineVersion(std::forward<EngineVersionT>(value));
289 return *this;
290 }
292
294
297 inline const ClusterConfig& GetClusterConfig() const { return m_clusterConfig; }
298 inline bool ClusterConfigHasBeenSet() const { return m_clusterConfigHasBeenSet; }
299 template <typename ClusterConfigT = ClusterConfig>
300 void SetClusterConfig(ClusterConfigT&& value) {
301 m_clusterConfigHasBeenSet = true;
302 m_clusterConfig = std::forward<ClusterConfigT>(value);
303 }
304 template <typename ClusterConfigT = ClusterConfig>
305 DomainStatus& WithClusterConfig(ClusterConfigT&& value) {
306 SetClusterConfig(std::forward<ClusterConfigT>(value));
307 return *this;
308 }
310
312
315 inline const EBSOptions& GetEBSOptions() const { return m_eBSOptions; }
316 inline bool EBSOptionsHasBeenSet() const { return m_eBSOptionsHasBeenSet; }
317 template <typename EBSOptionsT = EBSOptions>
318 void SetEBSOptions(EBSOptionsT&& value) {
319 m_eBSOptionsHasBeenSet = true;
320 m_eBSOptions = std::forward<EBSOptionsT>(value);
321 }
322 template <typename EBSOptionsT = EBSOptions>
323 DomainStatus& WithEBSOptions(EBSOptionsT&& value) {
324 SetEBSOptions(std::forward<EBSOptionsT>(value));
325 return *this;
326 }
328
330
334 inline const Aws::String& GetAccessPolicies() const { return m_accessPolicies; }
335 inline bool AccessPoliciesHasBeenSet() const { return m_accessPoliciesHasBeenSet; }
336 template <typename AccessPoliciesT = Aws::String>
337 void SetAccessPolicies(AccessPoliciesT&& value) {
338 m_accessPoliciesHasBeenSet = true;
339 m_accessPolicies = std::forward<AccessPoliciesT>(value);
340 }
341 template <typename AccessPoliciesT = Aws::String>
342 DomainStatus& WithAccessPolicies(AccessPoliciesT&& value) {
343 SetAccessPolicies(std::forward<AccessPoliciesT>(value));
344 return *this;
345 }
347
349
352 inline IPAddressType GetIPAddressType() const { return m_iPAddressType; }
353 inline bool IPAddressTypeHasBeenSet() const { return m_iPAddressTypeHasBeenSet; }
354 inline void SetIPAddressType(IPAddressType value) {
355 m_iPAddressTypeHasBeenSet = true;
356 m_iPAddressType = value;
357 }
359 SetIPAddressType(value);
360 return *this;
361 }
363
365
369 inline const SnapshotOptions& GetSnapshotOptions() const { return m_snapshotOptions; }
370 inline bool SnapshotOptionsHasBeenSet() const { return m_snapshotOptionsHasBeenSet; }
371 template <typename SnapshotOptionsT = SnapshotOptions>
372 void SetSnapshotOptions(SnapshotOptionsT&& value) {
373 m_snapshotOptionsHasBeenSet = true;
374 m_snapshotOptions = std::forward<SnapshotOptionsT>(value);
375 }
376 template <typename SnapshotOptionsT = SnapshotOptions>
377 DomainStatus& WithSnapshotOptions(SnapshotOptionsT&& value) {
378 SetSnapshotOptions(std::forward<SnapshotOptionsT>(value));
379 return *this;
380 }
382
384
387 inline const VPCDerivedInfo& GetVPCOptions() const { return m_vPCOptions; }
388 inline bool VPCOptionsHasBeenSet() const { return m_vPCOptionsHasBeenSet; }
389 template <typename VPCOptionsT = VPCDerivedInfo>
390 void SetVPCOptions(VPCOptionsT&& value) {
391 m_vPCOptionsHasBeenSet = true;
392 m_vPCOptions = std::forward<VPCOptionsT>(value);
393 }
394 template <typename VPCOptionsT = VPCDerivedInfo>
395 DomainStatus& WithVPCOptions(VPCOptionsT&& value) {
396 SetVPCOptions(std::forward<VPCOptionsT>(value));
397 return *this;
398 }
400
402
406 inline const CognitoOptions& GetCognitoOptions() const { return m_cognitoOptions; }
407 inline bool CognitoOptionsHasBeenSet() const { return m_cognitoOptionsHasBeenSet; }
408 template <typename CognitoOptionsT = CognitoOptions>
409 void SetCognitoOptions(CognitoOptionsT&& value) {
410 m_cognitoOptionsHasBeenSet = true;
411 m_cognitoOptions = std::forward<CognitoOptionsT>(value);
412 }
413 template <typename CognitoOptionsT = CognitoOptions>
414 DomainStatus& WithCognitoOptions(CognitoOptionsT&& value) {
415 SetCognitoOptions(std::forward<CognitoOptionsT>(value));
416 return *this;
417 }
419
421
424 inline const EncryptionAtRestOptions& GetEncryptionAtRestOptions() const { return m_encryptionAtRestOptions; }
425 inline bool EncryptionAtRestOptionsHasBeenSet() const { return m_encryptionAtRestOptionsHasBeenSet; }
426 template <typename EncryptionAtRestOptionsT = EncryptionAtRestOptions>
427 void SetEncryptionAtRestOptions(EncryptionAtRestOptionsT&& value) {
428 m_encryptionAtRestOptionsHasBeenSet = true;
429 m_encryptionAtRestOptions = std::forward<EncryptionAtRestOptionsT>(value);
430 }
431 template <typename EncryptionAtRestOptionsT = EncryptionAtRestOptions>
432 DomainStatus& WithEncryptionAtRestOptions(EncryptionAtRestOptionsT&& value) {
433 SetEncryptionAtRestOptions(std::forward<EncryptionAtRestOptionsT>(value));
434 return *this;
435 }
437
439
442 inline const NodeToNodeEncryptionOptions& GetNodeToNodeEncryptionOptions() const { return m_nodeToNodeEncryptionOptions; }
443 inline bool NodeToNodeEncryptionOptionsHasBeenSet() const { return m_nodeToNodeEncryptionOptionsHasBeenSet; }
444 template <typename NodeToNodeEncryptionOptionsT = NodeToNodeEncryptionOptions>
445 void SetNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsT&& value) {
446 m_nodeToNodeEncryptionOptionsHasBeenSet = true;
447 m_nodeToNodeEncryptionOptions = std::forward<NodeToNodeEncryptionOptionsT>(value);
448 }
449 template <typename NodeToNodeEncryptionOptionsT = NodeToNodeEncryptionOptions>
450 DomainStatus& WithNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsT&& value) {
451 SetNodeToNodeEncryptionOptions(std::forward<NodeToNodeEncryptionOptionsT>(value));
452 return *this;
453 }
455
457
460 inline const Aws::Map<Aws::String, Aws::String>& GetAdvancedOptions() const { return m_advancedOptions; }
461 inline bool AdvancedOptionsHasBeenSet() const { return m_advancedOptionsHasBeenSet; }
462 template <typename AdvancedOptionsT = Aws::Map<Aws::String, Aws::String>>
463 void SetAdvancedOptions(AdvancedOptionsT&& value) {
464 m_advancedOptionsHasBeenSet = true;
465 m_advancedOptions = std::forward<AdvancedOptionsT>(value);
466 }
467 template <typename AdvancedOptionsT = Aws::Map<Aws::String, Aws::String>>
468 DomainStatus& WithAdvancedOptions(AdvancedOptionsT&& value) {
469 SetAdvancedOptions(std::forward<AdvancedOptionsT>(value));
470 return *this;
471 }
472 template <typename AdvancedOptionsKeyT = Aws::String, typename AdvancedOptionsValueT = Aws::String>
473 DomainStatus& AddAdvancedOptions(AdvancedOptionsKeyT&& key, AdvancedOptionsValueT&& value) {
474 m_advancedOptionsHasBeenSet = true;
475 m_advancedOptions.emplace(std::forward<AdvancedOptionsKeyT>(key), std::forward<AdvancedOptionsValueT>(value));
476 return *this;
477 }
479
481
484 inline const Aws::Map<LogType, LogPublishingOption>& GetLogPublishingOptions() const { return m_logPublishingOptions; }
485 inline bool LogPublishingOptionsHasBeenSet() const { return m_logPublishingOptionsHasBeenSet; }
486 template <typename LogPublishingOptionsT = Aws::Map<LogType, LogPublishingOption>>
487 void SetLogPublishingOptions(LogPublishingOptionsT&& value) {
488 m_logPublishingOptionsHasBeenSet = true;
489 m_logPublishingOptions = std::forward<LogPublishingOptionsT>(value);
490 }
491 template <typename LogPublishingOptionsT = Aws::Map<LogType, LogPublishingOption>>
492 DomainStatus& WithLogPublishingOptions(LogPublishingOptionsT&& value) {
493 SetLogPublishingOptions(std::forward<LogPublishingOptionsT>(value));
494 return *this;
495 }
497 m_logPublishingOptionsHasBeenSet = true;
498 m_logPublishingOptions.emplace(key, value);
499 return *this;
500 }
502
504
507 inline const ServiceSoftwareOptions& GetServiceSoftwareOptions() const { return m_serviceSoftwareOptions; }
508 inline bool ServiceSoftwareOptionsHasBeenSet() const { return m_serviceSoftwareOptionsHasBeenSet; }
509 template <typename ServiceSoftwareOptionsT = ServiceSoftwareOptions>
510 void SetServiceSoftwareOptions(ServiceSoftwareOptionsT&& value) {
511 m_serviceSoftwareOptionsHasBeenSet = true;
512 m_serviceSoftwareOptions = std::forward<ServiceSoftwareOptionsT>(value);
513 }
514 template <typename ServiceSoftwareOptionsT = ServiceSoftwareOptions>
515 DomainStatus& WithServiceSoftwareOptions(ServiceSoftwareOptionsT&& value) {
516 SetServiceSoftwareOptions(std::forward<ServiceSoftwareOptionsT>(value));
517 return *this;
518 }
520
522
526 inline const DomainEndpointOptions& GetDomainEndpointOptions() const { return m_domainEndpointOptions; }
527 inline bool DomainEndpointOptionsHasBeenSet() const { return m_domainEndpointOptionsHasBeenSet; }
528 template <typename DomainEndpointOptionsT = DomainEndpointOptions>
529 void SetDomainEndpointOptions(DomainEndpointOptionsT&& value) {
530 m_domainEndpointOptionsHasBeenSet = true;
531 m_domainEndpointOptions = std::forward<DomainEndpointOptionsT>(value);
532 }
533 template <typename DomainEndpointOptionsT = DomainEndpointOptions>
534 DomainStatus& WithDomainEndpointOptions(DomainEndpointOptionsT&& value) {
535 SetDomainEndpointOptions(std::forward<DomainEndpointOptionsT>(value));
536 return *this;
537 }
539
541
544 inline const AdvancedSecurityOptions& GetAdvancedSecurityOptions() const { return m_advancedSecurityOptions; }
545 inline bool AdvancedSecurityOptionsHasBeenSet() const { return m_advancedSecurityOptionsHasBeenSet; }
546 template <typename AdvancedSecurityOptionsT = AdvancedSecurityOptions>
547 void SetAdvancedSecurityOptions(AdvancedSecurityOptionsT&& value) {
548 m_advancedSecurityOptionsHasBeenSet = true;
549 m_advancedSecurityOptions = std::forward<AdvancedSecurityOptionsT>(value);
550 }
551 template <typename AdvancedSecurityOptionsT = AdvancedSecurityOptions>
552 DomainStatus& WithAdvancedSecurityOptions(AdvancedSecurityOptionsT&& value) {
553 SetAdvancedSecurityOptions(std::forward<AdvancedSecurityOptionsT>(value));
554 return *this;
555 }
557
559
563 inline const IdentityCenterOptions& GetIdentityCenterOptions() const { return m_identityCenterOptions; }
564 inline bool IdentityCenterOptionsHasBeenSet() const { return m_identityCenterOptionsHasBeenSet; }
565 template <typename IdentityCenterOptionsT = IdentityCenterOptions>
566 void SetIdentityCenterOptions(IdentityCenterOptionsT&& value) {
567 m_identityCenterOptionsHasBeenSet = true;
568 m_identityCenterOptions = std::forward<IdentityCenterOptionsT>(value);
569 }
570 template <typename IdentityCenterOptionsT = IdentityCenterOptions>
571 DomainStatus& WithIdentityCenterOptions(IdentityCenterOptionsT&& value) {
572 SetIdentityCenterOptions(std::forward<IdentityCenterOptionsT>(value));
573 return *this;
574 }
576
578
581 inline const AutoTuneOptionsOutput& GetAutoTuneOptions() const { return m_autoTuneOptions; }
582 inline bool AutoTuneOptionsHasBeenSet() const { return m_autoTuneOptionsHasBeenSet; }
583 template <typename AutoTuneOptionsT = AutoTuneOptionsOutput>
584 void SetAutoTuneOptions(AutoTuneOptionsT&& value) {
585 m_autoTuneOptionsHasBeenSet = true;
586 m_autoTuneOptions = std::forward<AutoTuneOptionsT>(value);
587 }
588 template <typename AutoTuneOptionsT = AutoTuneOptionsOutput>
589 DomainStatus& WithAutoTuneOptions(AutoTuneOptionsT&& value) {
590 SetAutoTuneOptions(std::forward<AutoTuneOptionsT>(value));
591 return *this;
592 }
594
596
599 inline const ChangeProgressDetails& GetChangeProgressDetails() const { return m_changeProgressDetails; }
600 inline bool ChangeProgressDetailsHasBeenSet() const { return m_changeProgressDetailsHasBeenSet; }
601 template <typename ChangeProgressDetailsT = ChangeProgressDetails>
602 void SetChangeProgressDetails(ChangeProgressDetailsT&& value) {
603 m_changeProgressDetailsHasBeenSet = true;
604 m_changeProgressDetails = std::forward<ChangeProgressDetailsT>(value);
605 }
606 template <typename ChangeProgressDetailsT = ChangeProgressDetails>
607 DomainStatus& WithChangeProgressDetails(ChangeProgressDetailsT&& value) {
608 SetChangeProgressDetails(std::forward<ChangeProgressDetailsT>(value));
609 return *this;
610 }
612
614
618 inline const OffPeakWindowOptions& GetOffPeakWindowOptions() const { return m_offPeakWindowOptions; }
619 inline bool OffPeakWindowOptionsHasBeenSet() const { return m_offPeakWindowOptionsHasBeenSet; }
620 template <typename OffPeakWindowOptionsT = OffPeakWindowOptions>
621 void SetOffPeakWindowOptions(OffPeakWindowOptionsT&& value) {
622 m_offPeakWindowOptionsHasBeenSet = true;
623 m_offPeakWindowOptions = std::forward<OffPeakWindowOptionsT>(value);
624 }
625 template <typename OffPeakWindowOptionsT = OffPeakWindowOptions>
626 DomainStatus& WithOffPeakWindowOptions(OffPeakWindowOptionsT&& value) {
627 SetOffPeakWindowOptions(std::forward<OffPeakWindowOptionsT>(value));
628 return *this;
629 }
631
633
636 inline const SoftwareUpdateOptions& GetSoftwareUpdateOptions() const { return m_softwareUpdateOptions; }
637 inline bool SoftwareUpdateOptionsHasBeenSet() const { return m_softwareUpdateOptionsHasBeenSet; }
638 template <typename SoftwareUpdateOptionsT = SoftwareUpdateOptions>
639 void SetSoftwareUpdateOptions(SoftwareUpdateOptionsT&& value) {
640 m_softwareUpdateOptionsHasBeenSet = true;
641 m_softwareUpdateOptions = std::forward<SoftwareUpdateOptionsT>(value);
642 }
643 template <typename SoftwareUpdateOptionsT = SoftwareUpdateOptions>
644 DomainStatus& WithSoftwareUpdateOptions(SoftwareUpdateOptionsT&& value) {
645 SetSoftwareUpdateOptions(std::forward<SoftwareUpdateOptionsT>(value));
646 return *this;
647 }
649
651
654 inline DomainProcessingStatusType GetDomainProcessingStatus() const { return m_domainProcessingStatus; }
655 inline bool DomainProcessingStatusHasBeenSet() const { return m_domainProcessingStatusHasBeenSet; }
657 m_domainProcessingStatusHasBeenSet = true;
658 m_domainProcessingStatus = value;
659 }
662 return *this;
663 }
665
667
671 inline const Aws::Vector<ModifyingProperties>& GetModifyingProperties() const { return m_modifyingProperties; }
672 inline bool ModifyingPropertiesHasBeenSet() const { return m_modifyingPropertiesHasBeenSet; }
673 template <typename ModifyingPropertiesT = Aws::Vector<ModifyingProperties>>
674 void SetModifyingProperties(ModifyingPropertiesT&& value) {
675 m_modifyingPropertiesHasBeenSet = true;
676 m_modifyingProperties = std::forward<ModifyingPropertiesT>(value);
677 }
678 template <typename ModifyingPropertiesT = Aws::Vector<ModifyingProperties>>
679 DomainStatus& WithModifyingProperties(ModifyingPropertiesT&& value) {
680 SetModifyingProperties(std::forward<ModifyingPropertiesT>(value));
681 return *this;
682 }
683 template <typename ModifyingPropertiesT = ModifyingProperties>
684 DomainStatus& AddModifyingProperties(ModifyingPropertiesT&& value) {
685 m_modifyingPropertiesHasBeenSet = true;
686 m_modifyingProperties.emplace_back(std::forward<ModifyingPropertiesT>(value));
687 return *this;
688 }
690
692
696 inline const AIMLOptionsOutput& GetAIMLOptions() const { return m_aIMLOptions; }
697 inline bool AIMLOptionsHasBeenSet() const { return m_aIMLOptionsHasBeenSet; }
698 template <typename AIMLOptionsT = AIMLOptionsOutput>
699 void SetAIMLOptions(AIMLOptionsT&& value) {
700 m_aIMLOptionsHasBeenSet = true;
701 m_aIMLOptions = std::forward<AIMLOptionsT>(value);
702 }
703 template <typename AIMLOptionsT = AIMLOptionsOutput>
704 DomainStatus& WithAIMLOptions(AIMLOptionsT&& value) {
705 SetAIMLOptions(std::forward<AIMLOptionsT>(value));
706 return *this;
707 }
709
711
714 inline const DeploymentStrategyOptions& GetDeploymentStrategyOptions() const { return m_deploymentStrategyOptions; }
715 inline bool DeploymentStrategyOptionsHasBeenSet() const { return m_deploymentStrategyOptionsHasBeenSet; }
716 template <typename DeploymentStrategyOptionsT = DeploymentStrategyOptions>
717 void SetDeploymentStrategyOptions(DeploymentStrategyOptionsT&& value) {
718 m_deploymentStrategyOptionsHasBeenSet = true;
719 m_deploymentStrategyOptions = std::forward<DeploymentStrategyOptionsT>(value);
720 }
721 template <typename DeploymentStrategyOptionsT = DeploymentStrategyOptions>
722 DomainStatus& WithDeploymentStrategyOptions(DeploymentStrategyOptionsT&& value) {
723 SetDeploymentStrategyOptions(std::forward<DeploymentStrategyOptionsT>(value));
724 return *this;
725 }
727 private:
728 Aws::String m_domainId;
729
730 Aws::String m_domainName;
731
732 Aws::String m_aRN;
733
734 bool m_created{false};
735
736 bool m_deleted{false};
737
738 Aws::String m_endpoint;
739
740 Aws::String m_endpointV2;
741
743
744 Aws::String m_domainEndpointV2HostedZoneId;
745
746 bool m_processing{false};
747
748 bool m_upgradeProcessing{false};
749
750 Aws::String m_engineVersion;
751
752 ClusterConfig m_clusterConfig;
753
754 EBSOptions m_eBSOptions;
755
756 Aws::String m_accessPolicies;
757
758 IPAddressType m_iPAddressType{IPAddressType::NOT_SET};
759
760 SnapshotOptions m_snapshotOptions;
761
762 VPCDerivedInfo m_vPCOptions;
763
764 CognitoOptions m_cognitoOptions;
765
766 EncryptionAtRestOptions m_encryptionAtRestOptions;
767
768 NodeToNodeEncryptionOptions m_nodeToNodeEncryptionOptions;
769
770 Aws::Map<Aws::String, Aws::String> m_advancedOptions;
771
772 Aws::Map<LogType, LogPublishingOption> m_logPublishingOptions;
773
774 ServiceSoftwareOptions m_serviceSoftwareOptions;
775
776 DomainEndpointOptions m_domainEndpointOptions;
777
778 AdvancedSecurityOptions m_advancedSecurityOptions;
779
780 IdentityCenterOptions m_identityCenterOptions;
781
782 AutoTuneOptionsOutput m_autoTuneOptions;
783
784 ChangeProgressDetails m_changeProgressDetails;
785
786 OffPeakWindowOptions m_offPeakWindowOptions;
787
788 SoftwareUpdateOptions m_softwareUpdateOptions;
789
791
792 Aws::Vector<ModifyingProperties> m_modifyingProperties;
793
794 AIMLOptionsOutput m_aIMLOptions;
795
796 DeploymentStrategyOptions m_deploymentStrategyOptions;
797 bool m_domainIdHasBeenSet = false;
798 bool m_domainNameHasBeenSet = false;
799 bool m_aRNHasBeenSet = false;
800 bool m_createdHasBeenSet = false;
801 bool m_deletedHasBeenSet = false;
802 bool m_endpointHasBeenSet = false;
803 bool m_endpointV2HasBeenSet = false;
804 bool m_endpointsHasBeenSet = false;
805 bool m_domainEndpointV2HostedZoneIdHasBeenSet = false;
806 bool m_processingHasBeenSet = false;
807 bool m_upgradeProcessingHasBeenSet = false;
808 bool m_engineVersionHasBeenSet = false;
809 bool m_clusterConfigHasBeenSet = false;
810 bool m_eBSOptionsHasBeenSet = false;
811 bool m_accessPoliciesHasBeenSet = false;
812 bool m_iPAddressTypeHasBeenSet = false;
813 bool m_snapshotOptionsHasBeenSet = false;
814 bool m_vPCOptionsHasBeenSet = false;
815 bool m_cognitoOptionsHasBeenSet = false;
816 bool m_encryptionAtRestOptionsHasBeenSet = false;
817 bool m_nodeToNodeEncryptionOptionsHasBeenSet = false;
818 bool m_advancedOptionsHasBeenSet = false;
819 bool m_logPublishingOptionsHasBeenSet = false;
820 bool m_serviceSoftwareOptionsHasBeenSet = false;
821 bool m_domainEndpointOptionsHasBeenSet = false;
822 bool m_advancedSecurityOptionsHasBeenSet = false;
823 bool m_identityCenterOptionsHasBeenSet = false;
824 bool m_autoTuneOptionsHasBeenSet = false;
825 bool m_changeProgressDetailsHasBeenSet = false;
826 bool m_offPeakWindowOptionsHasBeenSet = false;
827 bool m_softwareUpdateOptionsHasBeenSet = false;
828 bool m_domainProcessingStatusHasBeenSet = false;
829 bool m_modifyingPropertiesHasBeenSet = false;
830 bool m_aIMLOptionsHasBeenSet = false;
831 bool m_deploymentStrategyOptionsHasBeenSet = false;
832};
833
834} // namespace Model
835} // namespace OpenSearchService
836} // 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)
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 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)
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