AWS SDK for C++

AWS SDK for C++ Version 1.11.719

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/DomainEndpointOptions.h>
18#include <aws/opensearch/model/DomainProcessingStatusType.h>
19#include <aws/opensearch/model/EBSOptions.h>
20#include <aws/opensearch/model/EncryptionAtRestOptions.h>
21#include <aws/opensearch/model/IPAddressType.h>
22#include <aws/opensearch/model/IdentityCenterOptions.h>
23#include <aws/opensearch/model/LogPublishingOption.h>
24#include <aws/opensearch/model/LogType.h>
25#include <aws/opensearch/model/ModifyingProperties.h>
26#include <aws/opensearch/model/NodeToNodeEncryptionOptions.h>
27#include <aws/opensearch/model/OffPeakWindowOptions.h>
28#include <aws/opensearch/model/ServiceSoftwareOptions.h>
29#include <aws/opensearch/model/SnapshotOptions.h>
30#include <aws/opensearch/model/SoftwareUpdateOptions.h>
31#include <aws/opensearch/model/VPCDerivedInfo.h>
32
33#include <utility>
34
35namespace Aws {
36namespace Utils {
37namespace Json {
38class JsonValue;
39class JsonView;
40} // namespace Json
41} // namespace Utils
42namespace OpenSearchService {
43namespace Model {
44
52 public:
53 AWS_OPENSEARCHSERVICE_API DomainStatus() = default;
54 AWS_OPENSEARCHSERVICE_API DomainStatus(Aws::Utils::Json::JsonView jsonValue);
55 AWS_OPENSEARCHSERVICE_API DomainStatus& operator=(Aws::Utils::Json::JsonView jsonValue);
56 AWS_OPENSEARCHSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
57
59
62 inline const Aws::String& GetDomainId() const { return m_domainId; }
63 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
64 template <typename DomainIdT = Aws::String>
65 void SetDomainId(DomainIdT&& value) {
66 m_domainIdHasBeenSet = true;
67 m_domainId = std::forward<DomainIdT>(value);
68 }
69 template <typename DomainIdT = Aws::String>
70 DomainStatus& WithDomainId(DomainIdT&& value) {
71 SetDomainId(std::forward<DomainIdT>(value));
72 return *this;
73 }
75
77
81 inline const Aws::String& GetDomainName() const { return m_domainName; }
82 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
83 template <typename DomainNameT = Aws::String>
84 void SetDomainName(DomainNameT&& value) {
85 m_domainNameHasBeenSet = true;
86 m_domainName = std::forward<DomainNameT>(value);
87 }
88 template <typename DomainNameT = Aws::String>
89 DomainStatus& WithDomainName(DomainNameT&& value) {
90 SetDomainName(std::forward<DomainNameT>(value));
91 return *this;
92 }
94
96
102 inline const Aws::String& GetARN() const { return m_aRN; }
103 inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; }
104 template <typename ARNT = Aws::String>
105 void SetARN(ARNT&& value) {
106 m_aRNHasBeenSet = true;
107 m_aRN = std::forward<ARNT>(value);
108 }
109 template <typename ARNT = Aws::String>
110 DomainStatus& WithARN(ARNT&& value) {
111 SetARN(std::forward<ARNT>(value));
112 return *this;
113 }
115
117
121 inline bool GetCreated() const { return m_created; }
122 inline bool CreatedHasBeenSet() const { return m_createdHasBeenSet; }
123 inline void SetCreated(bool value) {
124 m_createdHasBeenSet = true;
125 m_created = value;
126 }
127 inline DomainStatus& WithCreated(bool value) {
128 SetCreated(value);
129 return *this;
130 }
132
134
139 inline bool GetDeleted() const { return m_deleted; }
140 inline bool DeletedHasBeenSet() const { return m_deletedHasBeenSet; }
141 inline void SetDeleted(bool value) {
142 m_deletedHasBeenSet = true;
143 m_deleted = value;
144 }
145 inline DomainStatus& WithDeleted(bool value) {
146 SetDeleted(value);
147 return *this;
148 }
150
152
156 inline const Aws::String& GetEndpoint() const { return m_endpoint; }
157 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
158 template <typename EndpointT = Aws::String>
159 void SetEndpoint(EndpointT&& value) {
160 m_endpointHasBeenSet = true;
161 m_endpoint = std::forward<EndpointT>(value);
162 }
163 template <typename EndpointT = Aws::String>
164 DomainStatus& WithEndpoint(EndpointT&& value) {
165 SetEndpoint(std::forward<EndpointT>(value));
166 return *this;
167 }
169
171
177 inline const Aws::String& GetEndpointV2() const { return m_endpointV2; }
178 inline bool EndpointV2HasBeenSet() const { return m_endpointV2HasBeenSet; }
179 template <typename EndpointV2T = Aws::String>
180 void SetEndpointV2(EndpointV2T&& value) {
181 m_endpointV2HasBeenSet = true;
182 m_endpointV2 = std::forward<EndpointV2T>(value);
183 }
184 template <typename EndpointV2T = Aws::String>
185 DomainStatus& WithEndpointV2(EndpointV2T&& value) {
186 SetEndpointV2(std::forward<EndpointV2T>(value));
187 return *this;
188 }
190
192
200 inline const Aws::Map<Aws::String, Aws::String>& GetEndpoints() const { return m_endpoints; }
201 inline bool EndpointsHasBeenSet() const { return m_endpointsHasBeenSet; }
202 template <typename EndpointsT = Aws::Map<Aws::String, Aws::String>>
203 void SetEndpoints(EndpointsT&& value) {
204 m_endpointsHasBeenSet = true;
205 m_endpoints = std::forward<EndpointsT>(value);
206 }
207 template <typename EndpointsT = Aws::Map<Aws::String, Aws::String>>
208 DomainStatus& WithEndpoints(EndpointsT&& value) {
209 SetEndpoints(std::forward<EndpointsT>(value));
210 return *this;
211 }
212 template <typename EndpointsKeyT = Aws::String, typename EndpointsValueT = Aws::String>
213 DomainStatus& AddEndpoints(EndpointsKeyT&& key, EndpointsValueT&& value) {
214 m_endpointsHasBeenSet = true;
215 m_endpoints.emplace(std::forward<EndpointsKeyT>(key), std::forward<EndpointsValueT>(value));
216 return *this;
217 }
219
221
224 inline const Aws::String& GetDomainEndpointV2HostedZoneId() const { return m_domainEndpointV2HostedZoneId; }
225 inline bool DomainEndpointV2HostedZoneIdHasBeenSet() const { return m_domainEndpointV2HostedZoneIdHasBeenSet; }
226 template <typename DomainEndpointV2HostedZoneIdT = Aws::String>
227 void SetDomainEndpointV2HostedZoneId(DomainEndpointV2HostedZoneIdT&& value) {
228 m_domainEndpointV2HostedZoneIdHasBeenSet = true;
229 m_domainEndpointV2HostedZoneId = std::forward<DomainEndpointV2HostedZoneIdT>(value);
230 }
231 template <typename DomainEndpointV2HostedZoneIdT = Aws::String>
232 DomainStatus& WithDomainEndpointV2HostedZoneId(DomainEndpointV2HostedZoneIdT&& value) {
233 SetDomainEndpointV2HostedZoneId(std::forward<DomainEndpointV2HostedZoneIdT>(value));
234 return *this;
235 }
237
239
243 inline bool GetProcessing() const { return m_processing; }
244 inline bool ProcessingHasBeenSet() const { return m_processingHasBeenSet; }
245 inline void SetProcessing(bool value) {
246 m_processingHasBeenSet = true;
247 m_processing = value;
248 }
249 inline DomainStatus& WithProcessing(bool value) {
250 SetProcessing(value);
251 return *this;
252 }
254
256
261 inline bool GetUpgradeProcessing() const { return m_upgradeProcessing; }
262 inline bool UpgradeProcessingHasBeenSet() const { return m_upgradeProcessingHasBeenSet; }
263 inline void SetUpgradeProcessing(bool value) {
264 m_upgradeProcessingHasBeenSet = true;
265 m_upgradeProcessing = value;
266 }
269 return *this;
270 }
272
274
278 inline const Aws::String& GetEngineVersion() const { return m_engineVersion; }
279 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
280 template <typename EngineVersionT = Aws::String>
281 void SetEngineVersion(EngineVersionT&& value) {
282 m_engineVersionHasBeenSet = true;
283 m_engineVersion = std::forward<EngineVersionT>(value);
284 }
285 template <typename EngineVersionT = Aws::String>
286 DomainStatus& WithEngineVersion(EngineVersionT&& value) {
287 SetEngineVersion(std::forward<EngineVersionT>(value));
288 return *this;
289 }
291
293
296 inline const ClusterConfig& GetClusterConfig() const { return m_clusterConfig; }
297 inline bool ClusterConfigHasBeenSet() const { return m_clusterConfigHasBeenSet; }
298 template <typename ClusterConfigT = ClusterConfig>
299 void SetClusterConfig(ClusterConfigT&& value) {
300 m_clusterConfigHasBeenSet = true;
301 m_clusterConfig = std::forward<ClusterConfigT>(value);
302 }
303 template <typename ClusterConfigT = ClusterConfig>
304 DomainStatus& WithClusterConfig(ClusterConfigT&& value) {
305 SetClusterConfig(std::forward<ClusterConfigT>(value));
306 return *this;
307 }
309
311
314 inline const EBSOptions& GetEBSOptions() const { return m_eBSOptions; }
315 inline bool EBSOptionsHasBeenSet() const { return m_eBSOptionsHasBeenSet; }
316 template <typename EBSOptionsT = EBSOptions>
317 void SetEBSOptions(EBSOptionsT&& value) {
318 m_eBSOptionsHasBeenSet = true;
319 m_eBSOptions = std::forward<EBSOptionsT>(value);
320 }
321 template <typename EBSOptionsT = EBSOptions>
322 DomainStatus& WithEBSOptions(EBSOptionsT&& value) {
323 SetEBSOptions(std::forward<EBSOptionsT>(value));
324 return *this;
325 }
327
329
333 inline const Aws::String& GetAccessPolicies() const { return m_accessPolicies; }
334 inline bool AccessPoliciesHasBeenSet() const { return m_accessPoliciesHasBeenSet; }
335 template <typename AccessPoliciesT = Aws::String>
336 void SetAccessPolicies(AccessPoliciesT&& value) {
337 m_accessPoliciesHasBeenSet = true;
338 m_accessPolicies = std::forward<AccessPoliciesT>(value);
339 }
340 template <typename AccessPoliciesT = Aws::String>
341 DomainStatus& WithAccessPolicies(AccessPoliciesT&& value) {
342 SetAccessPolicies(std::forward<AccessPoliciesT>(value));
343 return *this;
344 }
346
348
351 inline IPAddressType GetIPAddressType() const { return m_iPAddressType; }
352 inline bool IPAddressTypeHasBeenSet() const { return m_iPAddressTypeHasBeenSet; }
353 inline void SetIPAddressType(IPAddressType value) {
354 m_iPAddressTypeHasBeenSet = true;
355 m_iPAddressType = value;
356 }
358 SetIPAddressType(value);
359 return *this;
360 }
362
364
368 inline const SnapshotOptions& GetSnapshotOptions() const { return m_snapshotOptions; }
369 inline bool SnapshotOptionsHasBeenSet() const { return m_snapshotOptionsHasBeenSet; }
370 template <typename SnapshotOptionsT = SnapshotOptions>
371 void SetSnapshotOptions(SnapshotOptionsT&& value) {
372 m_snapshotOptionsHasBeenSet = true;
373 m_snapshotOptions = std::forward<SnapshotOptionsT>(value);
374 }
375 template <typename SnapshotOptionsT = SnapshotOptions>
376 DomainStatus& WithSnapshotOptions(SnapshotOptionsT&& value) {
377 SetSnapshotOptions(std::forward<SnapshotOptionsT>(value));
378 return *this;
379 }
381
383
386 inline const VPCDerivedInfo& GetVPCOptions() const { return m_vPCOptions; }
387 inline bool VPCOptionsHasBeenSet() const { return m_vPCOptionsHasBeenSet; }
388 template <typename VPCOptionsT = VPCDerivedInfo>
389 void SetVPCOptions(VPCOptionsT&& value) {
390 m_vPCOptionsHasBeenSet = true;
391 m_vPCOptions = std::forward<VPCOptionsT>(value);
392 }
393 template <typename VPCOptionsT = VPCDerivedInfo>
394 DomainStatus& WithVPCOptions(VPCOptionsT&& value) {
395 SetVPCOptions(std::forward<VPCOptionsT>(value));
396 return *this;
397 }
399
401
405 inline const CognitoOptions& GetCognitoOptions() const { return m_cognitoOptions; }
406 inline bool CognitoOptionsHasBeenSet() const { return m_cognitoOptionsHasBeenSet; }
407 template <typename CognitoOptionsT = CognitoOptions>
408 void SetCognitoOptions(CognitoOptionsT&& value) {
409 m_cognitoOptionsHasBeenSet = true;
410 m_cognitoOptions = std::forward<CognitoOptionsT>(value);
411 }
412 template <typename CognitoOptionsT = CognitoOptions>
413 DomainStatus& WithCognitoOptions(CognitoOptionsT&& value) {
414 SetCognitoOptions(std::forward<CognitoOptionsT>(value));
415 return *this;
416 }
418
420
423 inline const EncryptionAtRestOptions& GetEncryptionAtRestOptions() const { return m_encryptionAtRestOptions; }
424 inline bool EncryptionAtRestOptionsHasBeenSet() const { return m_encryptionAtRestOptionsHasBeenSet; }
425 template <typename EncryptionAtRestOptionsT = EncryptionAtRestOptions>
426 void SetEncryptionAtRestOptions(EncryptionAtRestOptionsT&& value) {
427 m_encryptionAtRestOptionsHasBeenSet = true;
428 m_encryptionAtRestOptions = std::forward<EncryptionAtRestOptionsT>(value);
429 }
430 template <typename EncryptionAtRestOptionsT = EncryptionAtRestOptions>
431 DomainStatus& WithEncryptionAtRestOptions(EncryptionAtRestOptionsT&& value) {
432 SetEncryptionAtRestOptions(std::forward<EncryptionAtRestOptionsT>(value));
433 return *this;
434 }
436
438
441 inline const NodeToNodeEncryptionOptions& GetNodeToNodeEncryptionOptions() const { return m_nodeToNodeEncryptionOptions; }
442 inline bool NodeToNodeEncryptionOptionsHasBeenSet() const { return m_nodeToNodeEncryptionOptionsHasBeenSet; }
443 template <typename NodeToNodeEncryptionOptionsT = NodeToNodeEncryptionOptions>
444 void SetNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsT&& value) {
445 m_nodeToNodeEncryptionOptionsHasBeenSet = true;
446 m_nodeToNodeEncryptionOptions = std::forward<NodeToNodeEncryptionOptionsT>(value);
447 }
448 template <typename NodeToNodeEncryptionOptionsT = NodeToNodeEncryptionOptions>
449 DomainStatus& WithNodeToNodeEncryptionOptions(NodeToNodeEncryptionOptionsT&& value) {
450 SetNodeToNodeEncryptionOptions(std::forward<NodeToNodeEncryptionOptionsT>(value));
451 return *this;
452 }
454
456
459 inline const Aws::Map<Aws::String, Aws::String>& GetAdvancedOptions() const { return m_advancedOptions; }
460 inline bool AdvancedOptionsHasBeenSet() const { return m_advancedOptionsHasBeenSet; }
461 template <typename AdvancedOptionsT = Aws::Map<Aws::String, Aws::String>>
462 void SetAdvancedOptions(AdvancedOptionsT&& value) {
463 m_advancedOptionsHasBeenSet = true;
464 m_advancedOptions = std::forward<AdvancedOptionsT>(value);
465 }
466 template <typename AdvancedOptionsT = Aws::Map<Aws::String, Aws::String>>
467 DomainStatus& WithAdvancedOptions(AdvancedOptionsT&& value) {
468 SetAdvancedOptions(std::forward<AdvancedOptionsT>(value));
469 return *this;
470 }
471 template <typename AdvancedOptionsKeyT = Aws::String, typename AdvancedOptionsValueT = Aws::String>
472 DomainStatus& AddAdvancedOptions(AdvancedOptionsKeyT&& key, AdvancedOptionsValueT&& value) {
473 m_advancedOptionsHasBeenSet = true;
474 m_advancedOptions.emplace(std::forward<AdvancedOptionsKeyT>(key), std::forward<AdvancedOptionsValueT>(value));
475 return *this;
476 }
478
480
483 inline const Aws::Map<LogType, LogPublishingOption>& GetLogPublishingOptions() const { return m_logPublishingOptions; }
484 inline bool LogPublishingOptionsHasBeenSet() const { return m_logPublishingOptionsHasBeenSet; }
485 template <typename LogPublishingOptionsT = Aws::Map<LogType, LogPublishingOption>>
486 void SetLogPublishingOptions(LogPublishingOptionsT&& value) {
487 m_logPublishingOptionsHasBeenSet = true;
488 m_logPublishingOptions = std::forward<LogPublishingOptionsT>(value);
489 }
490 template <typename LogPublishingOptionsT = Aws::Map<LogType, LogPublishingOption>>
491 DomainStatus& WithLogPublishingOptions(LogPublishingOptionsT&& value) {
492 SetLogPublishingOptions(std::forward<LogPublishingOptionsT>(value));
493 return *this;
494 }
496 m_logPublishingOptionsHasBeenSet = true;
497 m_logPublishingOptions.emplace(key, value);
498 return *this;
499 }
501
503
506 inline const ServiceSoftwareOptions& GetServiceSoftwareOptions() const { return m_serviceSoftwareOptions; }
507 inline bool ServiceSoftwareOptionsHasBeenSet() const { return m_serviceSoftwareOptionsHasBeenSet; }
508 template <typename ServiceSoftwareOptionsT = ServiceSoftwareOptions>
509 void SetServiceSoftwareOptions(ServiceSoftwareOptionsT&& value) {
510 m_serviceSoftwareOptionsHasBeenSet = true;
511 m_serviceSoftwareOptions = std::forward<ServiceSoftwareOptionsT>(value);
512 }
513 template <typename ServiceSoftwareOptionsT = ServiceSoftwareOptions>
514 DomainStatus& WithServiceSoftwareOptions(ServiceSoftwareOptionsT&& value) {
515 SetServiceSoftwareOptions(std::forward<ServiceSoftwareOptionsT>(value));
516 return *this;
517 }
519
521
525 inline const DomainEndpointOptions& GetDomainEndpointOptions() const { return m_domainEndpointOptions; }
526 inline bool DomainEndpointOptionsHasBeenSet() const { return m_domainEndpointOptionsHasBeenSet; }
527 template <typename DomainEndpointOptionsT = DomainEndpointOptions>
528 void SetDomainEndpointOptions(DomainEndpointOptionsT&& value) {
529 m_domainEndpointOptionsHasBeenSet = true;
530 m_domainEndpointOptions = std::forward<DomainEndpointOptionsT>(value);
531 }
532 template <typename DomainEndpointOptionsT = DomainEndpointOptions>
533 DomainStatus& WithDomainEndpointOptions(DomainEndpointOptionsT&& value) {
534 SetDomainEndpointOptions(std::forward<DomainEndpointOptionsT>(value));
535 return *this;
536 }
538
540
543 inline const AdvancedSecurityOptions& GetAdvancedSecurityOptions() const { return m_advancedSecurityOptions; }
544 inline bool AdvancedSecurityOptionsHasBeenSet() const { return m_advancedSecurityOptionsHasBeenSet; }
545 template <typename AdvancedSecurityOptionsT = AdvancedSecurityOptions>
546 void SetAdvancedSecurityOptions(AdvancedSecurityOptionsT&& value) {
547 m_advancedSecurityOptionsHasBeenSet = true;
548 m_advancedSecurityOptions = std::forward<AdvancedSecurityOptionsT>(value);
549 }
550 template <typename AdvancedSecurityOptionsT = AdvancedSecurityOptions>
551 DomainStatus& WithAdvancedSecurityOptions(AdvancedSecurityOptionsT&& value) {
552 SetAdvancedSecurityOptions(std::forward<AdvancedSecurityOptionsT>(value));
553 return *this;
554 }
556
558
562 inline const IdentityCenterOptions& GetIdentityCenterOptions() const { return m_identityCenterOptions; }
563 inline bool IdentityCenterOptionsHasBeenSet() const { return m_identityCenterOptionsHasBeenSet; }
564 template <typename IdentityCenterOptionsT = IdentityCenterOptions>
565 void SetIdentityCenterOptions(IdentityCenterOptionsT&& value) {
566 m_identityCenterOptionsHasBeenSet = true;
567 m_identityCenterOptions = std::forward<IdentityCenterOptionsT>(value);
568 }
569 template <typename IdentityCenterOptionsT = IdentityCenterOptions>
570 DomainStatus& WithIdentityCenterOptions(IdentityCenterOptionsT&& value) {
571 SetIdentityCenterOptions(std::forward<IdentityCenterOptionsT>(value));
572 return *this;
573 }
575
577
580 inline const AutoTuneOptionsOutput& GetAutoTuneOptions() const { return m_autoTuneOptions; }
581 inline bool AutoTuneOptionsHasBeenSet() const { return m_autoTuneOptionsHasBeenSet; }
582 template <typename AutoTuneOptionsT = AutoTuneOptionsOutput>
583 void SetAutoTuneOptions(AutoTuneOptionsT&& value) {
584 m_autoTuneOptionsHasBeenSet = true;
585 m_autoTuneOptions = std::forward<AutoTuneOptionsT>(value);
586 }
587 template <typename AutoTuneOptionsT = AutoTuneOptionsOutput>
588 DomainStatus& WithAutoTuneOptions(AutoTuneOptionsT&& value) {
589 SetAutoTuneOptions(std::forward<AutoTuneOptionsT>(value));
590 return *this;
591 }
593
595
598 inline const ChangeProgressDetails& GetChangeProgressDetails() const { return m_changeProgressDetails; }
599 inline bool ChangeProgressDetailsHasBeenSet() const { return m_changeProgressDetailsHasBeenSet; }
600 template <typename ChangeProgressDetailsT = ChangeProgressDetails>
601 void SetChangeProgressDetails(ChangeProgressDetailsT&& value) {
602 m_changeProgressDetailsHasBeenSet = true;
603 m_changeProgressDetails = std::forward<ChangeProgressDetailsT>(value);
604 }
605 template <typename ChangeProgressDetailsT = ChangeProgressDetails>
606 DomainStatus& WithChangeProgressDetails(ChangeProgressDetailsT&& value) {
607 SetChangeProgressDetails(std::forward<ChangeProgressDetailsT>(value));
608 return *this;
609 }
611
613
617 inline const OffPeakWindowOptions& GetOffPeakWindowOptions() const { return m_offPeakWindowOptions; }
618 inline bool OffPeakWindowOptionsHasBeenSet() const { return m_offPeakWindowOptionsHasBeenSet; }
619 template <typename OffPeakWindowOptionsT = OffPeakWindowOptions>
620 void SetOffPeakWindowOptions(OffPeakWindowOptionsT&& value) {
621 m_offPeakWindowOptionsHasBeenSet = true;
622 m_offPeakWindowOptions = std::forward<OffPeakWindowOptionsT>(value);
623 }
624 template <typename OffPeakWindowOptionsT = OffPeakWindowOptions>
625 DomainStatus& WithOffPeakWindowOptions(OffPeakWindowOptionsT&& value) {
626 SetOffPeakWindowOptions(std::forward<OffPeakWindowOptionsT>(value));
627 return *this;
628 }
630
632
635 inline const SoftwareUpdateOptions& GetSoftwareUpdateOptions() const { return m_softwareUpdateOptions; }
636 inline bool SoftwareUpdateOptionsHasBeenSet() const { return m_softwareUpdateOptionsHasBeenSet; }
637 template <typename SoftwareUpdateOptionsT = SoftwareUpdateOptions>
638 void SetSoftwareUpdateOptions(SoftwareUpdateOptionsT&& value) {
639 m_softwareUpdateOptionsHasBeenSet = true;
640 m_softwareUpdateOptions = std::forward<SoftwareUpdateOptionsT>(value);
641 }
642 template <typename SoftwareUpdateOptionsT = SoftwareUpdateOptions>
643 DomainStatus& WithSoftwareUpdateOptions(SoftwareUpdateOptionsT&& value) {
644 SetSoftwareUpdateOptions(std::forward<SoftwareUpdateOptionsT>(value));
645 return *this;
646 }
648
650
653 inline DomainProcessingStatusType GetDomainProcessingStatus() const { return m_domainProcessingStatus; }
654 inline bool DomainProcessingStatusHasBeenSet() const { return m_domainProcessingStatusHasBeenSet; }
656 m_domainProcessingStatusHasBeenSet = true;
657 m_domainProcessingStatus = value;
658 }
661 return *this;
662 }
664
666
670 inline const Aws::Vector<ModifyingProperties>& GetModifyingProperties() const { return m_modifyingProperties; }
671 inline bool ModifyingPropertiesHasBeenSet() const { return m_modifyingPropertiesHasBeenSet; }
672 template <typename ModifyingPropertiesT = Aws::Vector<ModifyingProperties>>
673 void SetModifyingProperties(ModifyingPropertiesT&& value) {
674 m_modifyingPropertiesHasBeenSet = true;
675 m_modifyingProperties = std::forward<ModifyingPropertiesT>(value);
676 }
677 template <typename ModifyingPropertiesT = Aws::Vector<ModifyingProperties>>
678 DomainStatus& WithModifyingProperties(ModifyingPropertiesT&& value) {
679 SetModifyingProperties(std::forward<ModifyingPropertiesT>(value));
680 return *this;
681 }
682 template <typename ModifyingPropertiesT = ModifyingProperties>
683 DomainStatus& AddModifyingProperties(ModifyingPropertiesT&& value) {
684 m_modifyingPropertiesHasBeenSet = true;
685 m_modifyingProperties.emplace_back(std::forward<ModifyingPropertiesT>(value));
686 return *this;
687 }
689
691
695 inline const AIMLOptionsOutput& GetAIMLOptions() const { return m_aIMLOptions; }
696 inline bool AIMLOptionsHasBeenSet() const { return m_aIMLOptionsHasBeenSet; }
697 template <typename AIMLOptionsT = AIMLOptionsOutput>
698 void SetAIMLOptions(AIMLOptionsT&& value) {
699 m_aIMLOptionsHasBeenSet = true;
700 m_aIMLOptions = std::forward<AIMLOptionsT>(value);
701 }
702 template <typename AIMLOptionsT = AIMLOptionsOutput>
703 DomainStatus& WithAIMLOptions(AIMLOptionsT&& value) {
704 SetAIMLOptions(std::forward<AIMLOptionsT>(value));
705 return *this;
706 }
708 private:
709 Aws::String m_domainId;
710
711 Aws::String m_domainName;
712
713 Aws::String m_aRN;
714
715 bool m_created{false};
716
717 bool m_deleted{false};
718
719 Aws::String m_endpoint;
720
721 Aws::String m_endpointV2;
722
724
725 Aws::String m_domainEndpointV2HostedZoneId;
726
727 bool m_processing{false};
728
729 bool m_upgradeProcessing{false};
730
731 Aws::String m_engineVersion;
732
733 ClusterConfig m_clusterConfig;
734
735 EBSOptions m_eBSOptions;
736
737 Aws::String m_accessPolicies;
738
739 IPAddressType m_iPAddressType{IPAddressType::NOT_SET};
740
741 SnapshotOptions m_snapshotOptions;
742
743 VPCDerivedInfo m_vPCOptions;
744
745 CognitoOptions m_cognitoOptions;
746
747 EncryptionAtRestOptions m_encryptionAtRestOptions;
748
749 NodeToNodeEncryptionOptions m_nodeToNodeEncryptionOptions;
750
751 Aws::Map<Aws::String, Aws::String> m_advancedOptions;
752
753 Aws::Map<LogType, LogPublishingOption> m_logPublishingOptions;
754
755 ServiceSoftwareOptions m_serviceSoftwareOptions;
756
757 DomainEndpointOptions m_domainEndpointOptions;
758
759 AdvancedSecurityOptions m_advancedSecurityOptions;
760
761 IdentityCenterOptions m_identityCenterOptions;
762
763 AutoTuneOptionsOutput m_autoTuneOptions;
764
765 ChangeProgressDetails m_changeProgressDetails;
766
767 OffPeakWindowOptions m_offPeakWindowOptions;
768
769 SoftwareUpdateOptions m_softwareUpdateOptions;
770
772
773 Aws::Vector<ModifyingProperties> m_modifyingProperties;
774
775 AIMLOptionsOutput m_aIMLOptions;
776 bool m_domainIdHasBeenSet = false;
777 bool m_domainNameHasBeenSet = false;
778 bool m_aRNHasBeenSet = false;
779 bool m_createdHasBeenSet = false;
780 bool m_deletedHasBeenSet = false;
781 bool m_endpointHasBeenSet = false;
782 bool m_endpointV2HasBeenSet = false;
783 bool m_endpointsHasBeenSet = false;
784 bool m_domainEndpointV2HostedZoneIdHasBeenSet = false;
785 bool m_processingHasBeenSet = false;
786 bool m_upgradeProcessingHasBeenSet = false;
787 bool m_engineVersionHasBeenSet = false;
788 bool m_clusterConfigHasBeenSet = false;
789 bool m_eBSOptionsHasBeenSet = false;
790 bool m_accessPoliciesHasBeenSet = false;
791 bool m_iPAddressTypeHasBeenSet = false;
792 bool m_snapshotOptionsHasBeenSet = false;
793 bool m_vPCOptionsHasBeenSet = false;
794 bool m_cognitoOptionsHasBeenSet = false;
795 bool m_encryptionAtRestOptionsHasBeenSet = false;
796 bool m_nodeToNodeEncryptionOptionsHasBeenSet = false;
797 bool m_advancedOptionsHasBeenSet = false;
798 bool m_logPublishingOptionsHasBeenSet = false;
799 bool m_serviceSoftwareOptionsHasBeenSet = false;
800 bool m_domainEndpointOptionsHasBeenSet = false;
801 bool m_advancedSecurityOptionsHasBeenSet = false;
802 bool m_identityCenterOptionsHasBeenSet = false;
803 bool m_autoTuneOptionsHasBeenSet = false;
804 bool m_changeProgressDetailsHasBeenSet = false;
805 bool m_offPeakWindowOptionsHasBeenSet = false;
806 bool m_softwareUpdateOptionsHasBeenSet = false;
807 bool m_domainProcessingStatusHasBeenSet = false;
808 bool m_modifyingPropertiesHasBeenSet = false;
809 bool m_aIMLOptionsHasBeenSet = false;
810};
811
812} // namespace Model
813} // namespace OpenSearchService
814} // 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)
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 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
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