AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CopyJob.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/CopyJobState.h>
11#include <aws/backup/model/RecoveryPointCreator.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace Backup
26{
27namespace Model
28{
29
35 class CopyJob
36 {
37 public:
38 AWS_BACKUP_API CopyJob();
39 AWS_BACKUP_API CopyJob(Aws::Utils::Json::JsonView jsonValue);
40 AWS_BACKUP_API CopyJob& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetAccountId() const{ return m_accountId; }
49 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
50 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
51 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
52 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
53 inline CopyJob& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
54 inline CopyJob& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
55 inline CopyJob& WithAccountId(const char* value) { SetAccountId(value); return *this;}
57
59
62 inline const Aws::String& GetCopyJobId() const{ return m_copyJobId; }
63 inline bool CopyJobIdHasBeenSet() const { return m_copyJobIdHasBeenSet; }
64 inline void SetCopyJobId(const Aws::String& value) { m_copyJobIdHasBeenSet = true; m_copyJobId = value; }
65 inline void SetCopyJobId(Aws::String&& value) { m_copyJobIdHasBeenSet = true; m_copyJobId = std::move(value); }
66 inline void SetCopyJobId(const char* value) { m_copyJobIdHasBeenSet = true; m_copyJobId.assign(value); }
67 inline CopyJob& WithCopyJobId(const Aws::String& value) { SetCopyJobId(value); return *this;}
68 inline CopyJob& WithCopyJobId(Aws::String&& value) { SetCopyJobId(std::move(value)); return *this;}
69 inline CopyJob& WithCopyJobId(const char* value) { SetCopyJobId(value); return *this;}
71
73
79 inline const Aws::String& GetSourceBackupVaultArn() const{ return m_sourceBackupVaultArn; }
80 inline bool SourceBackupVaultArnHasBeenSet() const { return m_sourceBackupVaultArnHasBeenSet; }
81 inline void SetSourceBackupVaultArn(const Aws::String& value) { m_sourceBackupVaultArnHasBeenSet = true; m_sourceBackupVaultArn = value; }
82 inline void SetSourceBackupVaultArn(Aws::String&& value) { m_sourceBackupVaultArnHasBeenSet = true; m_sourceBackupVaultArn = std::move(value); }
83 inline void SetSourceBackupVaultArn(const char* value) { m_sourceBackupVaultArnHasBeenSet = true; m_sourceBackupVaultArn.assign(value); }
84 inline CopyJob& WithSourceBackupVaultArn(const Aws::String& value) { SetSourceBackupVaultArn(value); return *this;}
85 inline CopyJob& WithSourceBackupVaultArn(Aws::String&& value) { SetSourceBackupVaultArn(std::move(value)); return *this;}
86 inline CopyJob& WithSourceBackupVaultArn(const char* value) { SetSourceBackupVaultArn(value); return *this;}
88
90
94 inline const Aws::String& GetSourceRecoveryPointArn() const{ return m_sourceRecoveryPointArn; }
95 inline bool SourceRecoveryPointArnHasBeenSet() const { return m_sourceRecoveryPointArnHasBeenSet; }
96 inline void SetSourceRecoveryPointArn(const Aws::String& value) { m_sourceRecoveryPointArnHasBeenSet = true; m_sourceRecoveryPointArn = value; }
97 inline void SetSourceRecoveryPointArn(Aws::String&& value) { m_sourceRecoveryPointArnHasBeenSet = true; m_sourceRecoveryPointArn = std::move(value); }
98 inline void SetSourceRecoveryPointArn(const char* value) { m_sourceRecoveryPointArnHasBeenSet = true; m_sourceRecoveryPointArn.assign(value); }
99 inline CopyJob& WithSourceRecoveryPointArn(const Aws::String& value) { SetSourceRecoveryPointArn(value); return *this;}
100 inline CopyJob& WithSourceRecoveryPointArn(Aws::String&& value) { SetSourceRecoveryPointArn(std::move(value)); return *this;}
101 inline CopyJob& WithSourceRecoveryPointArn(const char* value) { SetSourceRecoveryPointArn(value); return *this;}
103
105
110 inline const Aws::String& GetDestinationBackupVaultArn() const{ return m_destinationBackupVaultArn; }
111 inline bool DestinationBackupVaultArnHasBeenSet() const { return m_destinationBackupVaultArnHasBeenSet; }
112 inline void SetDestinationBackupVaultArn(const Aws::String& value) { m_destinationBackupVaultArnHasBeenSet = true; m_destinationBackupVaultArn = value; }
113 inline void SetDestinationBackupVaultArn(Aws::String&& value) { m_destinationBackupVaultArnHasBeenSet = true; m_destinationBackupVaultArn = std::move(value); }
114 inline void SetDestinationBackupVaultArn(const char* value) { m_destinationBackupVaultArnHasBeenSet = true; m_destinationBackupVaultArn.assign(value); }
116 inline CopyJob& WithDestinationBackupVaultArn(Aws::String&& value) { SetDestinationBackupVaultArn(std::move(value)); return *this;}
117 inline CopyJob& WithDestinationBackupVaultArn(const char* value) { SetDestinationBackupVaultArn(value); return *this;}
119
121
125 inline const Aws::String& GetDestinationRecoveryPointArn() const{ return m_destinationRecoveryPointArn; }
126 inline bool DestinationRecoveryPointArnHasBeenSet() const { return m_destinationRecoveryPointArnHasBeenSet; }
127 inline void SetDestinationRecoveryPointArn(const Aws::String& value) { m_destinationRecoveryPointArnHasBeenSet = true; m_destinationRecoveryPointArn = value; }
128 inline void SetDestinationRecoveryPointArn(Aws::String&& value) { m_destinationRecoveryPointArnHasBeenSet = true; m_destinationRecoveryPointArn = std::move(value); }
129 inline void SetDestinationRecoveryPointArn(const char* value) { m_destinationRecoveryPointArnHasBeenSet = true; m_destinationRecoveryPointArn.assign(value); }
131 inline CopyJob& WithDestinationRecoveryPointArn(Aws::String&& value) { SetDestinationRecoveryPointArn(std::move(value)); return *this;}
132 inline CopyJob& WithDestinationRecoveryPointArn(const char* value) { SetDestinationRecoveryPointArn(value); return *this;}
134
136
141 inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
142 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
143 inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
144 inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
145 inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
146 inline CopyJob& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
147 inline CopyJob& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
148 inline CopyJob& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
150
152
158 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
159 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
160 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
161 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
162 inline CopyJob& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
163 inline CopyJob& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
165
167
173 inline const Aws::Utils::DateTime& GetCompletionDate() const{ return m_completionDate; }
174 inline bool CompletionDateHasBeenSet() const { return m_completionDateHasBeenSet; }
175 inline void SetCompletionDate(const Aws::Utils::DateTime& value) { m_completionDateHasBeenSet = true; m_completionDate = value; }
176 inline void SetCompletionDate(Aws::Utils::DateTime&& value) { m_completionDateHasBeenSet = true; m_completionDate = std::move(value); }
177 inline CopyJob& WithCompletionDate(const Aws::Utils::DateTime& value) { SetCompletionDate(value); return *this;}
178 inline CopyJob& WithCompletionDate(Aws::Utils::DateTime&& value) { SetCompletionDate(std::move(value)); return *this;}
180
182
185 inline const CopyJobState& GetState() const{ return m_state; }
186 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
187 inline void SetState(const CopyJobState& value) { m_stateHasBeenSet = true; m_state = value; }
188 inline void SetState(CopyJobState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
189 inline CopyJob& WithState(const CopyJobState& value) { SetState(value); return *this;}
190 inline CopyJob& WithState(CopyJobState&& value) { SetState(std::move(value)); return *this;}
192
194
197 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
198 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
199 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
200 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
201 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
202 inline CopyJob& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
203 inline CopyJob& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
204 inline CopyJob& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
206
208
211 inline long long GetBackupSizeInBytes() const{ return m_backupSizeInBytes; }
212 inline bool BackupSizeInBytesHasBeenSet() const { return m_backupSizeInBytesHasBeenSet; }
213 inline void SetBackupSizeInBytes(long long value) { m_backupSizeInBytesHasBeenSet = true; m_backupSizeInBytes = value; }
214 inline CopyJob& WithBackupSizeInBytes(long long value) { SetBackupSizeInBytes(value); return *this;}
216
218
222 inline const Aws::String& GetIamRoleArn() const{ return m_iamRoleArn; }
223 inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; }
224 inline void SetIamRoleArn(const Aws::String& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = value; }
225 inline void SetIamRoleArn(Aws::String&& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::move(value); }
226 inline void SetIamRoleArn(const char* value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn.assign(value); }
227 inline CopyJob& WithIamRoleArn(const Aws::String& value) { SetIamRoleArn(value); return *this;}
228 inline CopyJob& WithIamRoleArn(Aws::String&& value) { SetIamRoleArn(std::move(value)); return *this;}
229 inline CopyJob& WithIamRoleArn(const char* value) { SetIamRoleArn(value); return *this;}
231
233
234 inline const RecoveryPointCreator& GetCreatedBy() const{ return m_createdBy; }
235 inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; }
236 inline void SetCreatedBy(const RecoveryPointCreator& value) { m_createdByHasBeenSet = true; m_createdBy = value; }
237 inline void SetCreatedBy(RecoveryPointCreator&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); }
238 inline CopyJob& WithCreatedBy(const RecoveryPointCreator& value) { SetCreatedBy(value); return *this;}
239 inline CopyJob& WithCreatedBy(RecoveryPointCreator&& value) { SetCreatedBy(std::move(value)); return *this;}
241
243
248 inline const Aws::String& GetResourceType() const{ return m_resourceType; }
249 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
250 inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
251 inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
252 inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); }
253 inline CopyJob& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;}
254 inline CopyJob& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
255 inline CopyJob& WithResourceType(const char* value) { SetResourceType(value); return *this;}
257
259
263 inline const Aws::String& GetParentJobId() const{ return m_parentJobId; }
264 inline bool ParentJobIdHasBeenSet() const { return m_parentJobIdHasBeenSet; }
265 inline void SetParentJobId(const Aws::String& value) { m_parentJobIdHasBeenSet = true; m_parentJobId = value; }
266 inline void SetParentJobId(Aws::String&& value) { m_parentJobIdHasBeenSet = true; m_parentJobId = std::move(value); }
267 inline void SetParentJobId(const char* value) { m_parentJobIdHasBeenSet = true; m_parentJobId.assign(value); }
268 inline CopyJob& WithParentJobId(const Aws::String& value) { SetParentJobId(value); return *this;}
269 inline CopyJob& WithParentJobId(Aws::String&& value) { SetParentJobId(std::move(value)); return *this;}
270 inline CopyJob& WithParentJobId(const char* value) { SetParentJobId(value); return *this;}
272
274
277 inline bool GetIsParent() const{ return m_isParent; }
278 inline bool IsParentHasBeenSet() const { return m_isParentHasBeenSet; }
279 inline void SetIsParent(bool value) { m_isParentHasBeenSet = true; m_isParent = value; }
280 inline CopyJob& WithIsParent(bool value) { SetIsParent(value); return *this;}
282
284
291 inline const Aws::String& GetCompositeMemberIdentifier() const{ return m_compositeMemberIdentifier; }
292 inline bool CompositeMemberIdentifierHasBeenSet() const { return m_compositeMemberIdentifierHasBeenSet; }
293 inline void SetCompositeMemberIdentifier(const Aws::String& value) { m_compositeMemberIdentifierHasBeenSet = true; m_compositeMemberIdentifier = value; }
294 inline void SetCompositeMemberIdentifier(Aws::String&& value) { m_compositeMemberIdentifierHasBeenSet = true; m_compositeMemberIdentifier = std::move(value); }
295 inline void SetCompositeMemberIdentifier(const char* value) { m_compositeMemberIdentifierHasBeenSet = true; m_compositeMemberIdentifier.assign(value); }
297 inline CopyJob& WithCompositeMemberIdentifier(Aws::String&& value) { SetCompositeMemberIdentifier(std::move(value)); return *this;}
298 inline CopyJob& WithCompositeMemberIdentifier(const char* value) { SetCompositeMemberIdentifier(value); return *this;}
300
302
305 inline long long GetNumberOfChildJobs() const{ return m_numberOfChildJobs; }
306 inline bool NumberOfChildJobsHasBeenSet() const { return m_numberOfChildJobsHasBeenSet; }
307 inline void SetNumberOfChildJobs(long long value) { m_numberOfChildJobsHasBeenSet = true; m_numberOfChildJobs = value; }
308 inline CopyJob& WithNumberOfChildJobs(long long value) { SetNumberOfChildJobs(value); return *this;}
310
312
315 inline const Aws::Map<CopyJobState, long long>& GetChildJobsInState() const{ return m_childJobsInState; }
316 inline bool ChildJobsInStateHasBeenSet() const { return m_childJobsInStateHasBeenSet; }
317 inline void SetChildJobsInState(const Aws::Map<CopyJobState, long long>& value) { m_childJobsInStateHasBeenSet = true; m_childJobsInState = value; }
318 inline void SetChildJobsInState(Aws::Map<CopyJobState, long long>&& value) { m_childJobsInStateHasBeenSet = true; m_childJobsInState = std::move(value); }
320 inline CopyJob& WithChildJobsInState(Aws::Map<CopyJobState, long long>&& value) { SetChildJobsInState(std::move(value)); return *this;}
321 inline CopyJob& AddChildJobsInState(const CopyJobState& key, long long value) { m_childJobsInStateHasBeenSet = true; m_childJobsInState.emplace(key, value); return *this; }
322 inline CopyJob& AddChildJobsInState(CopyJobState&& key, long long value) { m_childJobsInStateHasBeenSet = true; m_childJobsInState.emplace(std::move(key), value); return *this; }
324
326
329 inline const Aws::String& GetResourceName() const{ return m_resourceName; }
330 inline bool ResourceNameHasBeenSet() const { return m_resourceNameHasBeenSet; }
331 inline void SetResourceName(const Aws::String& value) { m_resourceNameHasBeenSet = true; m_resourceName = value; }
332 inline void SetResourceName(Aws::String&& value) { m_resourceNameHasBeenSet = true; m_resourceName = std::move(value); }
333 inline void SetResourceName(const char* value) { m_resourceNameHasBeenSet = true; m_resourceName.assign(value); }
334 inline CopyJob& WithResourceName(const Aws::String& value) { SetResourceName(value); return *this;}
335 inline CopyJob& WithResourceName(Aws::String&& value) { SetResourceName(std::move(value)); return *this;}
336 inline CopyJob& WithResourceName(const char* value) { SetResourceName(value); return *this;}
338
340
349 inline const Aws::String& GetMessageCategory() const{ return m_messageCategory; }
350 inline bool MessageCategoryHasBeenSet() const { return m_messageCategoryHasBeenSet; }
351 inline void SetMessageCategory(const Aws::String& value) { m_messageCategoryHasBeenSet = true; m_messageCategory = value; }
352 inline void SetMessageCategory(Aws::String&& value) { m_messageCategoryHasBeenSet = true; m_messageCategory = std::move(value); }
353 inline void SetMessageCategory(const char* value) { m_messageCategoryHasBeenSet = true; m_messageCategory.assign(value); }
354 inline CopyJob& WithMessageCategory(const Aws::String& value) { SetMessageCategory(value); return *this;}
355 inline CopyJob& WithMessageCategory(Aws::String&& value) { SetMessageCategory(std::move(value)); return *this;}
356 inline CopyJob& WithMessageCategory(const char* value) { SetMessageCategory(value); return *this;}
358 private:
359
360 Aws::String m_accountId;
361 bool m_accountIdHasBeenSet = false;
362
363 Aws::String m_copyJobId;
364 bool m_copyJobIdHasBeenSet = false;
365
366 Aws::String m_sourceBackupVaultArn;
367 bool m_sourceBackupVaultArnHasBeenSet = false;
368
369 Aws::String m_sourceRecoveryPointArn;
370 bool m_sourceRecoveryPointArnHasBeenSet = false;
371
372 Aws::String m_destinationBackupVaultArn;
373 bool m_destinationBackupVaultArnHasBeenSet = false;
374
375 Aws::String m_destinationRecoveryPointArn;
376 bool m_destinationRecoveryPointArnHasBeenSet = false;
377
378 Aws::String m_resourceArn;
379 bool m_resourceArnHasBeenSet = false;
380
381 Aws::Utils::DateTime m_creationDate;
382 bool m_creationDateHasBeenSet = false;
383
384 Aws::Utils::DateTime m_completionDate;
385 bool m_completionDateHasBeenSet = false;
386
387 CopyJobState m_state;
388 bool m_stateHasBeenSet = false;
389
390 Aws::String m_statusMessage;
391 bool m_statusMessageHasBeenSet = false;
392
393 long long m_backupSizeInBytes;
394 bool m_backupSizeInBytesHasBeenSet = false;
395
396 Aws::String m_iamRoleArn;
397 bool m_iamRoleArnHasBeenSet = false;
398
399 RecoveryPointCreator m_createdBy;
400 bool m_createdByHasBeenSet = false;
401
402 Aws::String m_resourceType;
403 bool m_resourceTypeHasBeenSet = false;
404
405 Aws::String m_parentJobId;
406 bool m_parentJobIdHasBeenSet = false;
407
408 bool m_isParent;
409 bool m_isParentHasBeenSet = false;
410
411 Aws::String m_compositeMemberIdentifier;
412 bool m_compositeMemberIdentifierHasBeenSet = false;
413
414 long long m_numberOfChildJobs;
415 bool m_numberOfChildJobsHasBeenSet = false;
416
417 Aws::Map<CopyJobState, long long> m_childJobsInState;
418 bool m_childJobsInStateHasBeenSet = false;
419
420 Aws::String m_resourceName;
421 bool m_resourceNameHasBeenSet = false;
422
423 Aws::String m_messageCategory;
424 bool m_messageCategoryHasBeenSet = false;
425 };
426
427} // namespace Model
428} // namespace Backup
429} // namespace Aws
void SetDestinationRecoveryPointArn(Aws::String &&value)
Definition CopyJob.h:128
CopyJob & WithResourceType(const char *value)
Definition CopyJob.h:255
void SetCompositeMemberIdentifier(Aws::String &&value)
Definition CopyJob.h:294
void SetResourceArn(Aws::String &&value)
Definition CopyJob.h:144
void SetIamRoleArn(Aws::String &&value)
Definition CopyJob.h:225
CopyJob & WithSourceBackupVaultArn(const char *value)
Definition CopyJob.h:86
CopyJob & WithParentJobId(const char *value)
Definition CopyJob.h:270
CopyJob & WithBackupSizeInBytes(long long value)
Definition CopyJob.h:214
void SetStatusMessage(const char *value)
Definition CopyJob.h:201
AWS_BACKUP_API CopyJob()
void SetIsParent(bool value)
Definition CopyJob.h:279
CopyJob & AddChildJobsInState(CopyJobState &&key, long long value)
Definition CopyJob.h:322
const Aws::String & GetResourceType() const
Definition CopyJob.h:248
CopyJob & WithChildJobsInState(const Aws::Map< CopyJobState, long long > &value)
Definition CopyJob.h:319
CopyJob & WithResourceName(const char *value)
Definition CopyJob.h:336
CopyJob & WithSourceBackupVaultArn(const Aws::String &value)
Definition CopyJob.h:84
const Aws::Utils::DateTime & GetCreationDate() const
Definition CopyJob.h:158
void SetState(CopyJobState &&value)
Definition CopyJob.h:188
const Aws::String & GetIamRoleArn() const
Definition CopyJob.h:222
CopyJob & WithMessageCategory(const char *value)
Definition CopyJob.h:356
CopyJob & WithDestinationRecoveryPointArn(Aws::String &&value)
Definition CopyJob.h:131
bool CopyJobIdHasBeenSet() const
Definition CopyJob.h:63
void SetResourceType(const Aws::String &value)
Definition CopyJob.h:250
void SetSourceBackupVaultArn(Aws::String &&value)
Definition CopyJob.h:82
void SetChildJobsInState(const Aws::Map< CopyJobState, long long > &value)
Definition CopyJob.h:317
const CopyJobState & GetState() const
Definition CopyJob.h:185
void SetParentJobId(const char *value)
Definition CopyJob.h:267
void SetCreatedBy(const RecoveryPointCreator &value)
Definition CopyJob.h:236
void SetSourceBackupVaultArn(const Aws::String &value)
Definition CopyJob.h:81
CopyJob & WithStatusMessage(const char *value)
Definition CopyJob.h:204
AWS_BACKUP_API CopyJob & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetIamRoleArn(const Aws::String &value)
Definition CopyJob.h:224
CopyJob & WithCopyJobId(Aws::String &&value)
Definition CopyJob.h:68
void SetChildJobsInState(Aws::Map< CopyJobState, long long > &&value)
Definition CopyJob.h:318
bool ResourceArnHasBeenSet() const
Definition CopyJob.h:142
CopyJob & WithResourceArn(Aws::String &&value)
Definition CopyJob.h:147
void SetCompletionDate(Aws::Utils::DateTime &&value)
Definition CopyJob.h:176
CopyJob & WithCopyJobId(const char *value)
Definition CopyJob.h:69
CopyJob & WithCopyJobId(const Aws::String &value)
Definition CopyJob.h:67
bool NumberOfChildJobsHasBeenSet() const
Definition CopyJob.h:306
void SetDestinationBackupVaultArn(const char *value)
Definition CopyJob.h:114
void SetResourceName(const Aws::String &value)
Definition CopyJob.h:331
bool ChildJobsInStateHasBeenSet() const
Definition CopyJob.h:316
CopyJob & WithResourceType(Aws::String &&value)
Definition CopyJob.h:254
const Aws::String & GetCompositeMemberIdentifier() const
Definition CopyJob.h:291
CopyJob & WithCompositeMemberIdentifier(const char *value)
Definition CopyJob.h:298
bool SourceRecoveryPointArnHasBeenSet() const
Definition CopyJob.h:95
void SetResourceName(const char *value)
Definition CopyJob.h:333
void SetMessageCategory(const char *value)
Definition CopyJob.h:353
void SetSourceRecoveryPointArn(Aws::String &&value)
Definition CopyJob.h:97
bool CreationDateHasBeenSet() const
Definition CopyJob.h:159
void SetResourceName(Aws::String &&value)
Definition CopyJob.h:332
bool ResourceTypeHasBeenSet() const
Definition CopyJob.h:249
CopyJob & WithIamRoleArn(Aws::String &&value)
Definition CopyJob.h:228
bool IsParentHasBeenSet() const
Definition CopyJob.h:278
void SetDestinationBackupVaultArn(const Aws::String &value)
Definition CopyJob.h:112
CopyJob & WithState(CopyJobState &&value)
Definition CopyJob.h:190
CopyJob & WithResourceName(Aws::String &&value)
Definition CopyJob.h:335
CopyJob & WithResourceName(const Aws::String &value)
Definition CopyJob.h:334
const Aws::Map< CopyJobState, long long > & GetChildJobsInState() const
Definition CopyJob.h:315
void SetCompletionDate(const Aws::Utils::DateTime &value)
Definition CopyJob.h:175
void SetMessageCategory(Aws::String &&value)
Definition CopyJob.h:352
void SetParentJobId(const Aws::String &value)
Definition CopyJob.h:265
void SetDestinationRecoveryPointArn(const Aws::String &value)
Definition CopyJob.h:127
CopyJob & WithSourceBackupVaultArn(Aws::String &&value)
Definition CopyJob.h:85
CopyJob & WithIsParent(bool value)
Definition CopyJob.h:280
void SetBackupSizeInBytes(long long value)
Definition CopyJob.h:213
void SetStatusMessage(const Aws::String &value)
Definition CopyJob.h:199
long long GetNumberOfChildJobs() const
Definition CopyJob.h:305
void SetCopyJobId(const char *value)
Definition CopyJob.h:66
bool CompositeMemberIdentifierHasBeenSet() const
Definition CopyJob.h:292
CopyJob & WithResourceArn(const Aws::String &value)
Definition CopyJob.h:146
AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMessageCategory(const Aws::String &value)
Definition CopyJob.h:351
CopyJob & WithDestinationRecoveryPointArn(const char *value)
Definition CopyJob.h:132
const Aws::String & GetResourceArn() const
Definition CopyJob.h:141
void SetStatusMessage(Aws::String &&value)
Definition CopyJob.h:200
const Aws::String & GetDestinationRecoveryPointArn() const
Definition CopyJob.h:125
const RecoveryPointCreator & GetCreatedBy() const
Definition CopyJob.h:234
CopyJob & WithMessageCategory(Aws::String &&value)
Definition CopyJob.h:355
CopyJob & WithParentJobId(const Aws::String &value)
Definition CopyJob.h:268
bool DestinationBackupVaultArnHasBeenSet() const
Definition CopyJob.h:111
void SetSourceBackupVaultArn(const char *value)
Definition CopyJob.h:83
long long GetBackupSizeInBytes() const
Definition CopyJob.h:211
void SetSourceRecoveryPointArn(const char *value)
Definition CopyJob.h:98
const Aws::String & GetCopyJobId() const
Definition CopyJob.h:62
CopyJob & WithIamRoleArn(const char *value)
Definition CopyJob.h:229
void SetResourceArn(const Aws::String &value)
Definition CopyJob.h:143
void SetState(const CopyJobState &value)
Definition CopyJob.h:187
CopyJob & WithChildJobsInState(Aws::Map< CopyJobState, long long > &&value)
Definition CopyJob.h:320
void SetAccountId(const char *value)
Definition CopyJob.h:52
CopyJob & WithCompletionDate(const Aws::Utils::DateTime &value)
Definition CopyJob.h:177
void SetCreatedBy(RecoveryPointCreator &&value)
Definition CopyJob.h:237
CopyJob & WithIamRoleArn(const Aws::String &value)
Definition CopyJob.h:227
void SetNumberOfChildJobs(long long value)
Definition CopyJob.h:307
CopyJob & WithSourceRecoveryPointArn(const char *value)
Definition CopyJob.h:101
CopyJob & WithDestinationBackupVaultArn(Aws::String &&value)
Definition CopyJob.h:116
bool ResourceNameHasBeenSet() const
Definition CopyJob.h:330
CopyJob & WithCompositeMemberIdentifier(Aws::String &&value)
Definition CopyJob.h:297
void SetResourceType(Aws::String &&value)
Definition CopyJob.h:251
bool StatusMessageHasBeenSet() const
Definition CopyJob.h:198
const Aws::String & GetMessageCategory() const
Definition CopyJob.h:349
CopyJob & AddChildJobsInState(const CopyJobState &key, long long value)
Definition CopyJob.h:321
void SetDestinationRecoveryPointArn(const char *value)
Definition CopyJob.h:129
const Aws::String & GetSourceRecoveryPointArn() const
Definition CopyJob.h:94
bool AccountIdHasBeenSet() const
Definition CopyJob.h:49
const Aws::String & GetStatusMessage() const
Definition CopyJob.h:197
void SetIamRoleArn(const char *value)
Definition CopyJob.h:226
bool CreatedByHasBeenSet() const
Definition CopyJob.h:235
CopyJob & WithDestinationRecoveryPointArn(const Aws::String &value)
Definition CopyJob.h:130
CopyJob & WithStatusMessage(Aws::String &&value)
Definition CopyJob.h:203
bool ParentJobIdHasBeenSet() const
Definition CopyJob.h:264
void SetCreationDate(const Aws::Utils::DateTime &value)
Definition CopyJob.h:160
CopyJob & WithCompositeMemberIdentifier(const Aws::String &value)
Definition CopyJob.h:296
CopyJob & WithStatusMessage(const Aws::String &value)
Definition CopyJob.h:202
CopyJob & WithCreatedBy(RecoveryPointCreator &&value)
Definition CopyJob.h:239
void SetCompositeMemberIdentifier(const Aws::String &value)
Definition CopyJob.h:293
void SetCopyJobId(Aws::String &&value)
Definition CopyJob.h:65
CopyJob & WithState(const CopyJobState &value)
Definition CopyJob.h:189
CopyJob & WithAccountId(const char *value)
Definition CopyJob.h:55
CopyJob & WithAccountId(Aws::String &&value)
Definition CopyJob.h:54
bool MessageCategoryHasBeenSet() const
Definition CopyJob.h:350
CopyJob & WithCreationDate(const Aws::Utils::DateTime &value)
Definition CopyJob.h:162
void SetResourceType(const char *value)
Definition CopyJob.h:252
CopyJob & WithParentJobId(Aws::String &&value)
Definition CopyJob.h:269
void SetDestinationBackupVaultArn(Aws::String &&value)
Definition CopyJob.h:113
const Aws::String & GetSourceBackupVaultArn() const
Definition CopyJob.h:79
void SetAccountId(const Aws::String &value)
Definition CopyJob.h:50
CopyJob & WithCreatedBy(const RecoveryPointCreator &value)
Definition CopyJob.h:238
const Aws::String & GetDestinationBackupVaultArn() const
Definition CopyJob.h:110
CopyJob & WithSourceRecoveryPointArn(Aws::String &&value)
Definition CopyJob.h:100
AWS_BACKUP_API CopyJob(Aws::Utils::Json::JsonView jsonValue)
void SetCreationDate(Aws::Utils::DateTime &&value)
Definition CopyJob.h:161
const Aws::Utils::DateTime & GetCompletionDate() const
Definition CopyJob.h:173
const Aws::String & GetParentJobId() const
Definition CopyJob.h:263
bool StateHasBeenSet() const
Definition CopyJob.h:186
void SetResourceArn(const char *value)
Definition CopyJob.h:145
CopyJob & WithDestinationBackupVaultArn(const Aws::String &value)
Definition CopyJob.h:115
bool DestinationRecoveryPointArnHasBeenSet() const
Definition CopyJob.h:126
CopyJob & WithCompletionDate(Aws::Utils::DateTime &&value)
Definition CopyJob.h:178
void SetParentJobId(Aws::String &&value)
Definition CopyJob.h:266
const Aws::String & GetAccountId() const
Definition CopyJob.h:48
CopyJob & WithSourceRecoveryPointArn(const Aws::String &value)
Definition CopyJob.h:99
CopyJob & WithResourceType(const Aws::String &value)
Definition CopyJob.h:253
void SetAccountId(Aws::String &&value)
Definition CopyJob.h:51
void SetSourceRecoveryPointArn(const Aws::String &value)
Definition CopyJob.h:96
bool BackupSizeInBytesHasBeenSet() const
Definition CopyJob.h:212
bool CompletionDateHasBeenSet() const
Definition CopyJob.h:174
void SetCompositeMemberIdentifier(const char *value)
Definition CopyJob.h:295
void SetCopyJobId(const Aws::String &value)
Definition CopyJob.h:64
CopyJob & WithCreationDate(Aws::Utils::DateTime &&value)
Definition CopyJob.h:163
CopyJob & WithMessageCategory(const Aws::String &value)
Definition CopyJob.h:354
bool IamRoleArnHasBeenSet() const
Definition CopyJob.h:223
CopyJob & WithNumberOfChildJobs(long long value)
Definition CopyJob.h:308
CopyJob & WithResourceArn(const char *value)
Definition CopyJob.h:148
bool SourceBackupVaultArnHasBeenSet() const
Definition CopyJob.h:80
CopyJob & WithAccountId(const Aws::String &value)
Definition CopyJob.h:53
CopyJob & WithDestinationBackupVaultArn(const char *value)
Definition CopyJob.h:117
const Aws::String & GetResourceName() const
Definition CopyJob.h:329
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue