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; }
61 inline void SetAuthKey(
const char* value) { m_authKeyHasBeenSet =
true; m_authKey.assign(value); }
87 inline void SetAmazonAddress(
const char* value) { m_amazonAddressHasBeenSet =
true; m_amazonAddress.assign(value); }
101 inline void SetCustomerAddress(
const char* value) { m_customerAddressHasBeenSet =
true; m_customerAddress.assign(value); }
109 bool m_asnHasBeenSet =
false;
112 bool m_authKeyHasBeenSet =
false;
115 bool m_addressFamilyHasBeenSet =
false;
118 bool m_amazonAddressHasBeenSet =
false;
121 bool m_customerAddressHasBeenSet =
false;
NewBGPPeer & WithAddressFamily(AddressFamily &&value)
void SetCustomerAddress(Aws::String &&value)
AWS_DIRECTCONNECT_API NewBGPPeer & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAmazonAddress(const Aws::String &value)
const Aws::String & GetAmazonAddress() const
AWS_DIRECTCONNECT_API NewBGPPeer()
bool CustomerAddressHasBeenSet() const
NewBGPPeer & WithCustomerAddress(const Aws::String &value)
void SetAmazonAddress(Aws::String &&value)
NewBGPPeer & WithAuthKey(Aws::String &&value)
const Aws::String & GetAuthKey() const
void SetCustomerAddress(const Aws::String &value)
NewBGPPeer & WithAuthKey(const Aws::String &value)
const AddressFamily & GetAddressFamily() const
NewBGPPeer & WithCustomerAddress(const char *value)
bool AuthKeyHasBeenSet() const
void SetAddressFamily(const AddressFamily &value)
const Aws::String & GetCustomerAddress() const
AWS_DIRECTCONNECT_API NewBGPPeer(Aws::Utils::Json::JsonView jsonValue)
void SetAmazonAddress(const char *value)
void SetAuthKey(const char *value)
NewBGPPeer & WithAsn(int value)
NewBGPPeer & WithAddressFamily(const AddressFamily &value)
void SetAddressFamily(AddressFamily &&value)
bool AddressFamilyHasBeenSet() const
bool AmazonAddressHasBeenSet() const
NewBGPPeer & WithAmazonAddress(const char *value)
NewBGPPeer & WithAuthKey(const char *value)
NewBGPPeer & WithAmazonAddress(Aws::String &&value)
AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAuthKey(const Aws::String &value)
NewBGPPeer & WithCustomerAddress(Aws::String &&value)
void SetAuthKey(Aws::String &&value)
NewBGPPeer & WithAmazonAddress(const Aws::String &value)
bool AsnHasBeenSet() const
void SetCustomerAddress(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue