7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2_EXPORTS.h>
10#include <aws/elasticloadbalancingv2/model/TargetGroupStickinessConfig.h>
11#include <aws/elasticloadbalancingv2/model/TargetGroupTuple.h>
21namespace ElasticLoadBalancingv2 {
36 const char* locationValue)
const;
45 template <
typename TargetGroupsT = Aws::Vector<TargetGroupTuple>>
47 m_targetGroupsHasBeenSet =
true;
48 m_targetGroups = std::forward<TargetGroupsT>(value);
50 template <
typename TargetGroupsT = Aws::Vector<TargetGroupTuple>>
55 template <
typename TargetGroupsT = TargetGroupTuple>
57 m_targetGroupsHasBeenSet =
true;
58 m_targetGroups.emplace_back(std::forward<TargetGroupsT>(value));
69 template <
typename TargetGroupStickinessConfigT = TargetGroupStickinessConfig>
71 m_targetGroupStickinessConfigHasBeenSet =
true;
72 m_targetGroupStickinessConfig = std::forward<TargetGroupStickinessConfigT>(value);
74 template <
typename TargetGroupStickinessConfigT = TargetGroupStickinessConfig>
84 bool m_targetGroupsHasBeenSet =
false;
85 bool m_targetGroupStickinessConfigHasBeenSet =
false;
ForwardActionConfig & WithTargetGroups(TargetGroupsT &&value)
bool TargetGroupsHasBeenSet() const
AWS_ELASTICLOADBALANCINGV2_API ForwardActionConfig & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICLOADBALANCINGV2_API ForwardActionConfig()=default
bool TargetGroupStickinessConfigHasBeenSet() const
ForwardActionConfig & AddTargetGroups(TargetGroupsT &&value)
const Aws::Vector< TargetGroupTuple > & GetTargetGroups() const
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetTargetGroups(TargetGroupsT &&value)
const TargetGroupStickinessConfig & GetTargetGroupStickinessConfig() const
ForwardActionConfig & WithTargetGroupStickinessConfig(TargetGroupStickinessConfigT &&value)
void SetTargetGroupStickinessConfig(TargetGroupStickinessConfigT &&value)
AWS_ELASTICLOADBALANCINGV2_API ForwardActionConfig(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream