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/vpc-lattice/model/TargetGroupType.h>
48 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
58 template<
typename NextTokenT = Aws::String>
59 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
60 template<
typename NextTokenT = Aws::String>
80 template<
typename VpcIdentifierT = Aws::String>
81 void SetVpcIdentifier(VpcIdentifierT&& value) { m_vpcIdentifierHasBeenSet =
true; m_vpcIdentifier = std::forward<VpcIdentifierT>(value); }
82 template<
typename VpcIdentifierT = Aws::String>
88 bool m_maxResultsHasBeenSet =
false;
91 bool m_nextTokenHasBeenSet =
false;
94 bool m_targetGroupTypeHasBeenSet =
false;
97 bool m_vpcIdentifierHasBeenSet =
false;
ListTargetGroupsRequest & WithNextToken(NextTokenT &&value)
void SetNextToken(NextTokenT &&value)
AWS_VPCLATTICE_API ListTargetGroupsRequest()=default
AWS_VPCLATTICE_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
TargetGroupType GetTargetGroupType() const
int GetMaxResults() const
ListTargetGroupsRequest & WithMaxResults(int value)
bool NextTokenHasBeenSet() const
void SetVpcIdentifier(VpcIdentifierT &&value)
ListTargetGroupsRequest & WithTargetGroupType(TargetGroupType value)
void SetTargetGroupType(TargetGroupType value)
void SetMaxResults(int value)
virtual const char * GetServiceRequestName() const override
bool TargetGroupTypeHasBeenSet() const
ListTargetGroupsRequest & WithVpcIdentifier(VpcIdentifierT &&value)
AWS_VPCLATTICE_API Aws::String SerializePayload() const override
const Aws::String & GetVpcIdentifier() const
bool VpcIdentifierHasBeenSet() const
const Aws::String & GetNextToken() const
bool MaxResultsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String