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

An array of key-value pairs containing information about the results of your * get instance snapshot request.

*/ inline const InstanceSnapshot& GetInstanceSnapshot() const{ return m_instanceSnapshot; } /** *

An array of key-value pairs containing information about the results of your * get instance snapshot request.

*/ inline void SetInstanceSnapshot(const InstanceSnapshot& value) { m_instanceSnapshot = value; } /** *

An array of key-value pairs containing information about the results of your * get instance snapshot request.

*/ inline void SetInstanceSnapshot(InstanceSnapshot&& value) { m_instanceSnapshot = std::move(value); } /** *

An array of key-value pairs containing information about the results of your * get instance snapshot request.

*/ inline GetInstanceSnapshotResult& WithInstanceSnapshot(const InstanceSnapshot& value) { SetInstanceSnapshot(value); return *this;} /** *

An array of key-value pairs containing information about the results of your * get instance snapshot request.

*/ inline GetInstanceSnapshotResult& WithInstanceSnapshot(InstanceSnapshot&& value) { SetInstanceSnapshot(std::move(value)); return *this;} private: InstanceSnapshot m_instanceSnapshot; }; } // namespace Model } // namespace Lightsail } // namespace Aws