7#include <aws/directconnect/DirectConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/directconnect/model/AddressFamily.h>
22namespace DirectConnect
46 inline int GetAsn()
const {
return m_asn; }
48 inline void SetAsn(
int value) { m_asnHasBeenSet =
true; m_asn = value; }
59 template<
typename AuthKeyT = Aws::String>
60 void SetAuthKey(AuthKeyT&& value) { m_authKeyHasBeenSet =
true; m_authKey = std::forward<AuthKeyT>(value); }
61 template<
typename AuthKeyT = Aws::String>
81 template<
typename AmazonAddressT = Aws::String>
82 void SetAmazonAddress(AmazonAddressT&& value) { m_amazonAddressHasBeenSet =
true; m_amazonAddress = std::forward<AmazonAddressT>(value); }
83 template<
typename AmazonAddressT = Aws::String>
93 template<
typename CustomerAddressT = Aws::String>
94 void SetCustomerAddress(CustomerAddressT&& value) { m_customerAddressHasBeenSet =
true; m_customerAddress = std::forward<CustomerAddressT>(value); }
95 template<
typename CustomerAddressT = Aws::String>
101 bool m_asnHasBeenSet =
false;
104 bool m_authKeyHasBeenSet =
false;
107 bool m_addressFamilyHasBeenSet =
false;
110 bool m_amazonAddressHasBeenSet =
false;
113 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
const Aws::String & GetAuthKey() const
bool AuthKeyHasBeenSet() const
void SetAmazonAddress(AmazonAddressT &&value)
const Aws::String & GetCustomerAddress() const
AWS_DIRECTCONNECT_API NewBGPPeer(Aws::Utils::Json::JsonView jsonValue)
NewBGPPeer & WithCustomerAddress(CustomerAddressT &&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
AddressFamily GetAddressFamily() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue