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/ApprovalState.h>
46 inline void SetPullRequestId(
const char* value) { m_pullRequestIdHasBeenSet =
true; m_pullRequestId.assign(value); }
60 inline void SetRevisionId(
const char* value) { m_revisionIdHasBeenSet =
true; m_revisionId.assign(value); }
80 bool m_pullRequestIdHasBeenSet =
false;
83 bool m_revisionIdHasBeenSet =
false;
86 bool m_approvalStateHasBeenSet =
false;
UpdatePullRequestApprovalStateRequest & WithRevisionId(Aws::String &&value)
AWS_CODECOMMIT_API UpdatePullRequestApprovalStateRequest()
bool RevisionIdHasBeenSet() const
const Aws::String & GetRevisionId() const
UpdatePullRequestApprovalStateRequest & WithPullRequestId(const char *value)
AWS_CODECOMMIT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetRevisionId(const Aws::String &value)
void SetApprovalState(const ApprovalState &value)
AWS_CODECOMMIT_API Aws::String SerializePayload() const override
void SetPullRequestId(const char *value)
virtual const char * GetServiceRequestName() const override
bool PullRequestIdHasBeenSet() const
void SetApprovalState(ApprovalState &&value)
UpdatePullRequestApprovalStateRequest & WithRevisionId(const char *value)
UpdatePullRequestApprovalStateRequest & WithPullRequestId(Aws::String &&value)
UpdatePullRequestApprovalStateRequest & WithApprovalState(const ApprovalState &value)
UpdatePullRequestApprovalStateRequest & WithPullRequestId(const Aws::String &value)
void SetRevisionId(Aws::String &&value)
void SetRevisionId(const char *value)
const Aws::String & GetPullRequestId() const
UpdatePullRequestApprovalStateRequest & WithApprovalState(ApprovalState &&value)
UpdatePullRequestApprovalStateRequest & WithRevisionId(const Aws::String &value)
const ApprovalState & GetApprovalState() const
void SetPullRequestId(const Aws::String &value)
bool ApprovalStateHasBeenSet() const
void SetPullRequestId(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String