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/OverrideStatus.h>
31 inline virtual const char*
GetServiceRequestName()
const override {
return "OverridePullRequestApprovalRules"; }
48 inline void SetPullRequestId(
const char* value) { m_pullRequestIdHasBeenSet =
true; m_pullRequestId.assign(value); }
64 inline void SetRevisionId(
const char* value) { m_revisionIdHasBeenSet =
true; m_revisionId.assign(value); }
86 bool m_pullRequestIdHasBeenSet =
false;
89 bool m_revisionIdHasBeenSet =
false;
92 bool m_overrideStatusHasBeenSet =
false;
const Aws::String & GetRevisionId() const
OverridePullRequestApprovalRulesRequest & WithRevisionId(const char *value)
AWS_CODECOMMIT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
OverridePullRequestApprovalRulesRequest & WithPullRequestId(const Aws::String &value)
bool PullRequestIdHasBeenSet() const
void SetPullRequestId(const Aws::String &value)
void SetRevisionId(const char *value)
bool RevisionIdHasBeenSet() const
const OverrideStatus & GetOverrideStatus() const
OverridePullRequestApprovalRulesRequest & WithRevisionId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetOverrideStatus(OverrideStatus &&value)
OverridePullRequestApprovalRulesRequest & WithPullRequestId(const char *value)
void SetOverrideStatus(const OverrideStatus &value)
OverridePullRequestApprovalRulesRequest & WithPullRequestId(Aws::String &&value)
void SetPullRequestId(Aws::String &&value)
const Aws::String & GetPullRequestId() const
OverridePullRequestApprovalRulesRequest & WithOverrideStatus(OverrideStatus &&value)
AWS_CODECOMMIT_API OverridePullRequestApprovalRulesRequest()
bool OverrideStatusHasBeenSet() const
OverridePullRequestApprovalRulesRequest & WithOverrideStatus(const OverrideStatus &value)
OverridePullRequestApprovalRulesRequest & WithRevisionId(Aws::String &&value)
AWS_CODECOMMIT_API Aws::String SerializePayload() const override
void SetRevisionId(const Aws::String &value)
void SetRevisionId(Aws::String &&value)
void SetPullRequestId(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String