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/StorageVirtualMachine.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   class AWS_FSX_API CreateStorageVirtualMachineResult
28   {
29   public:
30     CreateStorageVirtualMachineResult();
31     CreateStorageVirtualMachineResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
32     CreateStorageVirtualMachineResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
33 
34 
35     /**
36      * <p>Returned after a successful <code>CreateStorageVirtualMachine</code>
37      * operation; describes the SVM just created.</p>
38      */
GetStorageVirtualMachine()39     inline const StorageVirtualMachine& GetStorageVirtualMachine() const{ return m_storageVirtualMachine; }
40 
41     /**
42      * <p>Returned after a successful <code>CreateStorageVirtualMachine</code>
43      * operation; describes the SVM just created.</p>
44      */
SetStorageVirtualMachine(const StorageVirtualMachine & value)45     inline void SetStorageVirtualMachine(const StorageVirtualMachine& value) { m_storageVirtualMachine = value; }
46 
47     /**
48      * <p>Returned after a successful <code>CreateStorageVirtualMachine</code>
49      * operation; describes the SVM just created.</p>
50      */
SetStorageVirtualMachine(StorageVirtualMachine && value)51     inline void SetStorageVirtualMachine(StorageVirtualMachine&& value) { m_storageVirtualMachine = std::move(value); }
52 
53     /**
54      * <p>Returned after a successful <code>CreateStorageVirtualMachine</code>
55      * operation; describes the SVM just created.</p>
56      */
WithStorageVirtualMachine(const StorageVirtualMachine & value)57     inline CreateStorageVirtualMachineResult& WithStorageVirtualMachine(const StorageVirtualMachine& value) { SetStorageVirtualMachine(value); return *this;}
58 
59     /**
60      * <p>Returned after a successful <code>CreateStorageVirtualMachine</code>
61      * operation; describes the SVM just created.</p>
62      */
WithStorageVirtualMachine(StorageVirtualMachine && value)63     inline CreateStorageVirtualMachineResult& WithStorageVirtualMachine(StorageVirtualMachine&& value) { SetStorageVirtualMachine(std::move(value)); return *this;}
64 
65   private:
66 
67     StorageVirtualMachine m_storageVirtualMachine;
68   };
69 
70 } // namespace Model
71 } // namespace FSx
72 } // namespace Aws
73