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; }
61 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
75 inline void SetTargetGroupIdentifier(
const char* value) { m_targetGroupIdentifierHasBeenSet =
true; m_targetGroupIdentifier.assign(value); }
97 bool m_maxResultsHasBeenSet =
false;
100 bool m_nextTokenHasBeenSet =
false;
103 bool m_targetGroupIdentifierHasBeenSet =
false;
106 bool m_targetsHasBeenSet =
false;
ListTargetsRequest & WithTargets(Aws::Vector< Target > &&value)
ListTargetsRequest & AddTargets(Target &&value)
AWS_VPCLATTICE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetTargetGroupIdentifier(Aws::String &&value)
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 SetTargets(Aws::Vector< Target > &&value)
ListTargetsRequest & WithNextToken(Aws::String &&value)
void SetMaxResults(int value)
ListTargetsRequest & WithNextToken(const char *value)
bool TargetGroupIdentifierHasBeenSet() const
AWS_VPCLATTICE_API ListTargetsRequest()
void SetTargetGroupIdentifier(const char *value)
ListTargetsRequest & WithTargetGroupIdentifier(const Aws::String &value)
bool MaxResultsHasBeenSet() const
void SetTargets(const Aws::Vector< Target > &value)
void SetNextToken(const Aws::String &value)
const Aws::String & GetNextToken() const
void SetNextToken(const char *value)
ListTargetsRequest & WithTargetGroupIdentifier(const char *value)
AWS_VPCLATTICE_API Aws::String SerializePayload() const override
ListTargetsRequest & WithTargetGroupIdentifier(Aws::String &&value)
ListTargetsRequest & AddTargets(const Target &value)
ListTargetsRequest & WithTargets(const Aws::Vector< Target > &value)
void SetNextToken(Aws::String &&value)
ListTargetsRequest & WithNextToken(const Aws::String &value)
bool NextTokenHasBeenSet() const
void SetTargetGroupIdentifier(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector