AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeRestoreJobResult.h
1
6#pragma once
7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/backup/model/RestoreJobStatus.h>
11#include <aws/backup/model/RestoreJobCreator.h>
12#include <aws/backup/model/RestoreValidationStatus.h>
13#include <aws/backup/model/RestoreDeletionStatus.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace Backup
29{
30namespace Model
31{
33 {
34 public:
35 AWS_BACKUP_API DescribeRestoreJobResult();
38
39
41
44 inline const Aws::String& GetAccountId() const{ return m_accountId; }
45 inline void SetAccountId(const Aws::String& value) { m_accountId = value; }
46 inline void SetAccountId(Aws::String&& value) { m_accountId = std::move(value); }
47 inline void SetAccountId(const char* value) { m_accountId.assign(value); }
48 inline DescribeRestoreJobResult& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
49 inline DescribeRestoreJobResult& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
50 inline DescribeRestoreJobResult& WithAccountId(const char* value) { SetAccountId(value); return *this;}
52
54
57 inline const Aws::String& GetRestoreJobId() const{ return m_restoreJobId; }
58 inline void SetRestoreJobId(const Aws::String& value) { m_restoreJobId = value; }
59 inline void SetRestoreJobId(Aws::String&& value) { m_restoreJobId = std::move(value); }
60 inline void SetRestoreJobId(const char* value) { m_restoreJobId.assign(value); }
61 inline DescribeRestoreJobResult& WithRestoreJobId(const Aws::String& value) { SetRestoreJobId(value); return *this;}
62 inline DescribeRestoreJobResult& WithRestoreJobId(Aws::String&& value) { SetRestoreJobId(std::move(value)); return *this;}
63 inline DescribeRestoreJobResult& WithRestoreJobId(const char* value) { SetRestoreJobId(value); return *this;}
65
67
71 inline const Aws::String& GetRecoveryPointArn() const{ return m_recoveryPointArn; }
72 inline void SetRecoveryPointArn(const Aws::String& value) { m_recoveryPointArn = value; }
73 inline void SetRecoveryPointArn(Aws::String&& value) { m_recoveryPointArn = std::move(value); }
74 inline void SetRecoveryPointArn(const char* value) { m_recoveryPointArn.assign(value); }
76 inline DescribeRestoreJobResult& WithRecoveryPointArn(Aws::String&& value) { SetRecoveryPointArn(std::move(value)); return *this;}
77 inline DescribeRestoreJobResult& WithRecoveryPointArn(const char* value) { SetRecoveryPointArn(value); return *this;}
79
81
87 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
88 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
89 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
91 inline DescribeRestoreJobResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
93
95
101 inline const Aws::Utils::DateTime& GetCompletionDate() const{ return m_completionDate; }
102 inline void SetCompletionDate(const Aws::Utils::DateTime& value) { m_completionDate = value; }
103 inline void SetCompletionDate(Aws::Utils::DateTime&& value) { m_completionDate = std::move(value); }
105 inline DescribeRestoreJobResult& WithCompletionDate(Aws::Utils::DateTime&& value) { SetCompletionDate(std::move(value)); return *this;}
107
109
113 inline const RestoreJobStatus& GetStatus() const{ return m_status; }
114 inline void SetStatus(const RestoreJobStatus& value) { m_status = value; }
115 inline void SetStatus(RestoreJobStatus&& value) { m_status = std::move(value); }
116 inline DescribeRestoreJobResult& WithStatus(const RestoreJobStatus& value) { SetStatus(value); return *this;}
117 inline DescribeRestoreJobResult& WithStatus(RestoreJobStatus&& value) { SetStatus(std::move(value)); return *this;}
119
121
124 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
125 inline void SetStatusMessage(const Aws::String& value) { m_statusMessage = value; }
126 inline void SetStatusMessage(Aws::String&& value) { m_statusMessage = std::move(value); }
127 inline void SetStatusMessage(const char* value) { m_statusMessage.assign(value); }
128 inline DescribeRestoreJobResult& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
129 inline DescribeRestoreJobResult& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
130 inline DescribeRestoreJobResult& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
132
134
138 inline const Aws::String& GetPercentDone() const{ return m_percentDone; }
139 inline void SetPercentDone(const Aws::String& value) { m_percentDone = value; }
140 inline void SetPercentDone(Aws::String&& value) { m_percentDone = std::move(value); }
141 inline void SetPercentDone(const char* value) { m_percentDone.assign(value); }
142 inline DescribeRestoreJobResult& WithPercentDone(const Aws::String& value) { SetPercentDone(value); return *this;}
143 inline DescribeRestoreJobResult& WithPercentDone(Aws::String&& value) { SetPercentDone(std::move(value)); return *this;}
144 inline DescribeRestoreJobResult& WithPercentDone(const char* value) { SetPercentDone(value); return *this;}
146
148
151 inline long long GetBackupSizeInBytes() const{ return m_backupSizeInBytes; }
152 inline void SetBackupSizeInBytes(long long value) { m_backupSizeInBytes = value; }
153 inline DescribeRestoreJobResult& WithBackupSizeInBytes(long long value) { SetBackupSizeInBytes(value); return *this;}
155
157
161 inline const Aws::String& GetIamRoleArn() const{ return m_iamRoleArn; }
162 inline void SetIamRoleArn(const Aws::String& value) { m_iamRoleArn = value; }
163 inline void SetIamRoleArn(Aws::String&& value) { m_iamRoleArn = std::move(value); }
164 inline void SetIamRoleArn(const char* value) { m_iamRoleArn.assign(value); }
165 inline DescribeRestoreJobResult& WithIamRoleArn(const Aws::String& value) { SetIamRoleArn(value); return *this;}
166 inline DescribeRestoreJobResult& WithIamRoleArn(Aws::String&& value) { SetIamRoleArn(std::move(value)); return *this;}
167 inline DescribeRestoreJobResult& WithIamRoleArn(const char* value) { SetIamRoleArn(value); return *this;}
169
171
175 inline long long GetExpectedCompletionTimeMinutes() const{ return m_expectedCompletionTimeMinutes; }
176 inline void SetExpectedCompletionTimeMinutes(long long value) { m_expectedCompletionTimeMinutes = value; }
179
181
186 inline const Aws::String& GetCreatedResourceArn() const{ return m_createdResourceArn; }
187 inline void SetCreatedResourceArn(const Aws::String& value) { m_createdResourceArn = value; }
188 inline void SetCreatedResourceArn(Aws::String&& value) { m_createdResourceArn = std::move(value); }
189 inline void SetCreatedResourceArn(const char* value) { m_createdResourceArn.assign(value); }
191 inline DescribeRestoreJobResult& WithCreatedResourceArn(Aws::String&& value) { SetCreatedResourceArn(std::move(value)); return *this;}
192 inline DescribeRestoreJobResult& WithCreatedResourceArn(const char* value) { SetCreatedResourceArn(value); return *this;}
194
196
199 inline const Aws::String& GetResourceType() const{ return m_resourceType; }
200 inline void SetResourceType(const Aws::String& value) { m_resourceType = value; }
201 inline void SetResourceType(Aws::String&& value) { m_resourceType = std::move(value); }
202 inline void SetResourceType(const char* value) { m_resourceType.assign(value); }
203 inline DescribeRestoreJobResult& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;}
204 inline DescribeRestoreJobResult& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
205 inline DescribeRestoreJobResult& WithResourceType(const char* value) { SetResourceType(value); return *this;}
207
209
212 inline const Aws::Utils::DateTime& GetRecoveryPointCreationDate() const{ return m_recoveryPointCreationDate; }
213 inline void SetRecoveryPointCreationDate(const Aws::Utils::DateTime& value) { m_recoveryPointCreationDate = value; }
214 inline void SetRecoveryPointCreationDate(Aws::Utils::DateTime&& value) { m_recoveryPointCreationDate = std::move(value); }
218
220
223 inline const RestoreJobCreator& GetCreatedBy() const{ return m_createdBy; }
224 inline void SetCreatedBy(const RestoreJobCreator& value) { m_createdBy = value; }
225 inline void SetCreatedBy(RestoreJobCreator&& value) { m_createdBy = std::move(value); }
226 inline DescribeRestoreJobResult& WithCreatedBy(const RestoreJobCreator& value) { SetCreatedBy(value); return *this;}
227 inline DescribeRestoreJobResult& WithCreatedBy(RestoreJobCreator&& value) { SetCreatedBy(std::move(value)); return *this;}
229
231
234 inline const RestoreValidationStatus& GetValidationStatus() const{ return m_validationStatus; }
235 inline void SetValidationStatus(const RestoreValidationStatus& value) { m_validationStatus = value; }
236 inline void SetValidationStatus(RestoreValidationStatus&& value) { m_validationStatus = std::move(value); }
240
242
245 inline const Aws::String& GetValidationStatusMessage() const{ return m_validationStatusMessage; }
246 inline void SetValidationStatusMessage(const Aws::String& value) { m_validationStatusMessage = value; }
247 inline void SetValidationStatusMessage(Aws::String&& value) { m_validationStatusMessage = std::move(value); }
248 inline void SetValidationStatusMessage(const char* value) { m_validationStatusMessage.assign(value); }
251 inline DescribeRestoreJobResult& WithValidationStatusMessage(const char* value) { SetValidationStatusMessage(value); return *this;}
253
255
258 inline const RestoreDeletionStatus& GetDeletionStatus() const{ return m_deletionStatus; }
259 inline void SetDeletionStatus(const RestoreDeletionStatus& value) { m_deletionStatus = value; }
260 inline void SetDeletionStatus(RestoreDeletionStatus&& value) { m_deletionStatus = std::move(value); }
262 inline DescribeRestoreJobResult& WithDeletionStatus(RestoreDeletionStatus&& value) { SetDeletionStatus(std::move(value)); return *this;}
264
266
269 inline const Aws::String& GetDeletionStatusMessage() const{ return m_deletionStatusMessage; }
270 inline void SetDeletionStatusMessage(const Aws::String& value) { m_deletionStatusMessage = value; }
271 inline void SetDeletionStatusMessage(Aws::String&& value) { m_deletionStatusMessage = std::move(value); }
272 inline void SetDeletionStatusMessage(const char* value) { m_deletionStatusMessage.assign(value); }
275 inline DescribeRestoreJobResult& WithDeletionStatusMessage(const char* value) { SetDeletionStatusMessage(value); return *this;}
277
279
280 inline const Aws::String& GetRequestId() const{ return m_requestId; }
281 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
282 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
283 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
284 inline DescribeRestoreJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
285 inline DescribeRestoreJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
286 inline DescribeRestoreJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
288 private:
289
290 Aws::String m_accountId;
291
292 Aws::String m_restoreJobId;
293
294 Aws::String m_recoveryPointArn;
295
296 Aws::Utils::DateTime m_creationDate;
297
298 Aws::Utils::DateTime m_completionDate;
299
300 RestoreJobStatus m_status;
301
302 Aws::String m_statusMessage;
303
304 Aws::String m_percentDone;
305
306 long long m_backupSizeInBytes;
307
308 Aws::String m_iamRoleArn;
309
310 long long m_expectedCompletionTimeMinutes;
311
312 Aws::String m_createdResourceArn;
313
314 Aws::String m_resourceType;
315
316 Aws::Utils::DateTime m_recoveryPointCreationDate;
317
318 RestoreJobCreator m_createdBy;
319
320 RestoreValidationStatus m_validationStatus;
321
322 Aws::String m_validationStatusMessage;
323
324 RestoreDeletionStatus m_deletionStatus;
325
326 Aws::String m_deletionStatusMessage;
327
328 Aws::String m_requestId;
329 };
330
331} // namespace Model
332} // namespace Backup
333} // namespace Aws
DescribeRestoreJobResult & WithDeletionStatusMessage(const char *value)
DescribeRestoreJobResult & WithValidationStatus(RestoreValidationStatus &&value)
DescribeRestoreJobResult & WithIamRoleArn(const char *value)
DescribeRestoreJobResult & WithValidationStatusMessage(const Aws::String &value)
DescribeRestoreJobResult & WithStatusMessage(const char *value)
void SetValidationStatus(const RestoreValidationStatus &value)
DescribeRestoreJobResult & WithValidationStatus(const RestoreValidationStatus &value)
DescribeRestoreJobResult & WithCreatedBy(const RestoreJobCreator &value)
void SetDeletionStatus(RestoreDeletionStatus &&value)
DescribeRestoreJobResult & WithAccountId(Aws::String &&value)
DescribeRestoreJobResult & WithRequestId(const Aws::String &value)
DescribeRestoreJobResult & WithAccountId(const char *value)
DescribeRestoreJobResult & WithPercentDone(const char *value)
const RestoreValidationStatus & GetValidationStatus() const
DescribeRestoreJobResult & WithCompletionDate(const Aws::Utils::DateTime &value)
DescribeRestoreJobResult & WithAccountId(const Aws::String &value)
DescribeRestoreJobResult & WithCreationDate(const Aws::Utils::DateTime &value)
DescribeRestoreJobResult & WithExpectedCompletionTimeMinutes(long long value)
const Aws::Utils::DateTime & GetRecoveryPointCreationDate() const
void SetRecoveryPointCreationDate(Aws::Utils::DateTime &&value)
void SetCreationDate(Aws::Utils::DateTime &&value)
DescribeRestoreJobResult & WithRestoreJobId(const char *value)
DescribeRestoreJobResult & WithResourceType(Aws::String &&value)
DescribeRestoreJobResult & WithRequestId(Aws::String &&value)
DescribeRestoreJobResult & WithDeletionStatusMessage(Aws::String &&value)
void SetValidationStatusMessage(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationDate() const
DescribeRestoreJobResult & WithStatus(const RestoreJobStatus &value)
AWS_BACKUP_API DescribeRestoreJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeRestoreJobResult & WithRecoveryPointArn(const Aws::String &value)
void SetDeletionStatus(const RestoreDeletionStatus &value)
AWS_BACKUP_API DescribeRestoreJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeRestoreJobResult & WithPercentDone(const Aws::String &value)
DescribeRestoreJobResult & WithPercentDone(Aws::String &&value)
DescribeRestoreJobResult & WithResourceType(const Aws::String &value)
DescribeRestoreJobResult & WithBackupSizeInBytes(long long value)
DescribeRestoreJobResult & WithCreatedResourceArn(const char *value)
void SetValidationStatus(RestoreValidationStatus &&value)
void SetCreatedBy(const RestoreJobCreator &value)
DescribeRestoreJobResult & WithRequestId(const char *value)
DescribeRestoreJobResult & WithStatusMessage(const Aws::String &value)
DescribeRestoreJobResult & WithCreationDate(Aws::Utils::DateTime &&value)
DescribeRestoreJobResult & WithDeletionStatusMessage(const Aws::String &value)
DescribeRestoreJobResult & WithValidationStatusMessage(const char *value)
const Aws::Utils::DateTime & GetCompletionDate() const
DescribeRestoreJobResult & WithCompletionDate(Aws::Utils::DateTime &&value)
DescribeRestoreJobResult & WithCreatedBy(RestoreJobCreator &&value)
DescribeRestoreJobResult & WithCreatedResourceArn(Aws::String &&value)
DescribeRestoreJobResult & WithDeletionStatus(const RestoreDeletionStatus &value)
DescribeRestoreJobResult & WithCreatedResourceArn(const Aws::String &value)
DescribeRestoreJobResult & WithResourceType(const char *value)
const RestoreDeletionStatus & GetDeletionStatus() const
DescribeRestoreJobResult & WithRecoveryPointArn(const char *value)
DescribeRestoreJobResult & WithStatusMessage(Aws::String &&value)
void SetCompletionDate(Aws::Utils::DateTime &&value)
void SetCreationDate(const Aws::Utils::DateTime &value)
void SetRecoveryPointCreationDate(const Aws::Utils::DateTime &value)
DescribeRestoreJobResult & WithIamRoleArn(Aws::String &&value)
DescribeRestoreJobResult & WithRestoreJobId(Aws::String &&value)
DescribeRestoreJobResult & WithStatus(RestoreJobStatus &&value)
void SetCompletionDate(const Aws::Utils::DateTime &value)
DescribeRestoreJobResult & WithRecoveryPointCreationDate(const Aws::Utils::DateTime &value)
DescribeRestoreJobResult & WithIamRoleArn(const Aws::String &value)
DescribeRestoreJobResult & WithRecoveryPointCreationDate(Aws::Utils::DateTime &&value)
DescribeRestoreJobResult & WithValidationStatusMessage(Aws::String &&value)
DescribeRestoreJobResult & WithDeletionStatus(RestoreDeletionStatus &&value)
DescribeRestoreJobResult & WithRecoveryPointArn(Aws::String &&value)
DescribeRestoreJobResult & WithRestoreJobId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue