7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10#include <aws/ec2/model/BgpStatus.h>
44 m_transitGatewayAsnHasBeenSet =
true;
45 m_transitGatewayAsn = value;
57 inline long long GetPeerAsn()
const {
return m_peerAsn; }
60 m_peerAsnHasBeenSet =
true;
75 template <
typename TransitGatewayAddressT = Aws::String>
77 m_transitGatewayAddressHasBeenSet =
true;
78 m_transitGatewayAddress = std::forward<TransitGatewayAddressT>(value);
80 template <
typename TransitGatewayAddressT = Aws::String>
93 template <
typename PeerAddressT = Aws::String>
95 m_peerAddressHasBeenSet =
true;
96 m_peerAddress = std::forward<PeerAddressT>(value);
98 template <
typename PeerAddressT = Aws::String>
112 m_bgpStatusHasBeenSet =
true;
121 long long m_transitGatewayAsn{0};
123 long long m_peerAsn{0};
130 bool m_transitGatewayAsnHasBeenSet =
false;
131 bool m_peerAsnHasBeenSet =
false;
132 bool m_transitGatewayAddressHasBeenSet =
false;
133 bool m_peerAddressHasBeenSet =
false;
134 bool m_bgpStatusHasBeenSet =
false;
bool TransitGatewayAsnHasBeenSet() const
long long GetPeerAsn() const
AWS_EC2_API TransitGatewayAttachmentBgpConfiguration()=default
bool TransitGatewayAddressHasBeenSet() const
void SetTransitGatewayAddress(TransitGatewayAddressT &&value)
bool PeerAddressHasBeenSet() const
void SetPeerAsn(long long value)
long long GetTransitGatewayAsn() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetBgpStatus(BgpStatus value)
AWS_EC2_API TransitGatewayAttachmentBgpConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
bool PeerAsnHasBeenSet() const
void SetPeerAddress(PeerAddressT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool BgpStatusHasBeenSet() const
TransitGatewayAttachmentBgpConfiguration & WithPeerAddress(PeerAddressT &&value)
TransitGatewayAttachmentBgpConfiguration & WithTransitGatewayAddress(TransitGatewayAddressT &&value)
BgpStatus GetBgpStatus() const
const Aws::String & GetTransitGatewayAddress() const
void SetTransitGatewayAsn(long long value)
TransitGatewayAttachmentBgpConfiguration & WithBgpStatus(BgpStatus value)
TransitGatewayAttachmentBgpConfiguration & WithPeerAsn(long long value)
TransitGatewayAttachmentBgpConfiguration & WithTransitGatewayAsn(long long value)
const Aws::String & GetPeerAddress() const
AWS_EC2_API TransitGatewayAttachmentBgpConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream