/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a forward action.See Also:
AWS
* API Reference
The target groups. For Network Load Balancers, you can specify a single * target group.
*/ inline const Aws::VectorThe target groups. For Network Load Balancers, you can specify a single * target group.
*/ inline bool TargetGroupsHasBeenSet() const { return m_targetGroupsHasBeenSet; } /** *The target groups. For Network Load Balancers, you can specify a single * target group.
*/ inline void SetTargetGroups(const Aws::VectorThe target groups. For Network Load Balancers, you can specify a single * target group.
*/ inline void SetTargetGroups(Aws::VectorThe target groups. For Network Load Balancers, you can specify a single * target group.
*/ inline ForwardActionConfig& WithTargetGroups(const Aws::VectorThe target groups. For Network Load Balancers, you can specify a single * target group.
*/ inline ForwardActionConfig& WithTargetGroups(Aws::VectorThe target groups. For Network Load Balancers, you can specify a single * target group.
*/ inline ForwardActionConfig& AddTargetGroups(const TargetGroupTuple& value) { m_targetGroupsHasBeenSet = true; m_targetGroups.push_back(value); return *this; } /** *The target groups. For Network Load Balancers, you can specify a single * target group.
*/ inline ForwardActionConfig& AddTargetGroups(TargetGroupTuple&& value) { m_targetGroupsHasBeenSet = true; m_targetGroups.push_back(std::move(value)); return *this; } /** *The target group stickiness for the rule.
*/ inline const TargetGroupStickinessConfig& GetTargetGroupStickinessConfig() const{ return m_targetGroupStickinessConfig; } /** *The target group stickiness for the rule.
*/ inline bool TargetGroupStickinessConfigHasBeenSet() const { return m_targetGroupStickinessConfigHasBeenSet; } /** *The target group stickiness for the rule.
*/ inline void SetTargetGroupStickinessConfig(const TargetGroupStickinessConfig& value) { m_targetGroupStickinessConfigHasBeenSet = true; m_targetGroupStickinessConfig = value; } /** *The target group stickiness for the rule.
*/ inline void SetTargetGroupStickinessConfig(TargetGroupStickinessConfig&& value) { m_targetGroupStickinessConfigHasBeenSet = true; m_targetGroupStickinessConfig = std::move(value); } /** *The target group stickiness for the rule.
*/ inline ForwardActionConfig& WithTargetGroupStickinessConfig(const TargetGroupStickinessConfig& value) { SetTargetGroupStickinessConfig(value); return *this;} /** *The target group stickiness for the rule.
*/ inline ForwardActionConfig& WithTargetGroupStickinessConfig(TargetGroupStickinessConfig&& value) { SetTargetGroupStickinessConfig(std::move(value)); return *this;} private: Aws::Vector