/** * 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 the CreateFileSystemFromBackup * operation.

See Also:

AWS * API Reference

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

A description of the file system.

*/ inline const FileSystem& GetFileSystem() const{ return m_fileSystem; } /** *

A description of the file system.

*/ inline void SetFileSystem(const FileSystem& value) { m_fileSystem = value; } /** *

A description of the file system.

*/ inline void SetFileSystem(FileSystem&& value) { m_fileSystem = std::move(value); } /** *

A description of the file system.

*/ inline CreateFileSystemFromBackupResult& WithFileSystem(const FileSystem& value) { SetFileSystem(value); return *this;} /** *

A description of the file system.

*/ inline CreateFileSystemFromBackupResult& WithFileSystem(FileSystem&& value) { SetFileSystem(std::move(value)); return *this;} private: FileSystem m_fileSystem; }; } // namespace Model } // namespace FSx } // namespace Aws