/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information that OpenSearch Service derives based on the
* VPCOptions
for the domain.See Also:
AWS
* API Reference
The list of security group IDs that are associated with the VPC endpoints for * the domain.
*/ inline const Aws::VectorThe list of security group IDs that are associated with the VPC endpoints for * the domain.
*/ inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; } /** *The list of security group IDs that are associated with the VPC endpoints for * the domain.
*/ inline void SetSecurityGroupIds(const Aws::VectorThe list of security group IDs that are associated with the VPC endpoints for * the domain.
*/ inline void SetSecurityGroupIds(Aws::VectorThe list of security group IDs that are associated with the VPC endpoints for * the domain.
*/ inline AwsOpenSearchServiceDomainVpcOptionsDetails& WithSecurityGroupIds(const Aws::VectorThe list of security group IDs that are associated with the VPC endpoints for * the domain.
*/ inline AwsOpenSearchServiceDomainVpcOptionsDetails& WithSecurityGroupIds(Aws::VectorThe list of security group IDs that are associated with the VPC endpoints for * the domain.
*/ inline AwsOpenSearchServiceDomainVpcOptionsDetails& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } /** *The list of security group IDs that are associated with the VPC endpoints for * the domain.
*/ inline AwsOpenSearchServiceDomainVpcOptionsDetails& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; } /** *The list of security group IDs that are associated with the VPC endpoints for * the domain.
*/ inline AwsOpenSearchServiceDomainVpcOptionsDetails& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } /** *A list of subnet IDs that are associated with the VPC endpoints for the * domain.
*/ inline const Aws::VectorA list of subnet IDs that are associated with the VPC endpoints for the * domain.
*/ inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; } /** *A list of subnet IDs that are associated with the VPC endpoints for the * domain.
*/ inline void SetSubnetIds(const Aws::VectorA list of subnet IDs that are associated with the VPC endpoints for the * domain.
*/ inline void SetSubnetIds(Aws::VectorA list of subnet IDs that are associated with the VPC endpoints for the * domain.
*/ inline AwsOpenSearchServiceDomainVpcOptionsDetails& WithSubnetIds(const Aws::VectorA list of subnet IDs that are associated with the VPC endpoints for the * domain.
*/ inline AwsOpenSearchServiceDomainVpcOptionsDetails& WithSubnetIds(Aws::VectorA list of subnet IDs that are associated with the VPC endpoints for the * domain.
*/ inline AwsOpenSearchServiceDomainVpcOptionsDetails& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** *A list of subnet IDs that are associated with the VPC endpoints for the * domain.
*/ inline AwsOpenSearchServiceDomainVpcOptionsDetails& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; } /** *A list of subnet IDs that are associated with the VPC endpoints for the * domain.
*/ inline AwsOpenSearchServiceDomainVpcOptionsDetails& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } private: Aws::Vector