7#include <aws/directconnect/DirectConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/directconnect/model/AddressFamily.h>
10#include <aws/directconnect/model/VirtualInterfaceState.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/directconnect/model/RouteFilterPrefix.h>
13#include <aws/directconnect/model/BGPPeer.h>
14#include <aws/directconnect/model/Tag.h>
19template<
typename RESULT_TYPE>
20class AmazonWebServiceResult;
29namespace DirectConnect
80 inline void SetLocation(
const char* value) { m_location.assign(value); }
133 inline void SetVlan(
int value) { m_vlan = value; }
142 inline int GetAsn()
const{
return m_asn; }
143 inline void SetAsn(
int value) { m_asn = value; }
164 inline void SetAuthKey(
const char* value) { m_authKey.assign(value); }
257 inline int GetMtu()
const{
return m_mtu; }
258 inline void SetMtu(
int value) { m_mtu = value; }
332 inline void SetRegion(
const char* value) { m_region.assign(value); }
393 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
416 long long m_amazonSideAsn;
432 bool m_jumboFrameCapable;
450 bool m_siteLinkEnabled;
AllocatePublicVirtualInterfaceResult & AddRouteFilterPrefixes(const RouteFilterPrefix &value)
AllocatePublicVirtualInterfaceResult & WithLocation(Aws::String &&value)
void SetLocation(Aws::String &&value)
const Aws::String & GetRequestId() const
void SetConnectionId(Aws::String &&value)
const Aws::String & GetVirtualInterfaceId() const
const Aws::String & GetAmazonAddress() const
void SetRegion(const char *value)
void SetConnectionId(const char *value)
AllocatePublicVirtualInterfaceResult & AddTags(const Tag &value)
AllocatePublicVirtualInterfaceResult & WithAwsLogicalDeviceId(const Aws::String &value)
AllocatePublicVirtualInterfaceResult & WithCustomerRouterConfig(Aws::String &&value)
long long GetAmazonSideAsn() const
AllocatePublicVirtualInterfaceResult & WithAuthKey(const char *value)
const Aws::String & GetVirtualGatewayId() const
void SetVirtualInterfaceType(const char *value)
void SetCustomerRouterConfig(const char *value)
void SetTags(const Aws::Vector< Tag > &value)
void SetOwnerAccount(Aws::String &&value)
void SetLocation(const char *value)
void SetBgpPeers(Aws::Vector< BGPPeer > &&value)
AllocatePublicVirtualInterfaceResult & WithRequestId(const Aws::String &value)
AllocatePublicVirtualInterfaceResult & WithAwsDeviceV2(const Aws::String &value)
void SetVirtualInterfaceState(VirtualInterfaceState &&value)
AllocatePublicVirtualInterfaceResult & WithVirtualInterfaceId(const Aws::String &value)
AllocatePublicVirtualInterfaceResult & WithCustomerRouterConfig(const char *value)
AllocatePublicVirtualInterfaceResult & WithDirectConnectGatewayId(const char *value)
void SetConnectionId(const Aws::String &value)
AllocatePublicVirtualInterfaceResult & AddRouteFilterPrefixes(RouteFilterPrefix &&value)
void SetVirtualInterfaceId(const char *value)
void SetVirtualInterfaceType(Aws::String &&value)
AllocatePublicVirtualInterfaceResult & WithAmazonAddress(const Aws::String &value)
void SetAmazonAddress(const Aws::String &value)
AllocatePublicVirtualInterfaceResult & WithVirtualInterfaceName(const char *value)
const Aws::String & GetAuthKey() const
AllocatePublicVirtualInterfaceResult & WithRegion(const char *value)
AllocatePublicVirtualInterfaceResult & WithRegion(Aws::String &&value)
void SetOwnerAccount(const Aws::String &value)
void SetRequestId(const Aws::String &value)
void SetAwsDeviceV2(const char *value)
void SetLocation(const Aws::String &value)
void SetAwsDeviceV2(Aws::String &&value)
void SetAmazonAddress(const char *value)
AllocatePublicVirtualInterfaceResult & WithJumboFrameCapable(bool value)
const Aws::Vector< RouteFilterPrefix > & GetRouteFilterPrefixes() const
AllocatePublicVirtualInterfaceResult & WithConnectionId(const Aws::String &value)
AllocatePublicVirtualInterfaceResult & WithAmazonSideAsn(long long value)
AllocatePublicVirtualInterfaceResult & WithDirectConnectGatewayId(const Aws::String &value)
AllocatePublicVirtualInterfaceResult & WithBgpPeers(const Aws::Vector< BGPPeer > &value)
const Aws::Vector< BGPPeer > & GetBgpPeers() const
void SetCustomerAddress(Aws::String &&value)
bool GetSiteLinkEnabled() const
void SetVirtualInterfaceName(const char *value)
AllocatePublicVirtualInterfaceResult & WithAwsDeviceV2(Aws::String &&value)
void SetRouteFilterPrefixes(const Aws::Vector< RouteFilterPrefix > &value)
AllocatePublicVirtualInterfaceResult & WithAsn(int value)
void SetAddressFamily(const AddressFamily &value)
void SetAwsDeviceV2(const Aws::String &value)
void SetCustomerRouterConfig(Aws::String &&value)
AllocatePublicVirtualInterfaceResult & WithCustomerAddress(const Aws::String &value)
AllocatePublicVirtualInterfaceResult & WithVirtualGatewayId(Aws::String &&value)
const Aws::String & GetConnectionId() const
AllocatePublicVirtualInterfaceResult & WithCustomerAddress(Aws::String &&value)
AllocatePublicVirtualInterfaceResult & WithAwsLogicalDeviceId(const char *value)
AllocatePublicVirtualInterfaceResult & WithRegion(const Aws::String &value)
AllocatePublicVirtualInterfaceResult & WithLocation(const char *value)
const Aws::String & GetRegion() const
const Aws::String & GetAwsLogicalDeviceId() const
AllocatePublicVirtualInterfaceResult & WithAmazonAddress(const char *value)
AllocatePublicVirtualInterfaceResult & WithCustomerAddress(const char *value)
AllocatePublicVirtualInterfaceResult & AddBgpPeers(BGPPeer &&value)
AllocatePublicVirtualInterfaceResult & WithAddressFamily(const AddressFamily &value)
void SetSiteLinkEnabled(bool value)
AllocatePublicVirtualInterfaceResult & WithDirectConnectGatewayId(Aws::String &&value)
void SetVirtualGatewayId(const Aws::String &value)
void SetRequestId(Aws::String &&value)
const Aws::String & GetLocation() const
void SetOwnerAccount(const char *value)
void SetBgpPeers(const Aws::Vector< BGPPeer > &value)
void SetRegion(Aws::String &&value)
AllocatePublicVirtualInterfaceResult & WithVirtualInterfaceType(const char *value)
void SetAwsLogicalDeviceId(Aws::String &&value)
const Aws::String & GetVirtualInterfaceType() const
AllocatePublicVirtualInterfaceResult & WithVirtualInterfaceState(VirtualInterfaceState &&value)
AllocatePublicVirtualInterfaceResult & WithMtu(int value)
bool GetJumboFrameCapable() const
AllocatePublicVirtualInterfaceResult & WithVirtualInterfaceType(const Aws::String &value)
const Aws::String & GetOwnerAccount() const
void SetRouteFilterPrefixes(Aws::Vector< RouteFilterPrefix > &&value)
AllocatePublicVirtualInterfaceResult & WithRequestId(const char *value)
void SetVirtualInterfaceState(const VirtualInterfaceState &value)
AllocatePublicVirtualInterfaceResult & WithVirtualInterfaceId(const char *value)
AllocatePublicVirtualInterfaceResult & AddTags(Tag &&value)
AllocatePublicVirtualInterfaceResult & WithAuthKey(const Aws::String &value)
AllocatePublicVirtualInterfaceResult & WithConnectionId(Aws::String &&value)
AllocatePublicVirtualInterfaceResult & WithAmazonAddress(Aws::String &&value)
const Aws::String & GetCustomerAddress() const
void SetAmazonSideAsn(long long value)
AllocatePublicVirtualInterfaceResult & WithVirtualInterfaceId(Aws::String &&value)
AWS_DIRECTCONNECT_API AllocatePublicVirtualInterfaceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AllocatePublicVirtualInterfaceResult & WithAwsLogicalDeviceId(Aws::String &&value)
AllocatePublicVirtualInterfaceResult & WithCustomerRouterConfig(const Aws::String &value)
const Aws::String & GetDirectConnectGatewayId() const
void SetAwsLogicalDeviceId(const Aws::String &value)
AllocatePublicVirtualInterfaceResult & WithVirtualInterfaceName(const Aws::String &value)
AllocatePublicVirtualInterfaceResult & WithVirtualGatewayId(const Aws::String &value)
AllocatePublicVirtualInterfaceResult & WithOwnerAccount(Aws::String &&value)
AllocatePublicVirtualInterfaceResult & WithVirtualGatewayId(const char *value)
void SetVirtualGatewayId(const char *value)
AllocatePublicVirtualInterfaceResult & WithVirtualInterfaceType(Aws::String &&value)
AllocatePublicVirtualInterfaceResult & WithLocation(const Aws::String &value)
AllocatePublicVirtualInterfaceResult & AddBgpPeers(const BGPPeer &value)
AllocatePublicVirtualInterfaceResult & WithBgpPeers(Aws::Vector< BGPPeer > &&value)
const Aws::Vector< Tag > & GetTags() const
void SetDirectConnectGatewayId(Aws::String &&value)
void SetAddressFamily(AddressFamily &&value)
void SetAuthKey(Aws::String &&value)
void SetRequestId(const char *value)
AllocatePublicVirtualInterfaceResult & WithRouteFilterPrefixes(Aws::Vector< RouteFilterPrefix > &&value)
const Aws::String & GetAwsDeviceV2() const
AllocatePublicVirtualInterfaceResult & WithTags(Aws::Vector< Tag > &&value)
AllocatePublicVirtualInterfaceResult & WithVirtualInterfaceState(const VirtualInterfaceState &value)
AllocatePublicVirtualInterfaceResult & WithAddressFamily(AddressFamily &&value)
AllocatePublicVirtualInterfaceResult & WithVlan(int value)
void SetVirtualInterfaceName(const Aws::String &value)
AllocatePublicVirtualInterfaceResult & WithAuthKey(Aws::String &&value)
void SetDirectConnectGatewayId(const char *value)
void SetVirtualInterfaceId(Aws::String &&value)
void SetCustomerAddress(const Aws::String &value)
AllocatePublicVirtualInterfaceResult & WithVirtualInterfaceName(Aws::String &&value)
void SetVirtualInterfaceName(Aws::String &&value)
AWS_DIRECTCONNECT_API AllocatePublicVirtualInterfaceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AllocatePublicVirtualInterfaceResult & WithRequestId(Aws::String &&value)
AllocatePublicVirtualInterfaceResult & WithRouteFilterPrefixes(const Aws::Vector< RouteFilterPrefix > &value)
void SetVirtualInterfaceType(const Aws::String &value)
AllocatePublicVirtualInterfaceResult & WithOwnerAccount(const char *value)
AWS_DIRECTCONNECT_API AllocatePublicVirtualInterfaceResult()
void SetAmazonAddress(Aws::String &&value)
AllocatePublicVirtualInterfaceResult & WithConnectionId(const char *value)
AllocatePublicVirtualInterfaceResult & WithAwsDeviceV2(const char *value)
void SetDirectConnectGatewayId(const Aws::String &value)
void SetJumboFrameCapable(bool value)
void SetAwsLogicalDeviceId(const char *value)
AllocatePublicVirtualInterfaceResult & WithTags(const Aws::Vector< Tag > &value)
void SetRegion(const Aws::String &value)
void SetTags(Aws::Vector< Tag > &&value)
AllocatePublicVirtualInterfaceResult & WithOwnerAccount(const Aws::String &value)
AllocatePublicVirtualInterfaceResult & WithSiteLinkEnabled(bool value)
void SetCustomerAddress(const char *value)
void SetCustomerRouterConfig(const Aws::String &value)
void SetVirtualInterfaceId(const Aws::String &value)
void SetAuthKey(const char *value)
const VirtualInterfaceState & GetVirtualInterfaceState() const
const Aws::String & GetVirtualInterfaceName() const
void SetVirtualGatewayId(Aws::String &&value)
const AddressFamily & GetAddressFamily() const
const Aws::String & GetCustomerRouterConfig() const
void SetAuthKey(const Aws::String &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