/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the subnets and security groups for an Amazon OpenSearch
* Service domain provisioned within a virtual private cloud (VPC). For more
* information, see Launching
* your Amazon OpenSearch Service domains using a VPC. This information only
* exists if the domain was created with VPCOptions
.See
* Also:
AWS
* API Reference
The ID for your VPC. Amazon VPC generates this value when you create a * VPC.
*/ inline const Aws::String& GetVPCId() const{ return m_vPCId; } /** *The ID for your VPC. Amazon VPC generates this value when you create a * VPC.
*/ inline bool VPCIdHasBeenSet() const { return m_vPCIdHasBeenSet; } /** *The ID for your VPC. Amazon VPC generates this value when you create a * VPC.
*/ inline void SetVPCId(const Aws::String& value) { m_vPCIdHasBeenSet = true; m_vPCId = value; } /** *The ID for your VPC. Amazon VPC generates this value when you create a * VPC.
*/ inline void SetVPCId(Aws::String&& value) { m_vPCIdHasBeenSet = true; m_vPCId = std::move(value); } /** *The ID for your VPC. Amazon VPC generates this value when you create a * VPC.
*/ inline void SetVPCId(const char* value) { m_vPCIdHasBeenSet = true; m_vPCId.assign(value); } /** *The ID for your VPC. Amazon VPC generates this value when you create a * VPC.
*/ inline VPCDerivedInfo& WithVPCId(const Aws::String& value) { SetVPCId(value); return *this;} /** *The ID for your VPC. Amazon VPC generates this value when you create a * VPC.
*/ inline VPCDerivedInfo& WithVPCId(Aws::String&& value) { SetVPCId(std::move(value)); return *this;} /** *The ID for your VPC. Amazon VPC generates this value when you create a * VPC.
*/ inline VPCDerivedInfo& WithVPCId(const char* value) { SetVPCId(value); return *this;} /** *A list of subnet IDs associated with the VPC endpoints for the domain.
*/ inline const Aws::VectorA list of subnet IDs associated with the VPC endpoints for the domain.
*/ inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; } /** *A list of subnet IDs associated with the VPC endpoints for the domain.
*/ inline void SetSubnetIds(const Aws::VectorA list of subnet IDs associated with the VPC endpoints for the domain.
*/ inline void SetSubnetIds(Aws::VectorA list of subnet IDs associated with the VPC endpoints for the domain.
*/ inline VPCDerivedInfo& WithSubnetIds(const Aws::VectorA list of subnet IDs associated with the VPC endpoints for the domain.
*/ inline VPCDerivedInfo& WithSubnetIds(Aws::VectorA list of subnet IDs associated with the VPC endpoints for the domain.
*/ inline VPCDerivedInfo& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** *A list of subnet IDs associated with the VPC endpoints for the domain.
*/ inline VPCDerivedInfo& 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 endpoints for the domain.
*/ inline VPCDerivedInfo& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** *The list of Availability Zones associated with the VPC subnets.
*/ inline const Aws::VectorThe list of Availability Zones associated with the VPC subnets.
*/ inline bool AvailabilityZonesHasBeenSet() const { return m_availabilityZonesHasBeenSet; } /** *The list of Availability Zones associated with the VPC subnets.
*/ inline void SetAvailabilityZones(const Aws::VectorThe list of Availability Zones associated with the VPC subnets.
*/ inline void SetAvailabilityZones(Aws::VectorThe list of Availability Zones associated with the VPC subnets.
*/ inline VPCDerivedInfo& WithAvailabilityZones(const Aws::VectorThe list of Availability Zones associated with the VPC subnets.
*/ inline VPCDerivedInfo& WithAvailabilityZones(Aws::VectorThe list of Availability Zones associated with the VPC subnets.
*/ inline VPCDerivedInfo& AddAvailabilityZones(const Aws::String& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; } /** *The list of Availability Zones associated with the VPC subnets.
*/ inline VPCDerivedInfo& AddAvailabilityZones(Aws::String&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(std::move(value)); return *this; } /** *The list of Availability Zones associated with the VPC subnets.
*/ inline VPCDerivedInfo& AddAvailabilityZones(const char* value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; } /** *The list of security group IDs associated with the VPC endpoints for the * domain.
*/ inline const Aws::VectorThe list of security group IDs associated with the VPC endpoints for the * domain.
*/ inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; } /** *The list of security group IDs associated with the VPC endpoints for the * domain.
*/ inline void SetSecurityGroupIds(const Aws::VectorThe list of security group IDs associated with the VPC endpoints for the * domain.
*/ inline void SetSecurityGroupIds(Aws::VectorThe list of security group IDs associated with the VPC endpoints for the * domain.
*/ inline VPCDerivedInfo& WithSecurityGroupIds(const Aws::VectorThe list of security group IDs associated with the VPC endpoints for the * domain.
*/ inline VPCDerivedInfo& WithSecurityGroupIds(Aws::VectorThe list of security group IDs associated with the VPC endpoints for the * domain.
*/ inline VPCDerivedInfo& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } /** *The list of security group IDs associated with the VPC endpoints for the * domain.
*/ inline VPCDerivedInfo& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; } /** *The list of security group IDs associated with the VPC endpoints for the * domain.
*/ inline VPCDerivedInfo& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } private: Aws::String m_vPCId; bool m_vPCIdHasBeenSet = false; Aws::Vector