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;
51 inline void SetTargetGroupArn(
const char* value) { m_targetGroupArnHasBeenSet =
true; m_targetGroupArn.assign(value); }
63 inline void SetWeight(
int value) { m_weightHasBeenSet =
true; m_weight = value; }
69 bool m_targetGroupArnHasBeenSet =
false;
72 bool m_weightHasBeenSet =
false;
TargetGroupTuple & WithTargetGroupArn(Aws::String &&value)
void SetTargetGroupArn(const char *value)
AWS_ELASTICLOADBALANCINGV2_API TargetGroupTuple & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
TargetGroupTuple & WithTargetGroupArn(const char *value)
AWS_ELASTICLOADBALANCINGV2_API TargetGroupTuple()
TargetGroupTuple & WithTargetGroupArn(const Aws::String &value)
AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::String & GetTargetGroupArn() const
bool WeightHasBeenSet() const
void SetTargetGroupArn(const Aws::String &value)
AWS_ELASTICLOADBALANCINGV2_API TargetGroupTuple(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetWeight(int value)
bool TargetGroupArnHasBeenSet() const
void SetTargetGroupArn(Aws::String &&value)
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