/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies a VPC that your training jobs and hosted models have access to.
* Control access to and from your training and model containers by configuring the
* VPC. For more information, see Protect
* Endpoints by Using an Amazon Virtual Private Cloud and Protect
* Training Jobs by Using an Amazon Virtual Private Cloud. See
* Also:
AWS
* API Reference
The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security
* groups for the VPC that is specified in the Subnets
field.
The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security
* groups for the VPC that is specified in the Subnets
field.
The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security
* groups for the VPC that is specified in the Subnets
field.
The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security
* groups for the VPC that is specified in the Subnets
field.
The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security
* groups for the VPC that is specified in the Subnets
field.
The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security
* groups for the VPC that is specified in the Subnets
field.
The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security
* groups for the VPC that is specified in the Subnets
field.
The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security
* groups for the VPC that is specified in the Subnets
field.
The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security
* groups for the VPC that is specified in the Subnets
field.
The ID of the subnets in the VPC to which you want to connect your training * job or model. For information about the availability of specific instance types, * see Supported * Instance Types and Availability Zones.
*/ inline const Aws::VectorThe ID of the subnets in the VPC to which you want to connect your training * job or model. For information about the availability of specific instance types, * see Supported * Instance Types and Availability Zones.
*/ inline bool SubnetsHasBeenSet() const { return m_subnetsHasBeenSet; } /** *The ID of the subnets in the VPC to which you want to connect your training * job or model. For information about the availability of specific instance types, * see Supported * Instance Types and Availability Zones.
*/ inline void SetSubnets(const Aws::VectorThe ID of the subnets in the VPC to which you want to connect your training * job or model. For information about the availability of specific instance types, * see Supported * Instance Types and Availability Zones.
*/ inline void SetSubnets(Aws::VectorThe ID of the subnets in the VPC to which you want to connect your training * job or model. For information about the availability of specific instance types, * see Supported * Instance Types and Availability Zones.
*/ inline VpcConfig& WithSubnets(const Aws::VectorThe ID of the subnets in the VPC to which you want to connect your training * job or model. For information about the availability of specific instance types, * see Supported * Instance Types and Availability Zones.
*/ inline VpcConfig& WithSubnets(Aws::VectorThe ID of the subnets in the VPC to which you want to connect your training * job or model. For information about the availability of specific instance types, * see Supported * Instance Types and Availability Zones.
*/ inline VpcConfig& AddSubnets(const Aws::String& value) { m_subnetsHasBeenSet = true; m_subnets.push_back(value); return *this; } /** *The ID of the subnets in the VPC to which you want to connect your training * job or model. For information about the availability of specific instance types, * see Supported * Instance Types and Availability Zones.
*/ inline VpcConfig& AddSubnets(Aws::String&& value) { m_subnetsHasBeenSet = true; m_subnets.push_back(std::move(value)); return *this; } /** *The ID of the subnets in the VPC to which you want to connect your training * job or model. For information about the availability of specific instance types, * see Supported * Instance Types and Availability Zones.
*/ inline VpcConfig& AddSubnets(const char* value) { m_subnetsHasBeenSet = true; m_subnets.push_back(value); return *this; } private: Aws::Vector