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/DnsOptionsSpecification.h>
12#include <aws/ec2/model/IpAddressType.h>
13#include <aws/ec2/model/SubnetConfiguration.h>
14#include <aws/ec2/model/TagSpecification.h>
15#include <aws/ec2/model/VpcEndpointType.h>
51 m_dryRunHasBeenSet =
true;
71 m_vpcEndpointTypeHasBeenSet =
true;
72 m_vpcEndpointType = value;
86 template <
typename VpcIdT = Aws::String>
88 m_vpcIdHasBeenSet =
true;
89 m_vpcId = std::forward<VpcIdT>(value);
91 template <
typename VpcIdT = Aws::String>
93 SetVpcId(std::forward<VpcIdT>(value));
104 template <
typename ServiceNameT = Aws::String>
106 m_serviceNameHasBeenSet =
true;
107 m_serviceName = std::forward<ServiceNameT>(value);
109 template <
typename ServiceNameT = Aws::String>
125 template <
typename PolicyDocumentT = Aws::String>
127 m_policyDocumentHasBeenSet =
true;
128 m_policyDocument = std::forward<PolicyDocumentT>(value);
130 template <
typename PolicyDocumentT = Aws::String>
143 template <
typename RouteTableIdsT = Aws::Vector<Aws::String>>
145 m_routeTableIdsHasBeenSet =
true;
146 m_routeTableIds = std::forward<RouteTableIdsT>(value);
148 template <
typename RouteTableIdsT = Aws::Vector<Aws::String>>
153 template <
typename RouteTableIdsT = Aws::String>
155 m_routeTableIdsHasBeenSet =
true;
156 m_routeTableIds.emplace_back(std::forward<RouteTableIdsT>(value));
173 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
175 m_subnetIdsHasBeenSet =
true;
176 m_subnetIds = std::forward<SubnetIdsT>(value);
178 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
183 template <
typename SubnetIdsT = Aws::String>
185 m_subnetIdsHasBeenSet =
true;
186 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
199 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
201 m_securityGroupIdsHasBeenSet =
true;
202 m_securityGroupIds = std::forward<SecurityGroupIdsT>(value);
204 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
209 template <
typename SecurityGroupIdsT = Aws::String>
211 m_securityGroupIdsHasBeenSet =
true;
212 m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
224 m_ipAddressTypeHasBeenSet =
true;
225 m_ipAddressType = value;
239 template <
typename DnsOptionsT = DnsOptionsSpecification>
241 m_dnsOptionsHasBeenSet =
true;
242 m_dnsOptions = std::forward<DnsOptionsT>(value);
244 template <
typename DnsOptionsT = DnsOptionsSpecification>
260 template <
typename ClientTokenT = Aws::String>
262 m_clientTokenHasBeenSet =
true;
263 m_clientToken = std::forward<ClientTokenT>(value);
265 template <
typename ClientTokenT = Aws::String>
289 m_privateDnsEnabledHasBeenSet =
true;
290 m_privateDnsEnabled = value;
304 template <
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
306 m_tagSpecificationsHasBeenSet =
true;
307 m_tagSpecifications = std::forward<TagSpecificationsT>(value);
309 template <
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
314 template <
typename TagSpecificationsT = TagSpecification>
316 m_tagSpecificationsHasBeenSet =
true;
317 m_tagSpecifications.emplace_back(std::forward<TagSpecificationsT>(value));
328 template <
typename SubnetConfigurationsT = Aws::Vector<SubnetConfiguration>>
330 m_subnetConfigurationsHasBeenSet =
true;
331 m_subnetConfigurations = std::forward<SubnetConfigurationsT>(value);
333 template <
typename SubnetConfigurationsT = Aws::Vector<SubnetConfiguration>>
338 template <
typename SubnetConfigurationsT = SubnetConfiguration>
340 m_subnetConfigurationsHasBeenSet =
true;
341 m_subnetConfigurations.emplace_back(std::forward<SubnetConfigurationsT>(value));
353 template <
typename ServiceNetworkArnT = Aws::String>
355 m_serviceNetworkArnHasBeenSet =
true;
356 m_serviceNetworkArn = std::forward<ServiceNetworkArnT>(value);
358 template <
typename ServiceNetworkArnT = Aws::String>
384 template <
typename ResourceConfigurationArnT = Aws::String>
386 m_resourceConfigurationArnHasBeenSet =
true;
387 m_resourceConfigurationArn = std::forward<ResourceConfigurationArnT>(value);
389 template <
typename ResourceConfigurationArnT = Aws::String>
403 template <
typename ServiceRegionT = Aws::String>
405 m_serviceRegionHasBeenSet =
true;
406 m_serviceRegion = std::forward<ServiceRegionT>(value);
408 template <
typename ServiceRegionT = Aws::String>
415 bool m_dryRun{
false};
433 DnsOptionsSpecification m_dnsOptions;
437 bool m_privateDnsEnabled{
false};
448 bool m_dryRunHasBeenSet =
false;
449 bool m_vpcEndpointTypeHasBeenSet =
false;
450 bool m_vpcIdHasBeenSet =
false;
451 bool m_serviceNameHasBeenSet =
false;
452 bool m_policyDocumentHasBeenSet =
false;
453 bool m_routeTableIdsHasBeenSet =
false;
454 bool m_subnetIdsHasBeenSet =
false;
455 bool m_securityGroupIdsHasBeenSet =
false;
456 bool m_ipAddressTypeHasBeenSet =
false;
457 bool m_dnsOptionsHasBeenSet =
false;
458 bool m_clientTokenHasBeenSet =
false;
459 bool m_privateDnsEnabledHasBeenSet =
false;
460 bool m_tagSpecificationsHasBeenSet =
false;
461 bool m_subnetConfigurationsHasBeenSet =
false;
462 bool m_serviceNetworkArnHasBeenSet =
false;
463 bool m_resourceConfigurationArnHasBeenSet =
false;
464 bool m_serviceRegionHasBeenSet =
false;
void SetDryRun(bool value)
void SetTagSpecifications(TagSpecificationsT &&value)
bool PolicyDocumentHasBeenSet() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const Aws::String & GetServiceNetworkArn() const
bool PrivateDnsEnabledHasBeenSet() const
bool DryRunHasBeenSet() const
CreateVpcEndpointRequest & WithTagSpecifications(TagSpecificationsT &&value)
virtual const char * GetServiceRequestName() const override
CreateVpcEndpointRequest & WithDryRun(bool value)
void SetDnsOptions(DnsOptionsT &&value)
void SetServiceRegion(ServiceRegionT &&value)
IpAddressType GetIpAddressType() const
bool VpcEndpointTypeHasBeenSet() const
const DnsOptionsSpecification & GetDnsOptions() const
CreateVpcEndpointRequest & WithVpcId(VpcIdT &&value)
AWS_EC2_API CreateVpcEndpointRequest()=default
const Aws::String & GetServiceName() const
void SetSecurityGroupIds(SecurityGroupIdsT &&value)
CreateVpcEndpointRequest & WithSecurityGroupIds(SecurityGroupIdsT &&value)
bool ClientTokenHasBeenSet() const
bool SubnetConfigurationsHasBeenSet() const
const Aws::String & GetResourceConfigurationArn() const
void SetRouteTableIds(RouteTableIdsT &&value)
void SetServiceNetworkArn(ServiceNetworkArnT &&value)
CreateVpcEndpointRequest & WithPrivateDnsEnabled(bool value)
CreateVpcEndpointRequest & AddSubnetConfigurations(SubnetConfigurationsT &&value)
void SetSubnetIds(SubnetIdsT &&value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
CreateVpcEndpointRequest & WithRouteTableIds(RouteTableIdsT &&value)
bool GetPrivateDnsEnabled() const
CreateVpcEndpointRequest & WithSubnetIds(SubnetIdsT &&value)
const Aws::Vector< SubnetConfiguration > & GetSubnetConfigurations() const
const Aws::String & GetPolicyDocument() const
bool RouteTableIdsHasBeenSet() const
bool SubnetIdsHasBeenSet() const
CreateVpcEndpointRequest & WithIpAddressType(IpAddressType value)
CreateVpcEndpointRequest & WithDnsOptions(DnsOptionsT &&value)
void SetSubnetConfigurations(SubnetConfigurationsT &&value)
CreateVpcEndpointRequest & WithVpcEndpointType(VpcEndpointType value)
CreateVpcEndpointRequest & WithServiceNetworkArn(ServiceNetworkArnT &&value)
bool IpAddressTypeHasBeenSet() const
bool ResourceConfigurationArnHasBeenSet() const
CreateVpcEndpointRequest & WithServiceName(ServiceNameT &&value)
CreateVpcEndpointRequest & WithServiceRegion(ServiceRegionT &&value)
bool VpcIdHasBeenSet() const
void SetClientToken(ClientTokenT &&value)
bool ServiceNameHasBeenSet() const
CreateVpcEndpointRequest & WithPolicyDocument(PolicyDocumentT &&value)
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
AWS_EC2_API Aws::String SerializePayload() const override
void SetServiceName(ServiceNameT &&value)
CreateVpcEndpointRequest & AddTagSpecifications(TagSpecificationsT &&value)
const Aws::Vector< Aws::String > & GetRouteTableIds() const
void SetVpcId(VpcIdT &&value)
void SetVpcEndpointType(VpcEndpointType value)
CreateVpcEndpointRequest & WithSubnetConfigurations(SubnetConfigurationsT &&value)
void SetPolicyDocument(PolicyDocumentT &&value)
const Aws::String & GetVpcId() const
CreateVpcEndpointRequest & WithResourceConfigurationArn(ResourceConfigurationArnT &&value)
bool SecurityGroupIdsHasBeenSet() const
bool ServiceRegionHasBeenSet() const
const Aws::String & GetClientToken() const
bool TagSpecificationsHasBeenSet() const
bool ServiceNetworkArnHasBeenSet() const
CreateVpcEndpointRequest & AddSecurityGroupIds(SecurityGroupIdsT &&value)
CreateVpcEndpointRequest & AddSubnetIds(SubnetIdsT &&value)
bool DnsOptionsHasBeenSet() const
void SetPrivateDnsEnabled(bool value)
CreateVpcEndpointRequest & WithClientToken(ClientTokenT &&value)
void SetResourceConfigurationArn(ResourceConfigurationArnT &&value)
CreateVpcEndpointRequest & AddRouteTableIds(RouteTableIdsT &&value)
VpcEndpointType GetVpcEndpointType() const
void SetIpAddressType(IpAddressType value)
const Aws::String & GetServiceRegion() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector