/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The VPC object you use to create or update a workforce.See
* Also:
AWS
* API Reference
The ID of the VPC that the workforce uses for communication.
*/ inline const Aws::String& GetVpcId() const{ return m_vpcId; } /** *The ID of the VPC that the workforce uses for communication.
*/ inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; } /** *The ID of the VPC that the workforce uses for communication.
*/ inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; } /** *The ID of the VPC that the workforce uses for communication.
*/ inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); } /** *The ID of the VPC that the workforce uses for communication.
*/ inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); } /** *The ID of the VPC that the workforce uses for communication.
*/ inline WorkforceVpcConfigRequest& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;} /** *The ID of the VPC that the workforce uses for communication.
*/ inline WorkforceVpcConfigRequest& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;} /** *The ID of the VPC that the workforce uses for communication.
*/ inline WorkforceVpcConfigRequest& WithVpcId(const char* value) { SetVpcId(value); return *this;} /** *The VPC security group IDs, in the form sg-xxxxxxxx. The security groups must * be for the same VPC as specified in the subnet.
*/ inline const Aws::VectorThe VPC security group IDs, in the form sg-xxxxxxxx. The security groups must * be for the same VPC as specified in the subnet.
*/ inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; } /** *The VPC security group IDs, in the form sg-xxxxxxxx. The security groups must * be for the same VPC as specified in the subnet.
*/ inline void SetSecurityGroupIds(const Aws::VectorThe VPC security group IDs, in the form sg-xxxxxxxx. The security groups must * be for the same VPC as specified in the subnet.
*/ inline void SetSecurityGroupIds(Aws::VectorThe VPC security group IDs, in the form sg-xxxxxxxx. The security groups must * be for the same VPC as specified in the subnet.
*/ inline WorkforceVpcConfigRequest& WithSecurityGroupIds(const Aws::VectorThe VPC security group IDs, in the form sg-xxxxxxxx. The security groups must * be for the same VPC as specified in the subnet.
*/ inline WorkforceVpcConfigRequest& WithSecurityGroupIds(Aws::VectorThe VPC security group IDs, in the form sg-xxxxxxxx. The security groups must * be for the same VPC as specified in the subnet.
*/ inline WorkforceVpcConfigRequest& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } /** *The VPC security group IDs, in the form sg-xxxxxxxx. The security groups must * be for the same VPC as specified in the subnet.
*/ inline WorkforceVpcConfigRequest& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; } /** *The VPC security group IDs, in the form sg-xxxxxxxx. The security groups must * be for the same VPC as specified in the subnet.
*/ inline WorkforceVpcConfigRequest& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } /** *The ID of the subnets in the VPC that you want to connect.
*/ inline const Aws::VectorThe ID of the subnets in the VPC that you want to connect.
*/ inline bool SubnetsHasBeenSet() const { return m_subnetsHasBeenSet; } /** *The ID of the subnets in the VPC that you want to connect.
*/ inline void SetSubnets(const Aws::VectorThe ID of the subnets in the VPC that you want to connect.
*/ inline void SetSubnets(Aws::VectorThe ID of the subnets in the VPC that you want to connect.
*/ inline WorkforceVpcConfigRequest& WithSubnets(const Aws::VectorThe ID of the subnets in the VPC that you want to connect.
*/ inline WorkforceVpcConfigRequest& WithSubnets(Aws::VectorThe ID of the subnets in the VPC that you want to connect.
*/ inline WorkforceVpcConfigRequest& AddSubnets(const Aws::String& value) { m_subnetsHasBeenSet = true; m_subnets.push_back(value); return *this; } /** *The ID of the subnets in the VPC that you want to connect.
*/ inline WorkforceVpcConfigRequest& AddSubnets(Aws::String&& value) { m_subnetsHasBeenSet = true; m_subnets.push_back(std::move(value)); return *this; } /** *The ID of the subnets in the VPC that you want to connect.
*/ inline WorkforceVpcConfigRequest& AddSubnets(const char* value) { m_subnetsHasBeenSet = true; m_subnets.push_back(value); return *this; } private: Aws::String m_vpcId; bool m_vpcIdHasBeenSet = false; Aws::Vector