/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Backup { namespace Model { class AWS_BACKUP_API GetBackupPlanFromTemplateResult { public: GetBackupPlanFromTemplateResult(); GetBackupPlanFromTemplateResult(const Aws::AmazonWebServiceResult& result); GetBackupPlanFromTemplateResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Returns the body of a backup plan based on the target template, including the * name, rules, and backup vault of the plan.

*/ inline const BackupPlan& GetBackupPlanDocument() const{ return m_backupPlanDocument; } /** *

Returns the body of a backup plan based on the target template, including the * name, rules, and backup vault of the plan.

*/ inline void SetBackupPlanDocument(const BackupPlan& value) { m_backupPlanDocument = value; } /** *

Returns the body of a backup plan based on the target template, including the * name, rules, and backup vault of the plan.

*/ inline void SetBackupPlanDocument(BackupPlan&& value) { m_backupPlanDocument = std::move(value); } /** *

Returns the body of a backup plan based on the target template, including the * name, rules, and backup vault of the plan.

*/ inline GetBackupPlanFromTemplateResult& WithBackupPlanDocument(const BackupPlan& value) { SetBackupPlanDocument(value); return *this;} /** *

Returns the body of a backup plan based on the target template, including the * name, rules, and backup vault of the plan.

*/ inline GetBackupPlanFromTemplateResult& WithBackupPlanDocument(BackupPlan&& value) { SetBackupPlanDocument(std::move(value)); return *this;} private: BackupPlan m_backupPlanDocument; }; } // namespace Model } // namespace Backup } // namespace Aws