// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetPullRequestApprovalStates`](crate::operation::get_pull_request_approval_states::builders::GetPullRequestApprovalStatesFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`pull_request_id(impl Into<String>)`](crate::operation::get_pull_request_approval_states::builders::GetPullRequestApprovalStatesFluentBuilder::pull_request_id) / [`set_pull_request_id(Option<String>)`](crate::operation::get_pull_request_approval_states::builders::GetPullRequestApprovalStatesFluentBuilder::set_pull_request_id):<br>required: **true**<br><p>The system-generated ID for the pull request.</p><br>
/// - [`revision_id(impl Into<String>)`](crate::operation::get_pull_request_approval_states::builders::GetPullRequestApprovalStatesFluentBuilder::revision_id) / [`set_revision_id(Option<String>)`](crate::operation::get_pull_request_approval_states::builders::GetPullRequestApprovalStatesFluentBuilder::set_revision_id):<br>required: **true**<br><p>The system-generated ID for the pull request revision.</p><br>
/// - On success, responds with [`GetPullRequestApprovalStatesOutput`](crate::operation::get_pull_request_approval_states::GetPullRequestApprovalStatesOutput) with field(s):
/// - [`approvals(Option<Vec::<Approval>>)`](crate::operation::get_pull_request_approval_states::GetPullRequestApprovalStatesOutput::approvals): <p>Information about users who have approved the pull request.</p>
/// - On failure, responds with [`SdkError<GetPullRequestApprovalStatesError>`](crate::operation::get_pull_request_approval_states::GetPullRequestApprovalStatesError)
pub fn get_pull_request_approval_states(
&self,
) -> crate::operation::get_pull_request_approval_states::builders::GetPullRequestApprovalStatesFluentBuilder {
crate::operation::get_pull_request_approval_states::builders::GetPullRequestApprovalStatesFluentBuilder::new(self.handle.clone())
}
}