7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10#include <aws/ec2/model/TargetGroup.h>
45 template <
typename TargetGroupsT = Aws::Vector<TargetGroup>>
47 m_targetGroupsHasBeenSet =
true;
48 m_targetGroups = std::forward<TargetGroupsT>(value);
50 template <
typename TargetGroupsT = Aws::Vector<TargetGroup>>
55 template <
typename TargetGroupsT = TargetGroup>
57 m_targetGroupsHasBeenSet =
true;
58 m_targetGroups.emplace_back(std::forward<TargetGroupsT>(value));
64 bool m_targetGroupsHasBeenSet =
false;
AWS_EC2_API TargetGroupsConfig(const Aws::Utils::Xml::XmlNode &xmlNode)
TargetGroupsConfig & AddTargetGroups(TargetGroupsT &&value)
const Aws::Vector< TargetGroup > & GetTargetGroups() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API TargetGroupsConfig()=default
TargetGroupsConfig & WithTargetGroups(TargetGroupsT &&value)
AWS_EC2_API TargetGroupsConfig & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetTargetGroups(TargetGroupsT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool TargetGroupsHasBeenSet() const
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream