7#include <aws/vpc-lattice/VPCLattice_EXPORTS.h>
8#include <aws/vpc-lattice/VPCLatticeRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/vpc-lattice/model/Target.h>
43 template<
typename TargetGroupIdentifierT = Aws::String>
44 void SetTargetGroupIdentifier(TargetGroupIdentifierT&& value) { m_targetGroupIdentifierHasBeenSet =
true; m_targetGroupIdentifier = std::forward<TargetGroupIdentifierT>(value); }
45 template<
typename TargetGroupIdentifierT = Aws::String>
55 template<
typename TargetsT = Aws::Vector<Target>>
56 void SetTargets(TargetsT&& value) { m_targetsHasBeenSet =
true; m_targets = std::forward<TargetsT>(value); }
57 template<
typename TargetsT = Aws::Vector<Target>>
59 template<
typename TargetsT = Target>
65 bool m_targetGroupIdentifierHasBeenSet =
false;
68 bool m_targetsHasBeenSet =
false;
RegisterTargetsRequest & AddTargets(TargetsT &&value)
AWS_VPCLATTICE_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
AWS_VPCLATTICE_API RegisterTargetsRequest()=default
void SetTargets(TargetsT &&value)
void SetTargetGroupIdentifier(TargetGroupIdentifierT &&value)
RegisterTargetsRequest & WithTargetGroupIdentifier(TargetGroupIdentifierT &&value)
bool TargetsHasBeenSet() const
bool TargetGroupIdentifierHasBeenSet() const
const Aws::Vector< Target > & GetTargets() const
const Aws::String & GetTargetGroupIdentifier() const
RegisterTargetsRequest & WithTargets(TargetsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector