7#include <aws/directconnect/DirectConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/directconnect/model/AddressFamily.h>
10#include <aws/directconnect/model/BGPPeerState.h>
11#include <aws/directconnect/model/BGPStatus.h>
24namespace DirectConnect
51 inline void SetBgpPeerId(
const char* value) { m_bgpPeerIdHasBeenSet =
true; m_bgpPeerId.assign(value); }
62 inline int GetAsn()
const{
return m_asn; }
64 inline void SetAsn(
int value) { m_asnHasBeenSet =
true; m_asn = value; }
77 inline void SetAuthKey(
const char* value) { m_authKeyHasBeenSet =
true; m_authKey.assign(value); }
103 inline void SetAmazonAddress(
const char* value) { m_amazonAddressHasBeenSet =
true; m_amazonAddress.assign(value); }
117 inline void SetCustomerAddress(
const char* value) { m_customerAddressHasBeenSet =
true; m_customerAddress.assign(value); }
168 inline void SetAwsDeviceV2(
const char* value) { m_awsDeviceV2HasBeenSet =
true; m_awsDeviceV2.assign(value); }
184 inline void SetAwsLogicalDeviceId(
const char* value) { m_awsLogicalDeviceIdHasBeenSet =
true; m_awsLogicalDeviceId.assign(value); }
192 bool m_bgpPeerIdHasBeenSet =
false;
195 bool m_asnHasBeenSet =
false;
198 bool m_authKeyHasBeenSet =
false;
201 bool m_addressFamilyHasBeenSet =
false;
204 bool m_amazonAddressHasBeenSet =
false;
207 bool m_customerAddressHasBeenSet =
false;
210 bool m_bgpPeerStateHasBeenSet =
false;
213 bool m_bgpStatusHasBeenSet =
false;
216 bool m_awsDeviceV2HasBeenSet =
false;
219 bool m_awsLogicalDeviceIdHasBeenSet =
false;
void SetBgpPeerId(Aws::String &&value)
bool BgpPeerStateHasBeenSet() const
void SetAmazonAddress(const char *value)
bool CustomerAddressHasBeenSet() const
BGPPeer & WithBgpPeerId(const Aws::String &value)
void SetAwsDeviceV2(Aws::String &&value)
bool BgpStatusHasBeenSet() const
BGPPeer & WithAwsDeviceV2(const char *value)
void SetAwsDeviceV2(const Aws::String &value)
bool AmazonAddressHasBeenSet() const
BGPPeer & WithBgpPeerState(const BGPPeerState &value)
AWS_DIRECTCONNECT_API BGPPeer(Aws::Utils::Json::JsonView jsonValue)
BGPPeer & WithBgpStatus(const BGPStatus &value)
BGPPeer & WithBgpStatus(BGPStatus &&value)
const Aws::String & GetBgpPeerId() const
AWS_DIRECTCONNECT_API BGPPeer & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAwsDeviceV2(const char *value)
const Aws::String & GetAwsDeviceV2() const
BGPPeer & WithBgpPeerId(Aws::String &&value)
void SetAuthKey(const Aws::String &value)
void SetBgpPeerId(const char *value)
const Aws::String & GetAmazonAddress() const
void SetAddressFamily(AddressFamily &&value)
void SetAuthKey(const char *value)
void SetAwsLogicalDeviceId(const char *value)
bool AwsDeviceV2HasBeenSet() const
BGPPeer & WithAwsDeviceV2(const Aws::String &value)
BGPPeer & WithCustomerAddress(const char *value)
void SetCustomerAddress(Aws::String &&value)
BGPPeer & WithAmazonAddress(const char *value)
BGPPeer & WithBgpPeerState(BGPPeerState &&value)
void SetBgpPeerState(BGPPeerState &&value)
bool BgpPeerIdHasBeenSet() const
void SetAmazonAddress(const Aws::String &value)
BGPPeer & WithAwsLogicalDeviceId(const char *value)
BGPPeer & WithBgpPeerId(const char *value)
BGPPeer & WithAmazonAddress(const Aws::String &value)
void SetAmazonAddress(Aws::String &&value)
bool AddressFamilyHasBeenSet() const
AWS_DIRECTCONNECT_API BGPPeer()
void SetCustomerAddress(const Aws::String &value)
AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
BGPPeer & WithAuthKey(const char *value)
BGPPeer & WithAwsDeviceV2(Aws::String &&value)
const Aws::String & GetAuthKey() const
void SetAwsLogicalDeviceId(const Aws::String &value)
BGPPeer & WithAddressFamily(AddressFamily &&value)
bool AuthKeyHasBeenSet() const
BGPPeer & WithAuthKey(const Aws::String &value)
const Aws::String & GetCustomerAddress() const
void SetBgpPeerId(const Aws::String &value)
BGPPeer & WithCustomerAddress(Aws::String &&value)
const BGPPeerState & GetBgpPeerState() const
bool AsnHasBeenSet() const
const AddressFamily & GetAddressFamily() const
void SetAuthKey(Aws::String &&value)
const BGPStatus & GetBgpStatus() const
void SetAwsLogicalDeviceId(Aws::String &&value)
void SetBgpStatus(const BGPStatus &value)
BGPPeer & WithCustomerAddress(const Aws::String &value)
const Aws::String & GetAwsLogicalDeviceId() const
void SetBgpStatus(BGPStatus &&value)
BGPPeer & WithAwsLogicalDeviceId(Aws::String &&value)
void SetCustomerAddress(const char *value)
BGPPeer & WithAsn(int value)
bool AwsLogicalDeviceIdHasBeenSet() const
BGPPeer & WithAddressFamily(const AddressFamily &value)
void SetAddressFamily(const AddressFamily &value)
BGPPeer & WithAmazonAddress(Aws::String &&value)
BGPPeer & WithAwsLogicalDeviceId(const Aws::String &value)
BGPPeer & WithAuthKey(Aws::String &&value)
void SetBgpPeerState(const BGPPeerState &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue