/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the VPC configuration used by the cluster control
* plane.See Also:
AWS
* API Reference
The security groups that are associated with the cross-account elastic * network interfaces that are used to allow communication between your nodes and * the Amazon EKS control plane.
*/ inline const Aws::VectorThe security groups that are associated with the cross-account elastic * network interfaces that are used to allow communication between your nodes and * the Amazon EKS control plane.
*/ inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; } /** *The security groups that are associated with the cross-account elastic * network interfaces that are used to allow communication between your nodes and * the Amazon EKS control plane.
*/ inline void SetSecurityGroupIds(const Aws::VectorThe security groups that are associated with the cross-account elastic * network interfaces that are used to allow communication between your nodes and * the Amazon EKS control plane.
*/ inline void SetSecurityGroupIds(Aws::VectorThe security groups that are associated with the cross-account elastic * network interfaces that are used to allow communication between your nodes and * the Amazon EKS control plane.
*/ inline AwsEksClusterResourcesVpcConfigDetails& WithSecurityGroupIds(const Aws::VectorThe security groups that are associated with the cross-account elastic * network interfaces that are used to allow communication between your nodes and * the Amazon EKS control plane.
*/ inline AwsEksClusterResourcesVpcConfigDetails& WithSecurityGroupIds(Aws::VectorThe security groups that are associated with the cross-account elastic * network interfaces that are used to allow communication between your nodes and * the Amazon EKS control plane.
*/ inline AwsEksClusterResourcesVpcConfigDetails& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } /** *The security groups that are associated with the cross-account elastic * network interfaces that are used to allow communication between your nodes and * the Amazon EKS control plane.
*/ inline AwsEksClusterResourcesVpcConfigDetails& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; } /** *The security groups that are associated with the cross-account elastic * network interfaces that are used to allow communication between your nodes and * the Amazon EKS control plane.
*/ inline AwsEksClusterResourcesVpcConfigDetails& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } /** *The subnets that are associated with the cluster.
*/ inline const Aws::VectorThe subnets that are associated with the cluster.
*/ inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; } /** *The subnets that are associated with the cluster.
*/ inline void SetSubnetIds(const Aws::VectorThe subnets that are associated with the cluster.
*/ inline void SetSubnetIds(Aws::VectorThe subnets that are associated with the cluster.
*/ inline AwsEksClusterResourcesVpcConfigDetails& WithSubnetIds(const Aws::VectorThe subnets that are associated with the cluster.
*/ inline AwsEksClusterResourcesVpcConfigDetails& WithSubnetIds(Aws::VectorThe subnets that are associated with the cluster.
*/ inline AwsEksClusterResourcesVpcConfigDetails& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** *The subnets that are associated with the cluster.
*/ inline AwsEksClusterResourcesVpcConfigDetails& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; } /** *The subnets that are associated with the cluster.
*/ inline AwsEksClusterResourcesVpcConfigDetails& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** *Indicates whether the Amazon EKS public API server endpoint is turned on. If * the Amazon EKS public API server endpoint is turned off, your cluster's * Kubernetes API server can only receive requests that originate from within the * cluster VPC.
*/ inline bool GetEndpointPublicAccess() const{ return m_endpointPublicAccess; } /** *Indicates whether the Amazon EKS public API server endpoint is turned on. If * the Amazon EKS public API server endpoint is turned off, your cluster's * Kubernetes API server can only receive requests that originate from within the * cluster VPC.
*/ inline bool EndpointPublicAccessHasBeenSet() const { return m_endpointPublicAccessHasBeenSet; } /** *Indicates whether the Amazon EKS public API server endpoint is turned on. If * the Amazon EKS public API server endpoint is turned off, your cluster's * Kubernetes API server can only receive requests that originate from within the * cluster VPC.
*/ inline void SetEndpointPublicAccess(bool value) { m_endpointPublicAccessHasBeenSet = true; m_endpointPublicAccess = value; } /** *Indicates whether the Amazon EKS public API server endpoint is turned on. If * the Amazon EKS public API server endpoint is turned off, your cluster's * Kubernetes API server can only receive requests that originate from within the * cluster VPC.
*/ inline AwsEksClusterResourcesVpcConfigDetails& WithEndpointPublicAccess(bool value) { SetEndpointPublicAccess(value); return *this;} private: Aws::Vector