7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/directconnect/DirectConnect_EXPORTS.h>
9#include <aws/directconnect/model/AddressFamily.h>
20namespace DirectConnect {
41 inline int GetAsn()
const {
return m_asn; }
44 m_asnHasBeenSet =
true;
57 inline long long GetAsnLong()
const {
return m_asnLong; }
60 m_asnLongHasBeenSet =
true;
76 template <
typename AuthKeyT = Aws::String>
78 m_authKeyHasBeenSet =
true;
79 m_authKey = std::forward<AuthKeyT>(value);
81 template <
typename AuthKeyT = Aws::String>
95 m_addressFamilyHasBeenSet =
true;
96 m_addressFamily = value;
110 template <
typename AmazonAddressT = Aws::String>
112 m_amazonAddressHasBeenSet =
true;
113 m_amazonAddress = std::forward<AmazonAddressT>(value);
115 template <
typename AmazonAddressT = Aws::String>
128 template <
typename CustomerAddressT = Aws::String>
130 m_customerAddressHasBeenSet =
true;
131 m_customerAddress = std::forward<CustomerAddressT>(value);
133 template <
typename CustomerAddressT = Aws::String>
142 long long m_asnLong{0};
151 bool m_asnHasBeenSet =
false;
152 bool m_asnLongHasBeenSet =
false;
153 bool m_authKeyHasBeenSet =
false;
154 bool m_addressFamilyHasBeenSet =
false;
155 bool m_amazonAddressHasBeenSet =
false;
156 bool m_customerAddressHasBeenSet =
false;
AWS_DIRECTCONNECT_API NewBGPPeer & operator=(Aws::Utils::Json::JsonView jsonValue)
NewBGPPeer & WithAmazonAddress(AmazonAddressT &&value)
const Aws::String & GetAmazonAddress() const
NewBGPPeer & WithAddressFamily(AddressFamily value)
void SetAddressFamily(AddressFamily value)
bool CustomerAddressHasBeenSet() const
long long GetAsnLong() const
const Aws::String & GetAuthKey() const
bool AuthKeyHasBeenSet() const
void SetAsnLong(long long value)
void SetAmazonAddress(AmazonAddressT &&value)
const Aws::String & GetCustomerAddress() const
AWS_DIRECTCONNECT_API NewBGPPeer(Aws::Utils::Json::JsonView jsonValue)
NewBGPPeer & WithCustomerAddress(CustomerAddressT &&value)
NewBGPPeer & WithAsnLong(long long value)
NewBGPPeer & WithAsn(int value)
bool AddressFamilyHasBeenSet() const
bool AmazonAddressHasBeenSet() const
void SetCustomerAddress(CustomerAddressT &&value)
AWS_DIRECTCONNECT_API NewBGPPeer()=default
NewBGPPeer & WithAuthKey(AuthKeyT &&value)
AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAuthKey(AuthKeyT &&value)
bool AsnHasBeenSet() const
bool AsnLongHasBeenSet() const
AddressFamily GetAddressFamily() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue