/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Options to specify the subnets and security groups for VPC endpoint. For more
* information, see VPC Endpoints for Amazon Elasticsearch Service
* Domains.See Also:
AWS
* API Reference
The VPC Id for the Elasticsearch domain. Exists only if the domain was * created with VPCOptions.
*/ inline const Aws::String& GetVPCId() const{ return m_vPCId; } /** *The VPC Id for the Elasticsearch domain. Exists only if the domain was * created with VPCOptions.
*/ inline bool VPCIdHasBeenSet() const { return m_vPCIdHasBeenSet; } /** *The VPC Id for the Elasticsearch domain. Exists only if the domain was * created with VPCOptions.
*/ inline void SetVPCId(const Aws::String& value) { m_vPCIdHasBeenSet = true; m_vPCId = value; } /** *The VPC Id for the Elasticsearch domain. Exists only if the domain was * created with VPCOptions.
*/ inline void SetVPCId(Aws::String&& value) { m_vPCIdHasBeenSet = true; m_vPCId = std::move(value); } /** *The VPC Id for the Elasticsearch domain. Exists only if the domain was * created with VPCOptions.
*/ inline void SetVPCId(const char* value) { m_vPCIdHasBeenSet = true; m_vPCId.assign(value); } /** *The VPC Id for the Elasticsearch domain. Exists only if the domain was * created with VPCOptions.
*/ inline VPCDerivedInfo& WithVPCId(const Aws::String& value) { SetVPCId(value); return *this;} /** *The VPC Id for the Elasticsearch domain. Exists only if the domain was * created with VPCOptions.
*/ inline VPCDerivedInfo& WithVPCId(Aws::String&& value) { SetVPCId(std::move(value)); return *this;} /** *The VPC Id for the Elasticsearch domain. Exists only if the domain was * created with VPCOptions.
*/ inline VPCDerivedInfo& WithVPCId(const char* value) { SetVPCId(value); return *this;} /** *Specifies the subnets for VPC endpoint.
*/ inline const Aws::VectorSpecifies the subnets for VPC endpoint.
*/ inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; } /** *Specifies the subnets for VPC endpoint.
*/ inline void SetSubnetIds(const Aws::VectorSpecifies the subnets for VPC endpoint.
*/ inline void SetSubnetIds(Aws::VectorSpecifies the subnets for VPC endpoint.
*/ inline VPCDerivedInfo& WithSubnetIds(const Aws::VectorSpecifies the subnets for VPC endpoint.
*/ inline VPCDerivedInfo& WithSubnetIds(Aws::VectorSpecifies the subnets for VPC endpoint.
*/ inline VPCDerivedInfo& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** *Specifies the subnets for VPC endpoint.
*/ inline VPCDerivedInfo& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; } /** *Specifies the subnets for VPC endpoint.
*/ inline VPCDerivedInfo& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** *The availability zones for the Elasticsearch domain. Exists only if the * domain was created with VPCOptions.
*/ inline const Aws::VectorThe availability zones for the Elasticsearch domain. Exists only if the * domain was created with VPCOptions.
*/ inline bool AvailabilityZonesHasBeenSet() const { return m_availabilityZonesHasBeenSet; } /** *The availability zones for the Elasticsearch domain. Exists only if the * domain was created with VPCOptions.
*/ inline void SetAvailabilityZones(const Aws::VectorThe availability zones for the Elasticsearch domain. Exists only if the * domain was created with VPCOptions.
*/ inline void SetAvailabilityZones(Aws::VectorThe availability zones for the Elasticsearch domain. Exists only if the * domain was created with VPCOptions.
*/ inline VPCDerivedInfo& WithAvailabilityZones(const Aws::VectorThe availability zones for the Elasticsearch domain. Exists only if the * domain was created with VPCOptions.
*/ inline VPCDerivedInfo& WithAvailabilityZones(Aws::VectorThe availability zones for the Elasticsearch domain. Exists only if the * domain was created with VPCOptions.
*/ inline VPCDerivedInfo& AddAvailabilityZones(const Aws::String& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; } /** *The availability zones for the Elasticsearch domain. Exists only if the * domain was created with VPCOptions.
*/ inline VPCDerivedInfo& AddAvailabilityZones(Aws::String&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(std::move(value)); return *this; } /** *The availability zones for the Elasticsearch domain. Exists only if the * domain was created with VPCOptions.
*/ inline VPCDerivedInfo& AddAvailabilityZones(const char* value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; } /** *Specifies the security groups for VPC endpoint.
*/ inline const Aws::VectorSpecifies the security groups for VPC endpoint.
*/ inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; } /** *Specifies the security groups for VPC endpoint.
*/ inline void SetSecurityGroupIds(const Aws::VectorSpecifies the security groups for VPC endpoint.
*/ inline void SetSecurityGroupIds(Aws::VectorSpecifies the security groups for VPC endpoint.
*/ inline VPCDerivedInfo& WithSecurityGroupIds(const Aws::VectorSpecifies the security groups for VPC endpoint.
*/ inline VPCDerivedInfo& WithSecurityGroupIds(Aws::VectorSpecifies the security groups for VPC endpoint.
*/ inline VPCDerivedInfo& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } /** *Specifies the security groups for VPC endpoint.
*/ inline VPCDerivedInfo& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; } /** *Specifies the security groups for VPC endpoint.
*/ 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