AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
RecoveryPointCreator.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
33 {
34 public:
35 AWS_BACKUP_API RecoveryPointCreator() = default;
38 AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetBackupPlanId() const { return m_backupPlanId; }
46 inline bool BackupPlanIdHasBeenSet() const { return m_backupPlanIdHasBeenSet; }
47 template<typename BackupPlanIdT = Aws::String>
48 void SetBackupPlanId(BackupPlanIdT&& value) { m_backupPlanIdHasBeenSet = true; m_backupPlanId = std::forward<BackupPlanIdT>(value); }
49 template<typename BackupPlanIdT = Aws::String>
50 RecoveryPointCreator& WithBackupPlanId(BackupPlanIdT&& value) { SetBackupPlanId(std::forward<BackupPlanIdT>(value)); return *this;}
52
54
59 inline const Aws::String& GetBackupPlanArn() const { return m_backupPlanArn; }
60 inline bool BackupPlanArnHasBeenSet() const { return m_backupPlanArnHasBeenSet; }
61 template<typename BackupPlanArnT = Aws::String>
62 void SetBackupPlanArn(BackupPlanArnT&& value) { m_backupPlanArnHasBeenSet = true; m_backupPlanArn = std::forward<BackupPlanArnT>(value); }
63 template<typename BackupPlanArnT = Aws::String>
64 RecoveryPointCreator& WithBackupPlanArn(BackupPlanArnT&& value) { SetBackupPlanArn(std::forward<BackupPlanArnT>(value)); return *this;}
66
68
72 inline const Aws::String& GetBackupPlanVersion() const { return m_backupPlanVersion; }
73 inline bool BackupPlanVersionHasBeenSet() const { return m_backupPlanVersionHasBeenSet; }
74 template<typename BackupPlanVersionT = Aws::String>
75 void SetBackupPlanVersion(BackupPlanVersionT&& value) { m_backupPlanVersionHasBeenSet = true; m_backupPlanVersion = std::forward<BackupPlanVersionT>(value); }
76 template<typename BackupPlanVersionT = Aws::String>
77 RecoveryPointCreator& WithBackupPlanVersion(BackupPlanVersionT&& value) { SetBackupPlanVersion(std::forward<BackupPlanVersionT>(value)); return *this;}
79
81
85 inline const Aws::String& GetBackupRuleId() const { return m_backupRuleId; }
86 inline bool BackupRuleIdHasBeenSet() const { return m_backupRuleIdHasBeenSet; }
87 template<typename BackupRuleIdT = Aws::String>
88 void SetBackupRuleId(BackupRuleIdT&& value) { m_backupRuleIdHasBeenSet = true; m_backupRuleId = std::forward<BackupRuleIdT>(value); }
89 template<typename BackupRuleIdT = Aws::String>
90 RecoveryPointCreator& WithBackupRuleId(BackupRuleIdT&& value) { SetBackupRuleId(std::forward<BackupRuleIdT>(value)); return *this;}
92 private:
93
94 Aws::String m_backupPlanId;
95 bool m_backupPlanIdHasBeenSet = false;
96
97 Aws::String m_backupPlanArn;
98 bool m_backupPlanArnHasBeenSet = false;
99
100 Aws::String m_backupPlanVersion;
101 bool m_backupPlanVersionHasBeenSet = false;
102
103 Aws::String m_backupRuleId;
104 bool m_backupRuleIdHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace Backup
109} // namespace Aws
RecoveryPointCreator & WithBackupPlanId(BackupPlanIdT &&value)
AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const
void SetBackupPlanArn(BackupPlanArnT &&value)
void SetBackupPlanVersion(BackupPlanVersionT &&value)
RecoveryPointCreator & WithBackupPlanArn(BackupPlanArnT &&value)
const Aws::String & GetBackupPlanVersion() const
AWS_BACKUP_API RecoveryPointCreator()=default
RecoveryPointCreator & WithBackupRuleId(BackupRuleIdT &&value)
AWS_BACKUP_API RecoveryPointCreator(Aws::Utils::Json::JsonView jsonValue)
AWS_BACKUP_API RecoveryPointCreator & operator=(Aws::Utils::Json::JsonView jsonValue)
RecoveryPointCreator & WithBackupPlanVersion(BackupPlanVersionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue