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.

GetSegmentsInput

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

type GetSegmentsInput struct { ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"` PageSize *string `location:"querystring" locationName:"page-size" type:"string"` Token *string `location:"querystring" locationName:"token" type:"string"` }

ApplicationId

Type: *string

ApplicationId is a required field

PageSize

Type: *string

Token

Type: *string

Method

GoString

func (s GetSegmentsInput) GoString() string

GoString returns the string representation

SetApplicationId

func (s *GetSegmentsInput) SetApplicationId(v string) *GetSegmentsInput

SetApplicationId sets the ApplicationId field's value.

SetPageSize

func (s *GetSegmentsInput) SetPageSize(v string) *GetSegmentsInput

SetPageSize sets the PageSize field's value.

SetToken

func (s *GetSegmentsInput) SetToken(v string) *GetSegmentsInput

SetToken sets the Token field's value.

String

func (s GetSegmentsInput) String() string

String returns the string representation

Validate

func (s *GetSegmentsInput) Validate() error

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

On this page: