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/LocalGatewayVirtualInterfaceConfigurationState.h>
12#include <aws/ec2/model/Tag.h>
51 template<
typename LocalGatewayVirtualInterfaceIdT = Aws::String>
52 void SetLocalGatewayVirtualInterfaceId(LocalGatewayVirtualInterfaceIdT&& value) { m_localGatewayVirtualInterfaceIdHasBeenSet =
true; m_localGatewayVirtualInterfaceId = std::forward<LocalGatewayVirtualInterfaceIdT>(value); }
53 template<
typename LocalGatewayVirtualInterfaceIdT = Aws::String>
63 template<
typename LocalGatewayIdT = Aws::String>
64 void SetLocalGatewayId(LocalGatewayIdT&& value) { m_localGatewayIdHasBeenSet =
true; m_localGatewayId = std::forward<LocalGatewayIdT>(value); }
65 template<
typename LocalGatewayIdT = Aws::String>
75 template<
typename LocalGatewayVirtualInterfaceGroupIdT = Aws::String>
76 void SetLocalGatewayVirtualInterfaceGroupId(LocalGatewayVirtualInterfaceGroupIdT&& value) { m_localGatewayVirtualInterfaceGroupIdHasBeenSet =
true; m_localGatewayVirtualInterfaceGroupId = std::forward<LocalGatewayVirtualInterfaceGroupIdT>(value); }
77 template<
typename LocalGatewayVirtualInterfaceGroupIdT = Aws::String>
87 template<
typename LocalGatewayVirtualInterfaceArnT = Aws::String>
88 void SetLocalGatewayVirtualInterfaceArn(LocalGatewayVirtualInterfaceArnT&& value) { m_localGatewayVirtualInterfaceArnHasBeenSet =
true; m_localGatewayVirtualInterfaceArn = std::forward<LocalGatewayVirtualInterfaceArnT>(value); }
89 template<
typename LocalGatewayVirtualInterfaceArnT = Aws::String>
99 template<
typename OutpostLagIdT = Aws::String>
100 void SetOutpostLagId(OutpostLagIdT&& value) { m_outpostLagIdHasBeenSet =
true; m_outpostLagId = std::forward<OutpostLagIdT>(value); }
101 template<
typename OutpostLagIdT = Aws::String>
111 inline void SetVlan(
int value) { m_vlanHasBeenSet =
true; m_vlan = value; }
121 template<
typename LocalAddressT = Aws::String>
122 void SetLocalAddress(LocalAddressT&& value) { m_localAddressHasBeenSet =
true; m_localAddress = std::forward<LocalAddressT>(value); }
123 template<
typename LocalAddressT = Aws::String>
133 template<
typename PeerAddressT = Aws::String>
134 void SetPeerAddress(PeerAddressT&& value) { m_peerAddressHasBeenSet =
true; m_peerAddress = std::forward<PeerAddressT>(value); }
135 template<
typename PeerAddressT = Aws::String>
146 inline void SetLocalBgpAsn(
int value) { m_localBgpAsnHasBeenSet =
true; m_localBgpAsn = value; }
156 inline void SetPeerBgpAsn(
int value) { m_peerBgpAsnHasBeenSet =
true; m_peerBgpAsn = value; }
166 inline void SetPeerBgpAsnExtended(
long long value) { m_peerBgpAsnExtendedHasBeenSet =
true; m_peerBgpAsnExtended = value; }
177 template<
typename OwnerIdT = Aws::String>
178 void SetOwnerId(OwnerIdT&& value) { m_ownerIdHasBeenSet =
true; m_ownerId = std::forward<OwnerIdT>(value); }
179 template<
typename OwnerIdT = Aws::String>
189 template<
typename TagsT = Aws::Vector<Tag>>
190 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
191 template<
typename TagsT = Aws::Vector<Tag>>
193 template<
typename TagsT = Tag>
209 bool m_localGatewayVirtualInterfaceIdHasBeenSet =
false;
212 bool m_localGatewayIdHasBeenSet =
false;
215 bool m_localGatewayVirtualInterfaceGroupIdHasBeenSet =
false;
218 bool m_localGatewayVirtualInterfaceArnHasBeenSet =
false;
221 bool m_outpostLagIdHasBeenSet =
false;
224 bool m_vlanHasBeenSet =
false;
227 bool m_localAddressHasBeenSet =
false;
230 bool m_peerAddressHasBeenSet =
false;
232 int m_localBgpAsn{0};
233 bool m_localBgpAsnHasBeenSet =
false;
236 bool m_peerBgpAsnHasBeenSet =
false;
238 long long m_peerBgpAsnExtended{0};
239 bool m_peerBgpAsnExtendedHasBeenSet =
false;
242 bool m_ownerIdHasBeenSet =
false;
245 bool m_tagsHasBeenSet =
false;
248 bool m_configurationStateHasBeenSet =
false;
LocalGatewayVirtualInterface & WithLocalGatewayId(LocalGatewayIdT &&value)
AWS_EC2_API LocalGatewayVirtualInterface & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool PeerBgpAsnHasBeenSet() const
void SetLocalAddress(LocalAddressT &&value)
bool LocalGatewayVirtualInterfaceIdHasBeenSet() const
LocalGatewayVirtualInterface & WithTags(TagsT &&value)
long long GetPeerBgpAsnExtended() const
const Aws::String & GetLocalGatewayId() const
LocalGatewayVirtualInterface & WithVlan(int value)
bool PeerBgpAsnExtendedHasBeenSet() const
LocalGatewayVirtualInterface & WithOutpostLagId(OutpostLagIdT &&value)
LocalGatewayVirtualInterface & WithLocalAddress(LocalAddressT &&value)
bool ConfigurationStateHasBeenSet() const
bool LocalGatewayIdHasBeenSet() const
void SetLocalGatewayId(LocalGatewayIdT &&value)
bool LocalBgpAsnHasBeenSet() const
const Aws::String & GetLocalGatewayVirtualInterfaceGroupId() const
bool VlanHasBeenSet() const
bool LocalGatewayVirtualInterfaceArnHasBeenSet() const
bool OwnerIdHasBeenSet() const
const Aws::String & GetOwnerId() const
LocalGatewayVirtualInterface & WithLocalGatewayVirtualInterfaceGroupId(LocalGatewayVirtualInterfaceGroupIdT &&value)
LocalGatewayVirtualInterface & WithPeerAddress(PeerAddressT &&value)
void SetPeerBgpAsnExtended(long long value)
bool PeerAddressHasBeenSet() const
LocalGatewayVirtualInterface & WithPeerBgpAsnExtended(long long value)
LocalGatewayVirtualInterface & WithLocalBgpAsn(int value)
void SetPeerBgpAsn(int value)
void SetOutpostLagId(OutpostLagIdT &&value)
void SetLocalGatewayVirtualInterfaceId(LocalGatewayVirtualInterfaceIdT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
LocalGatewayVirtualInterface & WithConfigurationState(LocalGatewayVirtualInterfaceConfigurationState value)
int GetPeerBgpAsn() const
void SetOwnerId(OwnerIdT &&value)
AWS_EC2_API LocalGatewayVirtualInterface(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetOutpostLagId() const
bool LocalGatewayVirtualInterfaceGroupIdHasBeenSet() const
bool TagsHasBeenSet() const
void SetPeerAddress(PeerAddressT &&value)
LocalGatewayVirtualInterface & WithPeerBgpAsn(int value)
bool OutpostLagIdHasBeenSet() const
const Aws::String & GetLocalAddress() const
void SetLocalGatewayVirtualInterfaceGroupId(LocalGatewayVirtualInterfaceGroupIdT &&value)
LocalGatewayVirtualInterface & WithLocalGatewayVirtualInterfaceId(LocalGatewayVirtualInterfaceIdT &&value)
void SetLocalBgpAsn(int value)
const Aws::String & GetLocalGatewayVirtualInterfaceId() const
const Aws::String & GetLocalGatewayVirtualInterfaceArn() const
const Aws::Vector< Tag > & GetTags() const
void SetLocalGatewayVirtualInterfaceArn(LocalGatewayVirtualInterfaceArnT &&value)
LocalGatewayVirtualInterface & WithLocalGatewayVirtualInterfaceArn(LocalGatewayVirtualInterfaceArnT &&value)
int GetLocalBgpAsn() const
AWS_EC2_API LocalGatewayVirtualInterface()=default
const Aws::String & GetPeerAddress() const
LocalGatewayVirtualInterface & AddTags(TagsT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetConfigurationState(LocalGatewayVirtualInterfaceConfigurationState value)
LocalGatewayVirtualInterfaceConfigurationState GetConfigurationState() const
bool LocalAddressHasBeenSet() const
LocalGatewayVirtualInterface & WithOwnerId(OwnerIdT &&value)
void SetTags(TagsT &&value)
LocalGatewayVirtualInterfaceConfigurationState
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