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/IpAddressType.h>
12#include <aws/ec2/model/DnsOptionsSpecification.h>
13#include <aws/ec2/model/SubnetConfiguration.h>
52 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
64 inline void SetVpcEndpointId(
const char* value) { m_vpcEndpointIdHasBeenSet =
true; m_vpcEndpointId.assign(value); }
77 inline void SetResetPolicy(
bool value) { m_resetPolicyHasBeenSet =
true; m_resetPolicy = value; }
90 inline void SetPolicyDocument(
const char* value) { m_policyDocumentHasBeenSet =
true; m_policyDocument.assign(value); }
224 inline void SetPrivateDnsEnabled(
bool value) { m_privateDnsEnabledHasBeenSet =
true; m_privateDnsEnabled = value; }
244 bool m_dryRunHasBeenSet =
false;
247 bool m_vpcEndpointIdHasBeenSet =
false;
250 bool m_resetPolicyHasBeenSet =
false;
253 bool m_policyDocumentHasBeenSet =
false;
256 bool m_addRouteTableIdsHasBeenSet =
false;
259 bool m_removeRouteTableIdsHasBeenSet =
false;
262 bool m_addSubnetIdsHasBeenSet =
false;
265 bool m_removeSubnetIdsHasBeenSet =
false;
268 bool m_addSecurityGroupIdsHasBeenSet =
false;
271 bool m_removeSecurityGroupIdsHasBeenSet =
false;
274 bool m_ipAddressTypeHasBeenSet =
false;
277 bool m_dnsOptionsHasBeenSet =
false;
279 bool m_privateDnsEnabled;
280 bool m_privateDnsEnabledHasBeenSet =
false;
283 bool m_subnetConfigurationsHasBeenSet =
false;
virtual const char * GetServiceRequestName() const override
bool PrivateDnsEnabledHasBeenSet() const
void SetRemoveSubnetIds(Aws::Vector< Aws::String > &&value)
bool VpcEndpointIdHasBeenSet() const
const Aws::Vector< Aws::String > & GetRemoveRouteTableIds() const
const Aws::Vector< Aws::String > & GetAddSubnetIds() const
bool AddRouteTableIdsHasBeenSet() const
bool RemoveSecurityGroupIdsHasBeenSet() const
ModifyVpcEndpointRequest & AddAddSubnetIds(const Aws::String &value)
void SetRemoveRouteTableIds(const Aws::Vector< Aws::String > &value)
ModifyVpcEndpointRequest & WithRemoveSubnetIds(Aws::Vector< Aws::String > &&value)
ModifyVpcEndpointRequest & WithAddRouteTableIds(Aws::Vector< Aws::String > &&value)
ModifyVpcEndpointRequest & AddAddSubnetIds(Aws::String &&value)
ModifyVpcEndpointRequest & AddAddSecurityGroupIds(const Aws::String &value)
bool DnsOptionsHasBeenSet() const
ModifyVpcEndpointRequest & WithAddSecurityGroupIds(const Aws::Vector< Aws::String > &value)
ModifyVpcEndpointRequest & AddRemoveRouteTableIds(Aws::String &&value)
ModifyVpcEndpointRequest & AddRemoveSecurityGroupIds(const char *value)
ModifyVpcEndpointRequest & WithVpcEndpointId(const Aws::String &value)
void SetIpAddressType(const IpAddressType &value)
void SetAddSubnetIds(const Aws::Vector< Aws::String > &value)
void SetVpcEndpointId(const char *value)
ModifyVpcEndpointRequest & AddAddRouteTableIds(Aws::String &&value)
ModifyVpcEndpointRequest & WithRemoveSubnetIds(const Aws::Vector< Aws::String > &value)
void SetAddRouteTableIds(const Aws::Vector< Aws::String > &value)
ModifyVpcEndpointRequest & WithRemoveSecurityGroupIds(Aws::Vector< Aws::String > &&value)
ModifyVpcEndpointRequest & AddAddSubnetIds(const char *value)
ModifyVpcEndpointRequest & WithDnsOptions(const DnsOptionsSpecification &value)
void SetVpcEndpointId(Aws::String &&value)
const DnsOptionsSpecification & GetDnsOptions() const
ModifyVpcEndpointRequest & WithAddSubnetIds(const Aws::Vector< Aws::String > &value)
const Aws::String & GetVpcEndpointId() const
bool AddSubnetIdsHasBeenSet() const
bool GetPrivateDnsEnabled() const
const Aws::Vector< Aws::String > & GetRemoveSubnetIds() const
const Aws::String & GetPolicyDocument() const
void SetRemoveSecurityGroupIds(const Aws::Vector< Aws::String > &value)
ModifyVpcEndpointRequest & WithSubnetConfigurations(const Aws::Vector< SubnetConfiguration > &value)
bool AddSecurityGroupIdsHasBeenSet() const
ModifyVpcEndpointRequest & WithRemoveRouteTableIds(const Aws::Vector< Aws::String > &value)
void SetPolicyDocument(const Aws::String &value)
ModifyVpcEndpointRequest & WithPolicyDocument(const Aws::String &value)
ModifyVpcEndpointRequest & WithPolicyDocument(Aws::String &&value)
ModifyVpcEndpointRequest & WithAddSubnetIds(Aws::Vector< Aws::String > &&value)
void SetDnsOptions(const DnsOptionsSpecification &value)
bool ResetPolicyHasBeenSet() const
bool PolicyDocumentHasBeenSet() const
ModifyVpcEndpointRequest & AddAddSecurityGroupIds(Aws::String &&value)
ModifyVpcEndpointRequest & WithPolicyDocument(const char *value)
ModifyVpcEndpointRequest & WithRemoveRouteTableIds(Aws::Vector< Aws::String > &&value)
void SetPolicyDocument(const char *value)
ModifyVpcEndpointRequest & WithAddSecurityGroupIds(Aws::Vector< Aws::String > &&value)
void SetPrivateDnsEnabled(bool value)
void SetPolicyDocument(Aws::String &&value)
void SetAddRouteTableIds(Aws::Vector< Aws::String > &&value)
void SetAddSecurityGroupIds(Aws::Vector< Aws::String > &&value)
bool RemoveRouteTableIdsHasBeenSet() const
ModifyVpcEndpointRequest & AddSubnetConfigurations(SubnetConfiguration &&value)
ModifyVpcEndpointRequest & WithRemoveSecurityGroupIds(const Aws::Vector< Aws::String > &value)
void SetRemoveSecurityGroupIds(Aws::Vector< Aws::String > &&value)
bool RemoveSubnetIdsHasBeenSet() const
bool IpAddressTypeHasBeenSet() const
ModifyVpcEndpointRequest & AddRemoveSubnetIds(Aws::String &&value)
const IpAddressType & GetIpAddressType() const
void SetDnsOptions(DnsOptionsSpecification &&value)
void SetRemoveRouteTableIds(Aws::Vector< Aws::String > &&value)
ModifyVpcEndpointRequest & AddSubnetConfigurations(const SubnetConfiguration &value)
ModifyVpcEndpointRequest & WithSubnetConfigurations(Aws::Vector< SubnetConfiguration > &&value)
ModifyVpcEndpointRequest & WithIpAddressType(const IpAddressType &value)
ModifyVpcEndpointRequest & WithVpcEndpointId(const char *value)
void SetAddSecurityGroupIds(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetAddRouteTableIds() const
void SetIpAddressType(IpAddressType &&value)
ModifyVpcEndpointRequest & WithDnsOptions(DnsOptionsSpecification &&value)
ModifyVpcEndpointRequest & WithResetPolicy(bool value)
ModifyVpcEndpointRequest & AddAddRouteTableIds(const Aws::String &value)
ModifyVpcEndpointRequest & AddRemoveSubnetIds(const char *value)
ModifyVpcEndpointRequest & WithVpcEndpointId(Aws::String &&value)
bool SubnetConfigurationsHasBeenSet() const
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const Aws::Vector< Aws::String > & GetRemoveSecurityGroupIds() const
bool GetResetPolicy() const
const Aws::Vector< Aws::String > & GetAddSecurityGroupIds() const
ModifyVpcEndpointRequest & AddRemoveSecurityGroupIds(Aws::String &&value)
ModifyVpcEndpointRequest & AddRemoveRouteTableIds(const Aws::String &value)
ModifyVpcEndpointRequest & AddAddRouteTableIds(const char *value)
void SetDryRun(bool value)
ModifyVpcEndpointRequest & WithAddRouteTableIds(const Aws::Vector< Aws::String > &value)
ModifyVpcEndpointRequest & AddRemoveSecurityGroupIds(const Aws::String &value)
void SetSubnetConfigurations(Aws::Vector< SubnetConfiguration > &&value)
const Aws::Vector< SubnetConfiguration > & GetSubnetConfigurations() const
ModifyVpcEndpointRequest & WithPrivateDnsEnabled(bool value)
AWS_EC2_API ModifyVpcEndpointRequest()
ModifyVpcEndpointRequest & AddRemoveRouteTableIds(const char *value)
void SetResetPolicy(bool value)
void SetRemoveSubnetIds(const Aws::Vector< Aws::String > &value)
ModifyVpcEndpointRequest & WithDryRun(bool value)
bool DryRunHasBeenSet() const
ModifyVpcEndpointRequest & AddAddSecurityGroupIds(const char *value)
ModifyVpcEndpointRequest & AddRemoveSubnetIds(const Aws::String &value)
AWS_EC2_API Aws::String SerializePayload() const override
void SetSubnetConfigurations(const Aws::Vector< SubnetConfiguration > &value)
void SetVpcEndpointId(const Aws::String &value)
ModifyVpcEndpointRequest & WithIpAddressType(IpAddressType &&value)
void SetAddSubnetIds(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector