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>
54 inline void SetCustomerGatewayId(
const char* value) { m_customerGatewayIdHasBeenSet =
true; m_customerGatewayId.assign(value); }
68 inline void SetType(
const char* value) { m_typeHasBeenSet =
true; m_type.assign(value); }
83 inline void SetVpnGatewayId(
const char* value) { m_vpnGatewayIdHasBeenSet =
true; m_vpnGatewayId.assign(value); }
98 inline void SetTransitGatewayId(
const char* value) { m_transitGatewayIdHasBeenSet =
true; m_transitGatewayId.assign(value); }
127 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
145 bool m_customerGatewayIdHasBeenSet =
false;
148 bool m_typeHasBeenSet =
false;
151 bool m_vpnGatewayIdHasBeenSet =
false;
154 bool m_transitGatewayIdHasBeenSet =
false;
157 bool m_tagSpecificationsHasBeenSet =
false;
160 bool m_dryRunHasBeenSet =
false;
163 bool m_optionsHasBeenSet =
false;
CreateVpnConnectionRequest & WithType(const char *value)
CreateVpnConnectionRequest & WithTransitGatewayId(const char *value)
bool TagSpecificationsHasBeenSet() const
CreateVpnConnectionRequest & WithOptions(VpnConnectionOptionsSpecification &&value)
const Aws::String & GetVpnGatewayId() const
AWS_EC2_API Aws::String SerializePayload() const override
CreateVpnConnectionRequest & WithVpnGatewayId(Aws::String &&value)
CreateVpnConnectionRequest & WithDryRun(bool value)
CreateVpnConnectionRequest & WithCustomerGatewayId(const char *value)
bool TypeHasBeenSet() const
CreateVpnConnectionRequest & WithTransitGatewayId(const Aws::String &value)
CreateVpnConnectionRequest & WithVpnGatewayId(const Aws::String &value)
bool TransitGatewayIdHasBeenSet() const
void SetCustomerGatewayId(const Aws::String &value)
const Aws::String & GetTransitGatewayId() const
void SetCustomerGatewayId(const char *value)
void SetTransitGatewayId(Aws::String &&value)
const Aws::String & GetCustomerGatewayId() const
void SetVpnGatewayId(const char *value)
CreateVpnConnectionRequest & WithCustomerGatewayId(Aws::String &&value)
CreateVpnConnectionRequest & WithOptions(const VpnConnectionOptionsSpecification &value)
void SetType(Aws::String &&value)
void SetVpnGatewayId(Aws::String &&value)
void SetOptions(const VpnConnectionOptionsSpecification &value)
bool VpnGatewayIdHasBeenSet() const
bool OptionsHasBeenSet() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetVpnGatewayId(const Aws::String &value)
CreateVpnConnectionRequest & WithVpnGatewayId(const char *value)
void SetTransitGatewayId(const Aws::String &value)
CreateVpnConnectionRequest & WithTagSpecifications(const Aws::Vector< TagSpecification > &value)
CreateVpnConnectionRequest & AddTagSpecifications(const TagSpecification &value)
void SetCustomerGatewayId(Aws::String &&value)
AWS_EC2_API CreateVpnConnectionRequest()
void SetTransitGatewayId(const char *value)
CreateVpnConnectionRequest & WithCustomerGatewayId(const Aws::String &value)
CreateVpnConnectionRequest & WithTransitGatewayId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetTagSpecifications(const Aws::Vector< TagSpecification > &value)
void SetOptions(VpnConnectionOptionsSpecification &&value)
CreateVpnConnectionRequest & WithType(Aws::String &&value)
const VpnConnectionOptionsSpecification & GetOptions() const
void SetType(const Aws::String &value)
bool DryRunHasBeenSet() const
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
CreateVpnConnectionRequest & AddTagSpecifications(TagSpecification &&value)
CreateVpnConnectionRequest & WithType(const Aws::String &value)
void SetDryRun(bool value)
void SetTagSpecifications(Aws::Vector< TagSpecification > &&value)
void SetType(const char *value)
const Aws::String & GetType() const
CreateVpnConnectionRequest & WithTagSpecifications(Aws::Vector< TagSpecification > &&value)
bool CustomerGatewayIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector