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

The tunnel being described.

*/ inline const Tunnel& GetTunnel() const{ return m_tunnel; } /** *

The tunnel being described.

*/ inline void SetTunnel(const Tunnel& value) { m_tunnel = value; } /** *

The tunnel being described.

*/ inline void SetTunnel(Tunnel&& value) { m_tunnel = std::move(value); } /** *

The tunnel being described.

*/ inline DescribeTunnelResult& WithTunnel(const Tunnel& value) { SetTunnel(value); return *this;} /** *

The tunnel being described.

*/ inline DescribeTunnelResult& WithTunnel(Tunnel&& value) { SetTunnel(std::move(value)); return *this;} private: Tunnel m_tunnel; }; } // namespace Model } // namespace IoTSecureTunneling } // namespace Aws