7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/model/TargetGroup.h>
51 template<
typename TargetGroupsT = Aws::Vector<TargetGroup>>
52 void SetTargetGroups(TargetGroupsT&& value) { m_targetGroupsHasBeenSet =
true; m_targetGroups = std::forward<TargetGroupsT>(value); }
53 template<
typename TargetGroupsT = Aws::Vector<TargetGroup>>
55 template<
typename TargetGroupsT = TargetGroup>
56 TargetGroupsConfig&
AddTargetGroups(TargetGroupsT&& value) { m_targetGroupsHasBeenSet =
true; m_targetGroups.emplace_back(std::forward<TargetGroupsT>(value));
return *
this; }
61 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