AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
RestoreSummary.h
1
6#pragma once
7#include <aws/dynamodb/DynamoDB_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 DynamoDB
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_DYNAMODB_API RestoreSummary() = default;
36 AWS_DYNAMODB_API RestoreSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetSourceBackupArn() const { return m_sourceBackupArn; }
47 inline bool SourceBackupArnHasBeenSet() const { return m_sourceBackupArnHasBeenSet; }
48 template<typename SourceBackupArnT = Aws::String>
49 void SetSourceBackupArn(SourceBackupArnT&& value) { m_sourceBackupArnHasBeenSet = true; m_sourceBackupArn = std::forward<SourceBackupArnT>(value); }
50 template<typename SourceBackupArnT = Aws::String>
51 RestoreSummary& WithSourceBackupArn(SourceBackupArnT&& value) { SetSourceBackupArn(std::forward<SourceBackupArnT>(value)); return *this;}
53
55
58 inline const Aws::String& GetSourceTableArn() const { return m_sourceTableArn; }
59 inline bool SourceTableArnHasBeenSet() const { return m_sourceTableArnHasBeenSet; }
60 template<typename SourceTableArnT = Aws::String>
61 void SetSourceTableArn(SourceTableArnT&& value) { m_sourceTableArnHasBeenSet = true; m_sourceTableArn = std::forward<SourceTableArnT>(value); }
62 template<typename SourceTableArnT = Aws::String>
63 RestoreSummary& WithSourceTableArn(SourceTableArnT&& value) { SetSourceTableArn(std::forward<SourceTableArnT>(value)); return *this;}
65
67
70 inline const Aws::Utils::DateTime& GetRestoreDateTime() const { return m_restoreDateTime; }
71 inline bool RestoreDateTimeHasBeenSet() const { return m_restoreDateTimeHasBeenSet; }
72 template<typename RestoreDateTimeT = Aws::Utils::DateTime>
73 void SetRestoreDateTime(RestoreDateTimeT&& value) { m_restoreDateTimeHasBeenSet = true; m_restoreDateTime = std::forward<RestoreDateTimeT>(value); }
74 template<typename RestoreDateTimeT = Aws::Utils::DateTime>
75 RestoreSummary& WithRestoreDateTime(RestoreDateTimeT&& value) { SetRestoreDateTime(std::forward<RestoreDateTimeT>(value)); return *this;}
77
79
82 inline bool GetRestoreInProgress() const { return m_restoreInProgress; }
83 inline bool RestoreInProgressHasBeenSet() const { return m_restoreInProgressHasBeenSet; }
84 inline void SetRestoreInProgress(bool value) { m_restoreInProgressHasBeenSet = true; m_restoreInProgress = value; }
85 inline RestoreSummary& WithRestoreInProgress(bool value) { SetRestoreInProgress(value); return *this;}
87 private:
88
89 Aws::String m_sourceBackupArn;
90 bool m_sourceBackupArnHasBeenSet = false;
91
92 Aws::String m_sourceTableArn;
93 bool m_sourceTableArnHasBeenSet = false;
94
95 Aws::Utils::DateTime m_restoreDateTime{};
96 bool m_restoreDateTimeHasBeenSet = false;
97
98 bool m_restoreInProgress{false};
99 bool m_restoreInProgressHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace DynamoDB
104} // namespace Aws
RestoreSummary & WithRestoreDateTime(RestoreDateTimeT &&value)
const Aws::String & GetSourceTableArn() const
const Aws::String & GetSourceBackupArn() const
const Aws::Utils::DateTime & GetRestoreDateTime() const
RestoreSummary & WithRestoreInProgress(bool value)
void SetSourceBackupArn(SourceBackupArnT &&value)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DYNAMODB_API RestoreSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRestoreDateTime(RestoreDateTimeT &&value)
AWS_DYNAMODB_API RestoreSummary(Aws::Utils::Json::JsonView jsonValue)
RestoreSummary & WithSourceTableArn(SourceTableArnT &&value)
void SetSourceTableArn(SourceTableArnT &&value)
RestoreSummary & WithSourceBackupArn(SourceBackupArnT &&value)
AWS_DYNAMODB_API RestoreSummary()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue