/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace finspace { namespace Model { /** *

Configuration details about the network where the Privatelink endpoint of the * cluster resides.

See Also:

AWS * API Reference

*/ class VpcConfiguration { public: AWS_FINSPACE_API VpcConfiguration(); AWS_FINSPACE_API VpcConfiguration(Aws::Utils::Json::JsonView jsonValue); AWS_FINSPACE_API VpcConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_FINSPACE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The identifier of the VPC endpoint.

*/ inline const Aws::String& GetVpcId() const{ return m_vpcId; } /** *

The identifier of the VPC endpoint.

*/ inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; } /** *

The identifier of the VPC endpoint.

*/ inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; } /** *

The identifier of the VPC endpoint.

*/ inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); } /** *

The identifier of the VPC endpoint.

*/ inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); } /** *

The identifier of the VPC endpoint.

*/ inline VpcConfiguration& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;} /** *

The identifier of the VPC endpoint.

*/ inline VpcConfiguration& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;} /** *

The identifier of the VPC endpoint.

*/ inline VpcConfiguration& WithVpcId(const char* value) { SetVpcId(value); return *this;} /** *

The unique identifier of the VPC security group applied to the VPC endpoint * ENI for the cluster.

*/ inline const Aws::Vector& GetSecurityGroupIds() const{ return m_securityGroupIds; } /** *

The unique identifier of the VPC security group applied to the VPC endpoint * ENI for the cluster.

*/ inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; } /** *

The unique identifier of the VPC security group applied to the VPC endpoint * ENI for the cluster.

*/ inline void SetSecurityGroupIds(const Aws::Vector& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; } /** *

The unique identifier of the VPC security group applied to the VPC endpoint * ENI for the cluster.

*/ inline void SetSecurityGroupIds(Aws::Vector&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); } /** *

The unique identifier of the VPC security group applied to the VPC endpoint * ENI for the cluster.

*/ inline VpcConfiguration& WithSecurityGroupIds(const Aws::Vector& value) { SetSecurityGroupIds(value); return *this;} /** *

The unique identifier of the VPC security group applied to the VPC endpoint * ENI for the cluster.

*/ inline VpcConfiguration& WithSecurityGroupIds(Aws::Vector&& value) { SetSecurityGroupIds(std::move(value)); return *this;} /** *

The unique identifier of the VPC security group applied to the VPC endpoint * ENI for the cluster.

*/ inline VpcConfiguration& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } /** *

The unique identifier of the VPC security group applied to the VPC endpoint * ENI for the cluster.

*/ inline VpcConfiguration& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; } /** *

The unique identifier of the VPC security group applied to the VPC endpoint * ENI for the cluster.

*/ inline VpcConfiguration& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } /** *

The identifier of the subnet that the Privatelink VPC endpoint uses to * connect to the cluster.

*/ inline const Aws::Vector& GetSubnetIds() const{ return m_subnetIds; } /** *

The identifier of the subnet that the Privatelink VPC endpoint uses to * connect to the cluster.

*/ inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; } /** *

The identifier of the subnet that the Privatelink VPC endpoint uses to * connect to the cluster.

*/ inline void SetSubnetIds(const Aws::Vector& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; } /** *

The identifier of the subnet that the Privatelink VPC endpoint uses to * connect to the cluster.

*/ inline void SetSubnetIds(Aws::Vector&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); } /** *

The identifier of the subnet that the Privatelink VPC endpoint uses to * connect to the cluster.

*/ inline VpcConfiguration& WithSubnetIds(const Aws::Vector& value) { SetSubnetIds(value); return *this;} /** *

The identifier of the subnet that the Privatelink VPC endpoint uses to * connect to the cluster.

*/ inline VpcConfiguration& WithSubnetIds(Aws::Vector&& value) { SetSubnetIds(std::move(value)); return *this;} /** *

The identifier of the subnet that the Privatelink VPC endpoint uses to * connect to the cluster.

*/ inline VpcConfiguration& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** *

The identifier of the subnet that the Privatelink VPC endpoint uses to * connect to the cluster.

*/ inline VpcConfiguration& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; } /** *

The identifier of the subnet that the Privatelink VPC endpoint uses to * connect to the cluster.

*/ inline VpcConfiguration& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** *

The IP address type for cluster network configuration parameters. The * following type is available:

  • IP_V4 – IP address version 4

    *
*/ inline const IPAddressType& GetIpAddressType() const{ return m_ipAddressType; } /** *

The IP address type for cluster network configuration parameters. The * following type is available:

  • IP_V4 – IP address version 4

    *
*/ inline bool IpAddressTypeHasBeenSet() const { return m_ipAddressTypeHasBeenSet; } /** *

The IP address type for cluster network configuration parameters. The * following type is available:

  • IP_V4 – IP address version 4

    *
*/ inline void SetIpAddressType(const IPAddressType& value) { m_ipAddressTypeHasBeenSet = true; m_ipAddressType = value; } /** *

The IP address type for cluster network configuration parameters. The * following type is available:

  • IP_V4 – IP address version 4

    *
*/ inline void SetIpAddressType(IPAddressType&& value) { m_ipAddressTypeHasBeenSet = true; m_ipAddressType = std::move(value); } /** *

The IP address type for cluster network configuration parameters. The * following type is available:

  • IP_V4 – IP address version 4

    *
*/ inline VpcConfiguration& WithIpAddressType(const IPAddressType& value) { SetIpAddressType(value); return *this;} /** *

The IP address type for cluster network configuration parameters. The * following type is available:

  • IP_V4 – IP address version 4

    *
*/ inline VpcConfiguration& WithIpAddressType(IPAddressType&& value) { SetIpAddressType(std::move(value)); return *this;} private: Aws::String m_vpcId; bool m_vpcIdHasBeenSet = false; Aws::Vector m_securityGroupIds; bool m_securityGroupIdsHasBeenSet = false; Aws::Vector m_subnetIds; bool m_subnetIdsHasBeenSet = false; IPAddressType m_ipAddressType; bool m_ipAddressTypeHasBeenSet = false; }; } // namespace Model } // namespace finspace } // namespace Aws