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/Tag.h>
66 inline void SetLocalGatewayId(
const char* value) { m_localGatewayIdHasBeenSet =
true; m_localGatewayId.assign(value); }
76 inline int GetVlan()
const{
return m_vlan; }
78 inline void SetVlan(
int value) { m_vlanHasBeenSet =
true; m_vlan = value; }
90 inline void SetLocalAddress(
const char* value) { m_localAddressHasBeenSet =
true; m_localAddress.assign(value); }
104 inline void SetPeerAddress(
const char* value) { m_peerAddressHasBeenSet =
true; m_peerAddress.assign(value); }
117 inline void SetLocalBgpAsn(
int value) { m_localBgpAsnHasBeenSet =
true; m_localBgpAsn = value; }
127 inline void SetPeerBgpAsn(
int value) { m_peerBgpAsnHasBeenSet =
true; m_peerBgpAsn = value; }
140 inline void SetOwnerId(
const char* value) { m_ownerIdHasBeenSet =
true; m_ownerId.assign(value); }
162 bool m_localGatewayVirtualInterfaceIdHasBeenSet =
false;
165 bool m_localGatewayIdHasBeenSet =
false;
168 bool m_vlanHasBeenSet =
false;
171 bool m_localAddressHasBeenSet =
false;
174 bool m_peerAddressHasBeenSet =
false;
177 bool m_localBgpAsnHasBeenSet =
false;
180 bool m_peerBgpAsnHasBeenSet =
false;
183 bool m_ownerIdHasBeenSet =
false;
186 bool m_tagsHasBeenSet =
false;
LocalGatewayVirtualInterface & WithOwnerId(const Aws::String &value)
void SetTags(const Aws::Vector< Tag > &value)
void SetOwnerId(const Aws::String &value)
AWS_EC2_API LocalGatewayVirtualInterface & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool PeerBgpAsnHasBeenSet() const
void SetLocalGatewayId(const Aws::String &value)
void SetLocalGatewayId(const char *value)
LocalGatewayVirtualInterface & WithPeerAddress(Aws::String &&value)
bool LocalGatewayVirtualInterfaceIdHasBeenSet() const
LocalGatewayVirtualInterface & AddTags(Tag &&value)
LocalGatewayVirtualInterface & WithLocalGatewayId(const Aws::String &value)
const Aws::String & GetLocalGatewayId() const
LocalGatewayVirtualInterface & WithVlan(int value)
LocalGatewayVirtualInterface & WithLocalGatewayVirtualInterfaceId(Aws::String &&value)
void SetLocalAddress(Aws::String &&value)
void SetLocalGatewayId(Aws::String &&value)
bool LocalGatewayIdHasBeenSet() const
bool LocalBgpAsnHasBeenSet() const
bool VlanHasBeenSet() const
void SetOwnerId(const char *value)
bool OwnerIdHasBeenSet() const
const Aws::String & GetOwnerId() const
bool PeerAddressHasBeenSet() const
void SetTags(Aws::Vector< Tag > &&value)
LocalGatewayVirtualInterface & WithLocalBgpAsn(int value)
void SetLocalAddress(const char *value)
LocalGatewayVirtualInterface & WithLocalGatewayVirtualInterfaceId(const Aws::String &value)
LocalGatewayVirtualInterface & WithLocalGatewayId(Aws::String &&value)
LocalGatewayVirtualInterface & AddTags(const Tag &value)
void SetPeerBgpAsn(int value)
AWS_EC2_API LocalGatewayVirtualInterface()
LocalGatewayVirtualInterface & WithLocalGatewayId(const char *value)
LocalGatewayVirtualInterface & WithLocalAddress(Aws::String &&value)
void SetLocalGatewayVirtualInterfaceId(Aws::String &&value)
LocalGatewayVirtualInterface & WithLocalGatewayVirtualInterfaceId(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
LocalGatewayVirtualInterface & WithPeerAddress(const char *value)
void SetOwnerId(Aws::String &&value)
void SetLocalAddress(const Aws::String &value)
void SetPeerAddress(Aws::String &&value)
LocalGatewayVirtualInterface & WithLocalAddress(const Aws::String &value)
int GetPeerBgpAsn() const
LocalGatewayVirtualInterface & WithLocalAddress(const char *value)
LocalGatewayVirtualInterface & WithOwnerId(Aws::String &&value)
AWS_EC2_API LocalGatewayVirtualInterface(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetLocalGatewayVirtualInterfaceId(const char *value)
bool TagsHasBeenSet() const
void SetPeerAddress(const Aws::String &value)
LocalGatewayVirtualInterface & WithPeerBgpAsn(int value)
void SetLocalGatewayVirtualInterfaceId(const Aws::String &value)
LocalGatewayVirtualInterface & WithPeerAddress(const Aws::String &value)
const Aws::String & GetLocalAddress() const
LocalGatewayVirtualInterface & WithOwnerId(const char *value)
void SetLocalBgpAsn(int value)
const Aws::String & GetLocalGatewayVirtualInterfaceId() const
const Aws::Vector< Tag > & GetTags() const
void SetPeerAddress(const char *value)
int GetLocalBgpAsn() const
const Aws::String & GetPeerAddress() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
LocalGatewayVirtualInterface & WithTags(Aws::Vector< Tag > &&value)
bool LocalAddressHasBeenSet() const
LocalGatewayVirtualInterface & WithTags(const Aws::Vector< Tag > &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