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; }
62 template<
typename VpcEndpo
intIdT = Aws::String>
63 void SetVpcEndpointId(VpcEndpointIdT&& value) { m_vpcEndpointIdHasBeenSet =
true; m_vpcEndpointId = std::forward<VpcEndpointIdT>(value); }
64 template<
typename VpcEndpo
intIdT = Aws::String>
75 inline void SetResetPolicy(
bool value) { m_resetPolicyHasBeenSet =
true; m_resetPolicy = value; }
86 template<
typename PolicyDocumentT = Aws::String>
87 void SetPolicyDocument(PolicyDocumentT&& value) { m_policyDocumentHasBeenSet =
true; m_policyDocument = std::forward<PolicyDocumentT>(value); }
88 template<
typename PolicyDocumentT = Aws::String>
99 template<
typename AddRouteTableIdsT = Aws::Vector<Aws::String>>
100 void SetAddRouteTableIds(AddRouteTableIdsT&& value) { m_addRouteTableIdsHasBeenSet =
true; m_addRouteTableIds = std::forward<AddRouteTableIdsT>(value); }
101 template<
typename AddRouteTableIdsT = Aws::Vector<Aws::String>>
103 template<
typename AddRouteTableIdsT = Aws::String>
114 template<
typename RemoveRouteTableIdsT = Aws::Vector<Aws::String>>
115 void SetRemoveRouteTableIds(RemoveRouteTableIdsT&& value) { m_removeRouteTableIdsHasBeenSet =
true; m_removeRouteTableIds = std::forward<RemoveRouteTableIdsT>(value); }
116 template<
typename RemoveRouteTableIdsT = Aws::Vector<Aws::String>>
118 template<
typename RemoveRouteTableIdsT = Aws::String>
130 template<
typename AddSubnetIdsT = Aws::Vector<Aws::String>>
131 void SetAddSubnetIds(AddSubnetIdsT&& value) { m_addSubnetIdsHasBeenSet =
true; m_addSubnetIds = std::forward<AddSubnetIdsT>(value); }
132 template<
typename AddSubnetIdsT = Aws::Vector<Aws::String>>
134 template<
typename AddSubnetIdsT = Aws::String>
145 template<
typename RemoveSubnetIdsT = Aws::Vector<Aws::String>>
146 void SetRemoveSubnetIds(RemoveSubnetIdsT&& value) { m_removeSubnetIdsHasBeenSet =
true; m_removeSubnetIds = std::forward<RemoveSubnetIdsT>(value); }
147 template<
typename RemoveSubnetIdsT = Aws::Vector<Aws::String>>
149 template<
typename RemoveSubnetIdsT = Aws::String>
160 template<
typename AddSecurityGroupIdsT = Aws::Vector<Aws::String>>
161 void SetAddSecurityGroupIds(AddSecurityGroupIdsT&& value) { m_addSecurityGroupIdsHasBeenSet =
true; m_addSecurityGroupIds = std::forward<AddSecurityGroupIdsT>(value); }
162 template<
typename AddSecurityGroupIdsT = Aws::Vector<Aws::String>>
164 template<
typename AddSecurityGroupIdsT = Aws::String>
175 template<
typename RemoveSecurityGroupIdsT = Aws::Vector<Aws::String>>
176 void SetRemoveSecurityGroupIds(RemoveSecurityGroupIdsT&& value) { m_removeSecurityGroupIdsHasBeenSet =
true; m_removeSecurityGroupIds = std::forward<RemoveSecurityGroupIdsT>(value); }
177 template<
typename RemoveSecurityGroupIdsT = Aws::Vector<Aws::String>>
179 template<
typename RemoveSecurityGroupIdsT = Aws::String>
199 template<
typename DnsOptionsT = DnsOptionsSpecification>
200 void SetDnsOptions(DnsOptionsT&& value) { m_dnsOptionsHasBeenSet =
true; m_dnsOptions = std::forward<DnsOptionsT>(value); }
201 template<
typename DnsOptionsT = DnsOptionsSpecification>
212 inline void SetPrivateDnsEnabled(
bool value) { m_privateDnsEnabledHasBeenSet =
true; m_privateDnsEnabled = value; }
222 template<
typename SubnetConfigurationsT = Aws::Vector<SubnetConfiguration>>
223 void SetSubnetConfigurations(SubnetConfigurationsT&& value) { m_subnetConfigurationsHasBeenSet =
true; m_subnetConfigurations = std::forward<SubnetConfigurationsT>(value); }
224 template<
typename SubnetConfigurationsT = Aws::Vector<SubnetConfiguration>>
226 template<
typename SubnetConfigurationsT = SubnetConfiguration>
231 bool m_dryRun{
false};
232 bool m_dryRunHasBeenSet =
false;
235 bool m_vpcEndpointIdHasBeenSet =
false;
237 bool m_resetPolicy{
false};
238 bool m_resetPolicyHasBeenSet =
false;
241 bool m_policyDocumentHasBeenSet =
false;
244 bool m_addRouteTableIdsHasBeenSet =
false;
247 bool m_removeRouteTableIdsHasBeenSet =
false;
250 bool m_addSubnetIdsHasBeenSet =
false;
253 bool m_removeSubnetIdsHasBeenSet =
false;
256 bool m_addSecurityGroupIdsHasBeenSet =
false;
259 bool m_removeSecurityGroupIdsHasBeenSet =
false;
262 bool m_ipAddressTypeHasBeenSet =
false;
264 DnsOptionsSpecification m_dnsOptions;
265 bool m_dnsOptionsHasBeenSet =
false;
267 bool m_privateDnsEnabled{
false};
268 bool m_privateDnsEnabledHasBeenSet =
false;
271 bool m_subnetConfigurationsHasBeenSet =
false;
virtual const char * GetServiceRequestName() const override
bool PrivateDnsEnabledHasBeenSet() const
bool VpcEndpointIdHasBeenSet() const
const Aws::Vector< Aws::String > & GetRemoveRouteTableIds() const
const Aws::Vector< Aws::String > & GetAddSubnetIds() const
ModifyVpcEndpointRequest & AddAddSecurityGroupIds(AddSecurityGroupIdsT &&value)
bool AddRouteTableIdsHasBeenSet() const
bool RemoveSecurityGroupIdsHasBeenSet() const
AWS_EC2_API ModifyVpcEndpointRequest()=default
void SetSubnetConfigurations(SubnetConfigurationsT &&value)
void SetPolicyDocument(PolicyDocumentT &&value)
void SetDnsOptions(DnsOptionsT &&value)
bool DnsOptionsHasBeenSet() const
ModifyVpcEndpointRequest & AddRemoveSubnetIds(RemoveSubnetIdsT &&value)
ModifyVpcEndpointRequest & AddAddRouteTableIds(AddRouteTableIdsT &&value)
const DnsOptionsSpecification & GetDnsOptions() const
const Aws::String & GetVpcEndpointId() const
bool AddSubnetIdsHasBeenSet() const
bool GetPrivateDnsEnabled() const
const Aws::Vector< Aws::String > & GetRemoveSubnetIds() const
const Aws::String & GetPolicyDocument() const
bool AddSecurityGroupIdsHasBeenSet() const
bool ResetPolicyHasBeenSet() const
bool PolicyDocumentHasBeenSet() const
ModifyVpcEndpointRequest & WithRemoveRouteTableIds(RemoveRouteTableIdsT &&value)
ModifyVpcEndpointRequest & WithSubnetConfigurations(SubnetConfigurationsT &&value)
void SetRemoveRouteTableIds(RemoveRouteTableIdsT &&value)
void SetPrivateDnsEnabled(bool value)
ModifyVpcEndpointRequest & AddAddSubnetIds(AddSubnetIdsT &&value)
bool RemoveRouteTableIdsHasBeenSet() const
bool RemoveSubnetIdsHasBeenSet() const
bool IpAddressTypeHasBeenSet() const
ModifyVpcEndpointRequest & WithVpcEndpointId(VpcEndpointIdT &&value)
ModifyVpcEndpointRequest & WithDnsOptions(DnsOptionsT &&value)
const Aws::Vector< Aws::String > & GetAddRouteTableIds() const
ModifyVpcEndpointRequest & AddSubnetConfigurations(SubnetConfigurationsT &&value)
void SetAddRouteTableIds(AddRouteTableIdsT &&value)
ModifyVpcEndpointRequest & WithResetPolicy(bool value)
ModifyVpcEndpointRequest & AddRemoveRouteTableIds(RemoveRouteTableIdsT &&value)
void SetRemoveSecurityGroupIds(RemoveSecurityGroupIdsT &&value)
bool SubnetConfigurationsHasBeenSet() const
ModifyVpcEndpointRequest & WithPolicyDocument(PolicyDocumentT &&value)
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetAddSubnetIds(AddSubnetIdsT &&value)
const Aws::Vector< Aws::String > & GetRemoveSecurityGroupIds() const
ModifyVpcEndpointRequest & WithAddSubnetIds(AddSubnetIdsT &&value)
bool GetResetPolicy() const
const Aws::Vector< Aws::String > & GetAddSecurityGroupIds() const
void SetIpAddressType(IpAddressType value)
ModifyVpcEndpointRequest & AddRemoveSecurityGroupIds(RemoveSecurityGroupIdsT &&value)
void SetRemoveSubnetIds(RemoveSubnetIdsT &&value)
ModifyVpcEndpointRequest & WithIpAddressType(IpAddressType value)
void SetDryRun(bool value)
ModifyVpcEndpointRequest & WithAddRouteTableIds(AddRouteTableIdsT &&value)
const Aws::Vector< SubnetConfiguration > & GetSubnetConfigurations() const
ModifyVpcEndpointRequest & WithPrivateDnsEnabled(bool value)
IpAddressType GetIpAddressType() const
void SetVpcEndpointId(VpcEndpointIdT &&value)
void SetResetPolicy(bool value)
ModifyVpcEndpointRequest & WithDryRun(bool value)
bool DryRunHasBeenSet() const
ModifyVpcEndpointRequest & WithAddSecurityGroupIds(AddSecurityGroupIdsT &&value)
AWS_EC2_API Aws::String SerializePayload() const override
void SetAddSecurityGroupIds(AddSecurityGroupIdsT &&value)
ModifyVpcEndpointRequest & WithRemoveSubnetIds(RemoveSubnetIdsT &&value)
ModifyVpcEndpointRequest & WithRemoveSecurityGroupIds(RemoveSecurityGroupIdsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector