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 {
46 template <
typename VirtualInterfaceNameT = Aws::String>
48 m_virtualInterfaceNameHasBeenSet =
true;
49 m_virtualInterfaceName = std::forward<VirtualInterfaceNameT>(value);
51 template <
typename VirtualInterfaceNameT = Aws::String>
62 inline int GetVlan()
const {
return m_vlan; }
65 m_vlanHasBeenSet =
true;
89 inline int GetAsn()
const {
return m_asn; }
92 m_asnHasBeenSet =
true;
121 m_asnLongHasBeenSet =
true;
135 inline int GetMtu()
const {
return m_mtu; }
138 m_mtuHasBeenSet =
true;
154 template <
typename AuthKeyT = Aws::String>
156 m_authKeyHasBeenSet =
true;
157 m_authKey = std::forward<AuthKeyT>(value);
159 template <
typename AuthKeyT = Aws::String>
172 template <
typename AmazonAddressT = Aws::String>
174 m_amazonAddressHasBeenSet =
true;
175 m_amazonAddress = std::forward<AmazonAddressT>(value);
177 template <
typename AmazonAddressT = Aws::String>
191 m_addressFamilyHasBeenSet =
true;
192 m_addressFamily = value;
206 template <
typename CustomerAddressT = Aws::String>
208 m_customerAddressHasBeenSet =
true;
209 m_customerAddress = std::forward<CustomerAddressT>(value);
211 template <
typename CustomerAddressT = Aws::String>
224 template <
typename TagsT = Aws::Vector<Tag>>
226 m_tagsHasBeenSet =
true;
227 m_tags = std::forward<TagsT>(value);
229 template <
typename TagsT = Aws::Vector<Tag>>
231 SetTags(std::forward<TagsT>(value));
234 template <
typename TagsT = Tag>
236 m_tagsHasBeenSet =
true;
237 m_tags.emplace_back(std::forward<TagsT>(value));
250 template <
typename RateLimitT = Aws::String>
252 m_rateLimitHasBeenSet =
true;
253 m_rateLimit = std::forward<RateLimitT>(value);
255 template <
typename RateLimitT = Aws::String>
268 long long m_asnLong{0};
283 bool m_virtualInterfaceNameHasBeenSet =
false;
284 bool m_vlanHasBeenSet =
false;
285 bool m_asnHasBeenSet =
false;
286 bool m_asnLongHasBeenSet =
false;
287 bool m_mtuHasBeenSet =
false;
288 bool m_authKeyHasBeenSet =
false;
289 bool m_amazonAddressHasBeenSet =
false;
290 bool m_addressFamilyHasBeenSet =
false;
291 bool m_customerAddressHasBeenSet =
false;
292 bool m_tagsHasBeenSet =
false;
293 bool m_rateLimitHasBeenSet =
false;
bool CustomerAddressHasBeenSet() const
bool VirtualInterfaceNameHasBeenSet() const
const Aws::String & GetCustomerAddress() const
void SetTags(TagsT &&value)
AWS_DIRECTCONNECT_API NewPrivateVirtualInterfaceAllocation()=default
AWS_DIRECTCONNECT_API NewPrivateVirtualInterfaceAllocation(Aws::Utils::Json::JsonView jsonValue)
NewPrivateVirtualInterfaceAllocation & WithRateLimit(RateLimitT &&value)
NewPrivateVirtualInterfaceAllocation & WithMtu(int value)
AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAuthKey(AuthKeyT &&value)
const Aws::String & GetRateLimit() const
bool RateLimitHasBeenSet() const
const Aws::String & GetVirtualInterfaceName() const
NewPrivateVirtualInterfaceAllocation & WithVirtualInterfaceName(VirtualInterfaceNameT &&value)
void SetAsnLong(long long value)
const Aws::String & GetAmazonAddress() const
NewPrivateVirtualInterfaceAllocation & WithAsn(int value)
bool TagsHasBeenSet() const
const Aws::Vector< Tag > & GetTags() const
bool AddressFamilyHasBeenSet() const
bool AsnLongHasBeenSet() const
void SetRateLimit(RateLimitT &&value)
AddressFamily GetAddressFamily() const
bool AuthKeyHasBeenSet() const
void SetAmazonAddress(AmazonAddressT &&value)
NewPrivateVirtualInterfaceAllocation & WithAddressFamily(AddressFamily value)
bool MtuHasBeenSet() const
const Aws::String & GetAuthKey() const
bool AsnHasBeenSet() const
NewPrivateVirtualInterfaceAllocation & WithCustomerAddress(CustomerAddressT &&value)
long long GetAsnLong() const
NewPrivateVirtualInterfaceAllocation & WithAuthKey(AuthKeyT &&value)
NewPrivateVirtualInterfaceAllocation & WithAsnLong(long long value)
AWS_DIRECTCONNECT_API NewPrivateVirtualInterfaceAllocation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetVirtualInterfaceName(VirtualInterfaceNameT &&value)
bool AmazonAddressHasBeenSet() const
bool VlanHasBeenSet() const
NewPrivateVirtualInterfaceAllocation & WithTags(TagsT &&value)
NewPrivateVirtualInterfaceAllocation & WithAmazonAddress(AmazonAddressT &&value)
void SetCustomerAddress(CustomerAddressT &&value)
NewPrivateVirtualInterfaceAllocation & WithVlan(int value)
void SetAddressFamily(AddressFamily value)
NewPrivateVirtualInterfaceAllocation & AddTags(TagsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue