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;
67 m_vpcEndpointTypeHasBeenSet =
true;
68 m_vpcEndpointType = value;
82 template <
typename VpcIdT = Aws::String>
84 m_vpcIdHasBeenSet =
true;
85 m_vpcId = std::forward<VpcIdT>(value);
87 template <
typename VpcIdT = Aws::String>
89 SetVpcId(std::forward<VpcIdT>(value));
100 template <
typename ServiceNameT = Aws::String>
102 m_serviceNameHasBeenSet =
true;
103 m_serviceName = std::forward<ServiceNameT>(value);
105 template <
typename ServiceNameT = Aws::String>
121 template <
typename PolicyDocumentT = Aws::String>
123 m_policyDocumentHasBeenSet =
true;
124 m_policyDocument = std::forward<PolicyDocumentT>(value);
126 template <
typename PolicyDocumentT = Aws::String>
139 template <
typename RouteTableIdsT = Aws::Vector<Aws::String>>
141 m_routeTableIdsHasBeenSet =
true;
142 m_routeTableIds = std::forward<RouteTableIdsT>(value);
144 template <
typename RouteTableIdsT = Aws::Vector<Aws::String>>
149 template <
typename RouteTableIdsT = Aws::String>
151 m_routeTableIdsHasBeenSet =
true;
152 m_routeTableIds.emplace_back(std::forward<RouteTableIdsT>(value));
165 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
167 m_subnetIdsHasBeenSet =
true;
168 m_subnetIds = std::forward<SubnetIdsT>(value);
170 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
175 template <
typename SubnetIdsT = Aws::String>
177 m_subnetIdsHasBeenSet =
true;
178 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
191 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
193 m_securityGroupIdsHasBeenSet =
true;
194 m_securityGroupIds = std::forward<SecurityGroupIdsT>(value);
196 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
201 template <
typename SecurityGroupIdsT = Aws::String>
203 m_securityGroupIdsHasBeenSet =
true;
204 m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
216 m_ipAddressTypeHasBeenSet =
true;
217 m_ipAddressType = value;
231 template <
typename DnsOptionsT = DnsOptionsSpecification>
233 m_dnsOptionsHasBeenSet =
true;
234 m_dnsOptions = std::forward<DnsOptionsT>(value);
236 template <
typename DnsOptionsT = DnsOptionsSpecification>
252 template <
typename ClientTokenT = Aws::String>
254 m_clientTokenHasBeenSet =
true;
255 m_clientToken = std::forward<ClientTokenT>(value);
257 template <
typename ClientTokenT = Aws::String>
281 m_privateDnsEnabledHasBeenSet =
true;
282 m_privateDnsEnabled = value;
296 template <
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
298 m_tagSpecificationsHasBeenSet =
true;
299 m_tagSpecifications = std::forward<TagSpecificationsT>(value);
301 template <
typename TagSpecificationsT = Aws::Vector<TagSpecification>>
306 template <
typename TagSpecificationsT = TagSpecification>
308 m_tagSpecificationsHasBeenSet =
true;
309 m_tagSpecifications.emplace_back(std::forward<TagSpecificationsT>(value));
320 template <
typename SubnetConfigurationsT = Aws::Vector<SubnetConfiguration>>
322 m_subnetConfigurationsHasBeenSet =
true;
323 m_subnetConfigurations = std::forward<SubnetConfigurationsT>(value);
325 template <
typename SubnetConfigurationsT = Aws::Vector<SubnetConfiguration>>
330 template <
typename SubnetConfigurationsT = SubnetConfiguration>
332 m_subnetConfigurationsHasBeenSet =
true;
333 m_subnetConfigurations.emplace_back(std::forward<SubnetConfigurationsT>(value));
345 template <
typename ServiceNetworkArnT = Aws::String>
347 m_serviceNetworkArnHasBeenSet =
true;
348 m_serviceNetworkArn = std::forward<ServiceNetworkArnT>(value);
350 template <
typename ServiceNetworkArnT = Aws::String>
364 template <
typename ResourceConfigurationArnT = Aws::String>
366 m_resourceConfigurationArnHasBeenSet =
true;
367 m_resourceConfigurationArn = std::forward<ResourceConfigurationArnT>(value);
369 template <
typename ResourceConfigurationArnT = Aws::String>
383 template <
typename ServiceRegionT = Aws::String>
385 m_serviceRegionHasBeenSet =
true;
386 m_serviceRegion = std::forward<ServiceRegionT>(value);
388 template <
typename ServiceRegionT = Aws::String>
395 bool m_dryRun{
false};
413 DnsOptionsSpecification m_dnsOptions;
417 bool m_privateDnsEnabled{
false};
428 bool m_dryRunHasBeenSet =
false;
429 bool m_vpcEndpointTypeHasBeenSet =
false;
430 bool m_vpcIdHasBeenSet =
false;
431 bool m_serviceNameHasBeenSet =
false;
432 bool m_policyDocumentHasBeenSet =
false;
433 bool m_routeTableIdsHasBeenSet =
false;
434 bool m_subnetIdsHasBeenSet =
false;
435 bool m_securityGroupIdsHasBeenSet =
false;
436 bool m_ipAddressTypeHasBeenSet =
false;
437 bool m_dnsOptionsHasBeenSet =
false;
438 bool m_clientTokenHasBeenSet =
false;
439 bool m_privateDnsEnabledHasBeenSet =
false;
440 bool m_tagSpecificationsHasBeenSet =
false;
441 bool m_subnetConfigurationsHasBeenSet =
false;
442 bool m_serviceNetworkArnHasBeenSet =
false;
443 bool m_resourceConfigurationArnHasBeenSet =
false;
444 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