/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The configuration settings for an Amazon VPC that contains data sources for
* your Grafana workspace to connect to. Provided
* Connecting to a private VPC is not yet available in the Asia
* Pacific (Seoul) Region (ap-northeast-2).securityGroupIds
and subnetIds
must be part of the
* same VPC.See Also:
AWS
* API Reference
The list of Amazon EC2 security group IDs attached to the Amazon VPC for your * Grafana workspace to connect. Duplicates not allowed.
*/ inline const Aws::VectorThe list of Amazon EC2 security group IDs attached to the Amazon VPC for your * Grafana workspace to connect. Duplicates not allowed.
*/ inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; } /** *The list of Amazon EC2 security group IDs attached to the Amazon VPC for your * Grafana workspace to connect. Duplicates not allowed.
*/ inline void SetSecurityGroupIds(const Aws::VectorThe list of Amazon EC2 security group IDs attached to the Amazon VPC for your * Grafana workspace to connect. Duplicates not allowed.
*/ inline void SetSecurityGroupIds(Aws::VectorThe list of Amazon EC2 security group IDs attached to the Amazon VPC for your * Grafana workspace to connect. Duplicates not allowed.
*/ inline VpcConfiguration& WithSecurityGroupIds(const Aws::VectorThe list of Amazon EC2 security group IDs attached to the Amazon VPC for your * Grafana workspace to connect. Duplicates not allowed.
*/ inline VpcConfiguration& WithSecurityGroupIds(Aws::VectorThe list of Amazon EC2 security group IDs attached to the Amazon VPC for your * Grafana workspace to connect. Duplicates not allowed.
*/ inline VpcConfiguration& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } /** *The list of Amazon EC2 security group IDs attached to the Amazon VPC for your * Grafana workspace to connect. Duplicates not allowed.
*/ inline VpcConfiguration& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; } /** *The list of Amazon EC2 security group IDs attached to the Amazon VPC for your * Grafana workspace to connect. Duplicates not allowed.
*/ inline VpcConfiguration& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } /** *The list of Amazon EC2 subnet IDs created in the Amazon VPC for your Grafana * workspace to connect. Duplicates not allowed.
*/ inline const Aws::VectorThe list of Amazon EC2 subnet IDs created in the Amazon VPC for your Grafana * workspace to connect. Duplicates not allowed.
*/ inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; } /** *The list of Amazon EC2 subnet IDs created in the Amazon VPC for your Grafana * workspace to connect. Duplicates not allowed.
*/ inline void SetSubnetIds(const Aws::VectorThe list of Amazon EC2 subnet IDs created in the Amazon VPC for your Grafana * workspace to connect. Duplicates not allowed.
*/ inline void SetSubnetIds(Aws::VectorThe list of Amazon EC2 subnet IDs created in the Amazon VPC for your Grafana * workspace to connect. Duplicates not allowed.
*/ inline VpcConfiguration& WithSubnetIds(const Aws::VectorThe list of Amazon EC2 subnet IDs created in the Amazon VPC for your Grafana * workspace to connect. Duplicates not allowed.
*/ inline VpcConfiguration& WithSubnetIds(Aws::VectorThe list of Amazon EC2 subnet IDs created in the Amazon VPC for your Grafana * workspace to connect. Duplicates not allowed.
*/ inline VpcConfiguration& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** *The list of Amazon EC2 subnet IDs created in the Amazon VPC for your Grafana * workspace to connect. Duplicates not allowed.
*/ inline VpcConfiguration& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; } /** *The list of Amazon EC2 subnet IDs created in the Amazon VPC for your Grafana * workspace to connect. Duplicates not allowed.
*/ inline VpcConfiguration& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } private: Aws::Vector