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

The virtual interface.

*/ inline const VirtualInterface& GetVirtualInterface() const{ return m_virtualInterface; } /** *

The virtual interface.

*/ inline void SetVirtualInterface(const VirtualInterface& value) { m_virtualInterface = value; } /** *

The virtual interface.

*/ inline void SetVirtualInterface(VirtualInterface&& value) { m_virtualInterface = std::move(value); } /** *

The virtual interface.

*/ inline CreateBGPPeerResult& WithVirtualInterface(const VirtualInterface& value) { SetVirtualInterface(value); return *this;} /** *

The virtual interface.

*/ inline CreateBGPPeerResult& WithVirtualInterface(VirtualInterface&& value) { SetVirtualInterface(std::move(value)); return *this;} private: VirtualInterface m_virtualInterface; }; } // namespace Model } // namespace DirectConnect } // namespace Aws