AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

PostCommentReplyInput

import "github.com/aws/aws-sdk-go/service/codecommit"

type PostCommentReplyInput struct { ClientRequestToken *string `locationName:"clientRequestToken" type:"string" idempotencyToken:"true"` Content *string `locationName:"content" type:"string" required:"true"` InReplyTo *string `locationName:"inReplyTo" type:"string" required:"true"` }

ClientRequestToken

Type: *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 will return information about the initial request that used that token.

Content

Type: *string

The contents of your reply to a comment.

Content is a required field

InReplyTo

Type: *string

The system-generated ID of the comment to which you want to reply. To get this ID, use GetCommentsForComparedCommit or GetCommentsForPullRequest.

InReplyTo is a required field

Method

GoString

func (s PostCommentReplyInput) GoString() string

GoString returns the string representation

SetClientRequestToken

func (s *PostCommentReplyInput) SetClientRequestToken(v string) *PostCommentReplyInput

SetClientRequestToken sets the ClientRequestToken field's value.

SetContent

func (s *PostCommentReplyInput) SetContent(v string) *PostCommentReplyInput

SetContent sets the Content field's value.

SetInReplyTo

func (s *PostCommentReplyInput) SetInReplyTo(v string) *PostCommentReplyInput

SetInReplyTo sets the InReplyTo field's value.

String

func (s PostCommentReplyInput) String() string

String returns the string representation

Validate

func (s *PostCommentReplyInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: