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/core/utils/memory/stl/AWSString.h>
9 #include <aws/fsx/model/StorageVirtualMachineLifecycle.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21   class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace FSx
25 {
26 namespace Model
27 {
28   class AWS_FSX_API DeleteStorageVirtualMachineResult
29   {
30   public:
31     DeleteStorageVirtualMachineResult();
32     DeleteStorageVirtualMachineResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
33     DeleteStorageVirtualMachineResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
34 
35 
36     /**
37      * <p>The ID of the SVM Amazon FSx is deleting.</p>
38      */
GetStorageVirtualMachineId()39     inline const Aws::String& GetStorageVirtualMachineId() const{ return m_storageVirtualMachineId; }
40 
41     /**
42      * <p>The ID of the SVM Amazon FSx is deleting.</p>
43      */
SetStorageVirtualMachineId(const Aws::String & value)44     inline void SetStorageVirtualMachineId(const Aws::String& value) { m_storageVirtualMachineId = value; }
45 
46     /**
47      * <p>The ID of the SVM Amazon FSx is deleting.</p>
48      */
SetStorageVirtualMachineId(Aws::String && value)49     inline void SetStorageVirtualMachineId(Aws::String&& value) { m_storageVirtualMachineId = std::move(value); }
50 
51     /**
52      * <p>The ID of the SVM Amazon FSx is deleting.</p>
53      */
SetStorageVirtualMachineId(const char * value)54     inline void SetStorageVirtualMachineId(const char* value) { m_storageVirtualMachineId.assign(value); }
55 
56     /**
57      * <p>The ID of the SVM Amazon FSx is deleting.</p>
58      */
WithStorageVirtualMachineId(const Aws::String & value)59     inline DeleteStorageVirtualMachineResult& WithStorageVirtualMachineId(const Aws::String& value) { SetStorageVirtualMachineId(value); return *this;}
60 
61     /**
62      * <p>The ID of the SVM Amazon FSx is deleting.</p>
63      */
WithStorageVirtualMachineId(Aws::String && value)64     inline DeleteStorageVirtualMachineResult& WithStorageVirtualMachineId(Aws::String&& value) { SetStorageVirtualMachineId(std::move(value)); return *this;}
65 
66     /**
67      * <p>The ID of the SVM Amazon FSx is deleting.</p>
68      */
WithStorageVirtualMachineId(const char * value)69     inline DeleteStorageVirtualMachineResult& WithStorageVirtualMachineId(const char* value) { SetStorageVirtualMachineId(value); return *this;}
70 
71 
72     /**
73      * <p>Describes the lifecycle state of the SVM being deleted.</p>
74      */
GetLifecycle()75     inline const StorageVirtualMachineLifecycle& GetLifecycle() const{ return m_lifecycle; }
76 
77     /**
78      * <p>Describes the lifecycle state of the SVM being deleted.</p>
79      */
SetLifecycle(const StorageVirtualMachineLifecycle & value)80     inline void SetLifecycle(const StorageVirtualMachineLifecycle& value) { m_lifecycle = value; }
81 
82     /**
83      * <p>Describes the lifecycle state of the SVM being deleted.</p>
84      */
SetLifecycle(StorageVirtualMachineLifecycle && value)85     inline void SetLifecycle(StorageVirtualMachineLifecycle&& value) { m_lifecycle = std::move(value); }
86 
87     /**
88      * <p>Describes the lifecycle state of the SVM being deleted.</p>
89      */
WithLifecycle(const StorageVirtualMachineLifecycle & value)90     inline DeleteStorageVirtualMachineResult& WithLifecycle(const StorageVirtualMachineLifecycle& value) { SetLifecycle(value); return *this;}
91 
92     /**
93      * <p>Describes the lifecycle state of the SVM being deleted.</p>
94      */
WithLifecycle(StorageVirtualMachineLifecycle && value)95     inline DeleteStorageVirtualMachineResult& WithLifecycle(StorageVirtualMachineLifecycle&& value) { SetLifecycle(std::move(value)); return *this;}
96 
97   private:
98 
99     Aws::String m_storageVirtualMachineId;
100 
101     StorageVirtualMachineLifecycle m_lifecycle;
102   };
103 
104 } // namespace Model
105 } // namespace FSx
106 } // namespace Aws
107