Struct aws_sdk_codecommit::operation::delete_comment_content::builders::DeleteCommentContentInputBuilder
source · #[non_exhaustive]pub struct DeleteCommentContentInputBuilder { /* private fields */ }Expand description
A builder for DeleteCommentContentInput.
Implementations§
source§impl DeleteCommentContentInputBuilder
impl DeleteCommentContentInputBuilder
sourcepub fn comment_id(self, input: impl Into<String>) -> Self
pub fn comment_id(self, input: impl Into<String>) -> Self
The unique, system-generated ID of the comment. To get this ID, use GetCommentsForComparedCommit or GetCommentsForPullRequest.
sourcepub fn set_comment_id(self, input: Option<String>) -> Self
pub fn set_comment_id(self, input: Option<String>) -> Self
The unique, system-generated ID of the comment. To get this ID, use GetCommentsForComparedCommit or GetCommentsForPullRequest.
sourcepub fn get_comment_id(&self) -> &Option<String>
pub fn get_comment_id(&self) -> &Option<String>
The unique, system-generated ID of the comment. To get this ID, use GetCommentsForComparedCommit or GetCommentsForPullRequest.
sourcepub fn build(self) -> Result<DeleteCommentContentInput, BuildError>
pub fn build(self) -> Result<DeleteCommentContentInput, BuildError>
Consumes the builder and constructs a DeleteCommentContentInput.
source§impl DeleteCommentContentInputBuilder
impl DeleteCommentContentInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeleteCommentContentOutput, SdkError<DeleteCommentContentError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeleteCommentContentOutput, SdkError<DeleteCommentContentError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteCommentContentInputBuilder
impl Clone for DeleteCommentContentInputBuilder
source§fn clone(&self) -> DeleteCommentContentInputBuilder
fn clone(&self) -> DeleteCommentContentInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for DeleteCommentContentInputBuilder
impl Default for DeleteCommentContentInputBuilder
source§fn default() -> DeleteCommentContentInputBuilder
fn default() -> DeleteCommentContentInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DeleteCommentContentInputBuilder
impl PartialEq for DeleteCommentContentInputBuilder
source§fn eq(&self, other: &DeleteCommentContentInputBuilder) -> bool
fn eq(&self, other: &DeleteCommentContentInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DeleteCommentContentInputBuilder
Auto Trait Implementations§
impl Freeze for DeleteCommentContentInputBuilder
impl RefUnwindSafe for DeleteCommentContentInputBuilder
impl Send for DeleteCommentContentInputBuilder
impl Sync for DeleteCommentContentInputBuilder
impl Unpin for DeleteCommentContentInputBuilder
impl UnwindSafe for DeleteCommentContentInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.