AWS SDK for C++  1.8.99
AWS SDK for C++
Public Member Functions | List of all members
Aws::Backup::Model::ProtectedResource Class Reference

#include <ProtectedResource.h>

Public Member Functions

 ProtectedResource ()
 
 ProtectedResource (Aws::Utils::Json::JsonView jsonValue)
 
ProtectedResourceoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetResourceArn () const
 
bool ResourceArnHasBeenSet () const
 
void SetResourceArn (const Aws::String &value)
 
void SetResourceArn (Aws::String &&value)
 
void SetResourceArn (const char *value)
 
ProtectedResourceWithResourceArn (const Aws::String &value)
 
ProtectedResourceWithResourceArn (Aws::String &&value)
 
ProtectedResourceWithResourceArn (const char *value)
 
const Aws::StringGetResourceType () const
 
bool ResourceTypeHasBeenSet () const
 
void SetResourceType (const Aws::String &value)
 
void SetResourceType (Aws::String &&value)
 
void SetResourceType (const char *value)
 
ProtectedResourceWithResourceType (const Aws::String &value)
 
ProtectedResourceWithResourceType (Aws::String &&value)
 
ProtectedResourceWithResourceType (const char *value)
 
const Aws::Utils::DateTimeGetLastBackupTime () const
 
bool LastBackupTimeHasBeenSet () const
 
void SetLastBackupTime (const Aws::Utils::DateTime &value)
 
void SetLastBackupTime (Aws::Utils::DateTime &&value)
 
ProtectedResourceWithLastBackupTime (const Aws::Utils::DateTime &value)
 
ProtectedResourceWithLastBackupTime (Aws::Utils::DateTime &&value)
 

Detailed Description

A structure that contains information about a backed-up resource.

See Also:

AWS API Reference

Definition at line 33 of file ProtectedResource.h.

Constructor & Destructor Documentation

◆ ProtectedResource() [1/2]

Aws::Backup::Model::ProtectedResource::ProtectedResource ( )

◆ ProtectedResource() [2/2]

Aws::Backup::Model::ProtectedResource::ProtectedResource ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ GetLastBackupTime()

const Aws::Utils::DateTime& Aws::Backup::Model::ProtectedResource::GetLastBackupTime ( ) const
inline

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.

Definition at line 154 of file ProtectedResource.h.

◆ GetResourceArn()

const Aws::String& Aws::Backup::Model::ProtectedResource::GetResourceArn ( ) const
inline

An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.

Definition at line 46 of file ProtectedResource.h.

◆ GetResourceType()

const Aws::String& Aws::Backup::Model::ProtectedResource::GetResourceType ( ) const
inline

The type of AWS resource; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database. For VSS Windows backups, the only supported resource type is Amazon EC2.

Definition at line 96 of file ProtectedResource.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::Backup::Model::ProtectedResource::Jsonize ( ) const

◆ LastBackupTimeHasBeenSet()

bool Aws::Backup::Model::ProtectedResource::LastBackupTimeHasBeenSet ( ) const
inline

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.

Definition at line 162 of file ProtectedResource.h.

◆ operator=()

ProtectedResource& Aws::Backup::Model::ProtectedResource::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ ResourceArnHasBeenSet()

bool Aws::Backup::Model::ProtectedResource::ResourceArnHasBeenSet ( ) const
inline

An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.

Definition at line 52 of file ProtectedResource.h.

◆ ResourceTypeHasBeenSet()

bool Aws::Backup::Model::ProtectedResource::ResourceTypeHasBeenSet ( ) const
inline

The type of AWS resource; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database. For VSS Windows backups, the only supported resource type is Amazon EC2.

Definition at line 103 of file ProtectedResource.h.

◆ SetLastBackupTime() [1/2]

void Aws::Backup::Model::ProtectedResource::SetLastBackupTime ( const Aws::Utils::DateTime value)
inline

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.

Definition at line 170 of file ProtectedResource.h.

