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>
50 template<
typename AccountIdT = Aws::String>
51 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet =
true; m_accountId = std::forward<AccountIdT>(value); }
52 template<
typename AccountIdT = Aws::String>
62 template<
typename CopyJobIdT = Aws::String>
63 void SetCopyJobId(CopyJobIdT&& value) { m_copyJobIdHasBeenSet =
true; m_copyJobId = std::forward<CopyJobIdT>(value); }
64 template<
typename CopyJobIdT = Aws::String>
77 template<
typename SourceBackupVaultArnT = Aws::String>
78 void SetSourceBackupVaultArn(SourceBackupVaultArnT&& value) { m_sourceBackupVaultArnHasBeenSet =
true; m_sourceBackupVaultArn = std::forward<SourceBackupVaultArnT>(value); }
79 template<
typename SourceBackupVaultArnT = Aws::String>
90 template<
typename SourceRecoveryPo
intArnT = Aws::String>
91 void SetSourceRecoveryPointArn(SourceRecoveryPointArnT&& value) { m_sourceRecoveryPointArnHasBeenSet =
true; m_sourceRecoveryPointArn = std::forward<SourceRecoveryPointArnT>(value); }
92 template<
typename SourceRecoveryPo
intArnT = Aws::String>
104 template<
typename DestinationBackupVaultArnT = Aws::String>
105 void SetDestinationBackupVaultArn(DestinationBackupVaultArnT&& value) { m_destinationBackupVaultArnHasBeenSet =
true; m_destinationBackupVaultArn = std::forward<DestinationBackupVaultArnT>(value); }
106 template<
typename DestinationBackupVaultArnT = Aws::String>
117 template<
typename DestinationRecoveryPo
intArnT = Aws::String>
118 void SetDestinationRecoveryPointArn(DestinationRecoveryPointArnT&& value) { m_destinationRecoveryPointArnHasBeenSet =
true; m_destinationRecoveryPointArn = std::forward<DestinationRecoveryPointArnT>(value); }
119 template<
typename DestinationRecoveryPo
intArnT = Aws::String>
131 template<
typename ResourceArnT = Aws::String>
132 void SetResourceArn(ResourceArnT&& value) { m_resourceArnHasBeenSet =
true; m_resourceArn = std::forward<ResourceArnT>(value); }
133 template<
typename ResourceArnT = Aws::String>
146 template<
typename CreationDateT = Aws::Utils::DateTime>
147 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet =
true; m_creationDate = std::forward<CreationDateT>(value); }
148 template<
typename CreationDateT = Aws::Utils::DateTime>
161 template<
typename CompletionDateT = Aws::Utils::DateTime>
162 void SetCompletionDate(CompletionDateT&& value) { m_completionDateHasBeenSet =
true; m_completionDate = std::forward<CompletionDateT>(value); }
163 template<
typename CompletionDateT = Aws::Utils::DateTime>
183 template<
typename StatusMessageT = Aws::String>
184 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet =
true; m_statusMessage = std::forward<StatusMessageT>(value); }
185 template<
typename StatusMessageT = Aws::String>
195 inline void SetBackupSizeInBytes(
long long value) { m_backupSizeInBytesHasBeenSet =
true; m_backupSizeInBytes = value; }
206 template<
typename IamRoleArnT = Aws::String>
207 void SetIamRoleArn(IamRoleArnT&& value) { m_iamRoleArnHasBeenSet =
true; m_iamRoleArn = std::forward<IamRoleArnT>(value); }
208 template<
typename IamRoleArnT = Aws::String>
216 template<
typename CreatedByT = RecoveryPo
intCreator>
217 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet =
true; m_createdBy = std::forward<CreatedByT>(value); }
218 template<
typename CreatedByT = RecoveryPo
intCreator>
230 template<
typename ResourceTypeT = Aws::String>
231 void SetResourceType(ResourceTypeT&& value) { m_resourceTypeHasBeenSet =
true; m_resourceType = std::forward<ResourceTypeT>(value); }
232 template<
typename ResourceTypeT = Aws::String>
243 template<
typename ParentJobIdT = Aws::String>
244 void SetParentJobId(ParentJobIdT&& value) { m_parentJobIdHasBeenSet =
true; m_parentJobId = std::forward<ParentJobIdT>(value); }
245 template<
typename ParentJobIdT = Aws::String>
255 inline void SetIsParent(
bool value) { m_isParentHasBeenSet =
true; m_isParent = value; }
269 template<
typename CompositeMemberIdentifierT = Aws::String>
270 void SetCompositeMemberIdentifier(CompositeMemberIdentifierT&& value) { m_compositeMemberIdentifierHasBeenSet =
true; m_compositeMemberIdentifier = std::forward<CompositeMemberIdentifierT>(value); }
271 template<
typename CompositeMemberIdentifierT = Aws::String>
281 inline void SetNumberOfChildJobs(
long long value) { m_numberOfChildJobsHasBeenSet =
true; m_numberOfChildJobs = value; }
291 template<
typename ChildJobsInStateT = Aws::Map<CopyJobState,
long long>>
292 void SetChildJobsInState(ChildJobsInStateT&& value) { m_childJobsInStateHasBeenSet =
true; m_childJobsInState = std::forward<ChildJobsInStateT>(value); }
293 template<
typename ChildJobsInStateT = Aws::Map<CopyJobState,
long long>>
296 m_childJobsInStateHasBeenSet =
true; m_childJobsInState.emplace(key, value);
return *
this;
306 template<
typename ResourceNameT = Aws::String>
307 void SetResourceName(ResourceNameT&& value) { m_resourceNameHasBeenSet =
true; m_resourceName = std::forward<ResourceNameT>(value); }
308 template<
typename ResourceNameT = Aws::String>
324 template<
typename MessageCategoryT = Aws::String>
325 void SetMessageCategory(MessageCategoryT&& value) { m_messageCategoryHasBeenSet =
true; m_messageCategory = std::forward<MessageCategoryT>(value); }
326 template<
typename MessageCategoryT = Aws::String>
332 bool m_accountIdHasBeenSet =
false;
335 bool m_copyJobIdHasBeenSet =
false;
338 bool m_sourceBackupVaultArnHasBeenSet =
false;
341 bool m_sourceRecoveryPointArnHasBeenSet =
false;
344 bool m_destinationBackupVaultArnHasBeenSet =
false;
347 bool m_destinationRecoveryPointArnHasBeenSet =
false;
350 bool m_resourceArnHasBeenSet =
false;
353 bool m_creationDateHasBeenSet =
false;
356 bool m_completionDateHasBeenSet =
false;
359 bool m_stateHasBeenSet =
false;
362 bool m_statusMessageHasBeenSet =
false;
364 long long m_backupSizeInBytes{0};
365 bool m_backupSizeInBytesHasBeenSet =
false;
368 bool m_iamRoleArnHasBeenSet =
false;
370 RecoveryPointCreator m_createdBy;
371 bool m_createdByHasBeenSet =
false;
374 bool m_resourceTypeHasBeenSet =
false;
377 bool m_parentJobIdHasBeenSet =
false;
379 bool m_isParent{
false};
380 bool m_isParentHasBeenSet =
false;
383 bool m_compositeMemberIdentifierHasBeenSet =
false;
385 long long m_numberOfChildJobs{0};
386 bool m_numberOfChildJobsHasBeenSet =
false;
389 bool m_childJobsInStateHasBeenSet =
false;
392 bool m_resourceNameHasBeenSet =
false;
395 bool m_messageCategoryHasBeenSet =
false;
void SetDestinationRecoveryPointArn(DestinationRecoveryPointArnT &&value)
CopyJob & WithBackupSizeInBytes(long long value)
CopyJob & WithCompletionDate(CompletionDateT &&value)
void SetIsParent(bool value)
const Aws::String & GetResourceType() const
const Aws::Utils::DateTime & GetCreationDate() const
void SetMessageCategory(MessageCategoryT &&value)
const Aws::String & GetIamRoleArn() const
void SetResourceArn(ResourceArnT &&value)
void SetCreatedBy(CreatedByT &&value)
bool CopyJobIdHasBeenSet() const
void SetSourceRecoveryPointArn(SourceRecoveryPointArnT &&value)
CopyJob & WithDestinationBackupVaultArn(DestinationBackupVaultArnT &&value)
AWS_BACKUP_API CopyJob & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ResourceArnHasBeenSet() const
bool NumberOfChildJobsHasBeenSet() const
CopyJob & WithResourceName(ResourceNameT &&value)
void SetResourceType(ResourceTypeT &&value)
bool ChildJobsInStateHasBeenSet() const
const Aws::String & GetCompositeMemberIdentifier() const
bool SourceRecoveryPointArnHasBeenSet() const
void SetCompositeMemberIdentifier(CompositeMemberIdentifierT &&value)
void SetCompletionDate(CompletionDateT &&value)
bool CreationDateHasBeenSet() const
bool ResourceTypeHasBeenSet() const
CopyJob & WithSourceBackupVaultArn(SourceBackupVaultArnT &&value)
bool IsParentHasBeenSet() const
CopyJob & AddChildJobsInState(CopyJobState key, long long value)
CopyJobState GetState() const
const Aws::Map< CopyJobState, long long > & GetChildJobsInState() const
CopyJob & WithIsParent(bool value)
void SetBackupSizeInBytes(long long value)
AWS_BACKUP_API CopyJob()=default
CopyJob & WithIamRoleArn(IamRoleArnT &&value)
long long GetNumberOfChildJobs() const
CopyJob & WithStatusMessage(StatusMessageT &&value)
bool CompositeMemberIdentifierHasBeenSet() const
CopyJob & WithState(CopyJobState value)
AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetResourceArn() const
const Aws::String & GetDestinationRecoveryPointArn() const
const RecoveryPointCreator & GetCreatedBy() const
bool DestinationBackupVaultArnHasBeenSet() const
long long GetBackupSizeInBytes() const
const Aws::String & GetCopyJobId() const
void SetChildJobsInState(ChildJobsInStateT &&value)
void SetStatusMessage(StatusMessageT &&value)
void SetParentJobId(ParentJobIdT &&value)
void SetCopyJobId(CopyJobIdT &&value)
CopyJob & WithDestinationRecoveryPointArn(DestinationRecoveryPointArnT &&value)
void SetNumberOfChildJobs(long long value)
bool ResourceNameHasBeenSet() const
CopyJob & WithResourceArn(ResourceArnT &&value)
void SetSourceBackupVaultArn(SourceBackupVaultArnT &&value)
bool StatusMessageHasBeenSet() const
const Aws::String & GetMessageCategory() const
void SetDestinationBackupVaultArn(DestinationBackupVaultArnT &&value)
const Aws::String & GetSourceRecoveryPointArn() const
bool AccountIdHasBeenSet() const
const Aws::String & GetStatusMessage() const
bool CreatedByHasBeenSet() const
bool ParentJobIdHasBeenSet() const
void SetState(CopyJobState value)
CopyJob & WithResourceType(ResourceTypeT &&value)
CopyJob & WithMessageCategory(MessageCategoryT &&value)
bool MessageCategoryHasBeenSet() const
CopyJob & WithChildJobsInState(ChildJobsInStateT &&value)
void SetAccountId(AccountIdT &&value)
const Aws::String & GetSourceBackupVaultArn() const
CopyJob & WithSourceRecoveryPointArn(SourceRecoveryPointArnT &&value)
void SetCreationDate(CreationDateT &&value)
const Aws::String & GetDestinationBackupVaultArn() const
void SetResourceName(ResourceNameT &&value)
AWS_BACKUP_API CopyJob(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCompletionDate() const
void SetIamRoleArn(IamRoleArnT &&value)
const Aws::String & GetParentJobId() const
bool StateHasBeenSet() const
bool DestinationRecoveryPointArnHasBeenSet() const
CopyJob & WithCreationDate(CreationDateT &&value)
const Aws::String & GetAccountId() const
CopyJob & WithCompositeMemberIdentifier(CompositeMemberIdentifierT &&value)
CopyJob & WithAccountId(AccountIdT &&value)
bool BackupSizeInBytesHasBeenSet() const
bool CompletionDateHasBeenSet() const
CopyJob & WithParentJobId(ParentJobIdT &&value)
CopyJob & WithCreatedBy(CreatedByT &&value)
bool IamRoleArnHasBeenSet() const
CopyJob & WithNumberOfChildJobs(long long value)
bool SourceBackupVaultArnHasBeenSet() const
CopyJob & WithCopyJobId(CopyJobIdT &&value)
const Aws::String & GetResourceName() const
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