7#include <aws/codeguru-reviewer/CodeGuruReviewer_EXPORTS.h>
8#include <aws/codeguru-reviewer/CodeGuruReviewerRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/codeguru-reviewer/model/Type.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/codeguru-reviewer/model/ProviderType.h>
13#include <aws/codeguru-reviewer/model/JobState.h>
22namespace CodeGuruReviewer
104 inline void SetType(
const Type& value) { m_typeHasBeenSet =
true; m_type = value; }
105 inline void SetType(
Type&& value) { m_typeHasBeenSet =
true; m_type = std::move(value); }
117 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
132 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
140 bool m_providerTypesHasBeenSet =
false;
143 bool m_statesHasBeenSet =
false;
146 bool m_repositoryNamesHasBeenSet =
false;
149 bool m_typeHasBeenSet =
false;
152 bool m_maxResultsHasBeenSet =
false;
155 bool m_nextTokenHasBeenSet =
false;
AWS_CODEGURUREVIEWER_API ListCodeReviewsRequest()
const Aws::String & GetNextToken() const
void SetNextToken(const char *value)
bool MaxResultsHasBeenSet() const
ListCodeReviewsRequest & WithRepositoryNames(const Aws::Vector< Aws::String > &value)
void SetProviderTypes(const Aws::Vector< ProviderType > &value)
void SetNextToken(Aws::String &&value)
ListCodeReviewsRequest & WithMaxResults(int value)
void SetNextToken(const Aws::String &value)
AWS_CODEGURUREVIEWER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListCodeReviewsRequest & AddProviderTypes(const ProviderType &value)
void SetType(const Type &value)
void SetProviderTypes(Aws::Vector< ProviderType > &&value)
void SetStates(const Aws::Vector< JobState > &value)
ListCodeReviewsRequest & AddRepositoryNames(const Aws::String &value)
void SetStates(Aws::Vector< JobState > &&value)
ListCodeReviewsRequest & AddStates(JobState &&value)
const Type & GetType() const
bool NextTokenHasBeenSet() const
bool ProviderTypesHasBeenSet() const
virtual const char * GetServiceRequestName() const override
ListCodeReviewsRequest & WithProviderTypes(Aws::Vector< ProviderType > &&value)
ListCodeReviewsRequest & WithRepositoryNames(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetRepositoryNames() const
bool TypeHasBeenSet() const
ListCodeReviewsRequest & WithNextToken(const Aws::String &value)
ListCodeReviewsRequest & AddProviderTypes(ProviderType &&value)
ListCodeReviewsRequest & WithType(Type &&value)
ListCodeReviewsRequest & AddRepositoryNames(Aws::String &&value)
bool RepositoryNamesHasBeenSet() const
void SetRepositoryNames(Aws::Vector< Aws::String > &&value)
AWS_CODEGURUREVIEWER_API Aws::String SerializePayload() const override
void SetMaxResults(int value)
ListCodeReviewsRequest & WithNextToken(Aws::String &&value)
const Aws::Vector< JobState > & GetStates() const
ListCodeReviewsRequest & WithType(const Type &value)
ListCodeReviewsRequest & AddStates(const JobState &value)
bool StatesHasBeenSet() const
int GetMaxResults() const
ListCodeReviewsRequest & WithStates(const Aws::Vector< JobState > &value)
void SetRepositoryNames(const Aws::Vector< Aws::String > &value)
const Aws::Vector< ProviderType > & GetProviderTypes() const
ListCodeReviewsRequest & WithProviderTypes(const Aws::Vector< ProviderType > &value)
ListCodeReviewsRequest & AddRepositoryNames(const char *value)
ListCodeReviewsRequest & WithNextToken(const char *value)
void SetType(Type &&value)
ListCodeReviewsRequest & WithStates(Aws::Vector< JobState > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector