/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace NetworkManager { namespace Model { /** *

Describes the BGP options.

See Also:

AWS * API Reference

*/ class BgpOptions { public: AWS_NETWORKMANAGER_API BgpOptions(); AWS_NETWORKMANAGER_API BgpOptions(Aws::Utils::Json::JsonView jsonValue); AWS_NETWORKMANAGER_API BgpOptions& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The Peer ASN of the BGP.

*/ inline long long GetPeerAsn() const{ return m_peerAsn; } /** *

The Peer ASN of the BGP.

*/ inline bool PeerAsnHasBeenSet() const { return m_peerAsnHasBeenSet; } /** *

The Peer ASN of the BGP.

*/ inline void SetPeerAsn(long long value) { m_peerAsnHasBeenSet = true; m_peerAsn = value; } /** *

The Peer ASN of the BGP.

*/ inline BgpOptions& WithPeerAsn(long long value) { SetPeerAsn(value); return *this;} private: long long m_peerAsn; bool m_peerAsnHasBeenSet = false; }; } // namespace Model } // namespace NetworkManager } // namespace Aws