◆ SetLastBackupTime() [2/2]

void Aws::Backup::Model::ProtectedResource::SetLastBackupTime ( Aws::Utils::DateTime &&  value)
inline

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.

Definition at line 178 of file ProtectedResource.h.

◆ SetResourceArn() [1/3]

void Aws::Backup::Model::ProtectedResource::SetResourceArn ( const Aws::String value)
inline

An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.

Definition at line 58 of file ProtectedResource.h.

◆ SetResourceArn() [2/3]

void Aws::Backup::Model::ProtectedResource::SetResourceArn ( Aws::String &&  value)
inline

An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.

Definition at line 64 of file ProtectedResource.h.

◆ SetResourceArn() [3/3]

void Aws::Backup::Model::ProtectedResource::SetResourceArn ( const char *  value)
inline

An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.

Definition at line 70 of file ProtectedResource.h.

◆ SetResourceType() [1/3]

void Aws::Backup::Model::ProtectedResource::SetResourceType ( const Aws::String value)
inline

The type of AWS resource; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database. For VSS Windows backups, the only supported resource type is Amazon EC2.

Definition at line 110 of file ProtectedResource.h.

◆ SetResourceType() [2/3]

void Aws::Backup::Model::ProtectedResource::SetResourceType ( Aws::String &&  value)
inline

The type of AWS resource; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database. For VSS Windows backups, the only supported resource type is Amazon EC2.

Definition at line 117 of file ProtectedResource.h.

◆ SetResourceType() [3/3]

void Aws::Backup::Model::ProtectedResource::SetResourceType ( const char *  value)
inline

The type of AWS resource; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database. For VSS Windows backups, the only supported resource type is Amazon EC2.

Definition at line 124 of file ProtectedResource.h.

◆ WithLastBackupTime() [1/2]

ProtectedResource& Aws::Backup::Model::ProtectedResource::WithLastBackupTime ( const Aws::Utils::DateTime value)
inline

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.

Definition at line 186 of file ProtectedResource.h.

◆ WithLastBackupTime() [2/2]

ProtectedResource& Aws::Backup::Model::ProtectedResource::WithLastBackupTime ( Aws::Utils::DateTime &&  value)
inline

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.

Definition at line 194 of file ProtectedResource.h.

◆ WithResourceArn() [1/3]

ProtectedResource& Aws::Backup::Model::ProtectedResource::WithResourceArn ( const Aws::String value)
inline

An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.

Definition at line 76 of file ProtectedResource.h.

◆ WithResourceArn() [2/3]

ProtectedResource& Aws::Backup::Model::ProtectedResource::WithResourceArn ( Aws::String &&  value)
inline

An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.

Definition at line 82 of file ProtectedResource.h.

◆ WithResourceArn() [3/3]

ProtectedResource& Aws::Backup::Model::ProtectedResource::WithResourceArn ( const char *  value)
inline

An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN depends on the resource type.

Definition at line 88 of file ProtectedResource.h.

◆ WithResourceType() [1/3]

ProtectedResource& Aws::Backup::Model::ProtectedResource::WithResourceType ( const Aws::String value)
inline

The type of AWS resource; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database. For VSS Windows backups, the only supported resource type is Amazon EC2.

Definition at line 131 of file ProtectedResource.h.

◆ WithResourceType() [2/3]

ProtectedResource& Aws::Backup::Model::ProtectedResource::WithResourceType ( Aws::String &&  value)
inline

The type of AWS resource; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database. For VSS Windows backups, the only supported resource type is Amazon EC2.

Definition at line 138 of file ProtectedResource.h.

◆ WithResourceType() [3/3]

ProtectedResource& Aws::Backup::Model::ProtectedResource::WithResourceType ( const char *  value)
inline

The type of AWS resource; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database. For VSS Windows backups, the only supported resource type is Amazon EC2.

Definition at line 145 of file ProtectedResource.h.


The documentation for this class was generated from the following file: