7#include <aws/codecommit/CodeCommit_EXPORTS.h>
8#include <aws/codecommit/CodeCommitRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/codecommit/model/PullRequestStatusEnum.h>
46 inline void SetRepositoryName(
const char* value) { m_repositoryNameHasBeenSet =
true; m_repositoryName.assign(value); }
62 inline void SetAuthorArn(
const char* value) { m_authorArnHasBeenSet =
true; m_authorArn.assign(value); }
90 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
103 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
109 bool m_repositoryNameHasBeenSet =
false;
112 bool m_authorArnHasBeenSet =
false;
115 bool m_pullRequestStatusHasBeenSet =
false;
118 bool m_nextTokenHasBeenSet =
false;
121 bool m_maxResultsHasBeenSet =
false;
ListPullRequestsRequest & WithMaxResults(int value)
ListPullRequestsRequest & WithAuthorArn(const char *value)
AWS_CODECOMMIT_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
void SetAuthorArn(const char *value)
void SetMaxResults(int value)
void SetNextToken(Aws::String &&value)
void SetRepositoryName(const char *value)
int GetMaxResults() const
bool NextTokenHasBeenSet() const
ListPullRequestsRequest & WithRepositoryName(const Aws::String &value)
ListPullRequestsRequest & WithAuthorArn(Aws::String &&value)
bool RepositoryNameHasBeenSet() const
AWS_CODECOMMIT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListPullRequestsRequest & WithRepositoryName(Aws::String &&value)
void SetNextToken(const char *value)
void SetAuthorArn(const Aws::String &value)
ListPullRequestsRequest & WithAuthorArn(const Aws::String &value)
AWS_CODECOMMIT_API ListPullRequestsRequest()
bool PullRequestStatusHasBeenSet() const
bool AuthorArnHasBeenSet() const
void SetNextToken(const Aws::String &value)
ListPullRequestsRequest & WithPullRequestStatus(const PullRequestStatusEnum &value)
ListPullRequestsRequest & WithPullRequestStatus(PullRequestStatusEnum &&value)
void SetRepositoryName(const Aws::String &value)
const Aws::String & GetAuthorArn() const
const PullRequestStatusEnum & GetPullRequestStatus() const
ListPullRequestsRequest & WithNextToken(Aws::String &&value)
const Aws::String & GetNextToken() const
ListPullRequestsRequest & WithNextToken(const char *value)
void SetAuthorArn(Aws::String &&value)
void SetPullRequestStatus(const PullRequestStatusEnum &value)
ListPullRequestsRequest & WithNextToken(const Aws::String &value)
bool MaxResultsHasBeenSet() const
const Aws::String & GetRepositoryName() const
void SetRepositoryName(Aws::String &&value)
void SetPullRequestStatus(PullRequestStatusEnum &&value)
ListPullRequestsRequest & WithRepositoryName(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String