/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include If this canary is to test an endpoint in a VPC, this structure contains
* information about the subnets and security groups of the VPC endpoint. For more
* information, see
* Running a Canary in a VPC.See Also:
AWS
* API Reference
The IDs of the VPC where this canary is to run.
*/ inline const Aws::String& GetVpcId() const{ return m_vpcId; } /** *The IDs of the VPC where this canary is to run.
*/ inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; } /** *The IDs of the VPC where this canary is to run.
*/ inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; } /** *The IDs of the VPC where this canary is to run.
*/ inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); } /** *The IDs of the VPC where this canary is to run.
*/ inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); } /** *The IDs of the VPC where this canary is to run.
*/ inline VpcConfigOutput& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;} /** *The IDs of the VPC where this canary is to run.
*/ inline VpcConfigOutput& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;} /** *The IDs of the VPC where this canary is to run.
*/ inline VpcConfigOutput& WithVpcId(const char* value) { SetVpcId(value); return *this;} /** *The IDs of the subnets where this canary is to run.
*/ inline const Aws::VectorThe IDs of the subnets where this canary is to run.
*/ inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; } /** *The IDs of the subnets where this canary is to run.
*/ inline void SetSubnetIds(const Aws::VectorThe IDs of the subnets where this canary is to run.
*/ inline void SetSubnetIds(Aws::VectorThe IDs of the subnets where this canary is to run.
*/ inline VpcConfigOutput& WithSubnetIds(const Aws::VectorThe IDs of the subnets where this canary is to run.
*/ inline VpcConfigOutput& WithSubnetIds(Aws::VectorThe IDs of the subnets where this canary is to run.
*/ inline VpcConfigOutput& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** *The IDs of the subnets where this canary is to run.
*/ inline VpcConfigOutput& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; } /** *The IDs of the subnets where this canary is to run.
*/ inline VpcConfigOutput& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** *The IDs of the security groups for this canary.
*/ inline const Aws::VectorThe IDs of the security groups for this canary.
*/ inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; } /** *The IDs of the security groups for this canary.
*/ inline void SetSecurityGroupIds(const Aws::VectorThe IDs of the security groups for this canary.
*/ inline void SetSecurityGroupIds(Aws::VectorThe IDs of the security groups for this canary.
*/ inline VpcConfigOutput& WithSecurityGroupIds(const Aws::VectorThe IDs of the security groups for this canary.
*/ inline VpcConfigOutput& WithSecurityGroupIds(Aws::VectorThe IDs of the security groups for this canary.
*/ inline VpcConfigOutput& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } /** *The IDs of the security groups for this canary.
*/ inline VpcConfigOutput& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; } /** *The IDs of the security groups for this canary.
*/ inline VpcConfigOutput& 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