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.

AssociateMemberToGroupInput

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

type AssociateMemberToGroupInput struct { GroupId *string `min:"12" type:"string" required:"true"` MemberId *string `min:"12" type:"string" required:"true"` OrganizationId *string `type:"string" required:"true"` }

GroupId

Type: *string

The group for which the member is associated.

GroupId is a required field

MemberId

Type: *string

The member to associate to the group.

MemberId is a required field

OrganizationId

Type: *string

The organization under which the group exists.

OrganizationId is a required field

Method

GoString

func (s AssociateMemberToGroupInput) GoString() string

GoString returns the string representation

SetGroupId

func (s *AssociateMemberToGroupInput) SetGroupId(v string) *AssociateMemberToGroupInput

SetGroupId sets the GroupId field's value.

SetMemberId

func (s *AssociateMemberToGroupInput) SetMemberId(v string) *AssociateMemberToGroupInput

SetMemberId sets the MemberId field's value.

SetOrganizationId

func (s *AssociateMemberToGroupInput) SetOrganizationId(v string) *AssociateMemberToGroupInput

SetOrganizationId sets the OrganizationId field's value.

String

func (s AssociateMemberToGroupInput) String() string

String returns the string representation

Validate

func (s *AssociateMemberToGroupInput) Validate() error

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

On this page: