7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ec2/EC2Request.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/TagSpecification.h>
12#include <aws/ec2/model/VpnConnectionOptionsSpecification.h>
48 template <
typename CustomerGatewayIdT = Aws::String>
50 m_customerGatewayIdHasBeenSet =
true;
51 m_customerGatewayId = std::forward<CustomerGatewayIdT>(value);
53 template <
typename CustomerGatewayIdT = Aws::String>
66 template <
typename TypeT = Aws::String>
68 m_typeHasBeenSet =
true;
69 m_type = std::forward<TypeT>(value);
71 template <
typename TypeT = Aws::String>
73 SetType(std::forward<TypeT>(value));
85 template <
typename VpnGatewayIdT = Aws::String>
87 m_vpnGatewayIdHasBeenSet =
true;
88 m_vpnGatewayId = std::forward<VpnGatewayIdT>(value);
90 template <
typename VpnGatewayIdT = Aws::String>
104 template <
typename TransitGatewayIdT = Aws::String>
106 m_transitGatewayIdHasBeenSet =
true;
107 m_transitGatewayId = std::forward<TransitGatewayIdT>(value);
109 template <
typename TransitGatewayIdT = Aws::String>
122 template <
typename VpnConcentratorIdT = Aws::String>
124 m_vpnConcentratorIdHasBeenSet =
true;
125 m_vpnConcentratorId = std::forward<VpnConcentratorIdT>(value);
127 template <
typename VpnConcentratorIdT = Aws::String>
140 template <
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
142 m_tagSpecificationsHasBeenSet =
true;
143 m_tagSpecifications = std::forward<TagSpecificationsT>(value);
145 template <
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
150 template <
typename TagSpecificationsT = TagSpecification>
152 m_tagSpecificationsHasBeenSet =
true;
153 m_tagSpecifications.emplace_back(std::forward<TagSpecificationsT>(value));
166 template <
typename PreSharedKeyStorageT = Aws::String>
168 m_preSharedKeyStorageHasBeenSet =
true;
169 m_preSharedKeyStorage = std::forward<PreSharedKeyStorageT>(value);
171 template <
typename PreSharedKeyStorageT = Aws::String>
188 m_dryRunHasBeenSet =
true;
203 template <
typename OptionsT = VpnConnectionOptionsSpecification>
205 m_optionsHasBeenSet =
true;
206 m_options = std::forward<OptionsT>(value);
208 template <
typename OptionsT = VpnConnectionOptionsSpecification>
229 bool m_dryRun{
false};
231 VpnConnectionOptionsSpecification m_options;
232 bool m_customerGatewayIdHasBeenSet =
false;
233 bool m_typeHasBeenSet =
false;
234 bool m_vpnGatewayIdHasBeenSet =
false;
235 bool m_transitGatewayIdHasBeenSet =
false;
236 bool m_vpnConcentratorIdHasBeenSet =
false;
237 bool m_tagSpecificationsHasBeenSet =
false;
238 bool m_preSharedKeyStorageHasBeenSet =
false;
239 bool m_dryRunHasBeenSet =
false;
240 bool m_optionsHasBeenSet =
false;
void SetVpnConcentratorId(VpnConcentratorIdT &&value)
void SetType(TypeT &&value)
CreateVpnConnectionRequest & WithCustomerGatewayId(CustomerGatewayIdT &&value)
bool TagSpecificationsHasBeenSet() const
CreateVpnConnectionRequest & AddTagSpecifications(TagSpecificationsT &&value)
const Aws::String & GetVpnGatewayId() const
void SetPreSharedKeyStorage(PreSharedKeyStorageT &&value)
AWS_EC2_API Aws::String SerializePayload() const override
bool PreSharedKeyStorageHasBeenSet() const
CreateVpnConnectionRequest & WithType(TypeT &&value)
CreateVpnConnectionRequest & WithDryRun(bool value)
bool TypeHasBeenSet() const
CreateVpnConnectionRequest & WithTransitGatewayId(TransitGatewayIdT &&value)
bool TransitGatewayIdHasBeenSet() const
const Aws::String & GetTransitGatewayId() const
const Aws::String & GetVpnConcentratorId() const
void SetOptions(OptionsT &&value)
AWS_EC2_API CreateVpnConnectionRequest()=default
const Aws::String & GetCustomerGatewayId() const
CreateVpnConnectionRequest & WithOptions(OptionsT &&value)
bool VpnGatewayIdHasBeenSet() const
bool OptionsHasBeenSet() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreateVpnConnectionRequest & WithVpnGatewayId(VpnGatewayIdT &&value)
void SetTagSpecifications(TagSpecificationsT &&value)
CreateVpnConnectionRequest & WithVpnConcentratorId(VpnConcentratorIdT &&value)
void SetVpnGatewayId(VpnGatewayIdT &&value)
CreateVpnConnectionRequest & WithPreSharedKeyStorage(PreSharedKeyStorageT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetPreSharedKeyStorage() const
const VpnConnectionOptionsSpecification & GetOptions() const
CreateVpnConnectionRequest & WithTagSpecifications(TagSpecificationsT &&value)
void SetTransitGatewayId(TransitGatewayIdT &&value)
bool DryRunHasBeenSet() const
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
void SetDryRun(bool value)
const Aws::String & GetType() const
bool VpnConcentratorIdHasBeenSet() const
void SetCustomerGatewayId(CustomerGatewayIdT &&value)
bool CustomerGatewayIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector