/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Used to specify a set of resources to a backup plan.See Also:
* AWS
* API Reference
The display name of a resource selection document.
*/ inline const Aws::String& GetSelectionName() const{ return m_selectionName; } /** *The display name of a resource selection document.
*/ inline bool SelectionNameHasBeenSet() const { return m_selectionNameHasBeenSet; } /** *The display name of a resource selection document.
*/ inline void SetSelectionName(const Aws::String& value) { m_selectionNameHasBeenSet = true; m_selectionName = value; } /** *The display name of a resource selection document.
*/ inline void SetSelectionName(Aws::String&& value) { m_selectionNameHasBeenSet = true; m_selectionName = std::move(value); } /** *The display name of a resource selection document.
*/ inline void SetSelectionName(const char* value) { m_selectionNameHasBeenSet = true; m_selectionName.assign(value); } /** *The display name of a resource selection document.
*/ inline BackupSelection& WithSelectionName(const Aws::String& value) { SetSelectionName(value); return *this;} /** *The display name of a resource selection document.
*/ inline BackupSelection& WithSelectionName(Aws::String&& value) { SetSelectionName(std::move(value)); return *this;} /** *The display name of a resource selection document.
*/ inline BackupSelection& WithSelectionName(const char* value) { SetSelectionName(value); return *this;} /** *The ARN of the IAM role that AWS Backup uses to authenticate when restoring
* the target resource; for example,
* arn:aws:iam::123456789012:role/S3Access.
The ARN of the IAM role that AWS Backup uses to authenticate when restoring
* the target resource; for example,
* arn:aws:iam::123456789012:role/S3Access.
The ARN of the IAM role that AWS Backup uses to authenticate when restoring
* the target resource; for example,
* arn:aws:iam::123456789012:role/S3Access.
The ARN of the IAM role that AWS Backup uses to authenticate when restoring
* the target resource; for example,
* arn:aws:iam::123456789012:role/S3Access.
The ARN of the IAM role that AWS Backup uses to authenticate when restoring
* the target resource; for example,
* arn:aws:iam::123456789012:role/S3Access.
The ARN of the IAM role that AWS Backup uses to authenticate when restoring
* the target resource; for example,
* arn:aws:iam::123456789012:role/S3Access.
The ARN of the IAM role that AWS Backup uses to authenticate when restoring
* the target resource; for example,
* arn:aws:iam::123456789012:role/S3Access.
The ARN of the IAM role that AWS Backup uses to authenticate when restoring
* the target resource; for example,
* arn:aws:iam::123456789012:role/S3Access.
An array of strings that contain Amazon Resource Names (ARNs) of resources to * assign to a backup plan.
*/ inline const Aws::VectorAn array of strings that contain Amazon Resource Names (ARNs) of resources to * assign to a backup plan.
*/ inline bool ResourcesHasBeenSet() const { return m_resourcesHasBeenSet; } /** *An array of strings that contain Amazon Resource Names (ARNs) of resources to * assign to a backup plan.
*/ inline void SetResources(const Aws::VectorAn array of strings that contain Amazon Resource Names (ARNs) of resources to * assign to a backup plan.
*/ inline void SetResources(Aws::VectorAn array of strings that contain Amazon Resource Names (ARNs) of resources to * assign to a backup plan.
*/ inline BackupSelection& WithResources(const Aws::VectorAn array of strings that contain Amazon Resource Names (ARNs) of resources to * assign to a backup plan.
*/ inline BackupSelection& WithResources(Aws::VectorAn array of strings that contain Amazon Resource Names (ARNs) of resources to * assign to a backup plan.
*/ inline BackupSelection& AddResources(const Aws::String& value) { m_resourcesHasBeenSet = true; m_resources.push_back(value); return *this; } /** *An array of strings that contain Amazon Resource Names (ARNs) of resources to * assign to a backup plan.
*/ inline BackupSelection& AddResources(Aws::String&& value) { m_resourcesHasBeenSet = true; m_resources.push_back(std::move(value)); return *this; } /** *An array of strings that contain Amazon Resource Names (ARNs) of resources to * assign to a backup plan.
*/ inline BackupSelection& AddResources(const char* value) { m_resourcesHasBeenSet = true; m_resources.push_back(value); return *this; } /** *An array of conditions used to specify a set of resources to assign to a
* backup plan; for example, "STRINGEQUALS": {"ec2:ResourceTag/Department":
* "accounting".
An array of conditions used to specify a set of resources to assign to a
* backup plan; for example, "STRINGEQUALS": {"ec2:ResourceTag/Department":
* "accounting".
An array of conditions used to specify a set of resources to assign to a
* backup plan; for example, "STRINGEQUALS": {"ec2:ResourceTag/Department":
* "accounting".
An array of conditions used to specify a set of resources to assign to a
* backup plan; for example, "STRINGEQUALS": {"ec2:ResourceTag/Department":
* "accounting".
An array of conditions used to specify a set of resources to assign to a
* backup plan; for example, "STRINGEQUALS": {"ec2:ResourceTag/Department":
* "accounting".
An array of conditions used to specify a set of resources to assign to a
* backup plan; for example, "STRINGEQUALS": {"ec2:ResourceTag/Department":
* "accounting".
An array of conditions used to specify a set of resources to assign to a
* backup plan; for example, "STRINGEQUALS": {"ec2:ResourceTag/Department":
* "accounting".
An array of conditions used to specify a set of resources to assign to a
* backup plan; for example, "STRINGEQUALS": {"ec2:ResourceTag/Department":
* "accounting".