/** * 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 { class DeleteStorageVirtualMachineResult { public: AWS_FSX_API DeleteStorageVirtualMachineResult(); AWS_FSX_API DeleteStorageVirtualMachineResult(const Aws::AmazonWebServiceResult& result); AWS_FSX_API DeleteStorageVirtualMachineResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ID of the SVM Amazon FSx is deleting.

*/ inline const Aws::String& GetStorageVirtualMachineId() const{ return m_storageVirtualMachineId; } /** *

The ID of the SVM Amazon FSx is deleting.

*/ inline void SetStorageVirtualMachineId(const Aws::String& value) { m_storageVirtualMachineId = value; } /** *

The ID of the SVM Amazon FSx is deleting.

*/ inline void SetStorageVirtualMachineId(Aws::String&& value) { m_storageVirtualMachineId = std::move(value); } /** *

The ID of the SVM Amazon FSx is deleting.

*/ inline void SetStorageVirtualMachineId(const char* value) { m_storageVirtualMachineId.assign(value); } /** *

The ID of the SVM Amazon FSx is deleting.

*/ inline DeleteStorageVirtualMachineResult& WithStorageVirtualMachineId(const Aws::String& value) { SetStorageVirtualMachineId(value); return *this;} /** *

The ID of the SVM Amazon FSx is deleting.

*/ inline DeleteStorageVirtualMachineResult& WithStorageVirtualMachineId(Aws::String&& value) { SetStorageVirtualMachineId(std::move(value)); return *this;} /** *

The ID of the SVM Amazon FSx is deleting.

*/ inline DeleteStorageVirtualMachineResult& WithStorageVirtualMachineId(const char* value) { SetStorageVirtualMachineId(value); return *this;} /** *

Describes the lifecycle state of the SVM being deleted.

*/ inline const StorageVirtualMachineLifecycle& GetLifecycle() const{ return m_lifecycle; } /** *

Describes the lifecycle state of the SVM being deleted.

*/ inline void SetLifecycle(const StorageVirtualMachineLifecycle& value) { m_lifecycle = value; } /** *

Describes the lifecycle state of the SVM being deleted.

*/ inline void SetLifecycle(StorageVirtualMachineLifecycle&& value) { m_lifecycle = std::move(value); } /** *

Describes the lifecycle state of the SVM being deleted.

*/ inline DeleteStorageVirtualMachineResult& WithLifecycle(const StorageVirtualMachineLifecycle& value) { SetLifecycle(value); return *this;} /** *

Describes the lifecycle state of the SVM being deleted.

*/ inline DeleteStorageVirtualMachineResult& WithLifecycle(StorageVirtualMachineLifecycle&& value) { SetLifecycle(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 DeleteStorageVirtualMachineResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DeleteStorageVirtualMachineResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DeleteStorageVirtualMachineResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_storageVirtualMachineId; StorageVirtualMachineLifecycle m_lifecycle; Aws::String m_requestId; }; } // namespace Model } // namespace FSx } // namespace Aws