/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a single backup. See Also:
AWS
* API Reference
The ARN of the backup.
*/ inline const Aws::String& GetBackupArn() const{ return m_backupArn; } /** *The ARN of the backup.
*/ inline bool BackupArnHasBeenSet() const { return m_backupArnHasBeenSet; } /** *The ARN of the backup.
*/ inline void SetBackupArn(const Aws::String& value) { m_backupArnHasBeenSet = true; m_backupArn = value; } /** *The ARN of the backup.
*/ inline void SetBackupArn(Aws::String&& value) { m_backupArnHasBeenSet = true; m_backupArn = std::move(value); } /** *The ARN of the backup.
*/ inline void SetBackupArn(const char* value) { m_backupArnHasBeenSet = true; m_backupArn.assign(value); } /** *The ARN of the backup.
*/ inline Backup& WithBackupArn(const Aws::String& value) { SetBackupArn(value); return *this;} /** *The ARN of the backup.
*/ inline Backup& WithBackupArn(Aws::String&& value) { SetBackupArn(std::move(value)); return *this;} /** *The ARN of the backup.
*/ inline Backup& WithBackupArn(const char* value) { SetBackupArn(value); return *this;} /** * The generated ID of the backup. Example:
* myServerName-yyyyMMddHHmmssSSS
The generated ID of the backup. Example:
* myServerName-yyyyMMddHHmmssSSS
The generated ID of the backup. Example:
* myServerName-yyyyMMddHHmmssSSS
The generated ID of the backup. Example:
* myServerName-yyyyMMddHHmmssSSS
The generated ID of the backup. Example:
* myServerName-yyyyMMddHHmmssSSS
The generated ID of the backup. Example:
* myServerName-yyyyMMddHHmmssSSS
The generated ID of the backup. Example:
* myServerName-yyyyMMddHHmmssSSS
The generated ID of the backup. Example:
* myServerName-yyyyMMddHHmmssSSS
The backup type. Valid values are automated
or
* manual
.
The backup type. Valid values are automated
or
* manual
.
The backup type. Valid values are automated
or
* manual
.
The backup type. Valid values are automated
or
* manual
.
The backup type. Valid values are automated
or
* manual
.
The backup type. Valid values are automated
or
* manual
.
The time stamp when the backup was created in the database. Example:
* 2016-07-29T13:38:47.520Z
The time stamp when the backup was created in the database. Example:
* 2016-07-29T13:38:47.520Z
The time stamp when the backup was created in the database. Example:
* 2016-07-29T13:38:47.520Z
The time stamp when the backup was created in the database. Example:
* 2016-07-29T13:38:47.520Z
The time stamp when the backup was created in the database. Example:
* 2016-07-29T13:38:47.520Z
The time stamp when the backup was created in the database. Example:
* 2016-07-29T13:38:47.520Z
A user-provided description for a manual backup. This field is empty for * automated backups.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *A user-provided description for a manual backup. This field is empty for * automated backups.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *A user-provided description for a manual backup. This field is empty for * automated backups.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *A user-provided description for a manual backup. This field is empty for * automated backups.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *A user-provided description for a manual backup. This field is empty for * automated backups.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *A user-provided description for a manual backup. This field is empty for * automated backups.
*/ inline Backup& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *A user-provided description for a manual backup. This field is empty for * automated backups.
*/ inline Backup& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *A user-provided description for a manual backup. This field is empty for * automated backups.
*/ inline Backup& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The engine type that is obtained from the server when the backup is created. *
*/ inline const Aws::String& GetEngine() const{ return m_engine; } /** *The engine type that is obtained from the server when the backup is created. *
*/ inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; } /** *The engine type that is obtained from the server when the backup is created. *
*/ inline void SetEngine(const Aws::String& value) { m_engineHasBeenSet = true; m_engine = value; } /** *The engine type that is obtained from the server when the backup is created. *
*/ inline void SetEngine(Aws::String&& value) { m_engineHasBeenSet = true; m_engine = std::move(value); } /** *The engine type that is obtained from the server when the backup is created. *
*/ inline void SetEngine(const char* value) { m_engineHasBeenSet = true; m_engine.assign(value); } /** *The engine type that is obtained from the server when the backup is created. *
*/ inline Backup& WithEngine(const Aws::String& value) { SetEngine(value); return *this;} /** *The engine type that is obtained from the server when the backup is created. *
*/ inline Backup& WithEngine(Aws::String&& value) { SetEngine(std::move(value)); return *this;} /** *The engine type that is obtained from the server when the backup is created. *
*/ inline Backup& WithEngine(const char* value) { SetEngine(value); return *this;} /** *The engine model that is obtained from the server when the backup is * created.
*/ inline const Aws::String& GetEngineModel() const{ return m_engineModel; } /** *The engine model that is obtained from the server when the backup is * created.
*/ inline bool EngineModelHasBeenSet() const { return m_engineModelHasBeenSet; } /** *The engine model that is obtained from the server when the backup is * created.
*/ inline void SetEngineModel(const Aws::String& value) { m_engineModelHasBeenSet = true; m_engineModel = value; } /** *The engine model that is obtained from the server when the backup is * created.
*/ inline void SetEngineModel(Aws::String&& value) { m_engineModelHasBeenSet = true; m_engineModel = std::move(value); } /** *The engine model that is obtained from the server when the backup is * created.
*/ inline void SetEngineModel(const char* value) { m_engineModelHasBeenSet = true; m_engineModel.assign(value); } /** *The engine model that is obtained from the server when the backup is * created.
*/ inline Backup& WithEngineModel(const Aws::String& value) { SetEngineModel(value); return *this;} /** *The engine model that is obtained from the server when the backup is * created.
*/ inline Backup& WithEngineModel(Aws::String&& value) { SetEngineModel(std::move(value)); return *this;} /** *The engine model that is obtained from the server when the backup is * created.
*/ inline Backup& WithEngineModel(const char* value) { SetEngineModel(value); return *this;} /** *The engine version that is obtained from the server when the backup is * created.
*/ inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; } /** *The engine version that is obtained from the server when the backup is * created.
*/ inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; } /** *The engine version that is obtained from the server when the backup is * created.
*/ inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; } /** *The engine version that is obtained from the server when the backup is * created.
*/ inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); } /** *The engine version that is obtained from the server when the backup is * created.
*/ inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); } /** *The engine version that is obtained from the server when the backup is * created.
*/ inline Backup& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;} /** *The engine version that is obtained from the server when the backup is * created.
*/ inline Backup& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;} /** *The engine version that is obtained from the server when the backup is * created.
*/ inline Backup& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;} /** *The EC2 instance profile ARN that is obtained from the server when the * backup is created. Because this value is stored, you are not required to provide * the InstanceProfileArn again if you restore a backup.
*/ inline const Aws::String& GetInstanceProfileArn() const{ return m_instanceProfileArn; } /** *The EC2 instance profile ARN that is obtained from the server when the * backup is created. Because this value is stored, you are not required to provide * the InstanceProfileArn again if you restore a backup.
*/ inline bool InstanceProfileArnHasBeenSet() const { return m_instanceProfileArnHasBeenSet; } /** *The EC2 instance profile ARN that is obtained from the server when the * backup is created. Because this value is stored, you are not required to provide * the InstanceProfileArn again if you restore a backup.
*/ inline void SetInstanceProfileArn(const Aws::String& value) { m_instanceProfileArnHasBeenSet = true; m_instanceProfileArn = value; } /** *The EC2 instance profile ARN that is obtained from the server when the * backup is created. Because this value is stored, you are not required to provide * the InstanceProfileArn again if you restore a backup.
*/ inline void SetInstanceProfileArn(Aws::String&& value) { m_instanceProfileArnHasBeenSet = true; m_instanceProfileArn = std::move(value); } /** *The EC2 instance profile ARN that is obtained from the server when the * backup is created. Because this value is stored, you are not required to provide * the InstanceProfileArn again if you restore a backup.
*/ inline void SetInstanceProfileArn(const char* value) { m_instanceProfileArnHasBeenSet = true; m_instanceProfileArn.assign(value); } /** *The EC2 instance profile ARN that is obtained from the server when the * backup is created. Because this value is stored, you are not required to provide * the InstanceProfileArn again if you restore a backup.
*/ inline Backup& WithInstanceProfileArn(const Aws::String& value) { SetInstanceProfileArn(value); return *this;} /** *The EC2 instance profile ARN that is obtained from the server when the * backup is created. Because this value is stored, you are not required to provide * the InstanceProfileArn again if you restore a backup.
*/ inline Backup& WithInstanceProfileArn(Aws::String&& value) { SetInstanceProfileArn(std::move(value)); return *this;} /** *The EC2 instance profile ARN that is obtained from the server when the * backup is created. Because this value is stored, you are not required to provide * the InstanceProfileArn again if you restore a backup.
*/ inline Backup& WithInstanceProfileArn(const char* value) { SetInstanceProfileArn(value); return *this;} /** *The instance type that is obtained from the server when the backup is * created.
*/ inline const Aws::String& GetInstanceType() const{ return m_instanceType; } /** *The instance type that is obtained from the server when the backup is * created.
*/ inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; } /** *The instance type that is obtained from the server when the backup is * created.
*/ inline void SetInstanceType(const Aws::String& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; } /** *The instance type that is obtained from the server when the backup is * created.
*/ inline void SetInstanceType(Aws::String&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); } /** *The instance type that is obtained from the server when the backup is * created.
*/ inline void SetInstanceType(const char* value) { m_instanceTypeHasBeenSet = true; m_instanceType.assign(value); } /** *The instance type that is obtained from the server when the backup is * created.
*/ inline Backup& WithInstanceType(const Aws::String& value) { SetInstanceType(value); return *this;} /** *The instance type that is obtained from the server when the backup is * created.
*/ inline Backup& WithInstanceType(Aws::String&& value) { SetInstanceType(std::move(value)); return *this;} /** *The instance type that is obtained from the server when the backup is * created.
*/ inline Backup& WithInstanceType(const char* value) { SetInstanceType(value); return *this;} /** *The key pair that is obtained from the server when the backup is created. *
*/ inline const Aws::String& GetKeyPair() const{ return m_keyPair; } /** *The key pair that is obtained from the server when the backup is created. *
*/ inline bool KeyPairHasBeenSet() const { return m_keyPairHasBeenSet; } /** *The key pair that is obtained from the server when the backup is created. *
*/ inline void SetKeyPair(const Aws::String& value) { m_keyPairHasBeenSet = true; m_keyPair = value; } /** *The key pair that is obtained from the server when the backup is created. *
*/ inline void SetKeyPair(Aws::String&& value) { m_keyPairHasBeenSet = true; m_keyPair = std::move(value); } /** *The key pair that is obtained from the server when the backup is created. *
*/ inline void SetKeyPair(const char* value) { m_keyPairHasBeenSet = true; m_keyPair.assign(value); } /** *The key pair that is obtained from the server when the backup is created. *
*/ inline Backup& WithKeyPair(const Aws::String& value) { SetKeyPair(value); return *this;} /** *The key pair that is obtained from the server when the backup is created. *
*/ inline Backup& WithKeyPair(Aws::String&& value) { SetKeyPair(std::move(value)); return *this;} /** *The key pair that is obtained from the server when the backup is created. *
*/ inline Backup& WithKeyPair(const char* value) { SetKeyPair(value); return *this;} /** *The preferred backup period that is obtained from the server when the backup * is created.
*/ inline const Aws::String& GetPreferredBackupWindow() const{ return m_preferredBackupWindow; } /** *The preferred backup period that is obtained from the server when the backup * is created.
*/ inline bool PreferredBackupWindowHasBeenSet() const { return m_preferredBackupWindowHasBeenSet; } /** *The preferred backup period that is obtained from the server when the backup * is created.
*/ inline void SetPreferredBackupWindow(const Aws::String& value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow = value; } /** *The preferred backup period that is obtained from the server when the backup * is created.
*/ inline void SetPreferredBackupWindow(Aws::String&& value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow = std::move(value); } /** *The preferred backup period that is obtained from the server when the backup * is created.
*/ inline void SetPreferredBackupWindow(const char* value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow.assign(value); } /** *The preferred backup period that is obtained from the server when the backup * is created.
*/ inline Backup& WithPreferredBackupWindow(const Aws::String& value) { SetPreferredBackupWindow(value); return *this;} /** *The preferred backup period that is obtained from the server when the backup * is created.
*/ inline Backup& WithPreferredBackupWindow(Aws::String&& value) { SetPreferredBackupWindow(std::move(value)); return *this;} /** *The preferred backup period that is obtained from the server when the backup * is created.
*/ inline Backup& WithPreferredBackupWindow(const char* value) { SetPreferredBackupWindow(value); return *this;} /** *The preferred maintenance period that is obtained from the server when the * backup is created.
*/ inline const Aws::String& GetPreferredMaintenanceWindow() const{ return m_preferredMaintenanceWindow; } /** *The preferred maintenance period that is obtained from the server when the * backup is created.
*/ inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; } /** *The preferred maintenance period that is obtained from the server when the * backup is created.
*/ inline void SetPreferredMaintenanceWindow(const Aws::String& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = value; } /** *The preferred maintenance period that is obtained from the server when the * backup is created.
*/ inline void SetPreferredMaintenanceWindow(Aws::String&& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = std::move(value); } /** *The preferred maintenance period that is obtained from the server when the * backup is created.
*/ inline void SetPreferredMaintenanceWindow(const char* value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow.assign(value); } /** *The preferred maintenance period that is obtained from the server when the * backup is created.
*/ inline Backup& WithPreferredMaintenanceWindow(const Aws::String& value) { SetPreferredMaintenanceWindow(value); return *this;} /** *The preferred maintenance period that is obtained from the server when the * backup is created.
*/ inline Backup& WithPreferredMaintenanceWindow(Aws::String&& value) { SetPreferredMaintenanceWindow(std::move(value)); return *this;} /** *The preferred maintenance period that is obtained from the server when the * backup is created.
*/ inline Backup& WithPreferredMaintenanceWindow(const char* value) { SetPreferredMaintenanceWindow(value); return *this;} /** *The Amazon S3 URL of the backup's log file.
*/ inline const Aws::String& GetS3LogUrl() const{ return m_s3LogUrl; } /** *The Amazon S3 URL of the backup's log file.
*/ inline bool S3LogUrlHasBeenSet() const { return m_s3LogUrlHasBeenSet; } /** *The Amazon S3 URL of the backup's log file.
*/ inline void SetS3LogUrl(const Aws::String& value) { m_s3LogUrlHasBeenSet = true; m_s3LogUrl = value; } /** *The Amazon S3 URL of the backup's log file.
*/ inline void SetS3LogUrl(Aws::String&& value) { m_s3LogUrlHasBeenSet = true; m_s3LogUrl = std::move(value); } /** *The Amazon S3 URL of the backup's log file.
*/ inline void SetS3LogUrl(const char* value) { m_s3LogUrlHasBeenSet = true; m_s3LogUrl.assign(value); } /** *The Amazon S3 URL of the backup's log file.
*/ inline Backup& WithS3LogUrl(const Aws::String& value) { SetS3LogUrl(value); return *this;} /** *The Amazon S3 URL of the backup's log file.
*/ inline Backup& WithS3LogUrl(Aws::String&& value) { SetS3LogUrl(std::move(value)); return *this;} /** *The Amazon S3 URL of the backup's log file.
*/ inline Backup& WithS3LogUrl(const char* value) { SetS3LogUrl(value); return *this;} /** *The security group IDs that are obtained from the server when the backup is * created.
*/ inline const Aws::VectorThe security group IDs that are obtained from the server when the backup is * created.
*/ inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; } /** *The security group IDs that are obtained from the server when the backup is * created.
*/ inline void SetSecurityGroupIds(const Aws::VectorThe security group IDs that are obtained from the server when the backup is * created.
*/ inline void SetSecurityGroupIds(Aws::VectorThe security group IDs that are obtained from the server when the backup is * created.
*/ inline Backup& WithSecurityGroupIds(const Aws::VectorThe security group IDs that are obtained from the server when the backup is * created.
*/ inline Backup& WithSecurityGroupIds(Aws::VectorThe security group IDs that are obtained from the server when the backup is * created.
*/ inline Backup& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } /** *The security group IDs that are obtained from the server when the backup is * created.
*/ inline Backup& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; } /** *The security group IDs that are obtained from the server when the backup is * created.
*/ inline Backup& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } /** *The name of the server from which the backup was made.
*/ inline const Aws::String& GetServerName() const{ return m_serverName; } /** *The name of the server from which the backup was made.
*/ inline bool ServerNameHasBeenSet() const { return m_serverNameHasBeenSet; } /** *The name of the server from which the backup was made.
*/ inline void SetServerName(const Aws::String& value) { m_serverNameHasBeenSet = true; m_serverName = value; } /** *The name of the server from which the backup was made.
*/ inline void SetServerName(Aws::String&& value) { m_serverNameHasBeenSet = true; m_serverName = std::move(value); } /** *The name of the server from which the backup was made.
*/ inline void SetServerName(const char* value) { m_serverNameHasBeenSet = true; m_serverName.assign(value); } /** *The name of the server from which the backup was made.
*/ inline Backup& WithServerName(const Aws::String& value) { SetServerName(value); return *this;} /** *The name of the server from which the backup was made.
*/ inline Backup& WithServerName(Aws::String&& value) { SetServerName(std::move(value)); return *this;} /** *The name of the server from which the backup was made.
*/ inline Backup& WithServerName(const char* value) { SetServerName(value); return *this;} /** *The service role ARN that is obtained from the server when the backup is * created.
*/ inline const Aws::String& GetServiceRoleArn() const{ return m_serviceRoleArn; } /** *The service role ARN that is obtained from the server when the backup is * created.
*/ inline bool ServiceRoleArnHasBeenSet() const { return m_serviceRoleArnHasBeenSet; } /** *The service role ARN that is obtained from the server when the backup is * created.
*/ inline void SetServiceRoleArn(const Aws::String& value) { m_serviceRoleArnHasBeenSet = true; m_serviceRoleArn = value; } /** *The service role ARN that is obtained from the server when the backup is * created.
*/ inline void SetServiceRoleArn(Aws::String&& value) { m_serviceRoleArnHasBeenSet = true; m_serviceRoleArn = std::move(value); } /** *The service role ARN that is obtained from the server when the backup is * created.
*/ inline void SetServiceRoleArn(const char* value) { m_serviceRoleArnHasBeenSet = true; m_serviceRoleArn.assign(value); } /** *The service role ARN that is obtained from the server when the backup is * created.
*/ inline Backup& WithServiceRoleArn(const Aws::String& value) { SetServiceRoleArn(value); return *this;} /** *The service role ARN that is obtained from the server when the backup is * created.
*/ inline Backup& WithServiceRoleArn(Aws::String&& value) { SetServiceRoleArn(std::move(value)); return *this;} /** *The service role ARN that is obtained from the server when the backup is * created.
*/ inline Backup& WithServiceRoleArn(const char* value) { SetServiceRoleArn(value); return *this;} /** *The status of a backup while in progress.
*/ inline const BackupStatus& GetStatus() const{ return m_status; } /** *The status of a backup while in progress.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of a backup while in progress.
*/ inline void SetStatus(const BackupStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of a backup while in progress.
*/ inline void SetStatus(BackupStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of a backup while in progress.
*/ inline Backup& WithStatus(const BackupStatus& value) { SetStatus(value); return *this;} /** *The status of a backup while in progress.
*/ inline Backup& WithStatus(BackupStatus&& value) { SetStatus(std::move(value)); return *this;} /** *An informational message about backup status.
*/ inline const Aws::String& GetStatusDescription() const{ return m_statusDescription; } /** *An informational message about backup status.
*/ inline bool StatusDescriptionHasBeenSet() const { return m_statusDescriptionHasBeenSet; } /** *An informational message about backup status.
*/ inline void SetStatusDescription(const Aws::String& value) { m_statusDescriptionHasBeenSet = true; m_statusDescription = value; } /** *An informational message about backup status.
*/ inline void SetStatusDescription(Aws::String&& value) { m_statusDescriptionHasBeenSet = true; m_statusDescription = std::move(value); } /** *An informational message about backup status.
*/ inline void SetStatusDescription(const char* value) { m_statusDescriptionHasBeenSet = true; m_statusDescription.assign(value); } /** *An informational message about backup status.
*/ inline Backup& WithStatusDescription(const Aws::String& value) { SetStatusDescription(value); return *this;} /** *An informational message about backup status.
*/ inline Backup& WithStatusDescription(Aws::String&& value) { SetStatusDescription(std::move(value)); return *this;} /** *An informational message about backup status.
*/ inline Backup& WithStatusDescription(const char* value) { SetStatusDescription(value); return *this;} /** *The subnet IDs that are obtained from the server when the backup is created. *
*/ inline const Aws::VectorThe subnet IDs that are obtained from the server when the backup is created. *
*/ inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; } /** *The subnet IDs that are obtained from the server when the backup is created. *
*/ inline void SetSubnetIds(const Aws::VectorThe subnet IDs that are obtained from the server when the backup is created. *
*/ inline void SetSubnetIds(Aws::VectorThe subnet IDs that are obtained from the server when the backup is created. *
*/ inline Backup& WithSubnetIds(const Aws::VectorThe subnet IDs that are obtained from the server when the backup is created. *
*/ inline Backup& WithSubnetIds(Aws::VectorThe subnet IDs that are obtained from the server when the backup is created. *
*/ inline Backup& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** *The subnet IDs that are obtained from the server when the backup is created. *
*/ inline Backup& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; } /** *The subnet IDs that are obtained from the server when the backup is created. *
*/ inline Backup& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** *The version of AWS OpsWorks CM-specific tools that is obtained from the * server when the backup is created.
*/ inline const Aws::String& GetToolsVersion() const{ return m_toolsVersion; } /** *The version of AWS OpsWorks CM-specific tools that is obtained from the * server when the backup is created.
*/ inline bool ToolsVersionHasBeenSet() const { return m_toolsVersionHasBeenSet; } /** *The version of AWS OpsWorks CM-specific tools that is obtained from the * server when the backup is created.
*/ inline void SetToolsVersion(const Aws::String& value) { m_toolsVersionHasBeenSet = true; m_toolsVersion = value; } /** *The version of AWS OpsWorks CM-specific tools that is obtained from the * server when the backup is created.
*/ inline void SetToolsVersion(Aws::String&& value) { m_toolsVersionHasBeenSet = true; m_toolsVersion = std::move(value); } /** *The version of AWS OpsWorks CM-specific tools that is obtained from the * server when the backup is created.
*/ inline void SetToolsVersion(const char* value) { m_toolsVersionHasBeenSet = true; m_toolsVersion.assign(value); } /** *The version of AWS OpsWorks CM-specific tools that is obtained from the * server when the backup is created.
*/ inline Backup& WithToolsVersion(const Aws::String& value) { SetToolsVersion(value); return *this;} /** *The version of AWS OpsWorks CM-specific tools that is obtained from the * server when the backup is created.
*/ inline Backup& WithToolsVersion(Aws::String&& value) { SetToolsVersion(std::move(value)); return *this;} /** *The version of AWS OpsWorks CM-specific tools that is obtained from the * server when the backup is created.
*/ inline Backup& WithToolsVersion(const char* value) { SetToolsVersion(value); return *this;} /** *The IAM user ARN of the requester for manual backups. This field is empty * for automated backups.
*/ inline const Aws::String& GetUserArn() const{ return m_userArn; } /** *The IAM user ARN of the requester for manual backups. This field is empty * for automated backups.
*/ inline bool UserArnHasBeenSet() const { return m_userArnHasBeenSet; } /** *The IAM user ARN of the requester for manual backups. This field is empty * for automated backups.
*/ inline void SetUserArn(const Aws::String& value) { m_userArnHasBeenSet = true; m_userArn = value; } /** *The IAM user ARN of the requester for manual backups. This field is empty * for automated backups.
*/ inline void SetUserArn(Aws::String&& value) { m_userArnHasBeenSet = true; m_userArn = std::move(value); } /** *The IAM user ARN of the requester for manual backups. This field is empty * for automated backups.
*/ inline void SetUserArn(const char* value) { m_userArnHasBeenSet = true; m_userArn.assign(value); } /** *The IAM user ARN of the requester for manual backups. This field is empty * for automated backups.
*/ inline Backup& WithUserArn(const Aws::String& value) { SetUserArn(value); return *this;} /** *The IAM user ARN of the requester for manual backups. This field is empty * for automated backups.
*/ inline Backup& WithUserArn(Aws::String&& value) { SetUserArn(std::move(value)); return *this;} /** *The IAM user ARN of the requester for manual backups. This field is empty * for automated backups.
*/ inline Backup& WithUserArn(const char* value) { SetUserArn(value); return *this;} private: Aws::String m_backupArn; bool m_backupArnHasBeenSet = false; Aws::String m_backupId; bool m_backupIdHasBeenSet = false; BackupType m_backupType; bool m_backupTypeHasBeenSet = false; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_engine; bool m_engineHasBeenSet = false; Aws::String m_engineModel; bool m_engineModelHasBeenSet = false; Aws::String m_engineVersion; bool m_engineVersionHasBeenSet = false; Aws::String m_instanceProfileArn; bool m_instanceProfileArnHasBeenSet = false; Aws::String m_instanceType; bool m_instanceTypeHasBeenSet = false; Aws::String m_keyPair; bool m_keyPairHasBeenSet = false; Aws::String m_preferredBackupWindow; bool m_preferredBackupWindowHasBeenSet = false; Aws::String m_preferredMaintenanceWindow; bool m_preferredMaintenanceWindowHasBeenSet = false; Aws::String m_s3LogUrl; bool m_s3LogUrlHasBeenSet = false; Aws::Vector