/** * 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 GetBackupPlanFromJSONResult { public: GetBackupPlanFromJSONResult(); GetBackupPlanFromJSONResult(const Aws::AmazonWebServiceResult& result); GetBackupPlanFromJSONResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Specifies the body of a backup plan. Includes a BackupPlanName * and one or more sets of Rules.

*/ inline const BackupPlan& GetBackupPlan() const{ return m_backupPlan; } /** *

Specifies the body of a backup plan. Includes a BackupPlanName * and one or more sets of Rules.

*/ inline void SetBackupPlan(const BackupPlan& value) { m_backupPlan = value; } /** *

Specifies the body of a backup plan. Includes a BackupPlanName * and one or more sets of Rules.

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

Specifies the body of a backup plan. Includes a BackupPlanName * and one or more sets of Rules.

*/ inline GetBackupPlanFromJSONResult& WithBackupPlan(const BackupPlan& value) { SetBackupPlan(value); return *this;} /** *

Specifies the body of a backup plan. Includes a BackupPlanName * and one or more sets of Rules.

*/ inline GetBackupPlanFromJSONResult& WithBackupPlan(BackupPlan&& value) { SetBackupPlan(std::move(value)); return *this;} private: BackupPlan m_backupPlan; }; } // namespace Model } // namespace Backup } // namespace Aws