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.

NotificationOptions

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

type NotificationOptions struct { EmailMessage *string `type:"string" sensitive:"true"` SendEmail *bool `type:"boolean"` }

Set of options which defines notification preferences of given action.

EmailMessage

Type: *string

Text value to be included in the email body.

SendEmail

Type: *bool

Boolean value to indicate an email notification should be sent to the receipients.

Method

GoString

func (s NotificationOptions) GoString() string

GoString returns the string representation

SetEmailMessage

func (s *NotificationOptions) SetEmailMessage(v string) *NotificationOptions

SetEmailMessage sets the EmailMessage field's value.

SetSendEmail

func (s *NotificationOptions) SetSendEmail(v bool) *NotificationOptions

SetSendEmail sets the SendEmail field's value.

String

func (s NotificationOptions) String() string

String returns the string representation

On this page: