/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A structure that contains information about a backed-up
* resource.See Also:
AWS
* API Reference
An Amazon Resource Name (ARN) that uniquely identifies a resource. The format * of the ARN depends on the resource type.
*/ inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } /** *An Amazon Resource Name (ARN) that uniquely identifies a resource. The format * of the ARN depends on the resource type.
*/ inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } /** *An Amazon Resource Name (ARN) that uniquely identifies a resource. The format * of the ARN depends on the resource type.
*/ inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; } /** *An Amazon Resource Name (ARN) that uniquely identifies a resource. The format * of the ARN depends on the resource type.
*/ inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); } /** *An Amazon Resource Name (ARN) that uniquely identifies a resource. The format * of the ARN depends on the resource type.
*/ inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); } /** *An Amazon Resource Name (ARN) that uniquely identifies a resource. The format * of the ARN depends on the resource type.
*/ inline ProtectedResource& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} /** *An Amazon Resource Name (ARN) that uniquely identifies a resource. The format * of the ARN depends on the resource type.
*/ inline ProtectedResource& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} /** *An Amazon Resource Name (ARN) that uniquely identifies a resource. The format * of the ARN depends on the resource type.
*/ inline ProtectedResource& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} /** *The type of AWS resource; for example, an Amazon Elastic Block Store (Amazon * EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.
*/ inline const Aws::String& GetResourceType() const{ return m_resourceType; } /** *The type of AWS resource; for example, an Amazon Elastic Block Store (Amazon * EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.
*/ inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; } /** *The type of AWS resource; for example, an Amazon Elastic Block Store (Amazon * EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.
*/ inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; } /** *The type of AWS resource; for example, an Amazon Elastic Block Store (Amazon * EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.
*/ inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); } /** *The type of AWS resource; for example, an Amazon Elastic Block Store (Amazon * EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.
*/ inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); } /** *The type of AWS resource; for example, an Amazon Elastic Block Store (Amazon * EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.
*/ inline ProtectedResource& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;} /** *The type of AWS resource; for example, an Amazon Elastic Block Store (Amazon * EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.
*/ inline ProtectedResource& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;} /** *The type of AWS resource; for example, an Amazon Elastic Block Store (Amazon * EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.
*/ inline ProtectedResource& WithResourceType(const char* value) { SetResourceType(value); return *this;} /** *The date and time a resource was last backed up, in Unix format and
* Coordinated Universal Time (UTC). The value of LastBackupTime is
* accurate to milliseconds. For example, the value 1516925490.087 represents
* Friday, January 26, 2018 12:11:30.087 AM.
The date and time a resource was last backed up, in Unix format and
* Coordinated Universal Time (UTC). The value of LastBackupTime is
* accurate to milliseconds. For example, the value 1516925490.087 represents
* Friday, January 26, 2018 12:11:30.087 AM.
The date and time a resource was last backed up, in Unix format and
* Coordinated Universal Time (UTC). The value of LastBackupTime is
* accurate to milliseconds. For example, the value 1516925490.087 represents
* Friday, January 26, 2018 12:11:30.087 AM.
The date and time a resource was last backed up, in Unix format and
* Coordinated Universal Time (UTC). The value of LastBackupTime is
* accurate to milliseconds. For example, the value 1516925490.087 represents
* Friday, January 26, 2018 12:11:30.087 AM.
The date and time a resource was last backed up, in Unix format and
* Coordinated Universal Time (UTC). The value of LastBackupTime is
* accurate to milliseconds. For example, the value 1516925490.087 represents
* Friday, January 26, 2018 12:11:30.087 AM.
The date and time a resource was last backed up, in Unix format and
* Coordinated Universal Time (UTC). The value of LastBackupTime is
* accurate to milliseconds. For example, the value 1516925490.087 represents
* Friday, January 26, 2018 12:11:30.087 AM.