AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetSourceBackupArn(const Aws::String& value) { m_sourceBackupArnHasBeenSet = true; m_sourceBackupArn = value; }
49 inline void SetSourceBackupArn(Aws::String&& value) { m_sourceBackupArnHasBeenSet = true; m_sourceBackupArn = std::move(value); }
50 inline void SetSourceBackupArn(const char* value) { m_sourceBackupArnHasBeenSet = true; m_sourceBackupArn.assign(value); }
51 inline RestoreSummary& WithSourceBackupArn(const Aws::String& value) { SetSourceBackupArn(value); return *this;}
52 inline RestoreSummary& WithSourceBackupArn(Aws::String&& value) { SetSourceBackupArn(std::move(value)); return *this;}
53 inline RestoreSummary& WithSourceBackupArn(const char* value) { SetSourceBackupArn(value); return *this;}
55
57
60 inline const Aws::String& GetSourceTableArn() const{ return m_sourceTableArn; }
61 inline bool SourceTableArnHasBeenSet() const { return m_sourceTableArnHasBeenSet; }
62 inline void SetSourceTableArn(const Aws::String& value) { m_sourceTableArnHasBeenSet = true; m_sourceTableArn = value; }
63 inline void SetSourceTableArn(Aws::String&& value) { m_sourceTableArnHasBeenSet = true; m_sourceTableArn = std::move(value); }
64 inline void SetSourceTableArn(const char* value) { m_sourceTableArnHasBeenSet = true; m_sourceTableArn.assign(value); }
65 inline RestoreSummary& WithSourceTableArn(const Aws::String& value) { SetSourceTableArn(value); return *this;}
66 inline RestoreSummary& WithSourceTableArn(Aws::String&& value) { SetSourceTableArn(std::move(value)); return *this;}
67 inline RestoreSummary& WithSourceTableArn(const char* value) { SetSourceTableArn(value); return *this;}
69
71
74 inline const Aws::Utils::DateTime& GetRestoreDateTime() const{ return m_restoreDateTime; }
75 inline bool RestoreDateTimeHasBeenSet() const { return m_restoreDateTimeHasBeenSet; }
76 inline void SetRestoreDateTime(const Aws::Utils::DateTime& value) { m_restoreDateTimeHasBeenSet = true; m_restoreDateTime = value; }
77 inline void SetRestoreDateTime(Aws::Utils::DateTime&& value) { m_restoreDateTimeHasBeenSet = true; m_restoreDateTime = std::move(value); }
78 inline RestoreSummary& WithRestoreDateTime(const Aws::Utils::DateTime& value) { SetRestoreDateTime(value); return *this;}
79 inline RestoreSummary& WithRestoreDateTime(Aws::Utils::DateTime&& value) { SetRestoreDateTime(std::move(value)); return *this;}
81
83
86 inline bool GetRestoreInProgress() const{ return m_restoreInProgress; }
87 inline bool RestoreInProgressHasBeenSet() const { return m_restoreInProgressHasBeenSet; }
88 inline void SetRestoreInProgress(bool value) { m_restoreInProgressHasBeenSet = true; m_restoreInProgress = value; }
89 inline RestoreSummary& WithRestoreInProgress(bool value) { SetRestoreInProgress(value); return *this;}
91 private:
92
93 Aws::String m_sourceBackupArn;
94 bool m_sourceBackupArnHasBeenSet = false;
95
96 Aws::String m_sourceTableArn;
97 bool m_sourceTableArnHasBeenSet = false;
98
99 Aws::Utils::DateTime m_restoreDateTime;
100 bool m_restoreDateTimeHasBeenSet = false;
101
102 bool m_restoreInProgress;
103 bool m_restoreInProgressHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace DynamoDB
108} // namespace Aws
const Aws::String & GetSourceTableArn() const
RestoreSummary & WithRestoreDateTime(Aws::Utils::DateTime &&value)
const Aws::String & GetSourceBackupArn() const
void SetRestoreDateTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetRestoreDateTime() const
void SetSourceBackupArn(const char *value)
RestoreSummary & WithRestoreInProgress(bool value)
RestoreSummary & WithRestoreDateTime(const Aws::Utils::DateTime &value)
void SetRestoreDateTime(const Aws::Utils::DateTime &value)
void SetSourceTableArn(const char *value)
void SetSourceBackupArn(Aws::String &&value)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DYNAMODB_API RestoreSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSourceBackupArn(const Aws::String &value)
RestoreSummary & WithSourceBackupArn(const Aws::String &value)
void SetSourceTableArn(Aws::String &&value)
AWS_DYNAMODB_API RestoreSummary(Aws::Utils::Json::JsonView jsonValue)
RestoreSummary & WithSourceTableArn(const Aws::String &value)
RestoreSummary & WithSourceBackupArn(Aws::String &&value)
void SetSourceTableArn(const Aws::String &value)
RestoreSummary & WithSourceTableArn(const char *value)
RestoreSummary & WithSourceTableArn(Aws::String &&value)
RestoreSummary & WithSourceBackupArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue