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>
53 inline void SetTransitGatewayAddress(
const char* value) { m_transitGatewayAddressHasBeenSet =
true; m_transitGatewayAddress.assign(value); }
67 inline void SetPeerAddress(
const char* value) { m_peerAddressHasBeenSet =
true; m_peerAddress.assign(value); }
116 bool m_transitGatewayAddressHasBeenSet =
false;
119 bool m_peerAddressHasBeenSet =
false;
122 bool m_insideCidrBlocksHasBeenSet =
false;
125 bool m_protocolHasBeenSet =
false;
128 bool m_bgpConfigurationsHasBeenSet =
false;
AWS_EC2_API TransitGatewayConnectPeerConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
TransitGatewayConnectPeerConfiguration & WithPeerAddress(Aws::String &&value)
TransitGatewayConnectPeerConfiguration & WithProtocol(const ProtocolValue &value)
const ProtocolValue & GetProtocol() const
const Aws::String & GetPeerAddress() const
bool PeerAddressHasBeenSet() const
TransitGatewayConnectPeerConfiguration & WithBgpConfigurations(const Aws::Vector< TransitGatewayAttachmentBgpConfiguration > &value)
AWS_EC2_API TransitGatewayConnectPeerConfiguration()
TransitGatewayConnectPeerConfiguration & WithTransitGatewayAddress(const Aws::String &value)
TransitGatewayConnectPeerConfiguration & AddBgpConfigurations(const TransitGatewayAttachmentBgpConfiguration &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
TransitGatewayConnectPeerConfiguration & WithPeerAddress(const char *value)
void SetInsideCidrBlocks(const Aws::Vector< Aws::String > &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetInsideCidrBlocks(Aws::Vector< Aws::String > &&value)
TransitGatewayConnectPeerConfiguration & AddInsideCidrBlocks(const char *value)
TransitGatewayConnectPeerConfiguration & WithInsideCidrBlocks(Aws::Vector< Aws::String > &&value)
void SetTransitGatewayAddress(const char *value)
void SetPeerAddress(const Aws::String &value)
TransitGatewayConnectPeerConfiguration & WithPeerAddress(const Aws::String &value)
bool BgpConfigurationsHasBeenSet() const
bool ProtocolHasBeenSet() const
bool TransitGatewayAddressHasBeenSet() const
TransitGatewayConnectPeerConfiguration & AddInsideCidrBlocks(Aws::String &&value)
void SetProtocol(ProtocolValue &&value)
bool InsideCidrBlocksHasBeenSet() const
void SetPeerAddress(const char *value)
void SetPeerAddress(Aws::String &&value)
void SetTransitGatewayAddress(const Aws::String &value)
void SetBgpConfigurations(const Aws::Vector< TransitGatewayAttachmentBgpConfiguration > &value)
TransitGatewayConnectPeerConfiguration & WithBgpConfigurations(Aws::Vector< TransitGatewayAttachmentBgpConfiguration > &&value)
TransitGatewayConnectPeerConfiguration & WithProtocol(ProtocolValue &&value)
const Aws::String & GetTransitGatewayAddress() const
TransitGatewayConnectPeerConfiguration & WithTransitGatewayAddress(const char *value)
TransitGatewayConnectPeerConfiguration & AddInsideCidrBlocks(const Aws::String &value)
const Aws::Vector< Aws::String > & GetInsideCidrBlocks() const
TransitGatewayConnectPeerConfiguration & WithInsideCidrBlocks(const Aws::Vector< Aws::String > &value)
TransitGatewayConnectPeerConfiguration & AddBgpConfigurations(TransitGatewayAttachmentBgpConfiguration &&value)
void SetBgpConfigurations(Aws::Vector< TransitGatewayAttachmentBgpConfiguration > &&value)
const Aws::Vector< TransitGatewayAttachmentBgpConfiguration > & GetBgpConfigurations() const
AWS_EC2_API TransitGatewayConnectPeerConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetTransitGatewayAddress(Aws::String &&value)
TransitGatewayConnectPeerConfiguration & WithTransitGatewayAddress(Aws::String &&value)
void SetProtocol(const ProtocolValue &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