AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BackupSummary.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 <aws/dynamodb/model/BackupStatus.h>
11#include <aws/dynamodb/model/BackupType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace DynamoDB
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_DYNAMODB_API BackupSummary();
38 AWS_DYNAMODB_API BackupSummary(Aws::Utils::Json::JsonView jsonValue);
40 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetTableName() const{ return m_tableName; }
48 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
49 inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; }
50 inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); }
51 inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); }
52 inline BackupSummary& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
53 inline BackupSummary& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
54 inline BackupSummary& WithTableName(const char* value) { SetTableName(value); return *this;}
56
58
61 inline const Aws::String& GetTableId() const{ return m_tableId; }
62 inline bool TableIdHasBeenSet() const { return m_tableIdHasBeenSet; }
63 inline void SetTableId(const Aws::String& value) { m_tableIdHasBeenSet = true; m_tableId = value; }
64 inline void SetTableId(Aws::String&& value) { m_tableIdHasBeenSet = true; m_tableId = std::move(value); }
65 inline void SetTableId(const char* value) { m_tableIdHasBeenSet = true; m_tableId.assign(value); }
66 inline BackupSummary& WithTableId(const Aws::String& value) { SetTableId(value); return *this;}
67 inline BackupSummary& WithTableId(Aws::String&& value) { SetTableId(std::move(value)); return *this;}
68 inline BackupSummary& WithTableId(const char* value) { SetTableId(value); return *this;}
70
72
75 inline const Aws::String& GetTableArn() const{ return m_tableArn; }
76 inline bool TableArnHasBeenSet() const { return m_tableArnHasBeenSet; }
77 inline void SetTableArn(const Aws::String& value) { m_tableArnHasBeenSet = true; m_tableArn = value; }
78 inline void SetTableArn(Aws::String&& value) { m_tableArnHasBeenSet = true; m_tableArn = std::move(value); }
79 inline void SetTableArn(const char* value) { m_tableArnHasBeenSet = true; m_tableArn.assign(value); }
80 inline BackupSummary& WithTableArn(const Aws::String& value) { SetTableArn(value); return *this;}
81 inline BackupSummary& WithTableArn(Aws::String&& value) { SetTableArn(std::move(value)); return *this;}
82 inline BackupSummary& WithTableArn(const char* value) { SetTableArn(value); return *this;}
84
86
89 inline const Aws::String& GetBackupArn() const{ return m_backupArn; }
90 inline bool BackupArnHasBeenSet() const { return m_backupArnHasBeenSet; }
91 inline void SetBackupArn(const Aws::String& value) { m_backupArnHasBeenSet = true; m_backupArn = value; }
92 inline void SetBackupArn(Aws::String&& value) { m_backupArnHasBeenSet = true; m_backupArn = std::move(value); }
93 inline void SetBackupArn(const char* value) { m_backupArnHasBeenSet = true; m_backupArn.assign(value); }
94 inline BackupSummary& WithBackupArn(const Aws::String& value) { SetBackupArn(value); return *this;}
95 inline BackupSummary& WithBackupArn(Aws::String&& value) { SetBackupArn(std::move(value)); return *this;}
96 inline BackupSummary& WithBackupArn(const char* value) { SetBackupArn(value); return *this;}
98
100
103 inline const Aws::String& GetBackupName() const{ return m_backupName; }
104 inline bool BackupNameHasBeenSet() const { return m_backupNameHasBeenSet; }
105 inline void SetBackupName(const Aws::String& value) { m_backupNameHasBeenSet = true; m_backupName = value; }
106 inline void SetBackupName(Aws::String&& value) { m_backupNameHasBeenSet = true; m_backupName = std::move(value); }
107 inline void SetBackupName(const char* value) { m_backupNameHasBeenSet = true; m_backupName.assign(value); }
108 inline BackupSummary& WithBackupName(const Aws::String& value) { SetBackupName(value); return *this;}
109 inline BackupSummary& WithBackupName(Aws::String&& value) { SetBackupName(std::move(value)); return *this;}
110 inline BackupSummary& WithBackupName(const char* value) { SetBackupName(value); return *this;}
112
114
117 inline const Aws::Utils::DateTime& GetBackupCreationDateTime() const{ return m_backupCreationDateTime; }
118 inline bool BackupCreationDateTimeHasBeenSet() const { return m_backupCreationDateTimeHasBeenSet; }
119 inline void SetBackupCreationDateTime(const Aws::Utils::DateTime& value) { m_backupCreationDateTimeHasBeenSet = true; m_backupCreationDateTime = value; }
120 inline void SetBackupCreationDateTime(Aws::Utils::DateTime&& value) { m_backupCreationDateTimeHasBeenSet = true; m_backupCreationDateTime = std::move(value); }
124
126
131 inline const Aws::Utils::DateTime& GetBackupExpiryDateTime() const{ return m_backupExpiryDateTime; }
132 inline bool BackupExpiryDateTimeHasBeenSet() const { return m_backupExpiryDateTimeHasBeenSet; }
133 inline void SetBackupExpiryDateTime(const Aws::Utils::DateTime& value) { m_backupExpiryDateTimeHasBeenSet = true; m_backupExpiryDateTime = value; }
134 inline void SetBackupExpiryDateTime(Aws::Utils::DateTime&& value) { m_backupExpiryDateTimeHasBeenSet = true; m_backupExpiryDateTime = std::move(value); }
136 inline BackupSummary& WithBackupExpiryDateTime(Aws::Utils::DateTime&& value) { SetBackupExpiryDateTime(std::move(value)); return *this;}
138
140
143 inline const BackupStatus& GetBackupStatus() const{ return m_backupStatus; }
144 inline bool BackupStatusHasBeenSet() const { return m_backupStatusHasBeenSet; }
145 inline void SetBackupStatus(const BackupStatus& value) { m_backupStatusHasBeenSet = true; m_backupStatus = value; }
146 inline void SetBackupStatus(BackupStatus&& value) { m_backupStatusHasBeenSet = true; m_backupStatus = std::move(value); }
147 inline BackupSummary& WithBackupStatus(const BackupStatus& value) { SetBackupStatus(value); return *this;}
148 inline BackupSummary& WithBackupStatus(BackupStatus&& value) { SetBackupStatus(std::move(value)); return *this;}
150
152
162 inline const BackupType& GetBackupType() const{ return m_backupType; }
163 inline bool BackupTypeHasBeenSet() const { return m_backupTypeHasBeenSet; }
164 inline void SetBackupType(const BackupType& value) { m_backupTypeHasBeenSet = true; m_backupType = value; }
165 inline void SetBackupType(BackupType&& value) { m_backupTypeHasBeenSet = true; m_backupType = std::move(value); }
166 inline BackupSummary& WithBackupType(const BackupType& value) { SetBackupType(value); return *this;}
167 inline BackupSummary& WithBackupType(BackupType&& value) { SetBackupType(std::move(value)); return *this;}
169
171
174 inline long long GetBackupSizeBytes() const{ return m_backupSizeBytes; }
175 inline bool BackupSizeBytesHasBeenSet() const { return m_backupSizeBytesHasBeenSet; }
176 inline void SetBackupSizeBytes(long long value) { m_backupSizeBytesHasBeenSet = true; m_backupSizeBytes = value; }
177 inline BackupSummary& WithBackupSizeBytes(long long value) { SetBackupSizeBytes(value); return *this;}
179 private:
180
181 Aws::String m_tableName;
182 bool m_tableNameHasBeenSet = false;
183
184 Aws::String m_tableId;
185 bool m_tableIdHasBeenSet = false;
186
187 Aws::String m_tableArn;
188 bool m_tableArnHasBeenSet = false;
189
190 Aws::String m_backupArn;
191 bool m_backupArnHasBeenSet = false;
192
193 Aws::String m_backupName;
194 bool m_backupNameHasBeenSet = false;
195
196 Aws::Utils::DateTime m_backupCreationDateTime;
197 bool m_backupCreationDateTimeHasBeenSet = false;
198
199 Aws::Utils::DateTime m_backupExpiryDateTime;
200 bool m_backupExpiryDateTimeHasBeenSet = false;
201
202 BackupStatus m_backupStatus;
203 bool m_backupStatusHasBeenSet = false;
204
205 BackupType m_backupType;
206 bool m_backupTypeHasBeenSet = false;
207
208 long long m_backupSizeBytes;
209 bool m_backupSizeBytesHasBeenSet = false;
210 };
211
212} // namespace Model
213} // namespace DynamoDB
214} // namespace Aws
void SetBackupStatus(const BackupStatus &value)
BackupSummary & WithTableName(const Aws::String &value)
void SetBackupArn(const char *value)
BackupSummary & WithBackupName(const Aws::String &value)
BackupSummary & WithBackupExpiryDateTime(Aws::Utils::DateTime &&value)
const BackupStatus & GetBackupStatus() const
void SetTableId(const char *value)
BackupSummary & WithBackupSizeBytes(long long value)
void SetBackupExpiryDateTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetBackupCreationDateTime() const
BackupSummary & WithTableId(const char *value)
BackupSummary & WithBackupType(const BackupType &value)
void SetBackupName(const Aws::String &value)
void SetTableArn(const Aws::String &value)
const Aws::String & GetBackupName() const
void SetTableName(const char *value)
void SetTableName(const Aws::String &value)
void SetTableArn(Aws::String &&value)
void SetBackupCreationDateTime(Aws::Utils::DateTime &&value)
BackupSummary & WithTableName(const char *value)
void SetBackupArn(const Aws::String &value)
const Aws::String & GetTableName() const
AWS_DYNAMODB_API BackupSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
BackupSummary & WithBackupStatus(BackupStatus &&value)
const Aws::String & GetBackupArn() const
BackupSummary & WithBackupCreationDateTime(const Aws::Utils::DateTime &value)
void SetTableId(Aws::String &&value)
AWS_DYNAMODB_API BackupSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetBackupType(BackupType &&value)
const Aws::String & GetTableArn() const
void SetBackupExpiryDateTime(Aws::Utils::DateTime &&value)
BackupSummary & WithBackupName(Aws::String &&value)
BackupSummary & WithTableArn(const Aws::String &value)
BackupSummary & WithTableArn(Aws::String &&value)
const BackupType & GetBackupType() const
BackupSummary & WithBackupType(BackupType &&value)
void SetBackupType(const BackupType &value)
BackupSummary & WithBackupCreationDateTime(Aws::Utils::DateTime &&value)
void SetTableArn(const char *value)
void SetTableId(const Aws::String &value)
BackupSummary & WithTableArn(const char *value)
BackupSummary & WithBackupStatus(const BackupStatus &value)
const Aws::String & GetTableId() const
void SetBackupStatus(BackupStatus &&value)
BackupSummary & WithTableId(const Aws::String &value)
void SetBackupName(const char *value)
void SetTableName(Aws::String &&value)
BackupSummary & WithBackupArn(Aws::String &&value)
BackupSummary & WithTableId(Aws::String &&value)
const Aws::Utils::DateTime & GetBackupExpiryDateTime() const
BackupSummary & WithBackupName(const char *value)
void SetBackupArn(Aws::String &&value)
BackupSummary & WithTableName(Aws::String &&value)
void SetBackupName(Aws::String &&value)
void SetBackupCreationDateTime(const Aws::Utils::DateTime &value)
BackupSummary & WithBackupExpiryDateTime(const Aws::Utils::DateTime &value)
void SetBackupSizeBytes(long long value)
BackupSummary & WithBackupArn(const char *value)
BackupSummary & WithBackupArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue