AWS SDK for C++  1.9.154
AWS SDK for C++
UpdateBackupPlanResult.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Json
22 {
23  class JsonValue;
24 } // namespace Json
25 } // namespace Utils
26 namespace Backup
27 {
28 namespace Model
29 {
31  {
32  public:
36 
37 
41  inline const Aws::String& GetBackupPlanId() const{ return m_backupPlanId; }
42 
46  inline void SetBackupPlanId(const Aws::String& value) { m_backupPlanId = value; }
47 
51  inline void SetBackupPlanId(Aws::String&& value) { m_backupPlanId = std::move(value); }
52 
56  inline void SetBackupPlanId(const char* value) { m_backupPlanId.assign(value); }
57 
61  inline UpdateBackupPlanResult& WithBackupPlanId(const Aws::String& value) { SetBackupPlanId(value); return *this;}
62 
66  inline UpdateBackupPlanResult& WithBackupPlanId(Aws::String&& value) { SetBackupPlanId(std::move(value)); return *this;}
67 
71  inline UpdateBackupPlanResult& WithBackupPlanId(const char* value) { SetBackupPlanId(value); return *this;}
72 
73 
79  inline const Aws::String& GetBackupPlanArn() const{ return m_backupPlanArn; }
80 
86  inline void SetBackupPlanArn(const Aws::String& value) { m_backupPlanArn = value; }
87 
93  inline void SetBackupPlanArn(Aws::String&& value) { m_backupPlanArn = std::move(value); }
94 
100  inline void SetBackupPlanArn(const char* value) { m_backupPlanArn.assign(value); }
101 
107  inline UpdateBackupPlanResult& WithBackupPlanArn(const Aws::String& value) { SetBackupPlanArn(value); return *this;}
108 
114  inline UpdateBackupPlanResult& WithBackupPlanArn(Aws::String&& value) { SetBackupPlanArn(std::move(value)); return *this;}
115 
121  inline UpdateBackupPlanResult& WithBackupPlanArn(const char* value) { SetBackupPlanArn(value); return *this;}
122 
123 
130  inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
131 
138  inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDate = value; }
139 
146  inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDate = std::move(value); }
147 
154  inline UpdateBackupPlanResult& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
155 
162  inline UpdateBackupPlanResult& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
163 
164 
169  inline const Aws::String& GetVersionId() const{ return m_versionId; }
170 
175  inline void SetVersionId(const Aws::String& value) { m_versionId = value; }
176 
181  inline void SetVersionId(Aws::String&& value) { m_versionId = std::move(value); }
182 
187  inline void SetVersionId(const char* value) { m_versionId.assign(value); }
188 
193  inline UpdateBackupPlanResult& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;}
194 
199  inline UpdateBackupPlanResult& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;}
200 
205  inline UpdateBackupPlanResult& WithVersionId(const char* value) { SetVersionId(value); return *this;}
206 
207 
211  inline const Aws::Vector<AdvancedBackupSetting>& GetAdvancedBackupSettings() const{ return m_advancedBackupSettings; }
212 
216  inline void SetAdvancedBackupSettings(const Aws::Vector<AdvancedBackupSetting>& value) { m_advancedBackupSettings = value; }
217 
221  inline void SetAdvancedBackupSettings(Aws::Vector<AdvancedBackupSetting>&& value) { m_advancedBackupSettings = std::move(value); }
222 
226  inline UpdateBackupPlanResult& WithAdvancedBackupSettings(const Aws::Vector<AdvancedBackupSetting>& value) { SetAdvancedBackupSettings(value); return *this;}
227 
231  inline UpdateBackupPlanResult& WithAdvancedBackupSettings(Aws::Vector<AdvancedBackupSetting>&& value) { SetAdvancedBackupSettings(std::move(value)); return *this;}
232 
236  inline UpdateBackupPlanResult& AddAdvancedBackupSettings(const AdvancedBackupSetting& value) { m_advancedBackupSettings.push_back(value); return *this; }
237 
241  inline UpdateBackupPlanResult& AddAdvancedBackupSettings(AdvancedBackupSetting&& value) { m_advancedBackupSettings.push_back(std::move(value)); return *this; }
242 
243  private:
244 
245  Aws::String m_backupPlanId;
246 
247  Aws::String m_backupPlanArn;
248 
249  Aws::Utils::DateTime m_creationDate;
250 
251  Aws::String m_versionId;
252 
253  Aws::Vector<AdvancedBackupSetting> m_advancedBackupSettings;
254  };
255 
256 } // namespace Model
257 } // namespace Backup
258 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::Backup::Model::UpdateBackupPlanResult::AddAdvancedBackupSettings
UpdateBackupPlanResult & AddAdvancedBackupSettings(const AdvancedBackupSetting &value)
Definition: UpdateBackupPlanResult.h:236
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Backup::Model::UpdateBackupPlanResult::GetBackupPlanArn
const Aws::String & GetBackupPlanArn() const
Definition: UpdateBackupPlanResult.h:79
Aws::Backup::Model::UpdateBackupPlanResult::GetCreationDate
const Aws::Utils::DateTime & GetCreationDate() const
Definition: UpdateBackupPlanResult.h:130
Aws::Backup::Model::UpdateBackupPlanResult::SetCreationDate
void SetCreationDate(const Aws::Utils::DateTime &value)
Definition: UpdateBackupPlanResult.h:138
Aws::Backup::Model::UpdateBackupPlanResult::WithCreationDate
UpdateBackupPlanResult & WithCreationDate(Aws::Utils::DateTime &&value)
Definition: UpdateBackupPlanResult.h:162
Aws::Backup::Model::UpdateBackupPlanResult::SetBackupPlanArn
void SetBackupPlanArn(const char *value)
Definition: UpdateBackupPlanResult.h:100
Aws::Backup::Model::UpdateBackupPlanResult::GetAdvancedBackupSettings
const Aws::Vector< AdvancedBackupSetting > & GetAdvancedBackupSettings() const
Definition: UpdateBackupPlanResult.h:211
Aws::Backup::Model::UpdateBackupPlanResult::WithAdvancedBackupSettings
UpdateBackupPlanResult & WithAdvancedBackupSettings(const Aws::Vector< AdvancedBackupSetting > &value)
Definition: UpdateBackupPlanResult.h:226
AWS_BACKUP_API
#define AWS_BACKUP_API
Definition: Backup_EXPORTS.h:28
DateTime.h
Aws::Backup::Model::UpdateBackupPlanResult::SetBackupPlanId
void SetBackupPlanId(const Aws::String &value)
Definition: UpdateBackupPlanResult.h:46
Aws::Backup::Model::UpdateBackupPlanResult::WithBackupPlanArn
UpdateBackupPlanResult & WithBackupPlanArn(const char *value)
Definition: UpdateBackupPlanResult.h:121
Aws::Backup::Model::UpdateBackupPlanResult::UpdateBackupPlanResult
UpdateBackupPlanResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Backup::Model::UpdateBackupPlanResult::SetBackupPlanArn
void SetBackupPlanArn(const Aws::String &value)
Definition: UpdateBackupPlanResult.h:86
Aws::Backup::Model::UpdateBackupPlanResult::WithCreationDate
UpdateBackupPlanResult & WithCreationDate(const Aws::Utils::DateTime &value)
Definition: UpdateBackupPlanResult.h:154
AWSVector.h
Aws::Backup::Model::UpdateBackupPlanResult::UpdateBackupPlanResult
UpdateBackupPlanResult()
Aws::Backup::Model::UpdateBackupPlanResult::WithVersionId
UpdateBackupPlanResult & WithVersionId(const char *value)
Definition: UpdateBackupPlanResult.h:205
Aws::Backup::Model::UpdateBackupPlanResult::SetVersionId
void SetVersionId(Aws::String &&value)
Definition: UpdateBackupPlanResult.h:181
Aws::Backup::Model::UpdateBackupPlanResult::WithBackupPlanId
UpdateBackupPlanResult & WithBackupPlanId(Aws::String &&value)
Definition: UpdateBackupPlanResult.h:66
Aws::Backup::Model::UpdateBackupPlanResult::SetBackupPlanArn
void SetBackupPlanArn(Aws::String &&value)
Definition: UpdateBackupPlanResult.h:93
AdvancedBackupSetting.h
Aws::Backup::Model::UpdateBackupPlanResult::WithVersionId
UpdateBackupPlanResult & WithVersionId(const Aws::String &value)
Definition: UpdateBackupPlanResult.h:193
Aws::Backup::Model::UpdateBackupPlanResult::WithVersionId
UpdateBackupPlanResult & WithVersionId(Aws::String &&value)
Definition: UpdateBackupPlanResult.h:199
Aws::Backup::Model::UpdateBackupPlanResult::SetBackupPlanId
void SetBackupPlanId(const char *value)
Definition: UpdateBackupPlanResult.h:56
Aws::Backup::Model::UpdateBackupPlanResult::WithAdvancedBackupSettings
UpdateBackupPlanResult & WithAdvancedBackupSettings(Aws::Vector< AdvancedBackupSetting > &&value)
Definition: UpdateBackupPlanResult.h:231
AWSString.h
Aws::Backup::Model::UpdateBackupPlanResult::GetVersionId
const Aws::String & GetVersionId() const
Definition: UpdateBackupPlanResult.h:169
Aws::Backup::Model::UpdateBackupPlanResult::SetAdvancedBackupSettings
void SetAdvancedBackupSettings(const Aws::Vector< AdvancedBackupSetting > &value)
Definition: UpdateBackupPlanResult.h:216
Aws::Backup::Model::UpdateBackupPlanResult::WithBackupPlanId
UpdateBackupPlanResult & WithBackupPlanId(const char *value)
Definition: UpdateBackupPlanResult.h:71
Aws::Backup::Model::UpdateBackupPlanResult
Definition: UpdateBackupPlanResult.h:31
Aws::Backup::Model::UpdateBackupPlanResult::GetBackupPlanId
const Aws::String & GetBackupPlanId() const
Definition: UpdateBackupPlanResult.h:41
Aws::Backup::Model::UpdateBackupPlanResult::SetVersionId
void SetVersionId(const Aws::String &value)
Definition: UpdateBackupPlanResult.h:175
Aws::Backup::Model::UpdateBackupPlanResult::WithBackupPlanArn
UpdateBackupPlanResult & WithBackupPlanArn(const Aws::String &value)
Definition: UpdateBackupPlanResult.h:107
Aws::Backup::Model::UpdateBackupPlanResult::operator=
UpdateBackupPlanResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Backup::Model::UpdateBackupPlanResult::SetCreationDate
void SetCreationDate(Aws::Utils::DateTime &&value)
Definition: UpdateBackupPlanResult.h:146
Backup_EXPORTS.h
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Backup::Model::UpdateBackupPlanResult::AddAdvancedBackupSettings
UpdateBackupPlanResult & AddAdvancedBackupSettings(AdvancedBackupSetting &&value)
Definition: UpdateBackupPlanResult.h:241
Aws::Backup::Model::UpdateBackupPlanResult::WithBackupPlanId
UpdateBackupPlanResult & WithBackupPlanId(const Aws::String &value)
Definition: UpdateBackupPlanResult.h:61
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Backup::Model::AdvancedBackupSetting
Definition: AdvancedBackupSetting.h:34
Aws::Backup::Model::UpdateBackupPlanResult::SetAdvancedBackupSettings
void SetAdvancedBackupSettings(Aws::Vector< AdvancedBackupSetting > &&value)
Definition: UpdateBackupPlanResult.h:221
Aws::Backup::Model::UpdateBackupPlanResult::SetBackupPlanId
void SetBackupPlanId(Aws::String &&value)
Definition: UpdateBackupPlanResult.h:51
Aws::Backup::Model::UpdateBackupPlanResult::WithBackupPlanArn
UpdateBackupPlanResult & WithBackupPlanArn(Aws::String &&value)
Definition: UpdateBackupPlanResult.h:114
Aws::Backup::Model::UpdateBackupPlanResult::SetVersionId
void SetVersionId(const char *value)
Definition: UpdateBackupPlanResult.h:187