/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Options that specify the subnets and security groups for an OpenSearch
* Ingestion VPC endpoint.See Also:
AWS API
* Reference
A list of subnet IDs associated with the VPC endpoint.
*/ inline const Aws::VectorA list of subnet IDs associated with the VPC endpoint.
*/ inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; } /** *A list of subnet IDs associated with the VPC endpoint.
*/ inline void SetSubnetIds(const Aws::VectorA list of subnet IDs associated with the VPC endpoint.
*/ inline void SetSubnetIds(Aws::VectorA list of subnet IDs associated with the VPC endpoint.
*/ inline VpcOptions& WithSubnetIds(const Aws::VectorA list of subnet IDs associated with the VPC endpoint.
*/ inline VpcOptions& WithSubnetIds(Aws::VectorA list of subnet IDs associated with the VPC endpoint.
*/ inline VpcOptions& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** *A list of subnet IDs associated with the VPC endpoint.
*/ inline VpcOptions& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; } /** *A list of subnet IDs associated with the VPC endpoint.
*/ inline VpcOptions& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** *A list of security groups associated with the VPC endpoint.
*/ inline const Aws::VectorA list of security groups associated with the VPC endpoint.
*/ inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; } /** *A list of security groups associated with the VPC endpoint.
*/ inline void SetSecurityGroupIds(const Aws::VectorA list of security groups associated with the VPC endpoint.
*/ inline void SetSecurityGroupIds(Aws::VectorA list of security groups associated with the VPC endpoint.
*/ inline VpcOptions& WithSecurityGroupIds(const Aws::VectorA list of security groups associated with the VPC endpoint.
*/ inline VpcOptions& WithSecurityGroupIds(Aws::VectorA list of security groups associated with the VPC endpoint.
*/ inline VpcOptions& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } /** *A list of security groups associated with the VPC endpoint.
*/ inline VpcOptions& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; } /** *A list of security groups associated with the VPC endpoint.
*/ inline VpcOptions& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } private: Aws::Vector