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.

ListBranchesOutput

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

type ListBranchesOutput struct { Branches []*string `locationName:"branches" type:"list"` NextToken *string `locationName:"nextToken" type:"string"` }

Represents the output of a list branches operation.

Branches

Type: []*string

The list of branch names.

NextToken

Type: *string

An enumeration token that returns the batch of the results.

Method

GoString

func (s ListBranchesOutput) GoString() string

GoString returns the string representation

SetBranches

func (s *ListBranchesOutput) SetBranches(v []*string) *ListBranchesOutput

SetBranches sets the Branches field's value.

SetNextToken

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

SetNextToken sets the NextToken field's value.

String

func (s ListBranchesOutput) String() string

String returns the string representation

On this page: