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/BackupJobState.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 SetBackupJobId(
const char* value) { m_backupJobIdHasBeenSet =
true; m_backupJobId.assign(value); }
82 inline void SetBackupVaultName(
const char* value) { m_backupVaultNameHasBeenSet =
true; m_backupVaultName.assign(value); }
98 inline void SetBackupVaultArn(
const char* value) { m_backupVaultArnHasBeenSet =
true; m_backupVaultArn.assign(value); }
113 inline void SetRecoveryPointArn(
const char* value) { m_recoveryPointArnHasBeenSet =
true; m_recoveryPointArn.assign(value); }
128 inline void SetResourceArn(
const char* value) { m_resourceArnHasBeenSet =
true; m_resourceArn.assign(value); }
185 inline void SetStatusMessage(
const char* value) { m_statusMessageHasBeenSet =
true; m_statusMessage.assign(value); }
200 inline void SetPercentDone(
const char* value) { m_percentDoneHasBeenSet =
true; m_percentDone.assign(value); }
212 inline void SetBackupSizeInBytes(
long long value) { m_backupSizeInBytesHasBeenSet =
true; m_backupSizeInBytes = value; }
228 inline void SetIamRoleArn(
const char* value) { m_iamRoleArnHasBeenSet =
true; m_iamRoleArn.assign(value); }
294 inline void SetResourceType(
const char* value) { m_resourceTypeHasBeenSet =
true; m_resourceType.assign(value); }
307 inline void SetBytesTransferred(
long long value) { m_bytesTransferredHasBeenSet =
true; m_bytesTransferred = value; }
333 inline BackupJob&
AddBackupOptions(
const char* key,
const char* value) { m_backupOptionsHasBeenSet =
true; m_backupOptions.emplace(key, value);
return *
this; }
344 inline void SetBackupType(
const char* value) { m_backupTypeHasBeenSet =
true; m_backupType.assign(value); }
359 inline void SetParentJobId(
const char* value) { m_parentJobIdHasBeenSet =
true; m_parentJobId.assign(value); }
372 inline void SetIsParent(
bool value) { m_isParentHasBeenSet =
true; m_isParent = value; }
384 inline void SetResourceName(
const char* value) { m_resourceNameHasBeenSet =
true; m_resourceName.assign(value); }
416 inline void SetMessageCategory(
const char* value) { m_messageCategoryHasBeenSet =
true; m_messageCategory.assign(value); }
424 bool m_accountIdHasBeenSet =
false;
427 bool m_backupJobIdHasBeenSet =
false;
430 bool m_backupVaultNameHasBeenSet =
false;
433 bool m_backupVaultArnHasBeenSet =
false;
436 bool m_recoveryPointArnHasBeenSet =
false;
439 bool m_resourceArnHasBeenSet =
false;
442 bool m_creationDateHasBeenSet =
false;
445 bool m_completionDateHasBeenSet =
false;
448 bool m_stateHasBeenSet =
false;
451 bool m_statusMessageHasBeenSet =
false;
454 bool m_percentDoneHasBeenSet =
false;
456 long long m_backupSizeInBytes;
457 bool m_backupSizeInBytesHasBeenSet =
false;
460 bool m_iamRoleArnHasBeenSet =
false;
463 bool m_createdByHasBeenSet =
false;
466 bool m_expectedCompletionDateHasBeenSet =
false;
469 bool m_startByHasBeenSet =
false;
472 bool m_resourceTypeHasBeenSet =
false;
474 long long m_bytesTransferred;
475 bool m_bytesTransferredHasBeenSet =
false;
478 bool m_backupOptionsHasBeenSet =
false;
481 bool m_backupTypeHasBeenSet =
false;
484 bool m_parentJobIdHasBeenSet =
false;
487 bool m_isParentHasBeenSet =
false;
490 bool m_resourceNameHasBeenSet =
false;
493 bool m_initiationDateHasBeenSet =
false;
496 bool m_messageCategoryHasBeenSet =
false;
bool BackupVaultNameHasBeenSet() const
void SetBackupVaultArn(const char *value)
BackupJob & WithResourceArn(Aws::String &&value)
bool ExpectedCompletionDateHasBeenSet() const
BackupJob & WithRecoveryPointArn(Aws::String &&value)
BackupJob & WithBackupOptions(Aws::Map< Aws::String, Aws::String > &&value)
BackupJob & WithIamRoleArn(const Aws::String &value)
bool CreatedByHasBeenSet() const
BackupJob & WithResourceType(const char *value)
bool BackupSizeInBytesHasBeenSet() const
BackupJob & WithParentJobId(Aws::String &&value)
BackupJob & WithCompletionDate(Aws::Utils::DateTime &&value)
void SetBackupOptions(Aws::Map< Aws::String, Aws::String > &&value)
void SetBackupType(const char *value)
BackupJob & WithBackupType(const char *value)
const Aws::String & GetBackupJobId() const
void SetInitiationDate(const Aws::Utils::DateTime &value)
BackupJob & WithStatusMessage(const char *value)
void SetBackupVaultArn(const Aws::String &value)
const Aws::String & GetRecoveryPointArn() const
void SetStartBy(Aws::Utils::DateTime &&value)
void SetIamRoleArn(const char *value)
void SetBackupVaultName(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetBackupOptions() const
BackupJob & WithPercentDone(const char *value)
void SetCreatedBy(const RecoveryPointCreator &value)
BackupJob & AddBackupOptions(Aws::String &&key, const Aws::String &value)
BackupJob & WithState(BackupJobState &&value)
void SetMessageCategory(const char *value)
BackupJob & WithBackupSizeInBytes(long long value)
void SetBackupSizeInBytes(long long value)
BackupJob & WithBackupType(const Aws::String &value)
BackupJob & WithBackupVaultArn(const Aws::String &value)
void SetResourceName(const Aws::String &value)
void SetPercentDone(Aws::String &&value)
BackupJob & WithParentJobId(const char *value)
bool InitiationDateHasBeenSet() const
BackupJob & AddBackupOptions(const char *key, Aws::String &&value)
bool MessageCategoryHasBeenSet() const
BackupJob & WithResourceName(Aws::String &&value)
BackupJob & WithPercentDone(const Aws::String &value)
void SetBackupVaultName(const Aws::String &value)
const Aws::String & GetBackupType() const
void SetParentJobId(const char *value)
const Aws::String & GetStatusMessage() const
bool ResourceNameHasBeenSet() const
bool IsParentHasBeenSet() const
BackupJob & WithResourceType(const Aws::String &value)
BackupJob & WithStatusMessage(const Aws::String &value)
BackupJob & WithBackupVaultName(const char *value)
void SetResourceName(const char *value)
BackupJob & WithExpectedCompletionDate(const Aws::Utils::DateTime &value)
const RecoveryPointCreator & GetCreatedBy() const
AWS_BACKUP_API BackupJob(Aws::Utils::Json::JsonView jsonValue)
BackupJob & WithBackupType(Aws::String &&value)
BackupJob & WithResourceArn(const char *value)
void SetResourceArn(const char *value)
BackupJob & WithInitiationDate(Aws::Utils::DateTime &&value)
bool IamRoleArnHasBeenSet() const
bool BackupOptionsHasBeenSet() const
AWS_BACKUP_API BackupJob()
const Aws::Utils::DateTime & GetStartBy() const
BackupJob & WithRecoveryPointArn(const char *value)
AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const
void SetResourceType(const Aws::String &value)
void SetBackupJobId(const Aws::String &value)
BackupJob & WithAccountId(Aws::String &&value)
BackupJob & WithBackupVaultArn(const char *value)
void SetState(const BackupJobState &value)
void SetStartBy(const Aws::Utils::DateTime &value)
const Aws::String & GetIamRoleArn() const
void SetResourceType(const char *value)
bool CreationDateHasBeenSet() const
bool RecoveryPointArnHasBeenSet() const
const Aws::String & GetParentJobId() const
void SetRecoveryPointArn(const char *value)
bool CompletionDateHasBeenSet() const
void SetAccountId(const char *value)
void SetRecoveryPointArn(const Aws::String &value)
bool BackupVaultArnHasBeenSet() const
BackupJob & WithBackupOptions(const Aws::Map< Aws::String, Aws::String > &value)
bool BackupJobIdHasBeenSet() const
BackupJob & WithAccountId(const char *value)
BackupJob & WithMessageCategory(const char *value)
BackupJob & WithBackupVaultName(const Aws::String &value)
long long GetBytesTransferred() const
BackupJob & WithIsParent(bool value)
void SetAccountId(Aws::String &&value)
const Aws::String & GetAccountId() const
const BackupJobState & GetState() const
void SetBackupOptions(const Aws::Map< Aws::String, Aws::String > &value)
void SetStatusMessage(const Aws::String &value)
BackupJob & WithPercentDone(Aws::String &&value)
BackupJob & WithBackupVaultArn(Aws::String &&value)
void SetBackupJobId(Aws::String &&value)
BackupJob & WithMessageCategory(const Aws::String &value)
void SetParentJobId(Aws::String &&value)
AWS_BACKUP_API BackupJob & operator=(Aws::Utils::Json::JsonView jsonValue)
bool AccountIdHasBeenSet() const
const Aws::String & GetPercentDone() const
const Aws::String & GetBackupVaultArn() const
void SetMessageCategory(Aws::String &&value)
BackupJob & WithExpectedCompletionDate(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetExpectedCompletionDate() const
BackupJob & WithStartBy(Aws::Utils::DateTime &&value)
BackupJob & WithState(const BackupJobState &value)
bool ResourceArnHasBeenSet() const
BackupJob & AddBackupOptions(Aws::String &&key, Aws::String &&value)
BackupJob & WithMessageCategory(Aws::String &&value)
void SetResourceName(Aws::String &&value)
bool BackupTypeHasBeenSet() const
void SetCreationDate(const Aws::Utils::DateTime &value)
void SetStatusMessage(Aws::String &&value)
void SetParentJobId(const Aws::String &value)
long long GetBackupSizeInBytes() const
void SetInitiationDate(Aws::Utils::DateTime &&value)
BackupJob & WithAccountId(const Aws::String &value)
BackupJob & WithBytesTransferred(long long value)
BackupJob & AddBackupOptions(const Aws::String &key, const Aws::String &value)
const Aws::String & GetResourceType() const
BackupJob & AddBackupOptions(Aws::String &&key, const char *value)
bool PercentDoneHasBeenSet() const
BackupJob & WithInitiationDate(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetInitiationDate() const
bool StatusMessageHasBeenSet() const
BackupJob & WithBackupJobId(Aws::String &&value)
BackupJob & AddBackupOptions(const char *key, const char *value)
BackupJob & WithResourceType(Aws::String &&value)
void SetMessageCategory(const Aws::String &value)
BackupJob & WithBackupJobId(const Aws::String &value)
bool StateHasBeenSet() const
bool StartByHasBeenSet() const
void SetCreationDate(Aws::Utils::DateTime &&value)
void SetResourceType(Aws::String &&value)
const Aws::String & GetResourceName() const
void SetPercentDone(const char *value)
void SetBackupType(const Aws::String &value)
void SetBytesTransferred(long long value)
BackupJob & WithResourceName(const char *value)
BackupJob & WithIamRoleArn(Aws::String &&value)
BackupJob & WithCreatedBy(const RecoveryPointCreator &value)
bool ResourceTypeHasBeenSet() const
bool ParentJobIdHasBeenSet() const
const Aws::String & GetResourceArn() const
BackupJob & WithCreatedBy(RecoveryPointCreator &&value)
void SetRecoveryPointArn(Aws::String &&value)
void SetCompletionDate(const Aws::Utils::DateTime &value)
BackupJob & WithStartBy(const Aws::Utils::DateTime &value)
const Aws::String & GetMessageCategory() const
void SetExpectedCompletionDate(const Aws::Utils::DateTime &value)
BackupJob & WithResourceArn(const Aws::String &value)
BackupJob & WithRecoveryPointArn(const Aws::String &value)
void SetPercentDone(const Aws::String &value)
BackupJob & WithCompletionDate(const Aws::Utils::DateTime &value)
void SetBackupVaultArn(Aws::String &&value)
void SetCreatedBy(RecoveryPointCreator &&value)
BackupJob & WithStatusMessage(Aws::String &&value)
const Aws::Utils::DateTime & GetCompletionDate() const
void SetIsParent(bool value)
void SetStatusMessage(const char *value)
void SetIamRoleArn(const Aws::String &value)
void SetResourceArn(Aws::String &&value)
void SetCompletionDate(Aws::Utils::DateTime &&value)
void SetState(BackupJobState &&value)
BackupJob & WithBackupJobId(const char *value)
void SetAccountId(const Aws::String &value)
void SetResourceArn(const Aws::String &value)
void SetExpectedCompletionDate(Aws::Utils::DateTime &&value)
BackupJob & WithBackupVaultName(Aws::String &&value)
BackupJob & WithCreationDate(const Aws::Utils::DateTime &value)
bool BytesTransferredHasBeenSet() const
const Aws::String & GetBackupVaultName() const
BackupJob & WithResourceName(const Aws::String &value)
BackupJob & WithIamRoleArn(const char *value)
BackupJob & WithParentJobId(const Aws::String &value)
BackupJob & AddBackupOptions(const Aws::String &key, Aws::String &&value)
void SetIamRoleArn(Aws::String &&value)
void SetBackupJobId(const char *value)
BackupJob & WithCreationDate(Aws::Utils::DateTime &&value)
void SetBackupVaultName(const char *value)
void SetBackupType(Aws::String &&value)
const Aws::Utils::DateTime & GetCreationDate() 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