AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PointInTimeRecoverySummary.h
1
6#pragma once
7#include <aws/keyspaces/Keyspaces_EXPORTS.h>
8#include <aws/keyspaces/model/PointInTimeRecoveryStatus.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Keyspaces
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_KEYSPACES_API PointInTimeRecoverySummary();
39 AWS_KEYSPACES_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const PointInTimeRecoveryStatus& GetStatus() const{ return m_status; }
48 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
49 inline void SetStatus(const PointInTimeRecoveryStatus& value) { m_statusHasBeenSet = true; m_status = value; }
50 inline void SetStatus(PointInTimeRecoveryStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
51 inline PointInTimeRecoverySummary& WithStatus(const PointInTimeRecoveryStatus& value) { SetStatus(value); return *this;}
52 inline PointInTimeRecoverySummary& WithStatus(PointInTimeRecoveryStatus&& value) { SetStatus(std::move(value)); return *this;}
54
56
60 inline const Aws::Utils::DateTime& GetEarliestRestorableTimestamp() const{ return m_earliestRestorableTimestamp; }
61 inline bool EarliestRestorableTimestampHasBeenSet() const { return m_earliestRestorableTimestampHasBeenSet; }
62 inline void SetEarliestRestorableTimestamp(const Aws::Utils::DateTime& value) { m_earliestRestorableTimestampHasBeenSet = true; m_earliestRestorableTimestamp = value; }
63 inline void SetEarliestRestorableTimestamp(Aws::Utils::DateTime&& value) { m_earliestRestorableTimestampHasBeenSet = true; m_earliestRestorableTimestamp = std::move(value); }
67 private:
68
70 bool m_statusHasBeenSet = false;
71
72 Aws::Utils::DateTime m_earliestRestorableTimestamp;
73 bool m_earliestRestorableTimestampHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Keyspaces
78} // namespace Aws
AWS_KEYSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
PointInTimeRecoverySummary & WithStatus(const PointInTimeRecoveryStatus &value)
PointInTimeRecoverySummary & WithStatus(PointInTimeRecoveryStatus &&value)
void SetEarliestRestorableTimestamp(Aws::Utils::DateTime &&value)
AWS_KEYSPACES_API PointInTimeRecoverySummary(Aws::Utils::Json::JsonView jsonValue)
PointInTimeRecoverySummary & WithEarliestRestorableTimestamp(Aws::Utils::DateTime &&value)
PointInTimeRecoverySummary & WithEarliestRestorableTimestamp(const Aws::Utils::DateTime &value)
const PointInTimeRecoveryStatus & GetStatus() const
void SetEarliestRestorableTimestamp(const Aws::Utils::DateTime &value)
AWS_KEYSPACES_API PointInTimeRecoverySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetEarliestRestorableTimestamp() const
void SetStatus(const PointInTimeRecoveryStatus &value)
Aws::Utils::Json::JsonValue JsonValue