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;
88 inline int GetAsn()
const {
return m_asn; }
91 m_asnHasBeenSet =
true;
120 m_asnLongHasBeenSet =
true;
134 inline int GetMtu()
const {
return m_mtu; }
137 m_mtuHasBeenSet =
true;
153 template <
typename AuthKeyT = Aws::String>
155 m_authKeyHasBeenSet =
true;
156 m_authKey = std::forward<AuthKeyT>(value);
158 template <
typename AuthKeyT = Aws::String>
171 template <
typename AmazonAddressT = Aws::String>
173 m_amazonAddressHasBeenSet =
true;
174 m_amazonAddress = std::forward<AmazonAddressT>(value);
176 template <
typename AmazonAddressT = Aws::String>
189 template <
typename CustomerAddressT = Aws::String>
191 m_customerAddressHasBeenSet =
true;
192 m_customerAddress = std::forward<CustomerAddressT>(value);
194 template <
typename CustomerAddressT = Aws::String>
208 m_addressFamilyHasBeenSet =
true;
209 m_addressFamily = value;
223 template <
typename VirtualGatewayIdT = Aws::String>
225 m_virtualGatewayIdHasBeenSet =
true;
226 m_virtualGatewayId = std::forward<VirtualGatewayIdT>(value);
228 template <
typename VirtualGatewayIdT = Aws::String>
241 template <
typename DirectConnectGatewayIdT = Aws::String>
243 m_directConnectGatewayIdHasBeenSet =
true;
244 m_directConnectGatewayId = std::forward<DirectConnectGatewayIdT>(value);
246 template <
typename DirectConnectGatewayIdT = Aws::String>
259 template <
typename TagsT = Aws::Vector<Tag>>
261 m_tagsHasBeenSet =
true;
262 m_tags = std::forward<TagsT>(value);
264 template <
typename TagsT = Aws::Vector<Tag>>
266 SetTags(std::forward<TagsT>(value));
269 template <
typename TagsT = Tag>
271 m_tagsHasBeenSet =
true;
272 m_tags.emplace_back(std::forward<TagsT>(value));
284 m_enableSiteLinkHasBeenSet =
true;
285 m_enableSiteLink = value;
301 template <
typename RateLimitT = Aws::String>
303 m_rateLimitHasBeenSet =
true;
304 m_rateLimit = std::forward<RateLimitT>(value);
306 template <
typename RateLimitT = Aws::String>
319 long long m_asnLong{0};
337 bool m_enableSiteLink{
false};
340 bool m_virtualInterfaceNameHasBeenSet =
false;
341 bool m_vlanHasBeenSet =
false;
342 bool m_asnHasBeenSet =
false;
343 bool m_asnLongHasBeenSet =
false;
344 bool m_mtuHasBeenSet =
false;
345 bool m_authKeyHasBeenSet =
false;
346 bool m_amazonAddressHasBeenSet =
false;
347 bool m_customerAddressHasBeenSet =
false;
348 bool m_addressFamilyHasBeenSet =
false;
349 bool m_virtualGatewayIdHasBeenSet =
false;
350 bool m_directConnectGatewayIdHasBeenSet =
false;
351 bool m_tagsHasBeenSet =
false;
352 bool m_enableSiteLinkHasBeenSet =
false;
353 bool m_rateLimitHasBeenSet =
false;
bool VirtualGatewayIdHasBeenSet() const
AddressFamily GetAddressFamily() const
NewPrivateVirtualInterface & WithMtu(int value)
void SetVirtualInterfaceName(VirtualInterfaceNameT &&value)
NewPrivateVirtualInterface & WithEnableSiteLink(bool value)
bool AmazonAddressHasBeenSet() const
bool GetEnableSiteLink() const
bool AsnHasBeenSet() const
bool MtuHasBeenSet() const
bool VirtualInterfaceNameHasBeenSet() const
void SetEnableSiteLink(bool value)
const Aws::String & GetVirtualInterfaceName() const
void SetAsnLong(long long value)
NewPrivateVirtualInterface & WithVirtualInterfaceName(VirtualInterfaceNameT &&value)
void SetAmazonAddress(AmazonAddressT &&value)
bool AddressFamilyHasBeenSet() const
const Aws::String & GetCustomerAddress() const
NewPrivateVirtualInterface & WithAuthKey(AuthKeyT &&value)
NewPrivateVirtualInterface & WithAmazonAddress(AmazonAddressT &&value)
AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTags(TagsT &&value)
void SetAuthKey(AuthKeyT &&value)
bool EnableSiteLinkHasBeenSet() const
NewPrivateVirtualInterface & AddTags(TagsT &&value)
void SetCustomerAddress(CustomerAddressT &&value)
const Aws::String & GetAmazonAddress() const
const Aws::Vector< Tag > & GetTags() const
NewPrivateVirtualInterface & WithAsnLong(long long value)
void SetAddressFamily(AddressFamily value)
bool RateLimitHasBeenSet() const
AWS_DIRECTCONNECT_API NewPrivateVirtualInterface()=default
long long GetAsnLong() const
void SetRateLimit(RateLimitT &&value)
NewPrivateVirtualInterface & WithVlan(int value)
bool TagsHasBeenSet() const
const Aws::String & GetRateLimit() const
bool AsnLongHasBeenSet() const
NewPrivateVirtualInterface & WithDirectConnectGatewayId(DirectConnectGatewayIdT &&value)
const Aws::String & GetDirectConnectGatewayId() const
void SetDirectConnectGatewayId(DirectConnectGatewayIdT &&value)
NewPrivateVirtualInterface & WithTags(TagsT &&value)
NewPrivateVirtualInterface & WithVirtualGatewayId(VirtualGatewayIdT &&value)
const Aws::String & GetAuthKey() const
bool DirectConnectGatewayIdHasBeenSet() const
AWS_DIRECTCONNECT_API NewPrivateVirtualInterface & operator=(Aws::Utils::Json::JsonView jsonValue)
bool CustomerAddressHasBeenSet() const
NewPrivateVirtualInterface & WithAddressFamily(AddressFamily value)
NewPrivateVirtualInterface & WithRateLimit(RateLimitT &&value)
AWS_DIRECTCONNECT_API NewPrivateVirtualInterface(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetVirtualGatewayId() const
NewPrivateVirtualInterface & WithCustomerAddress(CustomerAddressT &&value)
NewPrivateVirtualInterface & WithAsn(int value)
void SetVirtualGatewayId(VirtualGatewayIdT &&value)
bool AuthKeyHasBeenSet() const
bool VlanHasBeenSet() 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