7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ecs/ECS_EXPORTS.h>
50 template <
typename SubnetsT = Aws::Vector<Aws::String>>
52 m_subnetsHasBeenSet =
true;
53 m_subnets = std::forward<SubnetsT>(value);
55 template <
typename SubnetsT = Aws::Vector<Aws::String>>
60 template <
typename SubnetsT = Aws::String>
62 m_subnetsHasBeenSet =
true;
63 m_subnets.emplace_back(std::forward<SubnetsT>(value));
76 template <
typename SecurityGroupsT = Aws::Vector<Aws::String>>
78 m_securityGroupsHasBeenSet =
true;
79 m_securityGroups = std::forward<SecurityGroupsT>(value);
81 template <
typename SecurityGroupsT = Aws::Vector<Aws::String>>
86 template <
typename SecurityGroupsT = Aws::String>
88 m_securityGroupsHasBeenSet =
true;
89 m_securityGroups.emplace_back(std::forward<SecurityGroupsT>(value));
97 bool m_subnetsHasBeenSet =
false;
98 bool m_securityGroupsHasBeenSet =
false;
void SetSecurityGroups(SecurityGroupsT &&value)
const Aws::Vector< Aws::String > & GetSubnets() const
AWS_ECS_API ManagedInstancesNetworkConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_ECS_API ManagedInstancesNetworkConfiguration()=default
const Aws::Vector< Aws::String > & GetSecurityGroups() const
ManagedInstancesNetworkConfiguration & AddSubnets(SubnetsT &&value)
bool SecurityGroupsHasBeenSet() const
AWS_ECS_API ManagedInstancesNetworkConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ManagedInstancesNetworkConfiguration & WithSubnets(SubnetsT &&value)
void SetSubnets(SubnetsT &&value)
ManagedInstancesNetworkConfiguration & WithSecurityGroups(SecurityGroupsT &&value)
bool SubnetsHasBeenSet() const
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
ManagedInstancesNetworkConfiguration & AddSecurityGroups(SecurityGroupsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue