AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ContinuousBackupsDescription.h
1
6#pragma once
7#include <aws/dynamodb/DynamoDB_EXPORTS.h>
8#include <aws/dynamodb/model/ContinuousBackupsStatus.h>
9#include <aws/dynamodb/model/PointInTimeRecoveryDescription.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace DynamoDB {
21namespace Model {
22
30 public:
31 AWS_DYNAMODB_API ContinuousBackupsDescription() = default;
34 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline ContinuousBackupsStatus GetContinuousBackupsStatus() const { return m_continuousBackupsStatus; }
42 inline bool ContinuousBackupsStatusHasBeenSet() const { return m_continuousBackupsStatusHasBeenSet; }
44 m_continuousBackupsStatusHasBeenSet = true;
45 m_continuousBackupsStatus = value;
46 }
49 return *this;
50 }
52
54
58 inline const PointInTimeRecoveryDescription& GetPointInTimeRecoveryDescription() const { return m_pointInTimeRecoveryDescription; }
59 inline bool PointInTimeRecoveryDescriptionHasBeenSet() const { return m_pointInTimeRecoveryDescriptionHasBeenSet; }
60 template <typename PointInTimeRecoveryDescriptionT = PointInTimeRecoveryDescription>
61 void SetPointInTimeRecoveryDescription(PointInTimeRecoveryDescriptionT&& value) {
62 m_pointInTimeRecoveryDescriptionHasBeenSet = true;
63 m_pointInTimeRecoveryDescription = std::forward<PointInTimeRecoveryDescriptionT>(value);
64 }
65 template <typename PointInTimeRecoveryDescriptionT = PointInTimeRecoveryDescription>
66 ContinuousBackupsDescription& WithPointInTimeRecoveryDescription(PointInTimeRecoveryDescriptionT&& value) {
67 SetPointInTimeRecoveryDescription(std::forward<PointInTimeRecoveryDescriptionT>(value));
68 return *this;
69 }
71 private:
73
74 PointInTimeRecoveryDescription m_pointInTimeRecoveryDescription;
75 bool m_continuousBackupsStatusHasBeenSet = false;
76 bool m_pointInTimeRecoveryDescriptionHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace DynamoDB
81} // namespace Aws
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DYNAMODB_API ContinuousBackupsDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DYNAMODB_API ContinuousBackupsDescription()=default
ContinuousBackupsDescription & WithContinuousBackupsStatus(ContinuousBackupsStatus value)
ContinuousBackupsDescription & WithPointInTimeRecoveryDescription(PointInTimeRecoveryDescriptionT &&value)
void SetPointInTimeRecoveryDescription(PointInTimeRecoveryDescriptionT &&value)
AWS_DYNAMODB_API ContinuousBackupsDescription(Aws::Utils::Json::JsonView jsonValue)
const PointInTimeRecoveryDescription & GetPointInTimeRecoveryDescription() const
Aws::Utils::Json::JsonValue JsonValue