7#include <aws/codecommit/CodeCommit_EXPORTS.h>
8#include <aws/codecommit/CodeCommitRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
46 inline void SetPullRequestId(
const char* value) { m_pullRequestIdHasBeenSet =
true; m_pullRequestId.assign(value); }
60 inline void SetApprovalRuleName(
const char* value) { m_approvalRuleNameHasBeenSet =
true; m_approvalRuleName.assign(value); }
97 inline void SetApprovalRuleContent(
const char* value) { m_approvalRuleContentHasBeenSet =
true; m_approvalRuleContent.assign(value); }
105 bool m_pullRequestIdHasBeenSet =
false;
108 bool m_approvalRuleNameHasBeenSet =
false;
111 bool m_approvalRuleContentHasBeenSet =
false;
void SetApprovalRuleName(Aws::String &&value)
AWS_CODECOMMIT_API Aws::String SerializePayload() const override
void SetApprovalRuleContent(const Aws::String &value)
void SetPullRequestId(const Aws::String &value)
CreatePullRequestApprovalRuleRequest & WithApprovalRuleName(Aws::String &&value)
CreatePullRequestApprovalRuleRequest & WithPullRequestId(Aws::String &&value)
CreatePullRequestApprovalRuleRequest & WithPullRequestId(const Aws::String &value)
void SetApprovalRuleName(const char *value)
CreatePullRequestApprovalRuleRequest & WithApprovalRuleName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
bool ApprovalRuleNameHasBeenSet() const
CreatePullRequestApprovalRuleRequest & WithApprovalRuleName(const char *value)
CreatePullRequestApprovalRuleRequest & WithApprovalRuleContent(Aws::String &&value)
CreatePullRequestApprovalRuleRequest & WithApprovalRuleContent(const Aws::String &value)
CreatePullRequestApprovalRuleRequest & WithPullRequestId(const char *value)
bool ApprovalRuleContentHasBeenSet() const
CreatePullRequestApprovalRuleRequest & WithApprovalRuleContent(const char *value)
void SetPullRequestId(Aws::String &&value)
void SetApprovalRuleContent(Aws::String &&value)
const Aws::String & GetApprovalRuleName() const
void SetPullRequestId(const char *value)
AWS_CODECOMMIT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetApprovalRuleName(const Aws::String &value)
const Aws::String & GetApprovalRuleContent() const
void SetApprovalRuleContent(const char *value)
AWS_CODECOMMIT_API CreatePullRequestApprovalRuleRequest()
bool PullRequestIdHasBeenSet() const
const Aws::String & GetPullRequestId() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String