7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ec2/model/TagSpecification.h>
32 inline virtual const char*
GetServiceRequestName()
const override {
return "CreateLocalGatewayVirtualInterface"; }
47 template<
typename LocalGatewayVirtualInterfaceGroupIdT = Aws::String>
48 void SetLocalGatewayVirtualInterfaceGroupId(LocalGatewayVirtualInterfaceGroupIdT&& value) { m_localGatewayVirtualInterfaceGroupIdHasBeenSet =
true; m_localGatewayVirtualInterfaceGroupId = std::forward<LocalGatewayVirtualInterfaceGroupIdT>(value); }
49 template<
typename LocalGatewayVirtualInterfaceGroupIdT = Aws::String>
60 template<
typename OutpostLagIdT = Aws::String>
61 void SetOutpostLagId(OutpostLagIdT&& value) { m_outpostLagIdHasBeenSet =
true; m_outpostLagId = std::forward<OutpostLagIdT>(value); }
62 template<
typename OutpostLagIdT = Aws::String>
71 inline int GetVlan()
const {
return m_vlan; }
73 inline void SetVlan(
int value) { m_vlanHasBeenSet =
true; m_vlan = value; }
84 template<
typename LocalAddressT = Aws::String>
85 void SetLocalAddress(LocalAddressT&& value) { m_localAddressHasBeenSet =
true; m_localAddress = std::forward<LocalAddressT>(value); }
86 template<
typename LocalAddressT = Aws::String>
97 template<
typename PeerAddressT = Aws::String>
98 void SetPeerAddress(PeerAddressT&& value) { m_peerAddressHasBeenSet =
true; m_peerAddress = std::forward<PeerAddressT>(value); }
99 template<
typename PeerAddressT = Aws::String>
110 inline void SetPeerBgpAsn(
int value) { m_peerBgpAsnHasBeenSet =
true; m_peerBgpAsn = value; }
121 template<
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
122 void SetTagSpecifications(TagSpecificationsT&& value) { m_tagSpecificationsHasBeenSet =
true; m_tagSpecifications = std::forward<TagSpecificationsT>(value); }
123 template<
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
125 template<
typename TagSpecificationsT = TagSpecification>
138 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
148 inline void SetPeerBgpAsnExtended(
long long value) { m_peerBgpAsnExtendedHasBeenSet =
true; m_peerBgpAsnExtended = value; }
154 bool m_localGatewayVirtualInterfaceGroupIdHasBeenSet =
false;
157 bool m_outpostLagIdHasBeenSet =
false;
160 bool m_vlanHasBeenSet =
false;
163 bool m_localAddressHasBeenSet =
false;
166 bool m_peerAddressHasBeenSet =
false;
169 bool m_peerBgpAsnHasBeenSet =
false;
172 bool m_tagSpecificationsHasBeenSet =
false;
174 bool m_dryRun{
false};
175 bool m_dryRunHasBeenSet =
false;
177 long long m_peerBgpAsnExtended{0};
178 bool m_peerBgpAsnExtendedHasBeenSet =
false;
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
bool PeerBgpAsnExtendedHasBeenSet() const
int GetPeerBgpAsn() const
bool LocalGatewayVirtualInterfaceGroupIdHasBeenSet() const
virtual const char * GetServiceRequestName() const override
CreateLocalGatewayVirtualInterfaceRequest & WithDryRun(bool value)
void SetTagSpecifications(TagSpecificationsT &&value)
bool PeerBgpAsnHasBeenSet() const
const Aws::String & GetLocalAddress() const
AWS_EC2_API CreateLocalGatewayVirtualInterfaceRequest()=default
CreateLocalGatewayVirtualInterfaceRequest & WithPeerBgpAsnExtended(long long value)
bool DryRunHasBeenSet() const
CreateLocalGatewayVirtualInterfaceRequest & WithLocalGatewayVirtualInterfaceGroupId(LocalGatewayVirtualInterfaceGroupIdT &&value)
void SetOutpostLagId(OutpostLagIdT &&value)
bool PeerAddressHasBeenSet() const
const Aws::String & GetOutpostLagId() const
bool VlanHasBeenSet() const
const Aws::String & GetPeerAddress() const
CreateLocalGatewayVirtualInterfaceRequest & WithTagSpecifications(TagSpecificationsT &&value)
void SetLocalGatewayVirtualInterfaceGroupId(LocalGatewayVirtualInterfaceGroupIdT &&value)
CreateLocalGatewayVirtualInterfaceRequest & WithOutpostLagId(OutpostLagIdT &&value)
bool TagSpecificationsHasBeenSet() const
AWS_EC2_API Aws::String SerializePayload() const override
CreateLocalGatewayVirtualInterfaceRequest & WithPeerAddress(PeerAddressT &&value)
CreateLocalGatewayVirtualInterfaceRequest & WithPeerBgpAsn(int value)
CreateLocalGatewayVirtualInterfaceRequest & AddTagSpecifications(TagSpecificationsT &&value)
void SetPeerBgpAsnExtended(long long value)
CreateLocalGatewayVirtualInterfaceRequest & WithLocalAddress(LocalAddressT &&value)
CreateLocalGatewayVirtualInterfaceRequest & WithVlan(int value)
void SetPeerAddress(PeerAddressT &&value)
void SetLocalAddress(LocalAddressT &&value)
bool LocalAddressHasBeenSet() const
const Aws::String & GetLocalGatewayVirtualInterfaceGroupId() const
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
bool OutpostLagIdHasBeenSet() const
void SetPeerBgpAsn(int value)
void SetDryRun(bool value)
long long GetPeerBgpAsnExtended() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector