/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Backup { namespace Model { /** */ class GetBackupPlanFromTemplateRequest : public BackupRequest { public: AWS_BACKUP_API GetBackupPlanFromTemplateRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetBackupPlanFromTemplate"; } AWS_BACKUP_API Aws::String SerializePayload() const override; /** *

Uniquely identifies a stored backup plan template.

*/ inline const Aws::String& GetBackupPlanTemplateId() const{ return m_backupPlanTemplateId; } /** *

Uniquely identifies a stored backup plan template.

*/ inline bool BackupPlanTemplateIdHasBeenSet() const { return m_backupPlanTemplateIdHasBeenSet; } /** *

Uniquely identifies a stored backup plan template.

*/ inline void SetBackupPlanTemplateId(const Aws::String& value) { m_backupPlanTemplateIdHasBeenSet = true; m_backupPlanTemplateId = value; } /** *

Uniquely identifies a stored backup plan template.

*/ inline void SetBackupPlanTemplateId(Aws::String&& value) { m_backupPlanTemplateIdHasBeenSet = true; m_backupPlanTemplateId = std::move(value); } /** *

Uniquely identifies a stored backup plan template.

*/ inline void SetBackupPlanTemplateId(const char* value) { m_backupPlanTemplateIdHasBeenSet = true; m_backupPlanTemplateId.assign(value); } /** *

Uniquely identifies a stored backup plan template.

*/ inline GetBackupPlanFromTemplateRequest& WithBackupPlanTemplateId(const Aws::String& value) { SetBackupPlanTemplateId(value); return *this;} /** *

Uniquely identifies a stored backup plan template.

*/ inline GetBackupPlanFromTemplateRequest& WithBackupPlanTemplateId(Aws::String&& value) { SetBackupPlanTemplateId(std::move(value)); return *this;} /** *

Uniquely identifies a stored backup plan template.

*/ inline GetBackupPlanFromTemplateRequest& WithBackupPlanTemplateId(const char* value) { SetBackupPlanTemplateId(value); return *this;} private: Aws::String m_backupPlanTemplateId; bool m_backupPlanTemplateIdHasBeenSet = false; }; } // namespace Model } // namespace Backup } // namespace Aws