7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/odb/Odb_EXPORTS.h>
10#include <aws/odb/model/AutonomousDatabaseBackupStatus.h>
11#include <aws/odb/model/AutonomousDatabaseBackupType.h>
44 template <
typename AutonomousDatabaseBackupIdT = Aws::String>
46 m_autonomousDatabaseBackupIdHasBeenSet =
true;
47 m_autonomousDatabaseBackupId = std::forward<AutonomousDatabaseBackupIdT>(value);
49 template <
typename AutonomousDatabaseBackupIdT = Aws::String>
62 template <
typename AutonomousDatabaseBackupArnT = Aws::String>
64 m_autonomousDatabaseBackupArnHasBeenSet =
true;
65 m_autonomousDatabaseBackupArn = std::forward<AutonomousDatabaseBackupArnT>(value);
67 template <
typename AutonomousDatabaseBackupArnT = Aws::String>
81 template <
typename AutonomousDatabaseIdT = Aws::String>
83 m_autonomousDatabaseIdHasBeenSet =
true;
84 m_autonomousDatabaseId = std::forward<AutonomousDatabaseIdT>(value);
86 template <
typename AutonomousDatabaseIdT = Aws::String>
99 template <
typename Oc
idT = Aws::String>
101 m_ocidHasBeenSet =
true;
102 m_ocid = std::forward<OcidT>(value);
104 template <
typename Oc
idT = Aws::String>
106 SetOcid(std::forward<OcidT>(value));
117 template <
typename DisplayNameT = Aws::String>
119 m_displayNameHasBeenSet =
true;
120 m_displayName = std::forward<DisplayNameT>(value);
122 template <
typename DisplayNameT = Aws::String>
135 template <
typename DbVersionT = Aws::String>
137 m_dbVersionHasBeenSet =
true;
138 m_dbVersion = std::forward<DbVersionT>(value);
140 template <
typename DbVersionT = Aws::String>
154 m_statusHasBeenSet =
true;
170 template <
typename StatusReasonT = Aws::String>
172 m_statusReasonHasBeenSet =
true;
173 m_statusReason = std::forward<StatusReasonT>(value);
175 template <
typename StatusReasonT = Aws::String>
189 m_isAutomaticHasBeenSet =
true;
190 m_isAutomatic = value;
205 m_retentionPeriodInDaysHasBeenSet =
true;
206 m_retentionPeriodInDays = value;
221 m_sizeInTBsHasBeenSet =
true;
237 template <
typename TimeAvailableTillT = Aws::Utils::DateTime>
239 m_timeAvailableTillHasBeenSet =
true;
240 m_timeAvailableTill = std::forward<TimeAvailableTillT>(value);
242 template <
typename TimeAvailableTillT = Aws::Utils::DateTime>
255 template <
typename TimeStartedT = Aws::Utils::DateTime>
257 m_timeStartedHasBeenSet =
true;
258 m_timeStarted = std::forward<TimeStartedT>(value);
260 template <
typename TimeStartedT = Aws::Utils::DateTime>
273 template <
typename TimeEndedT = Aws::Utils::DateTime>
275 m_timeEndedHasBeenSet =
true;
276 m_timeEnded = std::forward<TimeEndedT>(value);
278 template <
typename TimeEndedT = Aws::Utils::DateTime>
292 m_typeHasBeenSet =
true;
317 bool m_isAutomatic{
false};
319 int m_retentionPeriodInDays{0};
321 double m_sizeInTBs{0.0};
330 bool m_autonomousDatabaseBackupIdHasBeenSet =
false;
331 bool m_autonomousDatabaseBackupArnHasBeenSet =
false;
332 bool m_autonomousDatabaseIdHasBeenSet =
false;
333 bool m_ocidHasBeenSet =
false;
334 bool m_displayNameHasBeenSet =
false;
335 bool m_dbVersionHasBeenSet =
false;
336 bool m_statusHasBeenSet =
false;
337 bool m_statusReasonHasBeenSet =
false;
338 bool m_isAutomaticHasBeenSet =
false;
339 bool m_retentionPeriodInDaysHasBeenSet =
false;
340 bool m_sizeInTBsHasBeenSet =
false;
341 bool m_timeAvailableTillHasBeenSet =
false;
342 bool m_timeStartedHasBeenSet =
false;
343 bool m_timeEndedHasBeenSet =
false;
344 bool m_typeHasBeenSet =
false;
bool DisplayNameHasBeenSet() const
bool AutonomousDatabaseIdHasBeenSet() const
AutonomousDatabaseBackup & WithOcid(OcidT &&value)
void SetSizeInTBs(double value)
bool SizeInTBsHasBeenSet() const
void SetIsAutomatic(bool value)
const Aws::Utils::DateTime & GetTimeEnded() const
bool DbVersionHasBeenSet() const
bool StatusReasonHasBeenSet() const
void SetTimeEnded(TimeEndedT &&value)
void SetType(AutonomousDatabaseBackupType value)
bool RetentionPeriodInDaysHasBeenSet() const
AutonomousDatabaseBackup & WithDbVersion(DbVersionT &&value)
bool StatusHasBeenSet() const
AutonomousDatabaseBackup & WithDisplayName(DisplayNameT &&value)
AWS_ODB_API AutonomousDatabaseBackup(Aws::Utils::Json::JsonView jsonValue)
void SetDisplayName(DisplayNameT &&value)
const Aws::String & GetOcid() const
bool AutonomousDatabaseBackupArnHasBeenSet() const
AutonomousDatabaseBackup & WithType(AutonomousDatabaseBackupType value)
const Aws::Utils::DateTime & GetTimeAvailableTill() const
const Aws::String & GetAutonomousDatabaseBackupArn() const
void SetStatusReason(StatusReasonT &&value)
AutonomousDatabaseBackup & WithAutonomousDatabaseBackupArn(AutonomousDatabaseBackupArnT &&value)
AutonomousDatabaseBackup & WithSizeInTBs(double value)
const Aws::String & GetDbVersion() const
const Aws::Utils::DateTime & GetTimeStarted() const
AutonomousDatabaseBackupStatus GetStatus() const
const Aws::String & GetAutonomousDatabaseBackupId() const
void SetTimeAvailableTill(TimeAvailableTillT &&value)
AWS_ODB_API Aws::Utils::Json::JsonValue Jsonize() const
AutonomousDatabaseBackup & WithAutonomousDatabaseBackupId(AutonomousDatabaseBackupIdT &&value)
const Aws::String & GetStatusReason() const
void SetOcid(OcidT &&value)
void SetRetentionPeriodInDays(int value)
int GetRetentionPeriodInDays() const
AutonomousDatabaseBackup & WithTimeStarted(TimeStartedT &&value)
AutonomousDatabaseBackup & WithAutonomousDatabaseId(AutonomousDatabaseIdT &&value)
void SetStatus(AutonomousDatabaseBackupStatus value)
AutonomousDatabaseBackup & WithStatusReason(StatusReasonT &&value)
bool TimeStartedHasBeenSet() const
AutonomousDatabaseBackup & WithStatus(AutonomousDatabaseBackupStatus value)
void SetAutonomousDatabaseBackupArn(AutonomousDatabaseBackupArnT &&value)
bool AutonomousDatabaseBackupIdHasBeenSet() const
AutonomousDatabaseBackupType GetType() const
void SetTimeStarted(TimeStartedT &&value)
bool TimeAvailableTillHasBeenSet() const
AutonomousDatabaseBackup & WithRetentionPeriodInDays(int value)
bool OcidHasBeenSet() const
void SetDbVersion(DbVersionT &&value)
const Aws::String & GetDisplayName() const
bool IsAutomaticHasBeenSet() const
bool GetIsAutomatic() const
AWS_ODB_API AutonomousDatabaseBackup & operator=(Aws::Utils::Json::JsonView jsonValue)
double GetSizeInTBs() const
AutonomousDatabaseBackup & WithTimeEnded(TimeEndedT &&value)
AutonomousDatabaseBackup & WithTimeAvailableTill(TimeAvailableTillT &&value)
bool TimeEndedHasBeenSet() const
void SetAutonomousDatabaseBackupId(AutonomousDatabaseBackupIdT &&value)
bool TypeHasBeenSet() const
AWS_ODB_API AutonomousDatabaseBackup()=default
AutonomousDatabaseBackup & WithIsAutomatic(bool value)
const Aws::String & GetAutonomousDatabaseId() const
void SetAutonomousDatabaseId(AutonomousDatabaseIdT &&value)
AutonomousDatabaseBackupType
AutonomousDatabaseBackupStatus
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue