/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The network configuration for a task or service.See Also:
* AWS
* API Reference
The VPC subnets and security groups that are associated with a task.
*All specified subnets and security groups must be from the same * VPC.
*/ inline const AwsVpcConfiguration& GetAwsvpcConfiguration() const{ return m_awsvpcConfiguration; } /** *The VPC subnets and security groups that are associated with a task.
*All specified subnets and security groups must be from the same * VPC.
*/ inline bool AwsvpcConfigurationHasBeenSet() const { return m_awsvpcConfigurationHasBeenSet; } /** *The VPC subnets and security groups that are associated with a task.
*All specified subnets and security groups must be from the same * VPC.
*/ inline void SetAwsvpcConfiguration(const AwsVpcConfiguration& value) { m_awsvpcConfigurationHasBeenSet = true; m_awsvpcConfiguration = value; } /** *The VPC subnets and security groups that are associated with a task.
*All specified subnets and security groups must be from the same * VPC.
*/ inline void SetAwsvpcConfiguration(AwsVpcConfiguration&& value) { m_awsvpcConfigurationHasBeenSet = true; m_awsvpcConfiguration = std::move(value); } /** *The VPC subnets and security groups that are associated with a task.
*All specified subnets and security groups must be from the same * VPC.
*/ inline NetworkConfiguration& WithAwsvpcConfiguration(const AwsVpcConfiguration& value) { SetAwsvpcConfiguration(value); return *this;} /** *The VPC subnets and security groups that are associated with a task.
*All specified subnets and security groups must be from the same * VPC.
*/ inline NetworkConfiguration& WithAwsvpcConfiguration(AwsVpcConfiguration&& value) { SetAwsvpcConfiguration(std::move(value)); return *this;} private: AwsVpcConfiguration m_awsvpcConfiguration; bool m_awsvpcConfigurationHasBeenSet = false; }; } // namespace Model } // namespace ECS } // namespace Aws