7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/ProtocolValue.h>
12#include <aws/ec2/model/TransitGatewayAttachmentBgpConfiguration.h>
45 template <
typename TransitGatewayAddressT = Aws::String>
47 m_transitGatewayAddressHasBeenSet =
true;
48 m_transitGatewayAddress = std::forward<TransitGatewayAddressT>(value);
50 template <
typename TransitGatewayAddressT = Aws::String>
63 template <
typename PeerAddressT = Aws::String>
65 m_peerAddressHasBeenSet =
true;
66 m_peerAddress = std::forward<PeerAddressT>(value);
68 template <
typename PeerAddressT = Aws::String>
81 template <
typename Ins
ideC
idrBlocksT = Aws::Vector<Aws::String>>
83 m_insideCidrBlocksHasBeenSet =
true;
84 m_insideCidrBlocks = std::forward<InsideCidrBlocksT>(value);
86 template <
typename Ins
ideC
idrBlocksT = Aws::Vector<Aws::String>>
91 template <
typename Ins
ideC
idrBlocksT = Aws::String>
93 m_insideCidrBlocksHasBeenSet =
true;
94 m_insideCidrBlocks.emplace_back(std::forward<InsideCidrBlocksT>(value));
106 m_protocolHasBeenSet =
true;
121 template <
typename BgpConfigurationsT = Aws::Vector<TransitGatewayAttachmentBgpConfiguration>>
123 m_bgpConfigurationsHasBeenSet =
true;
124 m_bgpConfigurations = std::forward<BgpConfigurationsT>(value);
126 template <
typename BgpConfigurationsT = Aws::Vector<TransitGatewayAttachmentBgpConfiguration>>
131 template <
typename BgpConfigurationsT = TransitGatewayAttachmentBgpConfiguration>
133 m_bgpConfigurationsHasBeenSet =
true;
134 m_bgpConfigurations.emplace_back(std::forward<BgpConfigurationsT>(value));
148 bool m_transitGatewayAddressHasBeenSet =
false;
149 bool m_peerAddressHasBeenSet =
false;
150 bool m_insideCidrBlocksHasBeenSet =
false;
151 bool m_protocolHasBeenSet =
false;
152 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