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/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/model/ProtocolValue.h>
12#include <aws/ec2/model/TransitGatewayAttachmentBgpConfiguration.h>
51 template<
typename TransitGatewayAddressT = Aws::String>
52 void SetTransitGatewayAddress(TransitGatewayAddressT&& value) { m_transitGatewayAddressHasBeenSet =
true; m_transitGatewayAddress = std::forward<TransitGatewayAddressT>(value); }
53 template<
typename TransitGatewayAddressT = Aws::String>
63 template<
typename PeerAddressT = Aws::String>
64 void SetPeerAddress(PeerAddressT&& value) { m_peerAddressHasBeenSet =
true; m_peerAddress = std::forward<PeerAddressT>(value); }
65 template<
typename PeerAddressT = Aws::String>
75 template<
typename Ins
ideC
idrBlocksT = Aws::Vector<Aws::String>>
76 void SetInsideCidrBlocks(InsideCidrBlocksT&& value) { m_insideCidrBlocksHasBeenSet =
true; m_insideCidrBlocks = std::forward<InsideCidrBlocksT>(value); }
77 template<
typename Ins
ideC
idrBlocksT = Aws::Vector<Aws::String>>
79 template<
typename Ins
ideC
idrBlocksT = Aws::String>
99 template<
typename BgpConfigurationsT = Aws::Vector<TransitGatewayAttachmentBgpConfiguration>>
100 void SetBgpConfigurations(BgpConfigurationsT&& value) { m_bgpConfigurationsHasBeenSet =
true; m_bgpConfigurations = std::forward<BgpConfigurationsT>(value); }
101 template<
typename BgpConfigurationsT = Aws::Vector<TransitGatewayAttachmentBgpConfiguration>>
103 template<
typename BgpConfigurationsT = TransitGatewayAttachmentBgpConfiguration>
109 bool m_transitGatewayAddressHasBeenSet =
false;
112 bool m_peerAddressHasBeenSet =
false;
115 bool m_insideCidrBlocksHasBeenSet =
false;
118 bool m_protocolHasBeenSet =
false;
121 bool m_bgpConfigurationsHasBeenSet =
false;
AWS_EC2_API TransitGatewayConnectPeerConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetPeerAddress() const
bool PeerAddressHasBeenSet() const
void SetPeerAddress(PeerAddressT &&value)
TransitGatewayConnectPeerConfiguration & WithInsideCidrBlocks(InsideCidrBlocksT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetTransitGatewayAddress(TransitGatewayAddressT &&value)
TransitGatewayConnectPeerConfiguration & WithProtocol(ProtocolValue value)
void SetInsideCidrBlocks(InsideCidrBlocksT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetBgpConfigurations(BgpConfigurationsT &&value)
void SetProtocol(ProtocolValue value)
TransitGatewayConnectPeerConfiguration & AddInsideCidrBlocks(InsideCidrBlocksT &&value)
bool BgpConfigurationsHasBeenSet() const
bool ProtocolHasBeenSet() const
bool TransitGatewayAddressHasBeenSet() const
ProtocolValue GetProtocol() const
bool InsideCidrBlocksHasBeenSet() const
TransitGatewayConnectPeerConfiguration & WithTransitGatewayAddress(TransitGatewayAddressT &&value)
AWS_EC2_API TransitGatewayConnectPeerConfiguration()=default
const Aws::String & GetTransitGatewayAddress() const
TransitGatewayConnectPeerConfiguration & WithBgpConfigurations(BgpConfigurationsT &&value)
TransitGatewayConnectPeerConfiguration & WithPeerAddress(PeerAddressT &&value)
const Aws::Vector< Aws::String > & GetInsideCidrBlocks() const
const Aws::Vector< TransitGatewayAttachmentBgpConfiguration > & GetBgpConfigurations() const
AWS_EC2_API TransitGatewayConnectPeerConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
TransitGatewayConnectPeerConfiguration & AddBgpConfigurations(BgpConfigurationsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream