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>
52 inline void SetAccountId(
const char* value) { m_accountIdHasBeenSet =
true; m_accountId.assign(value); }
66 inline void SetCopyJobId(
const char* value) { m_copyJobIdHasBeenSet =
true; m_copyJobId.assign(value); }
83 inline void SetSourceBackupVaultArn(
const char* value) { m_sourceBackupVaultArnHasBeenSet =
true; m_sourceBackupVaultArn.assign(value); }
98 inline void SetSourceRecoveryPointArn(
const char* value) { m_sourceRecoveryPointArnHasBeenSet =
true; m_sourceRecoveryPointArn.assign(value); }
114 inline void SetDestinationBackupVaultArn(
const char* value) { m_destinationBackupVaultArnHasBeenSet =
true; m_destinationBackupVaultArn.assign(value); }
145 inline void SetResourceArn(
const char* value) { m_resourceArnHasBeenSet =
true; m_resourceArn.assign(value); }
201 inline void SetStatusMessage(
const char* value) { m_statusMessageHasBeenSet =
true; m_statusMessage.assign(value); }
213 inline void SetBackupSizeInBytes(
long long value) { m_backupSizeInBytesHasBeenSet =
true; m_backupSizeInBytes = value; }
226 inline void SetIamRoleArn(
const char* value) { m_iamRoleArnHasBeenSet =
true; m_iamRoleArn.assign(value); }
252 inline void SetResourceType(
const char* value) { m_resourceTypeHasBeenSet =
true; m_resourceType.assign(value); }
267 inline void SetParentJobId(
const char* value) { m_parentJobIdHasBeenSet =
true; m_parentJobId.assign(value); }
279 inline void SetIsParent(
bool value) { m_isParentHasBeenSet =
true; m_isParent = value; }
295 inline void SetCompositeMemberIdentifier(
const char* value) { m_compositeMemberIdentifierHasBeenSet =
true; m_compositeMemberIdentifier.assign(value); }
307 inline void SetNumberOfChildJobs(
long long value) { m_numberOfChildJobsHasBeenSet =
true; m_numberOfChildJobs = value; }
333 inline void SetResourceName(
const char* value) { m_resourceNameHasBeenSet =
true; m_resourceName.assign(value); }
353 inline void SetMessageCategory(
const char* value) { m_messageCategoryHasBeenSet =
true; m_messageCategory.assign(value); }
361 bool m_accountIdHasBeenSet =
false;
364 bool m_copyJobIdHasBeenSet =
false;
367 bool m_sourceBackupVaultArnHasBeenSet =
false;
370 bool m_sourceRecoveryPointArnHasBeenSet =
false;
373 bool m_destinationBackupVaultArnHasBeenSet =
false;
376 bool m_destinationRecoveryPointArnHasBeenSet =
false;
379 bool m_resourceArnHasBeenSet =
false;
382 bool m_creationDateHasBeenSet =
false;
385 bool m_completionDateHasBeenSet =
false;
388 bool m_stateHasBeenSet =
false;
391 bool m_statusMessageHasBeenSet =
false;
393 long long m_backupSizeInBytes;
394 bool m_backupSizeInBytesHasBeenSet =
false;
397 bool m_iamRoleArnHasBeenSet =
false;
400 bool m_createdByHasBeenSet =
false;
403 bool m_resourceTypeHasBeenSet =
false;
406 bool m_parentJobIdHasBeenSet =
false;
409 bool m_isParentHasBeenSet =
false;
412 bool m_compositeMemberIdentifierHasBeenSet =
false;
414 long long m_numberOfChildJobs;
415 bool m_numberOfChildJobsHasBeenSet =
false;
418 bool m_childJobsInStateHasBeenSet =
false;
421 bool m_resourceNameHasBeenSet =
false;
424 bool m_messageCategoryHasBeenSet =
false;
void SetDestinationRecoveryPointArn(Aws::String &&value)
CopyJob & WithResourceType(const char *value)
void SetCompositeMemberIdentifier(Aws::String &&value)
void SetResourceArn(Aws::String &&value)
void SetIamRoleArn(Aws::String &&value)
CopyJob & WithSourceBackupVaultArn(const char *value)
CopyJob & WithParentJobId(const char *value)
CopyJob & WithBackupSizeInBytes(long long value)
void SetStatusMessage(const char *value)
void SetIsParent(bool value)
CopyJob & AddChildJobsInState(CopyJobState &&key, long long value)
const Aws::String & GetResourceType() const
CopyJob & WithChildJobsInState(const Aws::Map< CopyJobState, long long > &value)
CopyJob & WithResourceName(const char *value)
CopyJob & WithSourceBackupVaultArn(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationDate() const
void SetState(CopyJobState &&value)
const Aws::String & GetIamRoleArn() const
CopyJob & WithMessageCategory(const char *value)
CopyJob & WithDestinationRecoveryPointArn(Aws::String &&value)
bool CopyJobIdHasBeenSet() const
void SetResourceType(const Aws::String &value)
void SetSourceBackupVaultArn(Aws::String &&value)
void SetChildJobsInState(const Aws::Map< CopyJobState, long long > &value)
const CopyJobState & GetState() const
void SetParentJobId(const char *value)
void SetCreatedBy(const RecoveryPointCreator &value)
void SetSourceBackupVaultArn(const Aws::String &value)
CopyJob & WithStatusMessage(const char *value)
AWS_BACKUP_API CopyJob & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetIamRoleArn(const Aws::String &value)
CopyJob & WithCopyJobId(Aws::String &&value)
void SetChildJobsInState(Aws::Map< CopyJobState, long long > &&value)
bool ResourceArnHasBeenSet() const
CopyJob & WithResourceArn(Aws::String &&value)
void SetCompletionDate(Aws::Utils::DateTime &&value)
CopyJob & WithCopyJobId(const char *value)
CopyJob & WithCopyJobId(const Aws::String &value)
bool NumberOfChildJobsHasBeenSet() const
void SetDestinationBackupVaultArn(const char *value)
void SetResourceName(const Aws::String &value)
bool ChildJobsInStateHasBeenSet() const
CopyJob & WithResourceType(Aws::String &&value)
const Aws::String & GetCompositeMemberIdentifier() const
CopyJob & WithCompositeMemberIdentifier(const char *value)
bool SourceRecoveryPointArnHasBeenSet() const
void SetResourceName(const char *value)
void SetMessageCategory(const char *value)
void SetSourceRecoveryPointArn(Aws::String &&value)
bool CreationDateHasBeenSet() const
void SetResourceName(Aws::String &&value)
bool ResourceTypeHasBeenSet() const
CopyJob & WithIamRoleArn(Aws::String &&value)
bool IsParentHasBeenSet() const
void SetDestinationBackupVaultArn(const Aws::String &value)
CopyJob & WithState(CopyJobState &&value)
CopyJob & WithResourceName(Aws::String &&value)
CopyJob & WithResourceName(const Aws::String &value)
const Aws::Map< CopyJobState, long long > & GetChildJobsInState() const
void SetCompletionDate(const Aws::Utils::DateTime &value)
void SetMessageCategory(Aws::String &&value)
void SetParentJobId(const Aws::String &value)
void SetDestinationRecoveryPointArn(const Aws::String &value)
CopyJob & WithSourceBackupVaultArn(Aws::String &&value)
CopyJob & WithIsParent(bool value)
void SetBackupSizeInBytes(long long value)
void SetStatusMessage(const Aws::String &value)
long long GetNumberOfChildJobs() const
void SetCopyJobId(const char *value)
bool CompositeMemberIdentifierHasBeenSet() const
CopyJob & WithResourceArn(const Aws::String &value)
AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMessageCategory(const Aws::String &value)
CopyJob & WithDestinationRecoveryPointArn(const char *value)
const Aws::String & GetResourceArn() const
void SetStatusMessage(Aws::String &&value)
const Aws::String & GetDestinationRecoveryPointArn() const
const RecoveryPointCreator & GetCreatedBy() const
CopyJob & WithMessageCategory(Aws::String &&value)
CopyJob & WithParentJobId(const Aws::String &value)
bool DestinationBackupVaultArnHasBeenSet() const
void SetSourceBackupVaultArn(const char *value)
long long GetBackupSizeInBytes() const
void SetSourceRecoveryPointArn(const char *value)
const Aws::String & GetCopyJobId() const
CopyJob & WithIamRoleArn(const char *value)
void SetResourceArn(const Aws::String &value)
void SetState(const CopyJobState &value)
CopyJob & WithChildJobsInState(Aws::Map< CopyJobState, long long > &&value)
void SetAccountId(const char *value)
CopyJob & WithCompletionDate(const Aws::Utils::DateTime &value)
void SetCreatedBy(RecoveryPointCreator &&value)
CopyJob & WithIamRoleArn(const Aws::String &value)
void SetNumberOfChildJobs(long long value)
CopyJob & WithSourceRecoveryPointArn(const char *value)
CopyJob & WithDestinationBackupVaultArn(Aws::String &&value)
bool ResourceNameHasBeenSet() const
CopyJob & WithCompositeMemberIdentifier(Aws::String &&value)
void SetResourceType(Aws::String &&value)
bool StatusMessageHasBeenSet() const
const Aws::String & GetMessageCategory() const
CopyJob & AddChildJobsInState(const CopyJobState &key, long long value)
void SetDestinationRecoveryPointArn(const char *value)
const Aws::String & GetSourceRecoveryPointArn() const
bool AccountIdHasBeenSet() const
const Aws::String & GetStatusMessage() const
void SetIamRoleArn(const char *value)
bool CreatedByHasBeenSet() const
CopyJob & WithDestinationRecoveryPointArn(const Aws::String &value)
CopyJob & WithStatusMessage(Aws::String &&value)
bool ParentJobIdHasBeenSet() const
void SetCreationDate(const Aws::Utils::DateTime &value)
CopyJob & WithCompositeMemberIdentifier(const Aws::String &value)
CopyJob & WithStatusMessage(const Aws::String &value)
CopyJob & WithCreatedBy(RecoveryPointCreator &&value)
void SetCompositeMemberIdentifier(const Aws::String &value)
void SetCopyJobId(Aws::String &&value)
CopyJob & WithState(const CopyJobState &value)
CopyJob & WithAccountId(const char *value)
CopyJob & WithAccountId(Aws::String &&value)
bool MessageCategoryHasBeenSet() const
CopyJob & WithCreationDate(const Aws::Utils::DateTime &value)
void SetResourceType(const char *value)
CopyJob & WithParentJobId(Aws::String &&value)
void SetDestinationBackupVaultArn(Aws::String &&value)
const Aws::String & GetSourceBackupVaultArn() const
void SetAccountId(const Aws::String &value)
CopyJob & WithCreatedBy(const RecoveryPointCreator &value)
const Aws::String & GetDestinationBackupVaultArn() const
CopyJob & WithSourceRecoveryPointArn(Aws::String &&value)
AWS_BACKUP_API CopyJob(Aws::Utils::Json::JsonView jsonValue)
void SetCreationDate(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCompletionDate() const
const Aws::String & GetParentJobId() const
bool StateHasBeenSet() const
void SetResourceArn(const char *value)
CopyJob & WithDestinationBackupVaultArn(const Aws::String &value)
bool DestinationRecoveryPointArnHasBeenSet() const
CopyJob & WithCompletionDate(Aws::Utils::DateTime &&value)
void SetParentJobId(Aws::String &&value)
const Aws::String & GetAccountId() const
CopyJob & WithSourceRecoveryPointArn(const Aws::String &value)
CopyJob & WithResourceType(const Aws::String &value)
void SetAccountId(Aws::String &&value)
void SetSourceRecoveryPointArn(const Aws::String &value)
bool BackupSizeInBytesHasBeenSet() const
bool CompletionDateHasBeenSet() const
void SetCompositeMemberIdentifier(const char *value)
void SetCopyJobId(const Aws::String &value)
CopyJob & WithCreationDate(Aws::Utils::DateTime &&value)
CopyJob & WithMessageCategory(const Aws::String &value)
bool IamRoleArnHasBeenSet() const
CopyJob & WithNumberOfChildJobs(long long value)
CopyJob & WithResourceArn(const char *value)
bool SourceBackupVaultArnHasBeenSet() const
CopyJob & WithAccountId(const Aws::String &value)
CopyJob & WithDestinationBackupVaultArn(const char *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