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.

UpdateCampaignInput

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

type UpdateCampaignInput struct { ApplicationId *string `location:"uri" locationName:"application-id" type:"string" required:"true"` CampaignId *string `location:"uri" locationName:"campaign-id" type:"string" required:"true"` WriteCampaignRequest *WriteCampaignRequest `type:"structure" required:"true"` }

ApplicationId

Type: *string

ApplicationId is a required field

CampaignId

Type: *string

CampaignId is a required field

WriteCampaignRequest

Used to create a campaign.

Method

GoString

func (s UpdateCampaignInput) GoString() string

GoString returns the string representation

SetApplicationId

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

SetApplicationId sets the ApplicationId field's value.

SetCampaignId

func (s *UpdateCampaignInput) SetCampaignId(v string) *UpdateCampaignInput

SetCampaignId sets the CampaignId field's value.

SetWriteCampaignRequest

func (s *UpdateCampaignInput) SetWriteCampaignRequest(v *WriteCampaignRequest) *UpdateCampaignInput

SetWriteCampaignRequest sets the WriteCampaignRequest field's value.

String

func (s UpdateCampaignInput) String() string

String returns the string representation

Validate

func (s *UpdateCampaignInput) Validate() error

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

On this page: