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/ServiceLinkVirtualInterfaceConfigurationState.h>
12#include <aws/ec2/model/Tag.h>
47 template <
typename ServiceLinkVirtualInterfaceIdT = Aws::String>
49 m_serviceLinkVirtualInterfaceIdHasBeenSet =
true;
50 m_serviceLinkVirtualInterfaceId = std::forward<ServiceLinkVirtualInterfaceIdT>(value);
52 template <
typename ServiceLinkVirtualInterfaceIdT = Aws::String>
65 template <
typename ServiceLinkVirtualInterfaceArnT = Aws::String>
67 m_serviceLinkVirtualInterfaceArnHasBeenSet =
true;
68 m_serviceLinkVirtualInterfaceArn = std::forward<ServiceLinkVirtualInterfaceArnT>(value);
70 template <
typename ServiceLinkVirtualInterfaceArnT = Aws::String>
83 template <
typename OutpostIdT = Aws::String>
85 m_outpostIdHasBeenSet =
true;
86 m_outpostId = std::forward<OutpostIdT>(value);
88 template <
typename OutpostIdT = Aws::String>
102 template <
typename OutpostArnT = Aws::String>
104 m_outpostArnHasBeenSet =
true;
105 m_outpostArn = std::forward<OutpostArnT>(value);
107 template <
typename OutpostArnT = Aws::String>
121 template <
typename OwnerIdT = Aws::String>
123 m_ownerIdHasBeenSet =
true;
124 m_ownerId = std::forward<OwnerIdT>(value);
126 template <
typename OwnerIdT = Aws::String>
140 template <
typename LocalAddressT = Aws::String>
142 m_localAddressHasBeenSet =
true;
143 m_localAddress = std::forward<LocalAddressT>(value);
145 template <
typename LocalAddressT = Aws::String>
158 template <
typename PeerAddressT = Aws::String>
160 m_peerAddressHasBeenSet =
true;
161 m_peerAddress = std::forward<PeerAddressT>(value);
163 template <
typename PeerAddressT = Aws::String>
178 m_peerBgpAsnHasBeenSet =
true;
179 m_peerBgpAsn = value;
194 m_vlanHasBeenSet =
true;
210 template <
typename OutpostLagIdT = Aws::String>
212 m_outpostLagIdHasBeenSet =
true;
213 m_outpostLagId = std::forward<OutpostLagIdT>(value);
215 template <
typename OutpostLagIdT = Aws::String>
228 template <
typename TagsT = Aws::Vector<Tag>>
230 m_tagsHasBeenSet =
true;
231 m_tags = std::forward<TagsT>(value);
233 template <
typename TagsT = Aws::Vector<Tag>>
235 SetTags(std::forward<TagsT>(value));
238 template <
typename TagsT = Tag>
240 m_tagsHasBeenSet =
true;
241 m_tags.emplace_back(std::forward<TagsT>(value));
253 m_configurationStateHasBeenSet =
true;
254 m_configurationState = value;
276 long long m_peerBgpAsn{0};
285 bool m_serviceLinkVirtualInterfaceIdHasBeenSet =
false;
286 bool m_serviceLinkVirtualInterfaceArnHasBeenSet =
false;
287 bool m_outpostIdHasBeenSet =
false;
288 bool m_outpostArnHasBeenSet =
false;
289 bool m_ownerIdHasBeenSet =
false;
290 bool m_localAddressHasBeenSet =
false;
291 bool m_peerAddressHasBeenSet =
false;
292 bool m_peerBgpAsnHasBeenSet =
false;
293 bool m_vlanHasBeenSet =
false;
294 bool m_outpostLagIdHasBeenSet =
false;
295 bool m_tagsHasBeenSet =
false;
296 bool m_configurationStateHasBeenSet =
false;
void SetConfigurationState(ServiceLinkVirtualInterfaceConfigurationState value)
ServiceLinkVirtualInterface & WithOutpostArn(OutpostArnT &&value)
const Aws::String & GetOutpostArn() const
bool OutpostLagIdHasBeenSet() const
bool OwnerIdHasBeenSet() const
void SetOutpostLagId(OutpostLagIdT &&value)
ServiceLinkVirtualInterface & WithOwnerId(OwnerIdT &&value)
const Aws::String & GetLocalAddress() const
bool OutpostIdHasBeenSet() const
const Aws::String & GetPeerAddress() const
ServiceLinkVirtualInterface & WithServiceLinkVirtualInterfaceId(ServiceLinkVirtualInterfaceIdT &&value)
const Aws::String & GetServiceLinkVirtualInterfaceArn() const
void SetTags(TagsT &&value)
const Aws::String & GetOutpostId() const
ServiceLinkVirtualInterface & AddTags(TagsT &&value)
AWS_EC2_API ServiceLinkVirtualInterface & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool ServiceLinkVirtualInterfaceIdHasBeenSet() const
void SetPeerAddress(PeerAddressT &&value)
bool ServiceLinkVirtualInterfaceArnHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
void SetServiceLinkVirtualInterfaceArn(ServiceLinkVirtualInterfaceArnT &&value)
ServiceLinkVirtualInterface & WithPeerBgpAsn(long long value)
long long GetPeerBgpAsn() const
bool PeerAddressHasBeenSet() const
bool LocalAddressHasBeenSet() const
bool VlanHasBeenSet() const
void SetLocalAddress(LocalAddressT &&value)
void SetOutpostArn(OutpostArnT &&value)
const Aws::String & GetOutpostLagId() const
ServiceLinkVirtualInterface & WithTags(TagsT &&value)
ServiceLinkVirtualInterface & WithServiceLinkVirtualInterfaceArn(ServiceLinkVirtualInterfaceArnT &&value)
ServiceLinkVirtualInterface & WithConfigurationState(ServiceLinkVirtualInterfaceConfigurationState value)
ServiceLinkVirtualInterface & WithPeerAddress(PeerAddressT &&value)
AWS_EC2_API ServiceLinkVirtualInterface()=default
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ServiceLinkVirtualInterface & WithVlan(int value)
const Aws::String & GetServiceLinkVirtualInterfaceId() const
void SetPeerBgpAsn(long long value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool OutpostArnHasBeenSet() const
bool PeerBgpAsnHasBeenSet() const
ServiceLinkVirtualInterface & WithOutpostLagId(OutpostLagIdT &&value)
void SetServiceLinkVirtualInterfaceId(ServiceLinkVirtualInterfaceIdT &&value)
bool ConfigurationStateHasBeenSet() const
void SetOutpostId(OutpostIdT &&value)
ServiceLinkVirtualInterfaceConfigurationState GetConfigurationState() const
ServiceLinkVirtualInterface & WithOutpostId(OutpostIdT &&value)
AWS_EC2_API ServiceLinkVirtualInterface(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetOwnerId(OwnerIdT &&value)
ServiceLinkVirtualInterface & WithLocalAddress(LocalAddressT &&value)
bool TagsHasBeenSet() const
const Aws::String & GetOwnerId() const
ServiceLinkVirtualInterfaceConfigurationState
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