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.

Member

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

type Member struct { DisabledDate *time.Time `type:"timestamp"` EnabledDate *time.Time `type:"timestamp"` Id *string `type:"string"` Name *string `type:"string"` State *string `type:"string" enum:"EntityState"` Type *string `type:"string" enum:"MemberType"` }

The representation of a group member (user or group).

DisabledDate

Type: *time.Time

The date indicating when the member was disabled from Amazon WorkMail use.

EnabledDate

Type: *time.Time

The date indicating when the member was enabled for Amazon WorkMail use.

Id

Type: *string

The identifier of the member.

Name

Type: *string

The name of the member.

State

Type: *string

The state of the member, which can be ENABLED, DISABLED, or DELETED.

Type

Type: *string

A member can be a user or group.

Method

GoString

func (s Member) GoString() string

GoString returns the string representation

SetDisabledDate

func (s *Member) SetDisabledDate(v time.Time) *Member

SetDisabledDate sets the DisabledDate field's value.

SetEnabledDate

func (s *Member) SetEnabledDate(v time.Time) *Member

SetEnabledDate sets the EnabledDate field's value.

SetId

func (s *Member) SetId(v string) *Member

SetId sets the Id field's value.

SetName

func (s *Member) SetName(v string) *Member

SetName sets the Name field's value.

SetState

func (s *Member) SetState(v string) *Member

SetState sets the State field's value.

SetType

func (s *Member) SetType(v string) *Member

SetType sets the Type field's value.

String

func (s Member) String() string

String returns the string representation

On this page: