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