/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Backup { namespace Model { /** *

An object specifying metadata associated with a backup plan * template.

See Also:

AWS * API Reference

*/ class BackupPlanTemplatesListMember { public: AWS_BACKUP_API BackupPlanTemplatesListMember(); AWS_BACKUP_API BackupPlanTemplatesListMember(Aws::Utils::Json::JsonView jsonValue); AWS_BACKUP_API BackupPlanTemplatesListMember& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

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 BackupPlanTemplatesListMember& WithBackupPlanTemplateId(const Aws::String& value) { SetBackupPlanTemplateId(value); return *this;} /** *

Uniquely identifies a stored backup plan template.

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

Uniquely identifies a stored backup plan template.

*/ inline BackupPlanTemplatesListMember& WithBackupPlanTemplateId(const char* value) { SetBackupPlanTemplateId(value); return *this;} /** *

The optional display name of a backup plan template.

*/ inline const Aws::String& GetBackupPlanTemplateName() const{ return m_backupPlanTemplateName; } /** *

The optional display name of a backup plan template.

*/ inline bool BackupPlanTemplateNameHasBeenSet() const { return m_backupPlanTemplateNameHasBeenSet; } /** *

The optional display name of a backup plan template.

*/ inline void SetBackupPlanTemplateName(const Aws::String& value) { m_backupPlanTemplateNameHasBeenSet = true; m_backupPlanTemplateName = value; } /** *

The optional display name of a backup plan template.

*/ inline void SetBackupPlanTemplateName(Aws::String&& value) { m_backupPlanTemplateNameHasBeenSet = true; m_backupPlanTemplateName = std::move(value); } /** *

The optional display name of a backup plan template.

*/ inline void SetBackupPlanTemplateName(const char* value) { m_backupPlanTemplateNameHasBeenSet = true; m_backupPlanTemplateName.assign(value); } /** *

The optional display name of a backup plan template.

*/ inline BackupPlanTemplatesListMember& WithBackupPlanTemplateName(const Aws::String& value) { SetBackupPlanTemplateName(value); return *this;} /** *

The optional display name of a backup plan template.

*/ inline BackupPlanTemplatesListMember& WithBackupPlanTemplateName(Aws::String&& value) { SetBackupPlanTemplateName(std::move(value)); return *this;} /** *

The optional display name of a backup plan template.

*/ inline BackupPlanTemplatesListMember& WithBackupPlanTemplateName(const char* value) { SetBackupPlanTemplateName(value); return *this;} private: Aws::String m_backupPlanTemplateId; bool m_backupPlanTemplateIdHasBeenSet = false; Aws::String m_backupPlanTemplateName; bool m_backupPlanTemplateNameHasBeenSet = false; }; } // namespace Model } // namespace Backup } // namespace Aws