/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about the backup plan and rule that Backup used to
* initiate the recovery point backup. See Also:
AWS
* API Reference
An Amazon Resource Name (ARN) that uniquely identifies a backup plan.
*/ inline const Aws::String& GetBackupPlanArn() const{ return m_backupPlanArn; } /** *An Amazon Resource Name (ARN) that uniquely identifies a backup plan.
*/ inline bool BackupPlanArnHasBeenSet() const { return m_backupPlanArnHasBeenSet; } /** *An Amazon Resource Name (ARN) that uniquely identifies a backup plan.
*/ inline void SetBackupPlanArn(const Aws::String& value) { m_backupPlanArnHasBeenSet = true; m_backupPlanArn = value; } /** *An Amazon Resource Name (ARN) that uniquely identifies a backup plan.
*/ inline void SetBackupPlanArn(Aws::String&& value) { m_backupPlanArnHasBeenSet = true; m_backupPlanArn = std::move(value); } /** *An Amazon Resource Name (ARN) that uniquely identifies a backup plan.
*/ inline void SetBackupPlanArn(const char* value) { m_backupPlanArnHasBeenSet = true; m_backupPlanArn.assign(value); } /** *An Amazon Resource Name (ARN) that uniquely identifies a backup plan.
*/ inline AwsBackupRecoveryPointCreatedByDetails& WithBackupPlanArn(const Aws::String& value) { SetBackupPlanArn(value); return *this;} /** *An Amazon Resource Name (ARN) that uniquely identifies a backup plan.
*/ inline AwsBackupRecoveryPointCreatedByDetails& WithBackupPlanArn(Aws::String&& value) { SetBackupPlanArn(std::move(value)); return *this;} /** *An Amazon Resource Name (ARN) that uniquely identifies a backup plan.
*/ inline AwsBackupRecoveryPointCreatedByDetails& WithBackupPlanArn(const char* value) { SetBackupPlanArn(value); return *this;} /** *Uniquely identifies a backup plan.
*/ inline const Aws::String& GetBackupPlanId() const{ return m_backupPlanId; } /** *Uniquely identifies a backup plan.
*/ inline bool BackupPlanIdHasBeenSet() const { return m_backupPlanIdHasBeenSet; } /** *Uniquely identifies a backup plan.
*/ inline void SetBackupPlanId(const Aws::String& value) { m_backupPlanIdHasBeenSet = true; m_backupPlanId = value; } /** *Uniquely identifies a backup plan.
*/ inline void SetBackupPlanId(Aws::String&& value) { m_backupPlanIdHasBeenSet = true; m_backupPlanId = std::move(value); } /** *Uniquely identifies a backup plan.
*/ inline void SetBackupPlanId(const char* value) { m_backupPlanIdHasBeenSet = true; m_backupPlanId.assign(value); } /** *Uniquely identifies a backup plan.
*/ inline AwsBackupRecoveryPointCreatedByDetails& WithBackupPlanId(const Aws::String& value) { SetBackupPlanId(value); return *this;} /** *Uniquely identifies a backup plan.
*/ inline AwsBackupRecoveryPointCreatedByDetails& WithBackupPlanId(Aws::String&& value) { SetBackupPlanId(std::move(value)); return *this;} /** *Uniquely identifies a backup plan.
*/ inline AwsBackupRecoveryPointCreatedByDetails& WithBackupPlanId(const char* value) { SetBackupPlanId(value); return *this;} /** *Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most * 1,024 bytes long. Version IDs cannot be edited.
*/ inline const Aws::String& GetBackupPlanVersion() const{ return m_backupPlanVersion; } /** *Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most * 1,024 bytes long. Version IDs cannot be edited.
*/ inline bool BackupPlanVersionHasBeenSet() const { return m_backupPlanVersionHasBeenSet; } /** *Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most * 1,024 bytes long. Version IDs cannot be edited.
*/ inline void SetBackupPlanVersion(const Aws::String& value) { m_backupPlanVersionHasBeenSet = true; m_backupPlanVersion = value; } /** *Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most * 1,024 bytes long. Version IDs cannot be edited.
*/ inline void SetBackupPlanVersion(Aws::String&& value) { m_backupPlanVersionHasBeenSet = true; m_backupPlanVersion = std::move(value); } /** *Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most * 1,024 bytes long. Version IDs cannot be edited.
*/ inline void SetBackupPlanVersion(const char* value) { m_backupPlanVersionHasBeenSet = true; m_backupPlanVersion.assign(value); } /** *Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most * 1,024 bytes long. Version IDs cannot be edited.
*/ inline AwsBackupRecoveryPointCreatedByDetails& WithBackupPlanVersion(const Aws::String& value) { SetBackupPlanVersion(value); return *this;} /** *Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most * 1,024 bytes long. Version IDs cannot be edited.
*/ inline AwsBackupRecoveryPointCreatedByDetails& WithBackupPlanVersion(Aws::String&& value) { SetBackupPlanVersion(std::move(value)); return *this;} /** *Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most * 1,024 bytes long. Version IDs cannot be edited.
*/ inline AwsBackupRecoveryPointCreatedByDetails& WithBackupPlanVersion(const char* value) { SetBackupPlanVersion(value); return *this;} /** *Uniquely identifies a rule used to schedule the backup of a selection of * resources.
*/ inline const Aws::String& GetBackupRuleId() const{ return m_backupRuleId; } /** *Uniquely identifies a rule used to schedule the backup of a selection of * resources.
*/ inline bool BackupRuleIdHasBeenSet() const { return m_backupRuleIdHasBeenSet; } /** *Uniquely identifies a rule used to schedule the backup of a selection of * resources.
*/ inline void SetBackupRuleId(const Aws::String& value) { m_backupRuleIdHasBeenSet = true; m_backupRuleId = value; } /** *Uniquely identifies a rule used to schedule the backup of a selection of * resources.
*/ inline void SetBackupRuleId(Aws::String&& value) { m_backupRuleIdHasBeenSet = true; m_backupRuleId = std::move(value); } /** *Uniquely identifies a rule used to schedule the backup of a selection of * resources.
*/ inline void SetBackupRuleId(const char* value) { m_backupRuleIdHasBeenSet = true; m_backupRuleId.assign(value); } /** *Uniquely identifies a rule used to schedule the backup of a selection of * resources.
*/ inline AwsBackupRecoveryPointCreatedByDetails& WithBackupRuleId(const Aws::String& value) { SetBackupRuleId(value); return *this;} /** *Uniquely identifies a rule used to schedule the backup of a selection of * resources.
*/ inline AwsBackupRecoveryPointCreatedByDetails& WithBackupRuleId(Aws::String&& value) { SetBackupRuleId(std::move(value)); return *this;} /** *Uniquely identifies a rule used to schedule the backup of a selection of * resources.
*/ inline AwsBackupRecoveryPointCreatedByDetails& WithBackupRuleId(const char* value) { SetBackupRuleId(value); return *this;} private: Aws::String m_backupPlanArn; bool m_backupPlanArnHasBeenSet = false; Aws::String m_backupPlanId; bool m_backupPlanIdHasBeenSet = false; Aws::String m_backupPlanVersion; bool m_backupPlanVersionHasBeenSet = false; Aws::String m_backupRuleId; bool m_backupRuleIdHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws