7#include <aws/elasticloadbalancingv2/ElasticLoadBalancingv2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
21namespace ElasticLoadBalancingv2
39 AWS_ELASTICLOADBALANCINGV2_API
void OutputToStream(
Aws::OStream& ostream,
const char* location,
unsigned index,
const char* locationValue)
const;
49 template<
typename TargetGroupArnT = Aws::String>
50 void SetTargetGroupArn(TargetGroupArnT&& value) { m_targetGroupArnHasBeenSet =
true; m_targetGroupArn = std::forward<TargetGroupArnT>(value); }
51 template<
typename TargetGroupArnT = Aws::String>
61 inline void SetWeight(
int value) { m_weightHasBeenSet =
true; m_weight = value; }
67 bool m_targetGroupArnHasBeenSet =
false;
70 bool m_weightHasBeenSet =
false;
AWS_ELASTICLOADBALANCINGV2_API TargetGroupTuple & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICLOADBALANCINGV2_API TargetGroupTuple()=default
void SetTargetGroupArn(TargetGroupArnT &&value)
TargetGroupTuple & WithTargetGroupArn(TargetGroupArnT &&value)
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::String & GetTargetGroupArn() const
bool WeightHasBeenSet() const
AWS_ELASTICLOADBALANCINGV2_API TargetGroupTuple(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetWeight(int value)
bool TargetGroupArnHasBeenSet() const
TargetGroupTuple & WithWeight(int value)
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream