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/VpnConnectionOptionsSpecification.h>
12#include <aws/ec2/model/TagSpecification.h>
52 template<
typename CustomerGatewayIdT = Aws::String>
53 void SetCustomerGatewayId(CustomerGatewayIdT&& value) { m_customerGatewayIdHasBeenSet =
true; m_customerGatewayId = std::forward<CustomerGatewayIdT>(value); }
54 template<
typename CustomerGatewayIdT = Aws::String>
64 template<
typename TypeT = Aws::String>
65 void SetType(TypeT&& value) { m_typeHasBeenSet =
true; m_type = std::forward<TypeT>(value); }
66 template<
typename TypeT = Aws::String>
77 template<
typename VpnGatewayIdT = Aws::String>
78 void SetVpnGatewayId(VpnGatewayIdT&& value) { m_vpnGatewayIdHasBeenSet =
true; m_vpnGatewayId = std::forward<VpnGatewayIdT>(value); }
79 template<
typename VpnGatewayIdT = Aws::String>
90 template<
typename TransitGatewayIdT = Aws::String>
91 void SetTransitGatewayId(TransitGatewayIdT&& value) { m_transitGatewayIdHasBeenSet =
true; m_transitGatewayId = std::forward<TransitGatewayIdT>(value); }
92 template<
typename TransitGatewayIdT = Aws::String>
102 template<
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
103 void SetTagSpecifications(TagSpecificationsT&& value) { m_tagSpecificationsHasBeenSet =
true; m_tagSpecifications = std::forward<TagSpecificationsT>(value); }
104 template<
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
106 template<
typename TagSpecificationsT = TagSpecification>
118 template<
typename PreSharedKeyStorageT = Aws::String>
119 void SetPreSharedKeyStorage(PreSharedKeyStorageT&& value) { m_preSharedKeyStorageHasBeenSet =
true; m_preSharedKeyStorage = std::forward<PreSharedKeyStorageT>(value); }
120 template<
typename PreSharedKeyStorageT = Aws::String>
133 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
143 template<
typename OptionsT = VpnConnectionOptionsSpecification>
144 void SetOptions(OptionsT&& value) { m_optionsHasBeenSet =
true; m_options = std::forward<OptionsT>(value); }
145 template<
typename OptionsT = VpnConnectionOptionsSpecification>
151 bool m_customerGatewayIdHasBeenSet =
false;
154 bool m_typeHasBeenSet =
false;
157 bool m_vpnGatewayIdHasBeenSet =
false;
160 bool m_transitGatewayIdHasBeenSet =
false;
163 bool m_tagSpecificationsHasBeenSet =
false;
166 bool m_preSharedKeyStorageHasBeenSet =
false;
168 bool m_dryRun{
false};
169 bool m_dryRunHasBeenSet =
false;
171 VpnConnectionOptionsSpecification m_options;
172 bool m_optionsHasBeenSet =
false;
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
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)
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
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