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.

ShareResult

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

type ShareResult struct { InviteePrincipalId *string `min:"1" type:"string"` PrincipalId *string `min:"1" type:"string"` Role *string `type:"string" enum:"RoleType"` ShareId *string `min:"1" type:"string"` Status *string `type:"string" enum:"ShareStatusType"` StatusMessage *string `type:"string" sensitive:"true"` }

Describes the share results of a resource.

InviteePrincipalId

Type: *string

The ID of the invited user.

PrincipalId

Type: *string

The ID of the principal.

Role

Type: *string

The role.

ShareId

Type: *string

The ID of the resource that was shared.

Status

Type: *string

The status.

StatusMessage

Type: *string

The status message.

Method

GoString

func (s ShareResult) GoString() string

GoString returns the string representation

SetInviteePrincipalId

func (s *ShareResult) SetInviteePrincipalId(v string) *ShareResult

SetInviteePrincipalId sets the InviteePrincipalId field's value.

SetPrincipalId

func (s *ShareResult) SetPrincipalId(v string) *ShareResult

SetPrincipalId sets the PrincipalId field's value.

SetRole

func (s *ShareResult) SetRole(v string) *ShareResult

SetRole sets the Role field's value.

SetShareId

func (s *ShareResult) SetShareId(v string) *ShareResult

SetShareId sets the ShareId field's value.

SetStatus

func (s *ShareResult) SetStatus(v string) *ShareResult

SetStatus sets the Status field's value.

SetStatusMessage

func (s *ShareResult) SetStatusMessage(v string) *ShareResult

SetStatusMessage sets the StatusMessage field's value.

String

func (s ShareResult) String() string

String returns the string representation

On this page: