1 /**
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  * SPDX-License-Identifier: Apache-2.0.
4  */
5 
6 #pragma once
7 #include <aws/fsx/FSx_EXPORTS.h>
8 #include <aws/fsx/model/FileSystem.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20   class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace FSx
24 {
25 namespace Model
26 {
27   /**
28    * <p>The response object returned after the file system is created.</p><p><h3>See
29    * Also:</h3>   <a
30    * href="http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CreateFileSystemResponse">AWS
31    * API Reference</a></p>
32    */
33   class AWS_FSX_API CreateFileSystemResult
34   {
35   public:
36     CreateFileSystemResult();
37     CreateFileSystemResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
38     CreateFileSystemResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
39 
40 
41     /**
42      * <p>The configuration of the file system that was created.</p>
43      */
GetFileSystem()44     inline const FileSystem& GetFileSystem() const{ return m_fileSystem; }
45 
46     /**
47      * <p>The configuration of the file system that was created.</p>
48      */
SetFileSystem(const FileSystem & value)49     inline void SetFileSystem(const FileSystem& value) { m_fileSystem = value; }
50 
51     /**
52      * <p>The configuration of the file system that was created.</p>
53      */
SetFileSystem(FileSystem && value)54     inline void SetFileSystem(FileSystem&& value) { m_fileSystem = std::move(value); }
55 
56     /**
57      * <p>The configuration of the file system that was created.</p>
58      */
WithFileSystem(const FileSystem & value)59     inline CreateFileSystemResult& WithFileSystem(const FileSystem& value) { SetFileSystem(value); return *this;}
60 
61     /**
62      * <p>The configuration of the file system that was created.</p>
63      */
WithFileSystem(FileSystem && value)64     inline CreateFileSystemResult& WithFileSystem(FileSystem&& value) { SetFileSystem(std::move(value)); return *this;}
65 
66   private:
67 
68     FileSystem m_fileSystem;
69   };
70 
71 } // namespace Model
72 } // namespace FSx
73 } // namespace Aws
74