/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace FSx { namespace Model { class AWS_FSX_API CreateStorageVirtualMachineResult { public: CreateStorageVirtualMachineResult(); CreateStorageVirtualMachineResult(const Aws::AmazonWebServiceResult& result); CreateStorageVirtualMachineResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Returned after a successful CreateStorageVirtualMachine * operation; describes the SVM just created.

*/ inline const StorageVirtualMachine& GetStorageVirtualMachine() const{ return m_storageVirtualMachine; } /** *

Returned after a successful CreateStorageVirtualMachine * operation; describes the SVM just created.

*/ inline void SetStorageVirtualMachine(const StorageVirtualMachine& value) { m_storageVirtualMachine = value; } /** *

Returned after a successful CreateStorageVirtualMachine * operation; describes the SVM just created.

*/ inline void SetStorageVirtualMachine(StorageVirtualMachine&& value) { m_storageVirtualMachine = std::move(value); } /** *

Returned after a successful CreateStorageVirtualMachine * operation; describes the SVM just created.

*/ inline CreateStorageVirtualMachineResult& WithStorageVirtualMachine(const StorageVirtualMachine& value) { SetStorageVirtualMachine(value); return *this;} /** *

Returned after a successful CreateStorageVirtualMachine * operation; describes the SVM just created.

*/ inline CreateStorageVirtualMachineResult& WithStorageVirtualMachine(StorageVirtualMachine&& value) { SetStorageVirtualMachine(std::move(value)); return *this;} private: StorageVirtualMachine m_storageVirtualMachine; }; } // namespace Model } // namespace FSx } // namespace Aws