// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`PostCommentForComparedCommit`](crate::operation::post_comment_for_compared_commit::builders::PostCommentForComparedCommitFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`repository_name(impl Into<String>)`](crate::operation::post_comment_for_compared_commit::builders::PostCommentForComparedCommitFluentBuilder::repository_name) / [`set_repository_name(Option<String>)`](crate::operation::post_comment_for_compared_commit::builders::PostCommentForComparedCommitFluentBuilder::set_repository_name):<br>required: **true**<br><p>The name of the repository where you want to post a comment on the comparison between commits.</p><br>
/// - [`before_commit_id(impl Into<String>)`](crate::operation::post_comment_for_compared_commit::builders::PostCommentForComparedCommitFluentBuilder::before_commit_id) / [`set_before_commit_id(Option<String>)`](crate::operation::post_comment_for_compared_commit::builders::PostCommentForComparedCommitFluentBuilder::set_before_commit_id):<br>required: **false**<br><p>To establish the directionality of the comparison, the full commit ID of the before commit. Required for commenting on any commit unless that commit is the initial commit.</p><br>
/// - [`after_commit_id(impl Into<String>)`](crate::operation::post_comment_for_compared_commit::builders::PostCommentForComparedCommitFluentBuilder::after_commit_id) / [`set_after_commit_id(Option<String>)`](crate::operation::post_comment_for_compared_commit::builders::PostCommentForComparedCommitFluentBuilder::set_after_commit_id):<br>required: **true**<br><p>To establish the directionality of the comparison, the full commit ID of the after commit.</p><br>
/// - [`location(Location)`](crate::operation::post_comment_for_compared_commit::builders::PostCommentForComparedCommitFluentBuilder::location) / [`set_location(Option<Location>)`](crate::operation::post_comment_for_compared_commit::builders::PostCommentForComparedCommitFluentBuilder::set_location):<br>required: **false**<br><p>The location of the comparison where you want to comment.</p><br>
/// - [`content(impl Into<String>)`](crate::operation::post_comment_for_compared_commit::builders::PostCommentForComparedCommitFluentBuilder::content) / [`set_content(Option<String>)`](crate::operation::post_comment_for_compared_commit::builders::PostCommentForComparedCommitFluentBuilder::set_content):<br>required: **true**<br><p>The content of the comment you want to make.</p><br>
/// - [`client_request_token(impl Into<String>)`](crate::operation::post_comment_for_compared_commit::builders::PostCommentForComparedCommitFluentBuilder::client_request_token) / [`set_client_request_token(Option<String>)`](crate::operation::post_comment_for_compared_commit::builders::PostCommentForComparedCommitFluentBuilder::set_client_request_token):<br>required: **false**<br><p>A unique, client-generated idempotency token that, when provided in a request, ensures the request cannot be repeated with a changed parameter. If a request is received with the same parameters and a token is included, the request returns information about the initial request that used that token.</p><br>
/// - On success, responds with [`PostCommentForComparedCommitOutput`](crate::operation::post_comment_for_compared_commit::PostCommentForComparedCommitOutput) with field(s):
/// - [`repository_name(Option<String>)`](crate::operation::post_comment_for_compared_commit::PostCommentForComparedCommitOutput::repository_name): <p>The name of the repository where you posted a comment on the comparison between commits.</p>
/// - [`before_commit_id(Option<String>)`](crate::operation::post_comment_for_compared_commit::PostCommentForComparedCommitOutput::before_commit_id): <p>In the directionality you established, the full commit ID of the before commit.</p>
/// - [`after_commit_id(Option<String>)`](crate::operation::post_comment_for_compared_commit::PostCommentForComparedCommitOutput::after_commit_id): <p>In the directionality you established, the full commit ID of the after commit.</p>
/// - [`before_blob_id(Option<String>)`](crate::operation::post_comment_for_compared_commit::PostCommentForComparedCommitOutput::before_blob_id): <p>In the directionality you established, the blob ID of the before blob.</p>
/// - [`after_blob_id(Option<String>)`](crate::operation::post_comment_for_compared_commit::PostCommentForComparedCommitOutput::after_blob_id): <p>In the directionality you established, the blob ID of the after blob.</p>
/// - [`location(Option<Location>)`](crate::operation::post_comment_for_compared_commit::PostCommentForComparedCommitOutput::location): <p>The location of the comment in the comparison between the two commits.</p>
/// - [`comment(Option<Comment>)`](crate::operation::post_comment_for_compared_commit::PostCommentForComparedCommitOutput::comment): <p>The content of the comment you posted.</p>
/// - On failure, responds with [`SdkError<PostCommentForComparedCommitError>`](crate::operation::post_comment_for_compared_commit::PostCommentForComparedCommitError)
pub fn post_comment_for_compared_commit(
&self,
) -> crate::operation::post_comment_for_compared_commit::builders::PostCommentForComparedCommitFluentBuilder {
crate::operation::post_comment_for_compared_commit::builders::PostCommentForComparedCommitFluentBuilder::new(self.handle.clone())
}
}