AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RecoveryPointMember.h
1
6#pragma once
7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Backup
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_BACKUP_API RecoveryPointMember();
40 AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetRecoveryPointArn() const{ return m_recoveryPointArn; }
48 inline bool RecoveryPointArnHasBeenSet() const { return m_recoveryPointArnHasBeenSet; }
49 inline void SetRecoveryPointArn(const Aws::String& value) { m_recoveryPointArnHasBeenSet = true; m_recoveryPointArn = value; }
50 inline void SetRecoveryPointArn(Aws::String&& value) { m_recoveryPointArnHasBeenSet = true; m_recoveryPointArn = std::move(value); }
51 inline void SetRecoveryPointArn(const char* value) { m_recoveryPointArnHasBeenSet = true; m_recoveryPointArn.assign(value); }
52 inline RecoveryPointMember& WithRecoveryPointArn(const Aws::String& value) { SetRecoveryPointArn(value); return *this;}
53 inline RecoveryPointMember& WithRecoveryPointArn(Aws::String&& value) { SetRecoveryPointArn(std::move(value)); return *this;}
54 inline RecoveryPointMember& WithRecoveryPointArn(const char* value) { SetRecoveryPointArn(value); return *this;}
56
58
61 inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
62 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
63 inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
64 inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
65 inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
66 inline RecoveryPointMember& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
67 inline RecoveryPointMember& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
68 inline RecoveryPointMember& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
70
72
75 inline const Aws::String& GetResourceType() const{ return m_resourceType; }
76 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
77 inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
78 inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
79 inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); }
80 inline RecoveryPointMember& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;}
81 inline RecoveryPointMember& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
82 inline RecoveryPointMember& WithResourceType(const char* value) { SetResourceType(value); return *this;}
84
86
90 inline const Aws::String& GetBackupVaultName() const{ return m_backupVaultName; }
91 inline bool BackupVaultNameHasBeenSet() const { return m_backupVaultNameHasBeenSet; }
92 inline void SetBackupVaultName(const Aws::String& value) { m_backupVaultNameHasBeenSet = true; m_backupVaultName = value; }
93 inline void SetBackupVaultName(Aws::String&& value) { m_backupVaultNameHasBeenSet = true; m_backupVaultName = std::move(value); }
94 inline void SetBackupVaultName(const char* value) { m_backupVaultNameHasBeenSet = true; m_backupVaultName.assign(value); }
95 inline RecoveryPointMember& WithBackupVaultName(const Aws::String& value) { SetBackupVaultName(value); return *this;}
96 inline RecoveryPointMember& WithBackupVaultName(Aws::String&& value) { SetBackupVaultName(std::move(value)); return *this;}
97 inline RecoveryPointMember& WithBackupVaultName(const char* value) { SetBackupVaultName(value); return *this;}
99 private:
100
101 Aws::String m_recoveryPointArn;
102 bool m_recoveryPointArnHasBeenSet = false;
103
104 Aws::String m_resourceArn;
105 bool m_resourceArnHasBeenSet = false;
106
107 Aws::String m_resourceType;
108 bool m_resourceTypeHasBeenSet = false;
109
110 Aws::String m_backupVaultName;
111 bool m_backupVaultNameHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace Backup
116} // namespace Aws
const Aws::String & GetResourceType() const
RecoveryPointMember & WithResourceArn(const char *value)
void SetResourceArn(const Aws::String &value)
const Aws::String & GetBackupVaultName() const
RecoveryPointMember & WithResourceArn(const Aws::String &value)
void SetRecoveryPointArn(Aws::String &&value)
AWS_BACKUP_API RecoveryPointMember(Aws::Utils::Json::JsonView jsonValue)
AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const
RecoveryPointMember & WithRecoveryPointArn(const char *value)
RecoveryPointMember & WithBackupVaultName(Aws::String &&value)
RecoveryPointMember & WithResourceType(Aws::String &&value)
AWS_BACKUP_API RecoveryPointMember & operator=(Aws::Utils::Json::JsonView jsonValue)
RecoveryPointMember & WithResourceType(const char *value)
void SetBackupVaultName(const Aws::String &value)
void SetResourceType(const Aws::String &value)
RecoveryPointMember & WithBackupVaultName(const char *value)
RecoveryPointMember & WithBackupVaultName(const Aws::String &value)
RecoveryPointMember & WithRecoveryPointArn(const Aws::String &value)
const Aws::String & GetResourceArn() const
RecoveryPointMember & WithResourceArn(Aws::String &&value)
void SetRecoveryPointArn(const Aws::String &value)
RecoveryPointMember & WithResourceType(const Aws::String &value)
RecoveryPointMember & WithRecoveryPointArn(Aws::String &&value)
const Aws::String & GetRecoveryPointArn() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue