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.

GetCommentsForComparedCommitInput

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

type GetCommentsForComparedCommitInput struct { AfterCommitId *string `locationName:"afterCommitId" type:"string" required:"true"` BeforeCommitId *string `locationName:"beforeCommitId" type:"string"` MaxResults *int64 `locationName:"maxResults" type:"integer"` NextToken *string `locationName:"nextToken" type:"string"` RepositoryName *string `locationName:"repositoryName" min:"1" type:"string" required:"true"` }

AfterCommitId

Type: *string

To establish the directionality of the comparison, the full commit ID of the 'after' commit.

AfterCommitId is a required field

BeforeCommitId

Type: *string

To establish the directionality of the comparison, the full commit ID of the 'before' commit.

MaxResults

Type: *int64

A non-negative integer used to limit the number of returned results. The default is 100 comments, and is configurable up to 500.

NextToken

Type: *string

An enumeration token that when provided in a request, returns the next batch of the results.

RepositoryName

Type: *string

The name of the repository where you want to compare commits.

RepositoryName is a required field

Method

GoString

func (s GetCommentsForComparedCommitInput) GoString() string

GoString returns the string representation

SetAfterCommitId

func (s *GetCommentsForComparedCommitInput) SetAfterCommitId(v string) *GetCommentsForComparedCommitInput

SetAfterCommitId sets the AfterCommitId field's value.

SetBeforeCommitId

func (s *GetCommentsForComparedCommitInput) SetBeforeCommitId(v string) *GetCommentsForComparedCommitInput

SetBeforeCommitId sets the BeforeCommitId field's value.

SetMaxResults

func (s *GetCommentsForComparedCommitInput) SetMaxResults(v int64) *GetCommentsForComparedCommitInput

SetMaxResults sets the MaxResults field's value.

SetNextToken

func (s *GetCommentsForComparedCommitInput) SetNextToken(v string) *GetCommentsForComparedCommitInput

SetNextToken sets the NextToken field's value.

SetRepositoryName

func (s *GetCommentsForComparedCommitInput) SetRepositoryName(v string) *GetCommentsForComparedCommitInput

SetRepositoryName sets the RepositoryName field's value.

String

func (s GetCommentsForComparedCommitInput) String() string

String returns the string representation

Validate

func (s *GetCommentsForComparedCommitInput) Validate() error

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

On this page: