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.

SubModule

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

type SubModule struct { AbsolutePath *string `locationName:"absolutePath" type:"string"` CommitId *string `locationName:"commitId" type:"string"` RelativePath *string `locationName:"relativePath" type:"string"` }

Returns information about a submodule reference in a repository folder.

AbsolutePath

Type: *string

The fully qualified path to the folder that contains the reference to the submodule.

CommitId

Type: *string

The commit ID that contains the reference to the submodule.

RelativePath

Type: *string

The relative path of the submodule from the folder where the query originated.

Method

GoString

func (s SubModule) GoString() string

GoString returns the string representation

SetAbsolutePath

func (s *SubModule) SetAbsolutePath(v string) *SubModule

SetAbsolutePath sets the AbsolutePath field's value.

SetCommitId

func (s *SubModule) SetCommitId(v string) *SubModule

SetCommitId sets the CommitId field's value.

SetRelativePath

func (s *SubModule) SetRelativePath(v string) *SubModule

SetRelativePath sets the RelativePath field's value.

String

func (s SubModule) String() string

String returns the string representation

On this page: