AWS SDK for C++  1.9.158
AWS SDK for C++
CreateBackupPlanResult.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 CreateBackupPlanResult& WithBackupPlanId(const Aws::String& value) { SetBackupPlanId(value); return *this;}
62 
66  inline CreateBackupPlanResult& WithBackupPlanId(Aws::String&& value) { SetBackupPlanId(std::move(value)); return *this;}
67 
71  inline CreateBackupPlanResult& 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 CreateBackupPlanResult& WithBackupPlanArn(const Aws::String& value) { SetBackupPlanArn(value); return *this;}
108 
114  inline CreateBackupPlanResult& WithBackupPlanArn(Aws::String&& value) { SetBackupPlanArn(std::move(value)); return *this;}
115 
121  inline CreateBackupPlanResult& 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 CreateBackupPlanResult& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
155 
162  inline CreateBackupPlanResult& 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 CreateBackupPlanResult& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;}
194 
199  inline CreateBackupPlanResult& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;}
200 
205  inline CreateBackupPlanResult& WithVersionId(const char* value) { SetVersionId(value); return *this;}
206 
207 
213  inline const Aws::Vector<AdvancedBackupSetting>& GetAdvancedBackupSettings() const{ return m_advancedBackupSettings; }
214 
220  inline void SetAdvancedBackupSettings(const Aws::Vector<AdvancedBackupSetting>& value) { m_advancedBackupSettings = value; }
221 
227  inline void SetAdvancedBackupSettings(Aws::Vector<AdvancedBackupSetting>&& value) { m_advancedBackupSettings = std::move(value); }
228 
234  inline CreateBackupPlanResult& WithAdvancedBackupSettings(const Aws::Vector<AdvancedBackupSetting>& value) { SetAdvancedBackupSettings(value); return *this;}
235 
241  inline CreateBackupPlanResult& WithAdvancedBackupSettings(Aws::Vector<AdvancedBackupSetting>&& value) { SetAdvancedBackupSettings(std::move(value)); return *this;}
242 
248  inline CreateBackupPlanResult& AddAdvancedBackupSettings(const AdvancedBackupSetting& value) { m_advancedBackupSettings.push_back(value); return *this; }
249 
255  inline CreateBackupPlanResult& AddAdvancedBackupSettings(AdvancedBackupSetting&& value) { m_advancedBackupSettings.push_back(std::move(value)); return *this; }
256 
257  private:
258 
259  Aws::String m_backupPlanId;
260 
261  Aws::String m_backupPlanArn;
262 
263  Aws::Utils::DateTime m_creationDate;
264 
265  Aws::String m_versionId;
266 
267  Aws::Vector<AdvancedBackupSetting> m_advancedBackupSettings;
268  };
269 
270 } // namespace Model
271 } // namespace Backup
272 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Backup::Model::CreateBackupPlanResult::SetBackupPlanId
void SetBackupPlanId(Aws::String &&value)
Definition: CreateBackupPlanResult.h:51
Aws::Backup::Model::CreateBackupPlanResult::WithBackupPlanArn
CreateBackupPlanResult & WithBackupPlanArn(Aws::String &&value)
Definition: CreateBackupPlanResult.h:114
Aws::Backup::Model::CreateBackupPlanResult::GetVersionId
const Aws::String & GetVersionId() const
Definition: CreateBackupPlanResult.h:169
Aws::Backup::Model::CreateBackupPlanResult::SetBackupPlanId
void SetBackupPlanId(const char *value)
Definition: CreateBackupPlanResult.h:56
Aws::Backup::Model::CreateBackupPlanResult::WithCreationDate
CreateBackupPlanResult & WithCreationDate(Aws::Utils::DateTime &&value)
Definition: CreateBackupPlanResult.h:162
AWS_BACKUP_API
#define AWS_BACKUP_API
Definition: Backup_EXPORTS.h:28
DateTime.h
Aws::Backup::Model::CreateBackupPlanResult::AddAdvancedBackupSettings
CreateBackupPlanResult & AddAdvancedBackupSettings(const AdvancedBackupSetting &value)
Definition: CreateBackupPlanResult.h:248
Aws::Backup::Model::CreateBackupPlanResult::SetCreationDate
void SetCreationDate(const Aws::Utils::DateTime &value)
Definition: CreateBackupPlanResult.h:138
Aws::Backup::Model::CreateBackupPlanResult::WithBackupPlanArn
CreateBackupPlanResult & WithBackupPlanArn(const Aws::String &value)
Definition: CreateBackupPlanResult.h:107
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Backup::Model::CreateBackupPlanResult::SetBackupPlanId
void SetBackupPlanId(const Aws::String &value)
Definition: CreateBackupPlanResult.h:46
AWSVector.h
Aws::Backup::Model::CreateBackupPlanResult::AddAdvancedBackupSettings
CreateBackupPlanResult & AddAdvancedBackupSettings(AdvancedBackupSetting &&value)
Definition: CreateBackupPlanResult.h:255
Aws::Backup::Model::CreateBackupPlanResult::WithBackupPlanArn
CreateBackupPlanResult & WithBackupPlanArn(const char *value)
Definition: CreateBackupPlanResult.h:121
Aws::Backup::Model::CreateBackupPlanResult::GetCreationDate
const Aws::Utils::DateTime & GetCreationDate() const
Definition: CreateBackupPlanResult.h:130
Aws::Backup::Model::CreateBackupPlanResult::WithBackupPlanId
CreateBackupPlanResult & WithBackupPlanId(Aws::String &&value)
Definition: CreateBackupPlanResult.h:66
Aws::Backup::Model::CreateBackupPlanResult::WithAdvancedBackupSettings
CreateBackupPlanResult & WithAdvancedBackupSettings(Aws::Vector< AdvancedBackupSetting > &&value)
Definition: CreateBackupPlanResult.h:241
Aws::Backup::Model::CreateBackupPlanResult::CreateBackupPlanResult
CreateBackupPlanResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Backup::Model::CreateBackupPlanResult::SetAdvancedBackupSettings
void SetAdvancedBackupSettings(Aws::Vector< AdvancedBackupSetting > &&value)
Definition: CreateBackupPlanResult.h:227
AdvancedBackupSetting.h
Aws::Backup::Model::CreateBackupPlanResult::WithBackupPlanId
CreateBackupPlanResult & WithBackupPlanId(const char *value)
Definition: CreateBackupPlanResult.h:71
Aws::Backup::Model::CreateBackupPlanResult::WithAdvancedBackupSettings
CreateBackupPlanResult & WithAdvancedBackupSettings(const Aws::Vector< AdvancedBackupSetting > &value)
Definition: CreateBackupPlanResult.h:234
Aws::Backup::Model::CreateBackupPlanResult::SetBackupPlanArn
void SetBackupPlanArn(Aws::String &&value)
Definition: CreateBackupPlanResult.h:93
Aws::Backup::Model::CreateBackupPlanResult::SetBackupPlanArn
void SetBackupPlanArn(const char *value)
Definition: CreateBackupPlanResult.h:100
Aws::Backup::Model::CreateBackupPlanResult::WithVersionId
CreateBackupPlanResult & WithVersionId(const char *value)
Definition: CreateBackupPlanResult.h:205
Aws::Backup::Model::CreateBackupPlanResult
Definition: CreateBackupPlanResult.h:31
Aws::Backup::Model::CreateBackupPlanResult::WithVersionId
CreateBackupPlanResult & WithVersionId(const Aws::String &value)
Definition: CreateBackupPlanResult.h:193
AWSString.h
Aws::Backup::Model::CreateBackupPlanResult::GetAdvancedBackupSettings
const Aws::Vector< AdvancedBackupSetting > & GetAdvancedBackupSettings() const
Definition: CreateBackupPlanResult.h:213
Aws::Backup::Model::CreateBackupPlanResult::CreateBackupPlanResult
CreateBackupPlanResult()
Aws::Backup::Model::CreateBackupPlanResult::WithCreationDate
CreateBackupPlanResult & WithCreationDate(const Aws::Utils::DateTime &value)
Definition: CreateBackupPlanResult.h:154
Aws::Backup::Model::CreateBackupPlanResult::WithVersionId
CreateBackupPlanResult & WithVersionId(Aws::String &&value)
Definition: CreateBackupPlanResult.h:199
Backup_EXPORTS.h
Aws::Backup::Model::CreateBackupPlanResult::SetCreationDate
void SetCreationDate(Aws::Utils::DateTime &&value)
Definition: CreateBackupPlanResult.h:146
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::Backup::Model::CreateBackupPlanResult::WithBackupPlanId
CreateBackupPlanResult & WithBackupPlanId(const Aws::String &value)
Definition: CreateBackupPlanResult.h:61
Aws
Definition: AccessManagementClient.h:15
Aws::Backup::Model::CreateBackupPlanResult::GetBackupPlanArn
const Aws::String & GetBackupPlanArn() const
Definition: CreateBackupPlanResult.h:79
Aws::Backup::Model::CreateBackupPlanResult::GetBackupPlanId
const Aws::String & GetBackupPlanId() const
Definition: CreateBackupPlanResult.h:41
Aws::Backup::Model::CreateBackupPlanResult::SetVersionId
void SetVersionId(Aws::String &&value)
Definition: CreateBackupPlanResult.h:181
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::CreateBackupPlanResult::SetVersionId
void SetVersionId(const Aws::String &value)
Definition: CreateBackupPlanResult.h:175
Aws::Backup::Model::CreateBackupPlanResult::SetAdvancedBackupSettings
void SetAdvancedBackupSettings(const Aws::Vector< AdvancedBackupSetting > &value)
Definition: CreateBackupPlanResult.h:220
Aws::Backup::Model::CreateBackupPlanResult::SetVersionId
void SetVersionId(const char *value)
Definition: CreateBackupPlanResult.h:187
Aws::Backup::Model::CreateBackupPlanResult::SetBackupPlanArn
void SetBackupPlanArn(const Aws::String &value)
Definition: CreateBackupPlanResult.h:86
Aws::Backup::Model::CreateBackupPlanResult::operator=
CreateBackupPlanResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)