7#include <aws/codecommit/CodeCommit_EXPORTS.h>
8#include <aws/codecommit/CodeCommitRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
44 template<
typename PullRequestIdT = Aws::String>
45 void SetPullRequestId(PullRequestIdT&& value) { m_pullRequestIdHasBeenSet =
true; m_pullRequestId = std::forward<PullRequestIdT>(value); }
46 template<
typename PullRequestIdT = Aws::String>
56 template<
typename ApprovalRuleNameT = Aws::String>
57 void SetApprovalRuleName(ApprovalRuleNameT&& value) { m_approvalRuleNameHasBeenSet =
true; m_approvalRuleName = std::forward<ApprovalRuleNameT>(value); }
58 template<
typename ApprovalRuleNameT = Aws::String>
91 template<
typename ApprovalRuleContentT = Aws::String>
92 void SetApprovalRuleContent(ApprovalRuleContentT&& value) { m_approvalRuleContentHasBeenSet =
true; m_approvalRuleContent = std::forward<ApprovalRuleContentT>(value); }
93 template<
typename ApprovalRuleContentT = Aws::String>
99 bool m_pullRequestIdHasBeenSet =
false;
102 bool m_approvalRuleNameHasBeenSet =
false;
105 bool m_approvalRuleContentHasBeenSet =
false;
AWS_CODECOMMIT_API Aws::String SerializePayload() const override
void SetApprovalRuleName(ApprovalRuleNameT &&value)
CreatePullRequestApprovalRuleRequest & WithPullRequestId(PullRequestIdT &&value)
virtual const char * GetServiceRequestName() const override
bool ApprovalRuleNameHasBeenSet() const
CreatePullRequestApprovalRuleRequest & WithApprovalRuleContent(ApprovalRuleContentT &&value)
bool ApprovalRuleContentHasBeenSet() const
CreatePullRequestApprovalRuleRequest & WithApprovalRuleName(ApprovalRuleNameT &&value)
const Aws::String & GetApprovalRuleName() const
void SetApprovalRuleContent(ApprovalRuleContentT &&value)
AWS_CODECOMMIT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetPullRequestId(PullRequestIdT &&value)
AWS_CODECOMMIT_API CreatePullRequestApprovalRuleRequest()=default
const Aws::String & GetApprovalRuleContent() const
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