7#include <aws/vpc-lattice/VPCLattice_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
48 inline void SetTargetGroupIdentifier(
const char* value) { m_targetGroupIdentifierHasBeenSet =
true; m_targetGroupIdentifier.assign(value); }
66 inline void SetWeight(
int value) { m_weightHasBeenSet =
true; m_weight = value; }
72 bool m_targetGroupIdentifierHasBeenSet =
false;
75 bool m_weightHasBeenSet =
false;
WeightedTargetGroup & WithWeight(int value)
WeightedTargetGroup & WithTargetGroupIdentifier(const char *value)
bool TargetGroupIdentifierHasBeenSet() const
WeightedTargetGroup & WithTargetGroupIdentifier(Aws::String &&value)
const Aws::String & GetTargetGroupIdentifier() const
AWS_VPCLATTICE_API Aws::Utils::Json::JsonValue Jsonize() const
WeightedTargetGroup & WithTargetGroupIdentifier(const Aws::String &value)
void SetWeight(int value)
void SetTargetGroupIdentifier(Aws::String &&value)
AWS_VPCLATTICE_API WeightedTargetGroup(Aws::Utils::Json::JsonView jsonValue)
void SetTargetGroupIdentifier(const char *value)
AWS_VPCLATTICE_API WeightedTargetGroup()
AWS_VPCLATTICE_API WeightedTargetGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
bool WeightHasBeenSet() const
void SetTargetGroupIdentifier(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue