AWS SDK for C++  1.9.40
AWS SDK for C++
GetBackupPlanFromTemplateResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace Backup
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
39  inline const BackupPlan& GetBackupPlanDocument() const{ return m_backupPlanDocument; }
40 
45  inline void SetBackupPlanDocument(const BackupPlan& value) { m_backupPlanDocument = value; }
46 
51  inline void SetBackupPlanDocument(BackupPlan&& value) { m_backupPlanDocument = std::move(value); }
52 
57  inline GetBackupPlanFromTemplateResult& WithBackupPlanDocument(const BackupPlan& value) { SetBackupPlanDocument(value); return *this;}
58 
63  inline GetBackupPlanFromTemplateResult& WithBackupPlanDocument(BackupPlan&& value) { SetBackupPlanDocument(std::move(value)); return *this;}
64 
65  private:
66 
67  BackupPlan m_backupPlanDocument;
68  };
69 
70 } // namespace Model
71 } // namespace Backup
72 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AWS_BACKUP_API
#define AWS_BACKUP_API
Definition: Backup_EXPORTS.h:28
BackupPlan.h
Aws::Backup::Model::GetBackupPlanFromTemplateResult
Definition: GetBackupPlanFromTemplateResult.h:28
Aws::Backup::Model::GetBackupPlanFromTemplateResult::WithBackupPlanDocument
GetBackupPlanFromTemplateResult & WithBackupPlanDocument(const BackupPlan &value)
Definition: GetBackupPlanFromTemplateResult.h:57
Aws::Backup::Model::GetBackupPlanFromTemplateResult::GetBackupPlanFromTemplateResult
GetBackupPlanFromTemplateResult()
Aws::Backup::Model::GetBackupPlanFromTemplateResult::SetBackupPlanDocument
void SetBackupPlanDocument(const BackupPlan &value)
Definition: GetBackupPlanFromTemplateResult.h:45
Aws::Backup::Model::GetBackupPlanFromTemplateResult::operator=
GetBackupPlanFromTemplateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Backup_EXPORTS.h
Aws::Backup::Model::GetBackupPlanFromTemplateResult::GetBackupPlanDocument
const BackupPlan & GetBackupPlanDocument() const
Definition: GetBackupPlanFromTemplateResult.h:39
Aws::Backup::Model::GetBackupPlanFromTemplateResult::SetBackupPlanDocument
void SetBackupPlanDocument(BackupPlan &&value)
Definition: GetBackupPlanFromTemplateResult.h:51
Aws
Definition: AccessManagementClient.h:15
Aws::Backup::Model::GetBackupPlanFromTemplateResult::GetBackupPlanFromTemplateResult
GetBackupPlanFromTemplateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Backup::Model::BackupPlan
Definition: BackupPlan.h:38
Aws::Backup::Model::GetBackupPlanFromTemplateResult::WithBackupPlanDocument
GetBackupPlanFromTemplateResult & WithBackupPlanDocument(BackupPlan &&value)
Definition: GetBackupPlanFromTemplateResult.h:63