/** * 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 CreateFileSystemFromBackupResult { public: AWS_FSX_API CreateFileSystemFromBackupResult(); AWS_FSX_API CreateFileSystemFromBackupResult(const Aws::AmazonWebServiceResult& result); AWS_FSX_API 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;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline CreateFileSystemFromBackupResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateFileSystemFromBackupResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateFileSystemFromBackupResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: FileSystem m_fileSystem; Aws::String m_requestId; }; } // namespace Model } // namespace FSx } // namespace Aws