7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9#include <aws/ec2/model/VpcEndpointType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/ec2/model/IpAddressType.h>
13#include <aws/ec2/model/DnsOptionsSpecification.h>
14#include <aws/ec2/model/TagSpecification.h>
15#include <aws/ec2/model/SubnetConfiguration.h>
54 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
78 inline void SetVpcId(
const char* value) { m_vpcIdHasBeenSet =
true; m_vpcId.assign(value); }
92 inline void SetServiceName(
const char* value) { m_serviceNameHasBeenSet =
true; m_serviceName.assign(value); }
109 inline void SetPolicyDocument(
const char* value) { m_policyDocumentHasBeenSet =
true; m_policyDocument.assign(value); }
199 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
221 inline void SetPrivateDnsEnabled(
bool value) { m_privateDnsEnabledHasBeenSet =
true; m_privateDnsEnabled = value; }
255 bool m_dryRunHasBeenSet =
false;
258 bool m_vpcEndpointTypeHasBeenSet =
false;
261 bool m_vpcIdHasBeenSet =
false;
264 bool m_serviceNameHasBeenSet =
false;
267 bool m_policyDocumentHasBeenSet =
false;
270 bool m_routeTableIdsHasBeenSet =
false;
273 bool m_subnetIdsHasBeenSet =
false;
276 bool m_securityGroupIdsHasBeenSet =
false;
279 bool m_ipAddressTypeHasBeenSet =
false;
282 bool m_dnsOptionsHasBeenSet =
false;
285 bool m_clientTokenHasBeenSet =
false;
287 bool m_privateDnsEnabled;
288 bool m_privateDnsEnabledHasBeenSet =
false;
291 bool m_tagSpecificationsHasBeenSet =
false;
294 bool m_subnetConfigurationsHasBeenSet =
false;
void SetDryRun(bool value)
CreateVpcEndpointRequest & WithVpcId(const Aws::String &value)
bool PolicyDocumentHasBeenSet() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetClientToken(Aws::String &&value)
bool PrivateDnsEnabledHasBeenSet() const
CreateVpcEndpointRequest & AddTagSpecifications(TagSpecification &&value)
bool DryRunHasBeenSet() const
CreateVpcEndpointRequest & WithVpcId(const char *value)
void SetRouteTableIds(const Aws::Vector< Aws::String > &value)
virtual const char * GetServiceRequestName() const override
CreateVpcEndpointRequest & WithTagSpecifications(const Aws::Vector< TagSpecification > &value)
CreateVpcEndpointRequest & WithSubnetConfigurations(Aws::Vector< SubnetConfiguration > &&value)
CreateVpcEndpointRequest & WithDryRun(bool value)
void SetVpcId(const Aws::String &value)
void SetVpcEndpointType(VpcEndpointType &&value)
CreateVpcEndpointRequest & WithVpcEndpointType(const VpcEndpointType &value)
void SetSubnetConfigurations(Aws::Vector< SubnetConfiguration > &&value)
bool VpcEndpointTypeHasBeenSet() const
const DnsOptionsSpecification & GetDnsOptions() const
const Aws::String & GetServiceName() const
CreateVpcEndpointRequest & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
CreateVpcEndpointRequest & AddRouteTableIds(const char *value)
bool ClientTokenHasBeenSet() const
bool SubnetConfigurationsHasBeenSet() const
CreateVpcEndpointRequest & AddSubnetIds(Aws::String &&value)
CreateVpcEndpointRequest & AddSecurityGroupIds(const Aws::String &value)
CreateVpcEndpointRequest & WithDnsOptions(const DnsOptionsSpecification &value)
void SetIpAddressType(IpAddressType &&value)
void SetPolicyDocument(const Aws::String &value)
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
void SetTagSpecifications(const Aws::Vector< TagSpecification > &value)
CreateVpcEndpointRequest & WithPrivateDnsEnabled(bool value)
CreateVpcEndpointRequest & WithPolicyDocument(const Aws::String &value)
CreateVpcEndpointRequest & AddSubnetConfigurations(const SubnetConfiguration &value)
void SetSubnetConfigurations(const Aws::Vector< SubnetConfiguration > &value)
CreateVpcEndpointRequest & WithSubnetConfigurations(const Aws::Vector< SubnetConfiguration > &value)
void SetClientToken(const Aws::String &value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
CreateVpcEndpointRequest & AddSubnetIds(const Aws::String &value)
CreateVpcEndpointRequest & WithRouteTableIds(const Aws::Vector< Aws::String > &value)
CreateVpcEndpointRequest & WithVpcEndpointType(VpcEndpointType &&value)
bool GetPrivateDnsEnabled() const
void SetDnsOptions(const DnsOptionsSpecification &value)
CreateVpcEndpointRequest & AddTagSpecifications(const TagSpecification &value)
CreateVpcEndpointRequest & AddSecurityGroupIds(Aws::String &&value)
CreateVpcEndpointRequest & WithServiceName(const Aws::String &value)
void SetClientToken(const char *value)
const Aws::Vector< SubnetConfiguration > & GetSubnetConfigurations() const
CreateVpcEndpointRequest & WithClientToken(const char *value)
const Aws::String & GetPolicyDocument() const
bool RouteTableIdsHasBeenSet() const
CreateVpcEndpointRequest & WithIpAddressType(const IpAddressType &value)
void SetServiceName(const char *value)
bool SubnetIdsHasBeenSet() const
CreateVpcEndpointRequest & AddSecurityGroupIds(const char *value)
const VpcEndpointType & GetVpcEndpointType() const
CreateVpcEndpointRequest & WithClientToken(const Aws::String &value)
CreateVpcEndpointRequest & WithTagSpecifications(Aws::Vector< TagSpecification > &&value)
CreateVpcEndpointRequest & WithSubnetIds(const Aws::Vector< Aws::String > &value)
bool IpAddressTypeHasBeenSet() const
CreateVpcEndpointRequest & WithSubnetIds(Aws::Vector< Aws::String > &&value)
CreateVpcEndpointRequest & WithPolicyDocument(Aws::String &&value)
CreateVpcEndpointRequest & WithServiceName(const char *value)
void SetPolicyDocument(Aws::String &&value)
bool VpcIdHasBeenSet() const
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
void SetRouteTableIds(Aws::Vector< Aws::String > &&value)
CreateVpcEndpointRequest & AddSubnetIds(const char *value)
bool ServiceNameHasBeenSet() const
const Aws::Vector< TagSpecification > & GetTagSpecifications() const
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
AWS_EC2_API Aws::String SerializePayload() const override
void SetTagSpecifications(Aws::Vector< TagSpecification > &&value)
CreateVpcEndpointRequest & AddSubnetConfigurations(SubnetConfiguration &&value)
const Aws::Vector< Aws::String > & GetRouteTableIds() const
void SetServiceName(Aws::String &&value)
const IpAddressType & GetIpAddressType() const
CreateVpcEndpointRequest & WithPolicyDocument(const char *value)
const Aws::String & GetVpcId() const
bool SecurityGroupIdsHasBeenSet() const
CreateVpcEndpointRequest & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
const Aws::String & GetClientToken() const
CreateVpcEndpointRequest & WithRouteTableIds(Aws::Vector< Aws::String > &&value)
void SetVpcId(Aws::String &&value)
bool TagSpecificationsHasBeenSet() const
CreateVpcEndpointRequest & AddRouteTableIds(const Aws::String &value)
CreateVpcEndpointRequest & WithServiceName(Aws::String &&value)
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
CreateVpcEndpointRequest & AddRouteTableIds(Aws::String &&value)
bool DnsOptionsHasBeenSet() const
void SetPrivateDnsEnabled(bool value)
CreateVpcEndpointRequest & WithDnsOptions(DnsOptionsSpecification &&value)
void SetDnsOptions(DnsOptionsSpecification &&value)
void SetVpcEndpointType(const VpcEndpointType &value)
CreateVpcEndpointRequest & WithClientToken(Aws::String &&value)
void SetVpcId(const char *value)
CreateVpcEndpointRequest & WithIpAddressType(IpAddressType &&value)
void SetIpAddressType(const IpAddressType &value)
CreateVpcEndpointRequest & WithVpcId(Aws::String &&value)
AWS_EC2_API CreateVpcEndpointRequest()
void SetServiceName(const Aws::String &value)
void SetPolicyDocument(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector