/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a core network BGP configuration.See Also:
AWS
* API Reference
The ASN of the Coret Network.
*/ inline long long GetCoreNetworkAsn() const{ return m_coreNetworkAsn; } /** *The ASN of the Coret Network.
*/ inline bool CoreNetworkAsnHasBeenSet() const { return m_coreNetworkAsnHasBeenSet; } /** *The ASN of the Coret Network.
*/ inline void SetCoreNetworkAsn(long long value) { m_coreNetworkAsnHasBeenSet = true; m_coreNetworkAsn = value; } /** *The ASN of the Coret Network.
*/ inline ConnectPeerBgpConfiguration& WithCoreNetworkAsn(long long value) { SetCoreNetworkAsn(value); return *this;} /** *The ASN of the Connect peer.
*/ inline long long GetPeerAsn() const{ return m_peerAsn; } /** *The ASN of the Connect peer.
*/ inline bool PeerAsnHasBeenSet() const { return m_peerAsnHasBeenSet; } /** *The ASN of the Connect peer.
*/ inline void SetPeerAsn(long long value) { m_peerAsnHasBeenSet = true; m_peerAsn = value; } /** *The ASN of the Connect peer.
*/ inline ConnectPeerBgpConfiguration& WithPeerAsn(long long value) { SetPeerAsn(value); return *this;} /** *The address of a core network.
*/ inline const Aws::String& GetCoreNetworkAddress() const{ return m_coreNetworkAddress; } /** *The address of a core network.
*/ inline bool CoreNetworkAddressHasBeenSet() const { return m_coreNetworkAddressHasBeenSet; } /** *The address of a core network.
*/ inline void SetCoreNetworkAddress(const Aws::String& value) { m_coreNetworkAddressHasBeenSet = true; m_coreNetworkAddress = value; } /** *The address of a core network.
*/ inline void SetCoreNetworkAddress(Aws::String&& value) { m_coreNetworkAddressHasBeenSet = true; m_coreNetworkAddress = std::move(value); } /** *The address of a core network.
*/ inline void SetCoreNetworkAddress(const char* value) { m_coreNetworkAddressHasBeenSet = true; m_coreNetworkAddress.assign(value); } /** *The address of a core network.
*/ inline ConnectPeerBgpConfiguration& WithCoreNetworkAddress(const Aws::String& value) { SetCoreNetworkAddress(value); return *this;} /** *The address of a core network.
*/ inline ConnectPeerBgpConfiguration& WithCoreNetworkAddress(Aws::String&& value) { SetCoreNetworkAddress(std::move(value)); return *this;} /** *The address of a core network.
*/ inline ConnectPeerBgpConfiguration& WithCoreNetworkAddress(const char* value) { SetCoreNetworkAddress(value); return *this;} /** *The address of a core network Connect peer.
*/ inline const Aws::String& GetPeerAddress() const{ return m_peerAddress; } /** *The address of a core network Connect peer.
*/ inline bool PeerAddressHasBeenSet() const { return m_peerAddressHasBeenSet; } /** *The address of a core network Connect peer.
*/ inline void SetPeerAddress(const Aws::String& value) { m_peerAddressHasBeenSet = true; m_peerAddress = value; } /** *The address of a core network Connect peer.
*/ inline void SetPeerAddress(Aws::String&& value) { m_peerAddressHasBeenSet = true; m_peerAddress = std::move(value); } /** *The address of a core network Connect peer.
*/ inline void SetPeerAddress(const char* value) { m_peerAddressHasBeenSet = true; m_peerAddress.assign(value); } /** *The address of a core network Connect peer.
*/ inline ConnectPeerBgpConfiguration& WithPeerAddress(const Aws::String& value) { SetPeerAddress(value); return *this;} /** *The address of a core network Connect peer.
*/ inline ConnectPeerBgpConfiguration& WithPeerAddress(Aws::String&& value) { SetPeerAddress(std::move(value)); return *this;} /** *The address of a core network Connect peer.
*/ inline ConnectPeerBgpConfiguration& WithPeerAddress(const char* value) { SetPeerAddress(value); return *this;} private: long long m_coreNetworkAsn; bool m_coreNetworkAsnHasBeenSet = false; long long m_peerAsn; bool m_peerAsnHasBeenSet = false; Aws::String m_coreNetworkAddress; bool m_coreNetworkAddressHasBeenSet = false; Aws::String m_peerAddress; bool m_peerAddressHasBeenSet = false; }; } // namespace Model } // namespace NetworkManager } // namespace Aws