7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/BgpStatus.h>
49 inline void SetTransitGatewayAsn(
long long value) { m_transitGatewayAsnHasBeenSet =
true; m_transitGatewayAsn = value; }
59 inline void SetPeerAsn(
long long value) { m_peerAsnHasBeenSet =
true; m_peerAsn = value; }
71 inline void SetTransitGatewayAddress(
const char* value) { m_transitGatewayAddressHasBeenSet =
true; m_transitGatewayAddress.assign(value); }
85 inline void SetPeerAddress(
const char* value) { m_peerAddressHasBeenSet =
true; m_peerAddress.assign(value); }
104 long long m_transitGatewayAsn;
105 bool m_transitGatewayAsnHasBeenSet =
false;
108 bool m_peerAsnHasBeenSet =
false;
111 bool m_transitGatewayAddressHasBeenSet =
false;
114 bool m_peerAddressHasBeenSet =
false;
117 bool m_bgpStatusHasBeenSet =
false;
bool TransitGatewayAsnHasBeenSet() const
TransitGatewayAttachmentBgpConfiguration & WithPeerAddress(const Aws::String &value)
long long GetPeerAsn() const
bool TransitGatewayAddressHasBeenSet() const
TransitGatewayAttachmentBgpConfiguration & WithPeerAddress(const char *value)
void SetBgpStatus(const BgpStatus &value)
bool PeerAddressHasBeenSet() const
AWS_EC2_API TransitGatewayAttachmentBgpConfiguration()
void SetPeerAsn(long long value)
long long GetTransitGatewayAsn() const
void SetTransitGatewayAddress(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API TransitGatewayAttachmentBgpConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetPeerAddress(Aws::String &&value)
void SetTransitGatewayAddress(Aws::String &&value)
bool PeerAsnHasBeenSet() const
TransitGatewayAttachmentBgpConfiguration & WithBgpStatus(const BgpStatus &value)
TransitGatewayAttachmentBgpConfiguration & WithTransitGatewayAddress(const Aws::String &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetTransitGatewayAddress(const Aws::String &value)
void SetBgpStatus(BgpStatus &&value)
bool BgpStatusHasBeenSet() const
const Aws::String & GetTransitGatewayAddress() const
void SetTransitGatewayAsn(long long value)
TransitGatewayAttachmentBgpConfiguration & WithTransitGatewayAddress(Aws::String &&value)
const BgpStatus & GetBgpStatus() const
void SetPeerAddress(const char *value)
void SetPeerAddress(const Aws::String &value)
TransitGatewayAttachmentBgpConfiguration & WithPeerAsn(long long value)
TransitGatewayAttachmentBgpConfiguration & WithTransitGatewayAddress(const char *value)
TransitGatewayAttachmentBgpConfiguration & WithTransitGatewayAsn(long long value)
const Aws::String & GetPeerAddress() const
TransitGatewayAttachmentBgpConfiguration & WithPeerAddress(Aws::String &&value)
TransitGatewayAttachmentBgpConfiguration & WithBgpStatus(BgpStatus &&value)
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