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

The response object for DeleteBackup operation.

See * Also:

AWS * API Reference

*/ class AWS_FSX_API DeleteBackupResult { public: DeleteBackupResult(); DeleteBackupResult(const Aws::AmazonWebServiceResult& result); DeleteBackupResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ID of the backup deleted.

*/ inline const Aws::String& GetBackupId() const{ return m_backupId; } /** *

The ID of the backup deleted.

*/ inline void SetBackupId(const Aws::String& value) { m_backupId = value; } /** *

The ID of the backup deleted.

*/ inline void SetBackupId(Aws::String&& value) { m_backupId = std::move(value); } /** *

The ID of the backup deleted.

*/ inline void SetBackupId(const char* value) { m_backupId.assign(value); } /** *

The ID of the backup deleted.

*/ inline DeleteBackupResult& WithBackupId(const Aws::String& value) { SetBackupId(value); return *this;} /** *

The ID of the backup deleted.

*/ inline DeleteBackupResult& WithBackupId(Aws::String&& value) { SetBackupId(std::move(value)); return *this;} /** *

The ID of the backup deleted.

*/ inline DeleteBackupResult& WithBackupId(const char* value) { SetBackupId(value); return *this;} /** *

The lifecycle of the backup. Should be DELETED.

*/ inline const BackupLifecycle& GetLifecycle() const{ return m_lifecycle; } /** *

The lifecycle of the backup. Should be DELETED.

*/ inline void SetLifecycle(const BackupLifecycle& value) { m_lifecycle = value; } /** *

The lifecycle of the backup. Should be DELETED.

*/ inline void SetLifecycle(BackupLifecycle&& value) { m_lifecycle = std::move(value); } /** *

The lifecycle of the backup. Should be DELETED.

*/ inline DeleteBackupResult& WithLifecycle(const BackupLifecycle& value) { SetLifecycle(value); return *this;} /** *

The lifecycle of the backup. Should be DELETED.

*/ inline DeleteBackupResult& WithLifecycle(BackupLifecycle&& value) { SetLifecycle(std::move(value)); return *this;} private: Aws::String m_backupId; BackupLifecycle m_lifecycle; }; } // namespace Model } // namespace FSx } // namespace Aws