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.

WorkGroupSummary

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

type WorkGroupSummary struct { CreationTime *time.Time `type:"timestamp"` Description *string `type:"string"` Name *string `type:"string"` State *string `type:"string" enum:"WorkGroupState"` }

The summary information for the workgroup, which includes its name, state, description, and the date and time it was created.

CreationTime

Type: *time.Time

The workgroup creation date and time.

Description

Type: *string

The workgroup description.

Name

Type: *string

The name of the workgroup.

State

Type: *string

The state of the workgroup.

Method

GoString

func (s WorkGroupSummary) GoString() string

GoString returns the string representation

SetCreationTime

func (s *WorkGroupSummary) SetCreationTime(v time.Time) *WorkGroupSummary

SetCreationTime sets the CreationTime field's value.

SetDescription

func (s *WorkGroupSummary) SetDescription(v string) *WorkGroupSummary

SetDescription sets the Description field's value.

SetName

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

SetName sets the Name field's value.

SetState

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

SetState sets the State field's value.

String

func (s WorkGroupSummary) String() string

String returns the string representation

On this page: