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/ServiceLinkVirtualInterfaceConfigurationState.h>
12#include <aws/ec2/model/Tag.h>
53 template<
typename ServiceLinkVirtualInterfaceIdT = Aws::String>
54 void SetServiceLinkVirtualInterfaceId(ServiceLinkVirtualInterfaceIdT&& value) { m_serviceLinkVirtualInterfaceIdHasBeenSet =
true; m_serviceLinkVirtualInterfaceId = std::forward<ServiceLinkVirtualInterfaceIdT>(value); }
55 template<
typename ServiceLinkVirtualInterfaceIdT = Aws::String>
65 template<
typename ServiceLinkVirtualInterfaceArnT = Aws::String>
66 void SetServiceLinkVirtualInterfaceArn(ServiceLinkVirtualInterfaceArnT&& value) { m_serviceLinkVirtualInterfaceArnHasBeenSet =
true; m_serviceLinkVirtualInterfaceArn = std::forward<ServiceLinkVirtualInterfaceArnT>(value); }
67 template<
typename ServiceLinkVirtualInterfaceArnT = Aws::String>
77 template<
typename OutpostIdT = Aws::String>
78 void SetOutpostId(OutpostIdT&& value) { m_outpostIdHasBeenSet =
true; m_outpostId = std::forward<OutpostIdT>(value); }
79 template<
typename OutpostIdT = Aws::String>
90 template<
typename OutpostArnT = Aws::String>
91 void SetOutpostArn(OutpostArnT&& value) { m_outpostArnHasBeenSet =
true; m_outpostArn = std::forward<OutpostArnT>(value); }
92 template<
typename OutpostArnT = Aws::String>
103 template<
typename OwnerIdT = Aws::String>
104 void SetOwnerId(OwnerIdT&& value) { m_ownerIdHasBeenSet =
true; m_ownerId = std::forward<OwnerIdT>(value); }
105 template<
typename OwnerIdT = Aws::String>
116 template<
typename LocalAddressT = Aws::String>
117 void SetLocalAddress(LocalAddressT&& value) { m_localAddressHasBeenSet =
true; m_localAddress = std::forward<LocalAddressT>(value); }
118 template<
typename LocalAddressT = Aws::String>
128 template<
typename PeerAddressT = Aws::String>
129 void SetPeerAddress(PeerAddressT&& value) { m_peerAddressHasBeenSet =
true; m_peerAddress = std::forward<PeerAddressT>(value); }
130 template<
typename PeerAddressT = Aws::String>
141 inline void SetPeerBgpAsn(
long long value) { m_peerBgpAsnHasBeenSet =
true; m_peerBgpAsn = value; }
151 inline void SetVlan(
int value) { m_vlanHasBeenSet =
true; m_vlan = value; }
162 template<
typename OutpostLagIdT = Aws::String>
163 void SetOutpostLagId(OutpostLagIdT&& value) { m_outpostLagIdHasBeenSet =
true; m_outpostLagId = std::forward<OutpostLagIdT>(value); }
164 template<
typename OutpostLagIdT = Aws::String>
174 template<
typename TagsT = Aws::Vector<Tag>>
175 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
176 template<
typename TagsT = Aws::Vector<Tag>>
178 template<
typename TagsT = Tag>
194 bool m_serviceLinkVirtualInterfaceIdHasBeenSet =
false;
197 bool m_serviceLinkVirtualInterfaceArnHasBeenSet =
false;
200 bool m_outpostIdHasBeenSet =
false;
203 bool m_outpostArnHasBeenSet =
false;
206 bool m_ownerIdHasBeenSet =
false;
209 bool m_localAddressHasBeenSet =
false;
212 bool m_peerAddressHasBeenSet =
false;
214 long long m_peerBgpAsn{0};
215 bool m_peerBgpAsnHasBeenSet =
false;
218 bool m_vlanHasBeenSet =
false;
221 bool m_outpostLagIdHasBeenSet =
false;
224 bool m_tagsHasBeenSet =
false;
227 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