7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ecs/model/AssignPublicIp.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
53 template<
typename SubnetsT = Aws::Vector<Aws::String>>
54 void SetSubnets(SubnetsT&& value) { m_subnetsHasBeenSet =
true; m_subnets = std::forward<SubnetsT>(value); }
55 template<
typename SubnetsT = Aws::Vector<Aws::String>>
57 template<
typename SubnetsT = Aws::String>
70 template<
typename SecurityGroupsT = Aws::Vector<Aws::String>>
71 void SetSecurityGroups(SecurityGroupsT&& value) { m_securityGroupsHasBeenSet =
true; m_securityGroups = std::forward<SecurityGroupsT>(value); }
72 template<
typename SecurityGroupsT = Aws::Vector<Aws::String>>
74 template<
typename SecurityGroupsT = Aws::String>
95 bool m_subnetsHasBeenSet =
false;
98 bool m_securityGroupsHasBeenSet =
false;
101 bool m_assignPublicIpHasBeenSet =
false;
AwsVpcConfiguration & WithSubnets(SubnetsT &&value)
void SetAssignPublicIp(AssignPublicIp value)
AWS_ECS_API AwsVpcConfiguration()=default
AWS_ECS_API AwsVpcConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
bool AssignPublicIpHasBeenSet() const
AwsVpcConfiguration & AddSecurityGroups(SecurityGroupsT &&value)
AWS_ECS_API AwsVpcConfiguration(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetSecurityGroups() const
const Aws::Vector< Aws::String > & GetSubnets() const
AssignPublicIp GetAssignPublicIp() const
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
bool SecurityGroupsHasBeenSet() const
void SetSubnets(SubnetsT &&value)
AwsVpcConfiguration & AddSubnets(SubnetsT &&value)
AwsVpcConfiguration & WithAssignPublicIp(AssignPublicIp value)
bool SubnetsHasBeenSet() const
AwsVpcConfiguration & WithSecurityGroups(SecurityGroupsT &&value)
void SetSecurityGroups(SecurityGroupsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue