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/LocalGatewayVirtualInterfaceConfigurationState.h>
12#include <aws/ec2/model/Tag.h>
45 template <
typename LocalGatewayVirtualInterfaceIdT = Aws::String>
47 m_localGatewayVirtualInterfaceIdHasBeenSet =
true;
48 m_localGatewayVirtualInterfaceId = std::forward<LocalGatewayVirtualInterfaceIdT>(value);
50 template <
typename LocalGatewayVirtualInterfaceIdT = Aws::String>
63 template <
typename LocalGatewayIdT = Aws::String>
65 m_localGatewayIdHasBeenSet =
true;
66 m_localGatewayId = std::forward<LocalGatewayIdT>(value);
68 template <
typename LocalGatewayIdT = Aws::String>
81 template <
typename LocalGatewayVirtualInterfaceGroupIdT = Aws::String>
83 m_localGatewayVirtualInterfaceGroupIdHasBeenSet =
true;
84 m_localGatewayVirtualInterfaceGroupId = std::forward<LocalGatewayVirtualInterfaceGroupIdT>(value);
86 template <
typename LocalGatewayVirtualInterfaceGroupIdT = Aws::String>
99 template <
typename LocalGatewayVirtualInterfaceArnT = Aws::String>
101 m_localGatewayVirtualInterfaceArnHasBeenSet =
true;
102 m_localGatewayVirtualInterfaceArn = std::forward<LocalGatewayVirtualInterfaceArnT>(value);
104 template <
typename LocalGatewayVirtualInterfaceArnT = Aws::String>
117 template <
typename OutpostLagIdT = Aws::String>
119 m_outpostLagIdHasBeenSet =
true;
120 m_outpostLagId = std::forward<OutpostLagIdT>(value);
122 template <
typename OutpostLagIdT = Aws::String>
136 m_vlanHasBeenSet =
true;
151 template <
typename LocalAddressT = Aws::String>
153 m_localAddressHasBeenSet =
true;
154 m_localAddress = std::forward<LocalAddressT>(value);
156 template <
typename LocalAddressT = Aws::String>
169 template <
typename PeerAddressT = Aws::String>
171 m_peerAddressHasBeenSet =
true;
172 m_peerAddress = std::forward<PeerAddressT>(value);
174 template <
typename PeerAddressT = Aws::String>
189 m_localBgpAsnHasBeenSet =
true;
190 m_localBgpAsn = value;
205 m_peerBgpAsnHasBeenSet =
true;
206 m_peerBgpAsn = value;
221 m_peerBgpAsnExtendedHasBeenSet =
true;
222 m_peerBgpAsnExtended = value;
237 template <
typename OwnerIdT = Aws::String>
239 m_ownerIdHasBeenSet =
true;
240 m_ownerId = std::forward<OwnerIdT>(value);
242 template <
typename OwnerIdT = Aws::String>
255 template <
typename TagsT = Aws::Vector<Tag>>
257 m_tagsHasBeenSet =
true;
258 m_tags = std::forward<TagsT>(value);
260 template <
typename TagsT = Aws::Vector<Tag>>
262 SetTags(std::forward<TagsT>(value));
265 template <
typename TagsT = Tag>
267 m_tagsHasBeenSet =
true;
268 m_tags.emplace_back(std::forward<TagsT>(value));
280 m_configurationStateHasBeenSet =
true;
281 m_configurationState = value;
305 int m_localBgpAsn{0};
309 long long m_peerBgpAsnExtended{0};
316 bool m_localGatewayVirtualInterfaceIdHasBeenSet =
false;
317 bool m_localGatewayIdHasBeenSet =
false;
318 bool m_localGatewayVirtualInterfaceGroupIdHasBeenSet =
false;
319 bool m_localGatewayVirtualInterfaceArnHasBeenSet =
false;
320 bool m_outpostLagIdHasBeenSet =
false;
321 bool m_vlanHasBeenSet =
false;
322 bool m_localAddressHasBeenSet =
false;
323 bool m_peerAddressHasBeenSet =
false;
324 bool m_localBgpAsnHasBeenSet =
false;
325 bool m_peerBgpAsnHasBeenSet =
false;
326 bool m_peerBgpAsnExtendedHasBeenSet =
false;
327 bool m_ownerIdHasBeenSet =
false;
328 bool m_tagsHasBeenSet =
false;
329 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