/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the parameters for ModifyVpcEndpoint.See Also:
AWS
* API Reference
Checks whether you have the required permissions for the action, without
* actually making the request, and provides an error response. If you have the
* required permissions, the error response is DryRunOperation.
* Otherwise, it is UnauthorizedOperation.
Checks whether you have the required permissions for the action, without
* actually making the request, and provides an error response. If you have the
* required permissions, the error response is DryRunOperation.
* Otherwise, it is UnauthorizedOperation.
Checks whether you have the required permissions for the action, without
* actually making the request, and provides an error response. If you have the
* required permissions, the error response is DryRunOperation.
* Otherwise, it is UnauthorizedOperation.
Checks whether you have the required permissions for the action, without
* actually making the request, and provides an error response. If you have the
* required permissions, the error response is DryRunOperation.
* Otherwise, it is UnauthorizedOperation.
The ID of the endpoint.
*/ inline const Aws::String& GetVpcEndpointId() const{ return m_vpcEndpointId; } /** *The ID of the endpoint.
*/ inline bool VpcEndpointIdHasBeenSet() const { return m_vpcEndpointIdHasBeenSet; } /** *The ID of the endpoint.
*/ inline void SetVpcEndpointId(const Aws::String& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = value; } /** *The ID of the endpoint.
*/ inline void SetVpcEndpointId(Aws::String&& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = std::move(value); } /** *The ID of the endpoint.
*/ inline void SetVpcEndpointId(const char* value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId.assign(value); } /** *The ID of the endpoint.
*/ inline ModifyVpcEndpointRequest& WithVpcEndpointId(const Aws::String& value) { SetVpcEndpointId(value); return *this;} /** *The ID of the endpoint.
*/ inline ModifyVpcEndpointRequest& WithVpcEndpointId(Aws::String&& value) { SetVpcEndpointId(std::move(value)); return *this;} /** *The ID of the endpoint.
*/ inline ModifyVpcEndpointRequest& WithVpcEndpointId(const char* value) { SetVpcEndpointId(value); return *this;} /** *(Gateway endpoint) Specify true to reset the policy document to
* the default policy. The default policy allows full access to the service.
(Gateway endpoint) Specify true to reset the policy document to
* the default policy. The default policy allows full access to the service.
(Gateway endpoint) Specify true to reset the policy document to
* the default policy. The default policy allows full access to the service.
(Gateway endpoint) Specify true to reset the policy document to
* the default policy. The default policy allows full access to the service.
A policy to attach to the endpoint that controls access to the service. The * policy must be in valid JSON format.
*/ inline const Aws::String& GetPolicyDocument() const{ return m_policyDocument; } /** *A policy to attach to the endpoint that controls access to the service. The * policy must be in valid JSON format.
*/ inline bool PolicyDocumentHasBeenSet() const { return m_policyDocumentHasBeenSet; } /** *A policy to attach to the endpoint that controls access to the service. The * policy must be in valid JSON format.
*/ inline void SetPolicyDocument(const Aws::String& value) { m_policyDocumentHasBeenSet = true; m_policyDocument = value; } /** *A policy to attach to the endpoint that controls access to the service. The * policy must be in valid JSON format.
*/ inline void SetPolicyDocument(Aws::String&& value) { m_policyDocumentHasBeenSet = true; m_policyDocument = std::move(value); } /** *A policy to attach to the endpoint that controls access to the service. The * policy must be in valid JSON format.
*/ inline void SetPolicyDocument(const char* value) { m_policyDocumentHasBeenSet = true; m_policyDocument.assign(value); } /** *A policy to attach to the endpoint that controls access to the service. The * policy must be in valid JSON format.
*/ inline ModifyVpcEndpointRequest& WithPolicyDocument(const Aws::String& value) { SetPolicyDocument(value); return *this;} /** *A policy to attach to the endpoint that controls access to the service. The * policy must be in valid JSON format.
*/ inline ModifyVpcEndpointRequest& WithPolicyDocument(Aws::String&& value) { SetPolicyDocument(std::move(value)); return *this;} /** *A policy to attach to the endpoint that controls access to the service. The * policy must be in valid JSON format.
*/ inline ModifyVpcEndpointRequest& WithPolicyDocument(const char* value) { SetPolicyDocument(value); return *this;} /** *(Gateway endpoint) One or more route tables IDs to associate with the * endpoint.
*/ inline const Aws::Vector(Gateway endpoint) One or more route tables IDs to associate with the * endpoint.
*/ inline bool AddRouteTableIdsHasBeenSet() const { return m_addRouteTableIdsHasBeenSet; } /** *(Gateway endpoint) One or more route tables IDs to associate with the * endpoint.
*/ inline void SetAddRouteTableIds(const Aws::Vector(Gateway endpoint) One or more route tables IDs to associate with the * endpoint.
*/ inline void SetAddRouteTableIds(Aws::Vector(Gateway endpoint) One or more route tables IDs to associate with the * endpoint.
*/ inline ModifyVpcEndpointRequest& WithAddRouteTableIds(const Aws::Vector(Gateway endpoint) One or more route tables IDs to associate with the * endpoint.
*/ inline ModifyVpcEndpointRequest& WithAddRouteTableIds(Aws::Vector(Gateway endpoint) One or more route tables IDs to associate with the * endpoint.
*/ inline ModifyVpcEndpointRequest& AddAddRouteTableIds(const Aws::String& value) { m_addRouteTableIdsHasBeenSet = true; m_addRouteTableIds.push_back(value); return *this; } /** *(Gateway endpoint) One or more route tables IDs to associate with the * endpoint.
*/ inline ModifyVpcEndpointRequest& AddAddRouteTableIds(Aws::String&& value) { m_addRouteTableIdsHasBeenSet = true; m_addRouteTableIds.push_back(std::move(value)); return *this; } /** *(Gateway endpoint) One or more route tables IDs to associate with the * endpoint.
*/ inline ModifyVpcEndpointRequest& AddAddRouteTableIds(const char* value) { m_addRouteTableIdsHasBeenSet = true; m_addRouteTableIds.push_back(value); return *this; } /** *(Gateway endpoint) One or more route table IDs to disassociate from the * endpoint.
*/ inline const Aws::Vector(Gateway endpoint) One or more route table IDs to disassociate from the * endpoint.
*/ inline bool RemoveRouteTableIdsHasBeenSet() const { return m_removeRouteTableIdsHasBeenSet; } /** *(Gateway endpoint) One or more route table IDs to disassociate from the * endpoint.
*/ inline void SetRemoveRouteTableIds(const Aws::Vector(Gateway endpoint) One or more route table IDs to disassociate from the * endpoint.
*/ inline void SetRemoveRouteTableIds(Aws::Vector(Gateway endpoint) One or more route table IDs to disassociate from the * endpoint.
*/ inline ModifyVpcEndpointRequest& WithRemoveRouteTableIds(const Aws::Vector(Gateway endpoint) One or more route table IDs to disassociate from the * endpoint.
*/ inline ModifyVpcEndpointRequest& WithRemoveRouteTableIds(Aws::Vector(Gateway endpoint) One or more route table IDs to disassociate from the * endpoint.
*/ inline ModifyVpcEndpointRequest& AddRemoveRouteTableIds(const Aws::String& value) { m_removeRouteTableIdsHasBeenSet = true; m_removeRouteTableIds.push_back(value); return *this; } /** *(Gateway endpoint) One or more route table IDs to disassociate from the * endpoint.
*/ inline ModifyVpcEndpointRequest& AddRemoveRouteTableIds(Aws::String&& value) { m_removeRouteTableIdsHasBeenSet = true; m_removeRouteTableIds.push_back(std::move(value)); return *this; } /** *(Gateway endpoint) One or more route table IDs to disassociate from the * endpoint.
*/ inline ModifyVpcEndpointRequest& AddRemoveRouteTableIds(const char* value) { m_removeRouteTableIdsHasBeenSet = true; m_removeRouteTableIds.push_back(value); return *this; } /** *(Interface endpoint) One or more subnet IDs in which to serve the * endpoint.
*/ inline const Aws::Vector(Interface endpoint) One or more subnet IDs in which to serve the * endpoint.
*/ inline bool AddSubnetIdsHasBeenSet() const { return m_addSubnetIdsHasBeenSet; } /** *(Interface endpoint) One or more subnet IDs in which to serve the * endpoint.
*/ inline void SetAddSubnetIds(const Aws::Vector(Interface endpoint) One or more subnet IDs in which to serve the * endpoint.
*/ inline void SetAddSubnetIds(Aws::Vector(Interface endpoint) One or more subnet IDs in which to serve the * endpoint.
*/ inline ModifyVpcEndpointRequest& WithAddSubnetIds(const Aws::Vector(Interface endpoint) One or more subnet IDs in which to serve the * endpoint.
*/ inline ModifyVpcEndpointRequest& WithAddSubnetIds(Aws::Vector(Interface endpoint) One or more subnet IDs in which to serve the * endpoint.
*/ inline ModifyVpcEndpointRequest& AddAddSubnetIds(const Aws::String& value) { m_addSubnetIdsHasBeenSet = true; m_addSubnetIds.push_back(value); return *this; } /** *(Interface endpoint) One or more subnet IDs in which to serve the * endpoint.
*/ inline ModifyVpcEndpointRequest& AddAddSubnetIds(Aws::String&& value) { m_addSubnetIdsHasBeenSet = true; m_addSubnetIds.push_back(std::move(value)); return *this; } /** *(Interface endpoint) One or more subnet IDs in which to serve the * endpoint.
*/ inline ModifyVpcEndpointRequest& AddAddSubnetIds(const char* value) { m_addSubnetIdsHasBeenSet = true; m_addSubnetIds.push_back(value); return *this; } /** *(Interface endpoint) One or more subnets IDs in which to remove the * endpoint.
*/ inline const Aws::Vector(Interface endpoint) One or more subnets IDs in which to remove the * endpoint.
*/ inline bool RemoveSubnetIdsHasBeenSet() const { return m_removeSubnetIdsHasBeenSet; } /** *(Interface endpoint) One or more subnets IDs in which to remove the * endpoint.
*/ inline void SetRemoveSubnetIds(const Aws::Vector(Interface endpoint) One or more subnets IDs in which to remove the * endpoint.
*/ inline void SetRemoveSubnetIds(Aws::Vector(Interface endpoint) One or more subnets IDs in which to remove the * endpoint.
*/ inline ModifyVpcEndpointRequest& WithRemoveSubnetIds(const Aws::Vector(Interface endpoint) One or more subnets IDs in which to remove the * endpoint.
*/ inline ModifyVpcEndpointRequest& WithRemoveSubnetIds(Aws::Vector(Interface endpoint) One or more subnets IDs in which to remove the * endpoint.
*/ inline ModifyVpcEndpointRequest& AddRemoveSubnetIds(const Aws::String& value) { m_removeSubnetIdsHasBeenSet = true; m_removeSubnetIds.push_back(value); return *this; } /** *(Interface endpoint) One or more subnets IDs in which to remove the * endpoint.
*/ inline ModifyVpcEndpointRequest& AddRemoveSubnetIds(Aws::String&& value) { m_removeSubnetIdsHasBeenSet = true; m_removeSubnetIds.push_back(std::move(value)); return *this; } /** *(Interface endpoint) One or more subnets IDs in which to remove the * endpoint.
*/ inline ModifyVpcEndpointRequest& AddRemoveSubnetIds(const char* value) { m_removeSubnetIdsHasBeenSet = true; m_removeSubnetIds.push_back(value); return *this; } /** *(Interface endpoint) One or more security group IDs to associate with the * network interface.
*/ inline const Aws::Vector(Interface endpoint) One or more security group IDs to associate with the * network interface.
*/ inline bool AddSecurityGroupIdsHasBeenSet() const { return m_addSecurityGroupIdsHasBeenSet; } /** *(Interface endpoint) One or more security group IDs to associate with the * network interface.
*/ inline void SetAddSecurityGroupIds(const Aws::Vector(Interface endpoint) One or more security group IDs to associate with the * network interface.
*/ inline void SetAddSecurityGroupIds(Aws::Vector(Interface endpoint) One or more security group IDs to associate with the * network interface.
*/ inline ModifyVpcEndpointRequest& WithAddSecurityGroupIds(const Aws::Vector(Interface endpoint) One or more security group IDs to associate with the * network interface.
*/ inline ModifyVpcEndpointRequest& WithAddSecurityGroupIds(Aws::Vector(Interface endpoint) One or more security group IDs to associate with the * network interface.
*/ inline ModifyVpcEndpointRequest& AddAddSecurityGroupIds(const Aws::String& value) { m_addSecurityGroupIdsHasBeenSet = true; m_addSecurityGroupIds.push_back(value); return *this; } /** *(Interface endpoint) One or more security group IDs to associate with the * network interface.
*/ inline ModifyVpcEndpointRequest& AddAddSecurityGroupIds(Aws::String&& value) { m_addSecurityGroupIdsHasBeenSet = true; m_addSecurityGroupIds.push_back(std::move(value)); return *this; } /** *(Interface endpoint) One or more security group IDs to associate with the * network interface.
*/ inline ModifyVpcEndpointRequest& AddAddSecurityGroupIds(const char* value) { m_addSecurityGroupIdsHasBeenSet = true; m_addSecurityGroupIds.push_back(value); return *this; } /** *(Interface endpoint) One or more security group IDs to disassociate from the * network interface.
*/ inline const Aws::Vector(Interface endpoint) One or more security group IDs to disassociate from the * network interface.
*/ inline bool RemoveSecurityGroupIdsHasBeenSet() const { return m_removeSecurityGroupIdsHasBeenSet; } /** *(Interface endpoint) One or more security group IDs to disassociate from the * network interface.
*/ inline void SetRemoveSecurityGroupIds(const Aws::Vector(Interface endpoint) One or more security group IDs to disassociate from the * network interface.
*/ inline void SetRemoveSecurityGroupIds(Aws::Vector(Interface endpoint) One or more security group IDs to disassociate from the * network interface.
*/ inline ModifyVpcEndpointRequest& WithRemoveSecurityGroupIds(const Aws::Vector(Interface endpoint) One or more security group IDs to disassociate from the * network interface.
*/ inline ModifyVpcEndpointRequest& WithRemoveSecurityGroupIds(Aws::Vector(Interface endpoint) One or more security group IDs to disassociate from the * network interface.
*/ inline ModifyVpcEndpointRequest& AddRemoveSecurityGroupIds(const Aws::String& value) { m_removeSecurityGroupIdsHasBeenSet = true; m_removeSecurityGroupIds.push_back(value); return *this; } /** *(Interface endpoint) One or more security group IDs to disassociate from the * network interface.
*/ inline ModifyVpcEndpointRequest& AddRemoveSecurityGroupIds(Aws::String&& value) { m_removeSecurityGroupIdsHasBeenSet = true; m_removeSecurityGroupIds.push_back(std::move(value)); return *this; } /** *(Interface endpoint) One or more security group IDs to disassociate from the * network interface.
*/ inline ModifyVpcEndpointRequest& AddRemoveSecurityGroupIds(const char* value) { m_removeSecurityGroupIdsHasBeenSet = true; m_removeSecurityGroupIds.push_back(value); return *this; } /** *(Interface endpoint) Indicates whether a private hosted zone is associated * with the VPC.
*/ inline bool GetPrivateDnsEnabled() const{ return m_privateDnsEnabled; } /** *(Interface endpoint) Indicates whether a private hosted zone is associated * with the VPC.
*/ inline bool PrivateDnsEnabledHasBeenSet() const { return m_privateDnsEnabledHasBeenSet; } /** *(Interface endpoint) Indicates whether a private hosted zone is associated * with the VPC.
*/ inline void SetPrivateDnsEnabled(bool value) { m_privateDnsEnabledHasBeenSet = true; m_privateDnsEnabled = value; } /** *(Interface endpoint) Indicates whether a private hosted zone is associated * with the VPC.
*/ inline ModifyVpcEndpointRequest& WithPrivateDnsEnabled(bool value) { SetPrivateDnsEnabled(value); return *this;} private: bool m_dryRun; bool m_dryRunHasBeenSet; Aws::String m_vpcEndpointId; bool m_vpcEndpointIdHasBeenSet; bool m_resetPolicy; bool m_resetPolicyHasBeenSet; Aws::String m_policyDocument; bool m_policyDocumentHasBeenSet; Aws::Vector