7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/directconnect/DirectConnect_EXPORTS.h>
10#include <aws/directconnect/model/AddressFamily.h>
11#include <aws/directconnect/model/Tag.h>
22namespace DirectConnect {
45 template <
typename VirtualInterfaceNameT = Aws::String>
47 m_virtualInterfaceNameHasBeenSet =
true;
48 m_virtualInterfaceName = std::forward<VirtualInterfaceNameT>(value);
50 template <
typename VirtualInterfaceNameT = Aws::String>
61 inline int GetVlan()
const {
return m_vlan; }
64 m_vlanHasBeenSet =
true;
85 inline int GetAsn()
const {
return m_asn; }
88 m_asnHasBeenSet =
true;
111 m_asnLongHasBeenSet =
true;
125 inline int GetMtu()
const {
return m_mtu; }
128 m_mtuHasBeenSet =
true;
144 template <
typename AuthKeyT = Aws::String>
146 m_authKeyHasBeenSet =
true;
147 m_authKey = std::forward<AuthKeyT>(value);
149 template <
typename AuthKeyT = Aws::String>
162 template <
typename AmazonAddressT = Aws::String>
164 m_amazonAddressHasBeenSet =
true;
165 m_amazonAddress = std::forward<AmazonAddressT>(value);
167 template <
typename AmazonAddressT = Aws::String>
180 template <
typename CustomerAddressT = Aws::String>
182 m_customerAddressHasBeenSet =
true;
183 m_customerAddress = std::forward<CustomerAddressT>(value);
185 template <
typename CustomerAddressT = Aws::String>
199 m_addressFamilyHasBeenSet =
true;
200 m_addressFamily = value;
214 template <
typename DirectConnectGatewayIdT = Aws::String>
216 m_directConnectGatewayIdHasBeenSet =
true;
217 m_directConnectGatewayId = std::forward<DirectConnectGatewayIdT>(value);
219 template <
typename DirectConnectGatewayIdT = Aws::String>
232 template <
typename TagsT = Aws::Vector<Tag>>
234 m_tagsHasBeenSet =
true;
235 m_tags = std::forward<TagsT>(value);
237 template <
typename TagsT = Aws::Vector<Tag>>
239 SetTags(std::forward<TagsT>(value));
242 template <
typename TagsT = Tag>
244 m_tagsHasBeenSet =
true;
245 m_tags.emplace_back(std::forward<TagsT>(value));
257 m_enableSiteLinkHasBeenSet =
true;
258 m_enableSiteLink = value;
272 long long m_asnLong{0};
288 bool m_enableSiteLink{
false};
289 bool m_virtualInterfaceNameHasBeenSet =
false;
290 bool m_vlanHasBeenSet =
false;
291 bool m_asnHasBeenSet =
false;
292 bool m_asnLongHasBeenSet =
false;
293 bool m_mtuHasBeenSet =
false;
294 bool m_authKeyHasBeenSet =
false;
295 bool m_amazonAddressHasBeenSet =
false;
296 bool m_customerAddressHasBeenSet =
false;
297 bool m_addressFamilyHasBeenSet =
false;
298 bool m_directConnectGatewayIdHasBeenSet =
false;
299 bool m_tagsHasBeenSet =
false;
300 bool m_enableSiteLinkHasBeenSet =
false;
bool DirectConnectGatewayIdHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
NewTransitVirtualInterface & WithTags(TagsT &&value)
NewTransitVirtualInterface & WithAmazonAddress(AmazonAddressT &&value)
long long GetAsnLong() const
bool VirtualInterfaceNameHasBeenSet() const
bool AddressFamilyHasBeenSet() const
NewTransitVirtualInterface & WithVlan(int value)
NewTransitVirtualInterface & WithAsn(int value)
void SetEnableSiteLink(bool value)
AWS_DIRECTCONNECT_API NewTransitVirtualInterface(Aws::Utils::Json::JsonView jsonValue)
bool EnableSiteLinkHasBeenSet() const
NewTransitVirtualInterface & WithDirectConnectGatewayId(DirectConnectGatewayIdT &&value)
AWS_DIRECTCONNECT_API NewTransitVirtualInterface()=default
NewTransitVirtualInterface & WithAuthKey(AuthKeyT &&value)
const Aws::String & GetDirectConnectGatewayId() const
bool MtuHasBeenSet() const
bool TagsHasBeenSet() const
AWS_DIRECTCONNECT_API NewTransitVirtualInterface & operator=(Aws::Utils::Json::JsonView jsonValue)
NewTransitVirtualInterface & WithCustomerAddress(CustomerAddressT &&value)
NewTransitVirtualInterface & WithMtu(int value)
bool AsnLongHasBeenSet() const
NewTransitVirtualInterface & WithEnableSiteLink(bool value)
void SetVirtualInterfaceName(VirtualInterfaceNameT &&value)
AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetVirtualInterfaceName() const
void SetDirectConnectGatewayId(DirectConnectGatewayIdT &&value)
NewTransitVirtualInterface & WithVirtualInterfaceName(VirtualInterfaceNameT &&value)
AddressFamily GetAddressFamily() const
bool GetEnableSiteLink() const
void SetAsnLong(long long value)
void SetAuthKey(AuthKeyT &&value)
NewTransitVirtualInterface & WithAddressFamily(AddressFamily value)
NewTransitVirtualInterface & AddTags(TagsT &&value)
bool AuthKeyHasBeenSet() const
void SetAmazonAddress(AmazonAddressT &&value)
void SetAddressFamily(AddressFamily value)
void SetTags(TagsT &&value)
NewTransitVirtualInterface & WithAsnLong(long long value)
bool CustomerAddressHasBeenSet() const
const Aws::String & GetCustomerAddress() const
bool AsnHasBeenSet() const
const Aws::String & GetAmazonAddress() const
void SetCustomerAddress(CustomerAddressT &&value)
bool VlanHasBeenSet() const
bool AmazonAddressHasBeenSet() const
const Aws::String & GetAuthKey() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue