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;
AllocatePrivateVirtualInterfaceResult & WithSiteLinkEnabled(bool value)
void SetCustomerAddress(const char *value)
void SetVirtualInterfaceState(VirtualInterfaceState &&value)
AllocatePrivateVirtualInterfaceResult & WithRegion(Aws::String &&value)
long long GetAmazonSideAsn() const
void SetConnectionId(const char *value)
AllocatePrivateVirtualInterfaceResult & WithOwnerAccount(const Aws::String &value)
void SetRegion(Aws::String &&value)
void SetAmazonAddress(Aws::String &&value)
void SetBgpPeers(const Aws::Vector< BGPPeer > &value)
void SetTags(Aws::Vector< Tag > &&value)
const Aws::String & GetVirtualInterfaceId() const
AllocatePrivateVirtualInterfaceResult & WithBgpPeers(Aws::Vector< BGPPeer > &&value)
void SetConnectionId(Aws::String &&value)
AllocatePrivateVirtualInterfaceResult & WithRouteFilterPrefixes(const Aws::Vector< RouteFilterPrefix > &value)
const Aws::String & GetRegion() const
const Aws::String & GetLocation() const
AllocatePrivateVirtualInterfaceResult & WithVirtualInterfaceId(const char *value)
void SetVirtualInterfaceType(const char *value)
void SetVirtualGatewayId(const char *value)
void SetOwnerAccount(const Aws::String &value)
const Aws::String & GetConnectionId() const
void SetRegion(const char *value)
AllocatePrivateVirtualInterfaceResult & WithBgpPeers(const Aws::Vector< BGPPeer > &value)
void SetCustomerRouterConfig(const char *value)
const Aws::String & GetRequestId() const
void SetAwsLogicalDeviceId(const Aws::String &value)
void SetAwsDeviceV2(const Aws::String &value)
AllocatePrivateVirtualInterfaceResult & WithAwsLogicalDeviceId(Aws::String &&value)
AllocatePrivateVirtualInterfaceResult & WithVirtualInterfaceName(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() const
void SetAuthKey(const char *value)
AllocatePrivateVirtualInterfaceResult & WithCustomerRouterConfig(const Aws::String &value)
AllocatePrivateVirtualInterfaceResult & WithAmazonAddress(const char *value)
void SetTags(const Aws::Vector< Tag > &value)
AllocatePrivateVirtualInterfaceResult & WithAddressFamily(const AddressFamily &value)
void SetAwsDeviceV2(Aws::String &&value)
void SetVirtualInterfaceType(Aws::String &&value)
AllocatePrivateVirtualInterfaceResult & WithDirectConnectGatewayId(const Aws::String &value)
void SetCustomerAddress(Aws::String &&value)
void SetVirtualInterfaceId(const Aws::String &value)
void SetAddressFamily(AddressFamily &&value)
AllocatePrivateVirtualInterfaceResult & WithConnectionId(Aws::String &&value)
AllocatePrivateVirtualInterfaceResult & WithVirtualInterfaceId(const Aws::String &value)
void SetDirectConnectGatewayId(const char *value)
void SetDirectConnectGatewayId(const Aws::String &value)
bool GetJumboFrameCapable() const
AllocatePrivateVirtualInterfaceResult & WithAwsDeviceV2(const Aws::String &value)
const Aws::String & GetDirectConnectGatewayId() const
AllocatePrivateVirtualInterfaceResult & WithRegion(const Aws::String &value)
AllocatePrivateVirtualInterfaceResult & AddBgpPeers(const BGPPeer &value)
AllocatePrivateVirtualInterfaceResult & WithConnectionId(const char *value)
const AddressFamily & GetAddressFamily() const
AllocatePrivateVirtualInterfaceResult & WithRequestId(const Aws::String &value)
AllocatePrivateVirtualInterfaceResult & WithOwnerAccount(Aws::String &&value)
AWS_DIRECTCONNECT_API AllocatePrivateVirtualInterfaceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AllocatePrivateVirtualInterfaceResult & WithVirtualInterfaceType(const Aws::String &value)
const Aws::String & GetAuthKey() const
void SetJumboFrameCapable(bool value)
void SetOwnerAccount(Aws::String &&value)
AllocatePrivateVirtualInterfaceResult & WithAuthKey(Aws::String &&value)
const Aws::Vector< RouteFilterPrefix > & GetRouteFilterPrefixes() const
AllocatePrivateVirtualInterfaceResult & WithTags(Aws::Vector< Tag > &&value)
void SetRequestId(const char *value)
void SetRouteFilterPrefixes(const Aws::Vector< RouteFilterPrefix > &value)
AllocatePrivateVirtualInterfaceResult & AddBgpPeers(BGPPeer &&value)
void SetRequestId(Aws::String &&value)
AllocatePrivateVirtualInterfaceResult & WithVirtualInterfaceType(const char *value)
AllocatePrivateVirtualInterfaceResult & WithVirtualInterfaceType(Aws::String &&value)
AllocatePrivateVirtualInterfaceResult & WithVirtualInterfaceId(Aws::String &&value)
void SetRouteFilterPrefixes(Aws::Vector< RouteFilterPrefix > &&value)
AllocatePrivateVirtualInterfaceResult & WithCustomerAddress(Aws::String &&value)
bool GetSiteLinkEnabled() const
AllocatePrivateVirtualInterfaceResult & WithVirtualInterfaceName(const char *value)
AllocatePrivateVirtualInterfaceResult & WithDirectConnectGatewayId(Aws::String &&value)
AllocatePrivateVirtualInterfaceResult & WithRouteFilterPrefixes(Aws::Vector< RouteFilterPrefix > &&value)
void SetAmazonAddress(const Aws::String &value)
AllocatePrivateVirtualInterfaceResult & WithAwsLogicalDeviceId(const Aws::String &value)
void SetSiteLinkEnabled(bool value)
AllocatePrivateVirtualInterfaceResult & WithAwsDeviceV2(const char *value)
AllocatePrivateVirtualInterfaceResult & WithCustomerRouterConfig(Aws::String &&value)
void SetCustomerRouterConfig(Aws::String &&value)
AllocatePrivateVirtualInterfaceResult & WithAuthKey(const Aws::String &value)
void SetLocation(Aws::String &&value)
void SetVirtualInterfaceId(const char *value)
AllocatePrivateVirtualInterfaceResult & WithAmazonSideAsn(long long value)
AllocatePrivateVirtualInterfaceResult & WithVirtualGatewayId(const char *value)
const Aws::String & GetVirtualInterfaceName() const
AllocatePrivateVirtualInterfaceResult & WithVirtualGatewayId(const Aws::String &value)
void SetAddressFamily(const AddressFamily &value)
void SetAmazonSideAsn(long long value)
void SetVirtualInterfaceName(const char *value)
void SetVirtualGatewayId(const Aws::String &value)
void SetCustomerRouterConfig(const Aws::String &value)
AllocatePrivateVirtualInterfaceResult & WithAmazonAddress(const Aws::String &value)
void SetConnectionId(const Aws::String &value)
const Aws::Vector< BGPPeer > & GetBgpPeers() const
AllocatePrivateVirtualInterfaceResult & WithAwsDeviceV2(Aws::String &&value)
AWS_DIRECTCONNECT_API AllocatePrivateVirtualInterfaceResult()
AllocatePrivateVirtualInterfaceResult & WithLocation(const char *value)
AllocatePrivateVirtualInterfaceResult & WithRegion(const char *value)
AllocatePrivateVirtualInterfaceResult & WithOwnerAccount(const char *value)
const Aws::String & GetCustomerRouterConfig() const
void SetAmazonAddress(const char *value)
AllocatePrivateVirtualInterfaceResult & WithAwsLogicalDeviceId(const char *value)
AllocatePrivateVirtualInterfaceResult & WithDirectConnectGatewayId(const char *value)
const Aws::String & GetOwnerAccount() const
AllocatePrivateVirtualInterfaceResult & WithAmazonAddress(Aws::String &&value)
AllocatePrivateVirtualInterfaceResult & WithJumboFrameCapable(bool value)
AllocatePrivateVirtualInterfaceResult & WithRequestId(const char *value)
void SetVirtualInterfaceState(const VirtualInterfaceState &value)
const Aws::String & GetCustomerAddress() const
AllocatePrivateVirtualInterfaceResult & WithAuthKey(const char *value)
AllocatePrivateVirtualInterfaceResult & WithLocation(Aws::String &&value)
AllocatePrivateVirtualInterfaceResult & AddTags(const Tag &value)
const Aws::String & GetVirtualInterfaceType() const
AllocatePrivateVirtualInterfaceResult & AddTags(Tag &&value)
AllocatePrivateVirtualInterfaceResult & WithMtu(int value)
void SetRequestId(const Aws::String &value)
void SetVirtualInterfaceType(const Aws::String &value)
AllocatePrivateVirtualInterfaceResult & WithCustomerAddress(const Aws::String &value)
AllocatePrivateVirtualInterfaceResult & WithCustomerAddress(const char *value)
void SetVirtualInterfaceName(Aws::String &&value)
void SetAwsDeviceV2(const char *value)
AllocatePrivateVirtualInterfaceResult & WithTags(const Aws::Vector< Tag > &value)
AllocatePrivateVirtualInterfaceResult & WithRequestId(Aws::String &&value)
const Aws::String & GetAwsLogicalDeviceId() const
void SetCustomerAddress(const Aws::String &value)
void SetVirtualInterfaceName(const Aws::String &value)
AllocatePrivateVirtualInterfaceResult & WithVirtualInterfaceName(const Aws::String &value)
AllocatePrivateVirtualInterfaceResult & WithAsn(int value)
void SetBgpPeers(Aws::Vector< BGPPeer > &&value)
void SetAwsLogicalDeviceId(const char *value)
AllocatePrivateVirtualInterfaceResult & WithLocation(const Aws::String &value)
void SetLocation(const Aws::String &value)
AllocatePrivateVirtualInterfaceResult & WithVirtualInterfaceState(const VirtualInterfaceState &value)
void SetAuthKey(Aws::String &&value)
const Aws::String & GetAwsDeviceV2() const
void SetDirectConnectGatewayId(Aws::String &&value)
void SetLocation(const char *value)
AllocatePrivateVirtualInterfaceResult & WithVlan(int value)
const VirtualInterfaceState & GetVirtualInterfaceState() const
AllocatePrivateVirtualInterfaceResult & AddRouteFilterPrefixes(const RouteFilterPrefix &value)
AllocatePrivateVirtualInterfaceResult & WithVirtualInterfaceState(VirtualInterfaceState &&value)
void SetAwsLogicalDeviceId(Aws::String &&value)
void SetRegion(const Aws::String &value)
void SetOwnerAccount(const char *value)
void SetVirtualGatewayId(Aws::String &&value)
void SetAuthKey(const Aws::String &value)
AWS_DIRECTCONNECT_API AllocatePrivateVirtualInterfaceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AllocatePrivateVirtualInterfaceResult & WithConnectionId(const Aws::String &value)
AllocatePrivateVirtualInterfaceResult & WithVirtualGatewayId(Aws::String &&value)
AllocatePrivateVirtualInterfaceResult & WithCustomerRouterConfig(const char *value)
const Aws::String & GetVirtualGatewayId() const
AllocatePrivateVirtualInterfaceResult & WithAddressFamily(AddressFamily &&value)
const Aws::String & GetAmazonAddress() const
AllocatePrivateVirtualInterfaceResult & AddRouteFilterPrefixes(RouteFilterPrefix &&value)
void SetVirtualInterfaceId(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