AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
PointInTimeRecoverySpecification.h
1
6#pragma once
7#include <aws/dynamodb/DynamoDB_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace DynamoDB
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_DYNAMODB_API PointInTimeRecoverySpecification() = default;
36 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
44 inline bool GetPointInTimeRecoveryEnabled() const { return m_pointInTimeRecoveryEnabled; }
45 inline bool PointInTimeRecoveryEnabledHasBeenSet() const { return m_pointInTimeRecoveryEnabledHasBeenSet; }
46 inline void SetPointInTimeRecoveryEnabled(bool value) { m_pointInTimeRecoveryEnabledHasBeenSet = true; m_pointInTimeRecoveryEnabled = value; }
49
51
57 inline int GetRecoveryPeriodInDays() const { return m_recoveryPeriodInDays; }
58 inline bool RecoveryPeriodInDaysHasBeenSet() const { return m_recoveryPeriodInDaysHasBeenSet; }
59 inline void SetRecoveryPeriodInDays(int value) { m_recoveryPeriodInDaysHasBeenSet = true; m_recoveryPeriodInDays = value; }
62 private:
63
64 bool m_pointInTimeRecoveryEnabled{false};
65 bool m_pointInTimeRecoveryEnabledHasBeenSet = false;
66
67 int m_recoveryPeriodInDays{0};
68 bool m_recoveryPeriodInDaysHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace DynamoDB
73} // namespace Aws
PointInTimeRecoverySpecification & WithPointInTimeRecoveryEnabled(bool value)
AWS_DYNAMODB_API PointInTimeRecoverySpecification(Aws::Utils::Json::JsonView jsonValue)
PointInTimeRecoverySpecification & WithRecoveryPeriodInDays(int value)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DYNAMODB_API PointInTimeRecoverySpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DYNAMODB_API PointInTimeRecoverySpecification()=default
Aws::Utils::Json::JsonValue JsonValue