AWS SDK for C++

AWS SDK for C++ Version 1.11.911

Loading...
Searching...
No Matches
DatastoreBackupStatus.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/healthlake/HealthLake_EXPORTS.h>
9#include <aws/healthlake/model/BackupConfiguration.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace HealthLake {
21namespace Model {
22
30 public:
31 AWS_HEALTHLAKE_API DatastoreBackupStatus() = default;
34 AWS_HEALTHLAKE_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const BackupConfiguration& GetConfiguration() const { return m_configuration; }
41 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
42 template <typename ConfigurationT = BackupConfiguration>
43 void SetConfiguration(ConfigurationT&& value) {
44 m_configurationHasBeenSet = true;
45 m_configuration = std::forward<ConfigurationT>(value);
46 }
47 template <typename ConfigurationT = BackupConfiguration>
48 DatastoreBackupStatus& WithConfiguration(ConfigurationT&& value) {
49 SetConfiguration(std::forward<ConfigurationT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::Utils::DateTime& GetBackupEnabledAt() const { return m_backupEnabledAt; }
59 inline bool BackupEnabledAtHasBeenSet() const { return m_backupEnabledAtHasBeenSet; }
60 template <typename BackupEnabledAtT = Aws::Utils::DateTime>
61 void SetBackupEnabledAt(BackupEnabledAtT&& value) {
62 m_backupEnabledAtHasBeenSet = true;
63 m_backupEnabledAt = std::forward<BackupEnabledAtT>(value);
64 }
65 template <typename BackupEnabledAtT = Aws::Utils::DateTime>
66 DatastoreBackupStatus& WithBackupEnabledAt(BackupEnabledAtT&& value) {
67 SetBackupEnabledAt(std::forward<BackupEnabledAtT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::Utils::DateTime& GetEarliestRestorePoint() const { return m_earliestRestorePoint; }
77 inline bool EarliestRestorePointHasBeenSet() const { return m_earliestRestorePointHasBeenSet; }
78 template <typename EarliestRestorePointT = Aws::Utils::DateTime>
79 void SetEarliestRestorePoint(EarliestRestorePointT&& value) {
80 m_earliestRestorePointHasBeenSet = true;
81 m_earliestRestorePoint = std::forward<EarliestRestorePointT>(value);
82 }
83 template <typename EarliestRestorePointT = Aws::Utils::DateTime>
84 DatastoreBackupStatus& WithEarliestRestorePoint(EarliestRestorePointT&& value) {
85 SetEarliestRestorePoint(std::forward<EarliestRestorePointT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::Utils::DateTime& GetLatestRestorePoint() const { return m_latestRestorePoint; }
95 inline bool LatestRestorePointHasBeenSet() const { return m_latestRestorePointHasBeenSet; }
96 template <typename LatestRestorePointT = Aws::Utils::DateTime>
97 void SetLatestRestorePoint(LatestRestorePointT&& value) {
98 m_latestRestorePointHasBeenSet = true;
99 m_latestRestorePoint = std::forward<LatestRestorePointT>(value);
100 }
101 template <typename LatestRestorePointT = Aws::Utils::DateTime>
102 DatastoreBackupStatus& WithLatestRestorePoint(LatestRestorePointT&& value) {
103 SetLatestRestorePoint(std::forward<LatestRestorePointT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::Utils::DateTime& GetScheduledPermanentDeletionTime() const { return m_scheduledPermanentDeletionTime; }
113 inline bool ScheduledPermanentDeletionTimeHasBeenSet() const { return m_scheduledPermanentDeletionTimeHasBeenSet; }
114 template <typename ScheduledPermanentDeletionTimeT = Aws::Utils::DateTime>
115 void SetScheduledPermanentDeletionTime(ScheduledPermanentDeletionTimeT&& value) {
116 m_scheduledPermanentDeletionTimeHasBeenSet = true;
117 m_scheduledPermanentDeletionTime = std::forward<ScheduledPermanentDeletionTimeT>(value);
118 }
119 template <typename ScheduledPermanentDeletionTimeT = Aws::Utils::DateTime>
120 DatastoreBackupStatus& WithScheduledPermanentDeletionTime(ScheduledPermanentDeletionTimeT&& value) {
121 SetScheduledPermanentDeletionTime(std::forward<ScheduledPermanentDeletionTimeT>(value));
122 return *this;
123 }
125 private:
126 BackupConfiguration m_configuration;
127
128 Aws::Utils::DateTime m_backupEnabledAt{};
129
130 Aws::Utils::DateTime m_earliestRestorePoint{};
131
132 Aws::Utils::DateTime m_latestRestorePoint{};
133
134 Aws::Utils::DateTime m_scheduledPermanentDeletionTime{};
135 bool m_configurationHasBeenSet = false;
136 bool m_backupEnabledAtHasBeenSet = false;
137 bool m_earliestRestorePointHasBeenSet = false;
138 bool m_latestRestorePointHasBeenSet = false;
139 bool m_scheduledPermanentDeletionTimeHasBeenSet = false;
140};
141
142} // namespace Model
143} // namespace HealthLake
144} // namespace Aws
DatastoreBackupStatus & WithBackupEnabledAt(BackupEnabledAtT &&value)
const Aws::Utils::DateTime & GetScheduledPermanentDeletionTime() const
const BackupConfiguration & GetConfiguration() const
const Aws::Utils::DateTime & GetBackupEnabledAt() const
void SetScheduledPermanentDeletionTime(ScheduledPermanentDeletionTimeT &&value)
DatastoreBackupStatus & WithLatestRestorePoint(LatestRestorePointT &&value)
AWS_HEALTHLAKE_API DatastoreBackupStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLatestRestorePoint() const
AWS_HEALTHLAKE_API DatastoreBackupStatus()=default
DatastoreBackupStatus & WithScheduledPermanentDeletionTime(ScheduledPermanentDeletionTimeT &&value)
DatastoreBackupStatus & WithConfiguration(ConfigurationT &&value)
const Aws::Utils::DateTime & GetEarliestRestorePoint() const
AWS_HEALTHLAKE_API DatastoreBackupStatus(Aws::Utils::Json::JsonView jsonValue)
void SetEarliestRestorePoint(EarliestRestorePointT &&value)
void SetLatestRestorePoint(LatestRestorePointT &&value)
DatastoreBackupStatus & WithEarliestRestorePoint(EarliestRestorePointT &&value)
AWS_HEALTHLAKE_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue