/** * 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 Lightsail { namespace Model { class AWS_LIGHTSAIL_API GetDiskSnapshotResult { public: GetDiskSnapshotResult(); GetDiskSnapshotResult(const Aws::AmazonWebServiceResult& result); GetDiskSnapshotResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

An object containing information about the disk snapshot.

*/ inline const DiskSnapshot& GetDiskSnapshot() const{ return m_diskSnapshot; } /** *

An object containing information about the disk snapshot.

*/ inline void SetDiskSnapshot(const DiskSnapshot& value) { m_diskSnapshot = value; } /** *

An object containing information about the disk snapshot.

*/ inline void SetDiskSnapshot(DiskSnapshot&& value) { m_diskSnapshot = std::move(value); } /** *

An object containing information about the disk snapshot.

*/ inline GetDiskSnapshotResult& WithDiskSnapshot(const DiskSnapshot& value) { SetDiskSnapshot(value); return *this;} /** *

An object containing information about the disk snapshot.

*/ inline GetDiskSnapshotResult& WithDiskSnapshot(DiskSnapshot&& value) { SetDiskSnapshot(std::move(value)); return *this;} private: DiskSnapshot m_diskSnapshot; }; } // namespace Model } // namespace Lightsail } // namespace Aws