AWS SDK for C++

AWS SDK for C++ Version 1.11.756

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Backup {
20namespace Model {
21
29 public:
30 AWS_BACKUP_API RecoveryPointCreator() = default;
33 AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetBackupPlanId() const { return m_backupPlanId; }
40 inline bool BackupPlanIdHasBeenSet() const { return m_backupPlanIdHasBeenSet; }
41 template <typename BackupPlanIdT = Aws::String>
42 void SetBackupPlanId(BackupPlanIdT&& value) {
43 m_backupPlanIdHasBeenSet = true;
44 m_backupPlanId = std::forward<BackupPlanIdT>(value);
45 }
46 template <typename BackupPlanIdT = Aws::String>
47 RecoveryPointCreator& WithBackupPlanId(BackupPlanIdT&& value) {
48 SetBackupPlanId(std::forward<BackupPlanIdT>(value));
49 return *this;
50 }
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) {
63 m_backupPlanArnHasBeenSet = true;
64 m_backupPlanArn = std::forward<BackupPlanArnT>(value);
65 }
66 template <typename BackupPlanArnT = Aws::String>
67 RecoveryPointCreator& WithBackupPlanArn(BackupPlanArnT&& value) {
68 SetBackupPlanArn(std::forward<BackupPlanArnT>(value));
69 return *this;
70 }
72
74
79 inline const Aws::String& GetBackupPlanName() const { return m_backupPlanName; }
80 inline bool BackupPlanNameHasBeenSet() const { return m_backupPlanNameHasBeenSet; }
81 template <typename BackupPlanNameT = Aws::String>
82 void SetBackupPlanName(BackupPlanNameT&& value) {
83 m_backupPlanNameHasBeenSet = true;
84 m_backupPlanName = std::forward<BackupPlanNameT>(value);
85 }
86 template <typename BackupPlanNameT = Aws::String>
87 RecoveryPointCreator& WithBackupPlanName(BackupPlanNameT&& value) {
88 SetBackupPlanName(std::forward<BackupPlanNameT>(value));
89 return *this;
90 }
92
94
98 inline const Aws::String& GetBackupPlanVersion() const { return m_backupPlanVersion; }
99 inline bool BackupPlanVersionHasBeenSet() const { return m_backupPlanVersionHasBeenSet; }
100 template <typename BackupPlanVersionT = Aws::String>
101 void SetBackupPlanVersion(BackupPlanVersionT&& value) {
102 m_backupPlanVersionHasBeenSet = true;
103 m_backupPlanVersion = std::forward<BackupPlanVersionT>(value);
104 }
105 template <typename BackupPlanVersionT = Aws::String>
106 RecoveryPointCreator& WithBackupPlanVersion(BackupPlanVersionT&& value) {
107 SetBackupPlanVersion(std::forward<BackupPlanVersionT>(value));
108 return *this;
109 }
111
113
117 inline const Aws::String& GetBackupRuleId() const { return m_backupRuleId; }
118 inline bool BackupRuleIdHasBeenSet() const { return m_backupRuleIdHasBeenSet; }
119 template <typename BackupRuleIdT = Aws::String>
120 void SetBackupRuleId(BackupRuleIdT&& value) {
121 m_backupRuleIdHasBeenSet = true;
122 m_backupRuleId = std::forward<BackupRuleIdT>(value);
123 }
124 template <typename BackupRuleIdT = Aws::String>
125 RecoveryPointCreator& WithBackupRuleId(BackupRuleIdT&& value) {
126 SetBackupRuleId(std::forward<BackupRuleIdT>(value));
127 return *this;
128 }
130
132
136 inline const Aws::String& GetBackupRuleName() const { return m_backupRuleName; }
137 inline bool BackupRuleNameHasBeenSet() const { return m_backupRuleNameHasBeenSet; }
138 template <typename BackupRuleNameT = Aws::String>
139 void SetBackupRuleName(BackupRuleNameT&& value) {
140 m_backupRuleNameHasBeenSet = true;
141 m_backupRuleName = std::forward<BackupRuleNameT>(value);
142 }
143 template <typename BackupRuleNameT = Aws::String>
144 RecoveryPointCreator& WithBackupRuleName(BackupRuleNameT&& value) {
145 SetBackupRuleName(std::forward<BackupRuleNameT>(value));
146 return *this;
147 }
149
151
155 inline const Aws::String& GetBackupRuleCron() const { return m_backupRuleCron; }
156 inline bool BackupRuleCronHasBeenSet() const { return m_backupRuleCronHasBeenSet; }
157 template <typename BackupRuleCronT = Aws::String>
158 void SetBackupRuleCron(BackupRuleCronT&& value) {
159 m_backupRuleCronHasBeenSet = true;
160 m_backupRuleCron = std::forward<BackupRuleCronT>(value);
161 }
162 template <typename BackupRuleCronT = Aws::String>
163 RecoveryPointCreator& WithBackupRuleCron(BackupRuleCronT&& value) {
164 SetBackupRuleCron(std::forward<BackupRuleCronT>(value));
165 return *this;
166 }
168
170
174 inline const Aws::String& GetBackupRuleTimezone() const { return m_backupRuleTimezone; }
175 inline bool BackupRuleTimezoneHasBeenSet() const { return m_backupRuleTimezoneHasBeenSet; }
176 template <typename BackupRuleTimezoneT = Aws::String>
177 void SetBackupRuleTimezone(BackupRuleTimezoneT&& value) {
178 m_backupRuleTimezoneHasBeenSet = true;
179 m_backupRuleTimezone = std::forward<BackupRuleTimezoneT>(value);
180 }
181 template <typename BackupRuleTimezoneT = Aws::String>
182 RecoveryPointCreator& WithBackupRuleTimezone(BackupRuleTimezoneT&& value) {
183 SetBackupRuleTimezone(std::forward<BackupRuleTimezoneT>(value));
184 return *this;
185 }
187 private:
188 Aws::String m_backupPlanId;
189
190 Aws::String m_backupPlanArn;
191
192 Aws::String m_backupPlanName;
193
194 Aws::String m_backupPlanVersion;
195
196 Aws::String m_backupRuleId;
197
198 Aws::String m_backupRuleName;
199
200 Aws::String m_backupRuleCron;
201
202 Aws::String m_backupRuleTimezone;
203 bool m_backupPlanIdHasBeenSet = false;
204 bool m_backupPlanArnHasBeenSet = false;
205 bool m_backupPlanNameHasBeenSet = false;
206 bool m_backupPlanVersionHasBeenSet = false;
207 bool m_backupRuleIdHasBeenSet = false;
208 bool m_backupRuleNameHasBeenSet = false;
209 bool m_backupRuleCronHasBeenSet = false;
210 bool m_backupRuleTimezoneHasBeenSet = false;
211};
212
213} // namespace Model
214} // namespace Backup
215} // namespace Aws
const Aws::String & GetBackupPlanName() const
RecoveryPointCreator & WithBackupPlanId(BackupPlanIdT &&value)
void SetBackupRuleName(BackupRuleNameT &&value)
RecoveryPointCreator & WithBackupRuleTimezone(BackupRuleTimezoneT &&value)
AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const
RecoveryPointCreator & WithBackupRuleCron(BackupRuleCronT &&value)
void SetBackupPlanArn(BackupPlanArnT &&value)
void SetBackupRuleCron(BackupRuleCronT &&value)
RecoveryPointCreator & WithBackupPlanName(BackupPlanNameT &&value)
void SetBackupPlanVersion(BackupPlanVersionT &&value)
RecoveryPointCreator & WithBackupRuleName(BackupRuleNameT &&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)
const Aws::String & GetBackupRuleTimezone() const
void SetBackupRuleTimezone(BackupRuleTimezoneT &&value)
void SetBackupPlanName(BackupPlanNameT &&value)
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