Struct aws_sdk_codecommit::operation::post_comment_reply::builders::PostCommentReplyInputBuilder
source · #[non_exhaustive]pub struct PostCommentReplyInputBuilder { /* private fields */ }Expand description
A builder for PostCommentReplyInput.
Implementations§
source§impl PostCommentReplyInputBuilder
impl PostCommentReplyInputBuilder
sourcepub fn in_reply_to(self, input: impl Into<String>) -> Self
pub fn in_reply_to(self, input: impl Into<String>) -> Self
The system-generated ID of the comment to which you want to reply. To get this ID, use GetCommentsForComparedCommit or GetCommentsForPullRequest.
sourcepub fn set_in_reply_to(self, input: Option<String>) -> Self
pub fn set_in_reply_to(self, input: Option<String>) -> Self
The system-generated ID of the comment to which you want to reply. To get this ID, use GetCommentsForComparedCommit or GetCommentsForPullRequest.
sourcepub fn get_in_reply_to(&self) -> &Option<String>
pub fn get_in_reply_to(&self) -> &Option<String>
The system-generated ID of the comment to which you want to reply. To get this ID, use GetCommentsForComparedCommit or GetCommentsForPullRequest.
sourcepub fn client_request_token(self, input: impl Into<String>) -> Self
pub fn client_request_token(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_client_request_token(self, input: Option<String>) -> Self
pub fn set_client_request_token(self, input: Option<String>) -> Self
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.
sourcepub fn get_client_request_token(&self) -> &Option<String>
pub fn get_client_request_token(&self) -> &Option<String>
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.
sourcepub fn content(self, input: impl Into<String>) -> Self
pub fn content(self, input: impl Into<String>) -> Self
The contents of your reply to a comment.
sourcepub fn set_content(self, input: Option<String>) -> Self
pub fn set_content(self, input: Option<String>) -> Self
The contents of your reply to a comment.
sourcepub fn get_content(&self) -> &Option<String>
pub fn get_content(&self) -> &Option<String>
The contents of your reply to a comment.
sourcepub fn build(self) -> Result<PostCommentReplyInput, BuildError>
pub fn build(self) -> Result<PostCommentReplyInput, BuildError>
Consumes the builder and constructs a PostCommentReplyInput.
source§impl PostCommentReplyInputBuilder
impl PostCommentReplyInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<PostCommentReplyOutput, SdkError<PostCommentReplyError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<PostCommentReplyOutput, SdkError<PostCommentReplyError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for PostCommentReplyInputBuilder
impl Clone for PostCommentReplyInputBuilder
source§fn clone(&self) -> PostCommentReplyInputBuilder
fn clone(&self) -> PostCommentReplyInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for PostCommentReplyInputBuilder
impl Debug for PostCommentReplyInputBuilder
source§impl Default for PostCommentReplyInputBuilder
impl Default for PostCommentReplyInputBuilder
source§fn default() -> PostCommentReplyInputBuilder
fn default() -> PostCommentReplyInputBuilder
source§impl PartialEq<PostCommentReplyInputBuilder> for PostCommentReplyInputBuilder
impl PartialEq<PostCommentReplyInputBuilder> for PostCommentReplyInputBuilder
source§fn eq(&self, other: &PostCommentReplyInputBuilder) -> bool
fn eq(&self, other: &PostCommentReplyInputBuilder) -> bool
self and other values to be equal, and is used
by ==.