AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
PointInTimeRecoverySpecification.h
1
6#pragma once
7#include <aws/dynamodb/DynamoDB_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace DynamoDB {
17namespace Model {
18
26 public:
27 AWS_DYNAMODB_API PointInTimeRecoverySpecification() = default;
30 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
37 inline bool GetPointInTimeRecoveryEnabled() const { return m_pointInTimeRecoveryEnabled; }
38 inline bool PointInTimeRecoveryEnabledHasBeenSet() const { return m_pointInTimeRecoveryEnabledHasBeenSet; }
39 inline void SetPointInTimeRecoveryEnabled(bool value) {
40 m_pointInTimeRecoveryEnabledHasBeenSet = true;
41 m_pointInTimeRecoveryEnabled = value;
42 }
45 return *this;
46 }
48
50
56 inline int GetRecoveryPeriodInDays() const { return m_recoveryPeriodInDays; }
57 inline bool RecoveryPeriodInDaysHasBeenSet() const { return m_recoveryPeriodInDaysHasBeenSet; }
58 inline void SetRecoveryPeriodInDays(int value) {
59 m_recoveryPeriodInDaysHasBeenSet = true;
60 m_recoveryPeriodInDays = value;
61 }
64 return *this;
65 }
67 private:
68 bool m_pointInTimeRecoveryEnabled{false};
69
70 int m_recoveryPeriodInDays{0};
71 bool m_pointInTimeRecoveryEnabledHasBeenSet = false;
72 bool m_recoveryPeriodInDaysHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace DynamoDB
77} // 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