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>
49 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
59 template<
typename NextTokenT = Aws::String>
60 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
61 template<
typename NextTokenT = Aws::String>
71 template<
typename TargetGroupIdentifierT = Aws::String>
72 void SetTargetGroupIdentifier(TargetGroupIdentifierT&& value) { m_targetGroupIdentifierHasBeenSet =
true; m_targetGroupIdentifier = std::forward<TargetGroupIdentifierT>(value); }
73 template<
typename TargetGroupIdentifierT = Aws::String>
83 template<
typename TargetsT = Aws::Vector<Target>>
84 void SetTargets(TargetsT&& value) { m_targetsHasBeenSet =
true; m_targets = std::forward<TargetsT>(value); }
85 template<
typename TargetsT = Aws::Vector<Target>>
87 template<
typename TargetsT = Target>
88 ListTargetsRequest&
AddTargets(TargetsT&& value) { m_targetsHasBeenSet =
true; m_targets.emplace_back(std::forward<TargetsT>(value));
return *
this; }
93 bool m_maxResultsHasBeenSet =
false;
96 bool m_nextTokenHasBeenSet =
false;
99 bool m_targetGroupIdentifierHasBeenSet =
false;
102 bool m_targetsHasBeenSet =
false;
void SetTargets(TargetsT &&value)
ListTargetsRequest & WithTargets(TargetsT &&value)
AWS_VPCLATTICE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListTargetsRequest & WithTargetGroupIdentifier(TargetGroupIdentifierT &&value)
AWS_VPCLATTICE_API ListTargetsRequest()=default
int GetMaxResults() const
const Aws::Vector< Target > & GetTargets() const
ListTargetsRequest & WithMaxResults(int value)
virtual const char * GetServiceRequestName() const override
bool TargetsHasBeenSet() const
const Aws::String & GetTargetGroupIdentifier() const
void SetMaxResults(int value)
bool TargetGroupIdentifierHasBeenSet() const
bool MaxResultsHasBeenSet() const
ListTargetsRequest & WithNextToken(NextTokenT &&value)
const Aws::String & GetNextToken() const
AWS_VPCLATTICE_API Aws::String SerializePayload() const override
void SetNextToken(NextTokenT &&value)
void SetTargetGroupIdentifier(TargetGroupIdentifierT &&value)
bool NextTokenHasBeenSet() const
ListTargetsRequest & AddTargets(TargetsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector