repo
stringlengths 5
54
| path
stringlengths 4
155
| func_name
stringlengths 1
118
| original_string
stringlengths 52
85.5k
| language
stringclasses 1
value | code
stringlengths 52
85.5k
| code_tokens
list | docstring
stringlengths 6
2.61k
| docstring_tokens
list | sha
stringlengths 40
40
| url
stringlengths 85
252
| partition
stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|---|---|---|
aws/aws-sdk-go
|
service/ses/api.go
|
SetDimensionConfigurations
|
func (s *CloudWatchDestination) SetDimensionConfigurations(v []*CloudWatchDimensionConfiguration) *CloudWatchDestination {
s.DimensionConfigurations = v
return s
}
|
go
|
func (s *CloudWatchDestination) SetDimensionConfigurations(v []*CloudWatchDimensionConfiguration) *CloudWatchDestination {
s.DimensionConfigurations = v
return s
}
|
[
"func",
"(",
"s",
"*",
"CloudWatchDestination",
")",
"SetDimensionConfigurations",
"(",
"v",
"[",
"]",
"*",
"CloudWatchDimensionConfiguration",
")",
"*",
"CloudWatchDestination",
"{",
"s",
".",
"DimensionConfigurations",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetDimensionConfigurations sets the DimensionConfigurations field's value.
|
[
"SetDimensionConfigurations",
"sets",
"the",
"DimensionConfigurations",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L7055-L7058
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetDefaultDimensionValue
|
func (s *CloudWatchDimensionConfiguration) SetDefaultDimensionValue(v string) *CloudWatchDimensionConfiguration {
s.DefaultDimensionValue = &v
return s
}
|
go
|
func (s *CloudWatchDimensionConfiguration) SetDefaultDimensionValue(v string) *CloudWatchDimensionConfiguration {
s.DefaultDimensionValue = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"CloudWatchDimensionConfiguration",
")",
"SetDefaultDimensionValue",
"(",
"v",
"string",
")",
"*",
"CloudWatchDimensionConfiguration",
"{",
"s",
".",
"DefaultDimensionValue",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetDefaultDimensionValue sets the DefaultDimensionValue field's value.
|
[
"SetDefaultDimensionValue",
"sets",
"the",
"DefaultDimensionValue",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L7131-L7134
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetDimensionName
|
func (s *CloudWatchDimensionConfiguration) SetDimensionName(v string) *CloudWatchDimensionConfiguration {
s.DimensionName = &v
return s
}
|
go
|
func (s *CloudWatchDimensionConfiguration) SetDimensionName(v string) *CloudWatchDimensionConfiguration {
s.DimensionName = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"CloudWatchDimensionConfiguration",
")",
"SetDimensionName",
"(",
"v",
"string",
")",
"*",
"CloudWatchDimensionConfiguration",
"{",
"s",
".",
"DimensionName",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetDimensionName sets the DimensionName field's value.
|
[
"SetDimensionName",
"sets",
"the",
"DimensionName",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L7137-L7140
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetDimensionValueSource
|
func (s *CloudWatchDimensionConfiguration) SetDimensionValueSource(v string) *CloudWatchDimensionConfiguration {
s.DimensionValueSource = &v
return s
}
|
go
|
func (s *CloudWatchDimensionConfiguration) SetDimensionValueSource(v string) *CloudWatchDimensionConfiguration {
s.DimensionValueSource = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"CloudWatchDimensionConfiguration",
")",
"SetDimensionValueSource",
"(",
"v",
"string",
")",
"*",
"CloudWatchDimensionConfiguration",
"{",
"s",
".",
"DimensionValueSource",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetDimensionValueSource sets the DimensionValueSource field's value.
|
[
"SetDimensionValueSource",
"sets",
"the",
"DimensionValueSource",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L7143-L7146
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetConfigurationSetAttributeNames
|
func (s *DescribeConfigurationSetInput) SetConfigurationSetAttributeNames(v []*string) *DescribeConfigurationSetInput {
s.ConfigurationSetAttributeNames = v
return s
}
|
go
|
func (s *DescribeConfigurationSetInput) SetConfigurationSetAttributeNames(v []*string) *DescribeConfigurationSetInput {
s.ConfigurationSetAttributeNames = v
return s
}
|
[
"func",
"(",
"s",
"*",
"DescribeConfigurationSetInput",
")",
"SetConfigurationSetAttributeNames",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"DescribeConfigurationSetInput",
"{",
"s",
".",
"ConfigurationSetAttributeNames",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetConfigurationSetAttributeNames sets the ConfigurationSetAttributeNames field's value.
|
[
"SetConfigurationSetAttributeNames",
"sets",
"the",
"ConfigurationSetAttributeNames",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L8679-L8682
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetBccAddresses
|
func (s *Destination) SetBccAddresses(v []*string) *Destination {
s.BccAddresses = v
return s
}
|
go
|
func (s *Destination) SetBccAddresses(v []*string) *Destination {
s.BccAddresses = v
return s
}
|
[
"func",
"(",
"s",
"*",
"Destination",
")",
"SetBccAddresses",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"Destination",
"{",
"s",
".",
"BccAddresses",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetBccAddresses sets the BccAddresses field's value.
|
[
"SetBccAddresses",
"sets",
"the",
"BccAddresses",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L8935-L8938
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetCcAddresses
|
func (s *Destination) SetCcAddresses(v []*string) *Destination {
s.CcAddresses = v
return s
}
|
go
|
func (s *Destination) SetCcAddresses(v []*string) *Destination {
s.CcAddresses = v
return s
}
|
[
"func",
"(",
"s",
"*",
"Destination",
")",
"SetCcAddresses",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"Destination",
"{",
"s",
".",
"CcAddresses",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetCcAddresses sets the CcAddresses field's value.
|
[
"SetCcAddresses",
"sets",
"the",
"CcAddresses",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L8941-L8944
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetToAddresses
|
func (s *Destination) SetToAddresses(v []*string) *Destination {
s.ToAddresses = v
return s
}
|
go
|
func (s *Destination) SetToAddresses(v []*string) *Destination {
s.ToAddresses = v
return s
}
|
[
"func",
"(",
"s",
"*",
"Destination",
")",
"SetToAddresses",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"Destination",
"{",
"s",
".",
"ToAddresses",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetToAddresses sets the ToAddresses field's value.
|
[
"SetToAddresses",
"sets",
"the",
"ToAddresses",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L8947-L8950
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetSNSDestination
|
func (s *EventDestination) SetSNSDestination(v *SNSDestination) *EventDestination {
s.SNSDestination = v
return s
}
|
go
|
func (s *EventDestination) SetSNSDestination(v *SNSDestination) *EventDestination {
s.SNSDestination = v
return s
}
|
[
"func",
"(",
"s",
"*",
"EventDestination",
")",
"SetSNSDestination",
"(",
"v",
"*",
"SNSDestination",
")",
"*",
"EventDestination",
"{",
"s",
".",
"SNSDestination",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetSNSDestination sets the SNSDestination field's value.
|
[
"SetSNSDestination",
"sets",
"the",
"SNSDestination",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L9072-L9075
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetMailFromDomainAttributes
|
func (s *GetIdentityMailFromDomainAttributesOutput) SetMailFromDomainAttributes(v map[string]*IdentityMailFromDomainAttributes) *GetIdentityMailFromDomainAttributesOutput {
s.MailFromDomainAttributes = v
return s
}
|
go
|
func (s *GetIdentityMailFromDomainAttributesOutput) SetMailFromDomainAttributes(v map[string]*IdentityMailFromDomainAttributes) *GetIdentityMailFromDomainAttributesOutput {
s.MailFromDomainAttributes = v
return s
}
|
[
"func",
"(",
"s",
"*",
"GetIdentityMailFromDomainAttributesOutput",
")",
"SetMailFromDomainAttributes",
"(",
"v",
"map",
"[",
"string",
"]",
"*",
"IdentityMailFromDomainAttributes",
")",
"*",
"GetIdentityMailFromDomainAttributesOutput",
"{",
"s",
".",
"MailFromDomainAttributes",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetMailFromDomainAttributes sets the MailFromDomainAttributes field's value.
|
[
"SetMailFromDomainAttributes",
"sets",
"the",
"MailFromDomainAttributes",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L9421-L9424
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetNotificationAttributes
|
func (s *GetIdentityNotificationAttributesOutput) SetNotificationAttributes(v map[string]*IdentityNotificationAttributes) *GetIdentityNotificationAttributesOutput {
s.NotificationAttributes = v
return s
}
|
go
|
func (s *GetIdentityNotificationAttributesOutput) SetNotificationAttributes(v map[string]*IdentityNotificationAttributes) *GetIdentityNotificationAttributesOutput {
s.NotificationAttributes = v
return s
}
|
[
"func",
"(",
"s",
"*",
"GetIdentityNotificationAttributesOutput",
")",
"SetNotificationAttributes",
"(",
"v",
"map",
"[",
"string",
"]",
"*",
"IdentityNotificationAttributes",
")",
"*",
"GetIdentityNotificationAttributesOutput",
"{",
"s",
".",
"NotificationAttributes",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetNotificationAttributes sets the NotificationAttributes field's value.
|
[
"SetNotificationAttributes",
"sets",
"the",
"NotificationAttributes",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L9490-L9493
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetVerificationAttributes
|
func (s *GetIdentityVerificationAttributesOutput) SetVerificationAttributes(v map[string]*IdentityVerificationAttributes) *GetIdentityVerificationAttributesOutput {
s.VerificationAttributes = v
return s
}
|
go
|
func (s *GetIdentityVerificationAttributesOutput) SetVerificationAttributes(v map[string]*IdentityVerificationAttributes) *GetIdentityVerificationAttributesOutput {
s.VerificationAttributes = v
return s
}
|
[
"func",
"(",
"s",
"*",
"GetIdentityVerificationAttributesOutput",
")",
"SetVerificationAttributes",
"(",
"v",
"map",
"[",
"string",
"]",
"*",
"IdentityVerificationAttributes",
")",
"*",
"GetIdentityVerificationAttributesOutput",
"{",
"s",
".",
"VerificationAttributes",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetVerificationAttributes sets the VerificationAttributes field's value.
|
[
"SetVerificationAttributes",
"sets",
"the",
"VerificationAttributes",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L9647-L9650
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetSendDataPoints
|
func (s *GetSendStatisticsOutput) SetSendDataPoints(v []*SendDataPoint) *GetSendStatisticsOutput {
s.SendDataPoints = v
return s
}
|
go
|
func (s *GetSendStatisticsOutput) SetSendDataPoints(v []*SendDataPoint) *GetSendStatisticsOutput {
s.SendDataPoints = v
return s
}
|
[
"func",
"(",
"s",
"*",
"GetSendStatisticsOutput",
")",
"SetSendDataPoints",
"(",
"v",
"[",
"]",
"*",
"SendDataPoint",
")",
"*",
"GetSendStatisticsOutput",
"{",
"s",
".",
"SendDataPoints",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetSendDataPoints sets the SendDataPoints field's value.
|
[
"SetSendDataPoints",
"sets",
"the",
"SendDataPoints",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L9748-L9751
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetDkimVerificationStatus
|
func (s *IdentityDkimAttributes) SetDkimVerificationStatus(v string) *IdentityDkimAttributes {
s.DkimVerificationStatus = &v
return s
}
|
go
|
func (s *IdentityDkimAttributes) SetDkimVerificationStatus(v string) *IdentityDkimAttributes {
s.DkimVerificationStatus = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"IdentityDkimAttributes",
")",
"SetDkimVerificationStatus",
"(",
"v",
"string",
")",
"*",
"IdentityDkimAttributes",
"{",
"s",
".",
"DkimVerificationStatus",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetDkimVerificationStatus sets the DkimVerificationStatus field's value.
|
[
"SetDkimVerificationStatus",
"sets",
"the",
"DkimVerificationStatus",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L9868-L9871
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetBounceTopic
|
func (s *IdentityNotificationAttributes) SetBounceTopic(v string) *IdentityNotificationAttributes {
s.BounceTopic = &v
return s
}
|
go
|
func (s *IdentityNotificationAttributes) SetBounceTopic(v string) *IdentityNotificationAttributes {
s.BounceTopic = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"IdentityNotificationAttributes",
")",
"SetBounceTopic",
"(",
"v",
"string",
")",
"*",
"IdentityNotificationAttributes",
"{",
"s",
".",
"BounceTopic",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetBounceTopic sets the BounceTopic field's value.
|
[
"SetBounceTopic",
"sets",
"the",
"BounceTopic",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L9997-L10000
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetComplaintTopic
|
func (s *IdentityNotificationAttributes) SetComplaintTopic(v string) *IdentityNotificationAttributes {
s.ComplaintTopic = &v
return s
}
|
go
|
func (s *IdentityNotificationAttributes) SetComplaintTopic(v string) *IdentityNotificationAttributes {
s.ComplaintTopic = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"IdentityNotificationAttributes",
")",
"SetComplaintTopic",
"(",
"v",
"string",
")",
"*",
"IdentityNotificationAttributes",
"{",
"s",
".",
"ComplaintTopic",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetComplaintTopic sets the ComplaintTopic field's value.
|
[
"SetComplaintTopic",
"sets",
"the",
"ComplaintTopic",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L10003-L10006
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetDeliveryTopic
|
func (s *IdentityNotificationAttributes) SetDeliveryTopic(v string) *IdentityNotificationAttributes {
s.DeliveryTopic = &v
return s
}
|
go
|
func (s *IdentityNotificationAttributes) SetDeliveryTopic(v string) *IdentityNotificationAttributes {
s.DeliveryTopic = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"IdentityNotificationAttributes",
")",
"SetDeliveryTopic",
"(",
"v",
"string",
")",
"*",
"IdentityNotificationAttributes",
"{",
"s",
".",
"DeliveryTopic",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetDeliveryTopic sets the DeliveryTopic field's value.
|
[
"SetDeliveryTopic",
"sets",
"the",
"DeliveryTopic",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L10009-L10012
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetHeadersInBounceNotificationsEnabled
|
func (s *IdentityNotificationAttributes) SetHeadersInBounceNotificationsEnabled(v bool) *IdentityNotificationAttributes {
s.HeadersInBounceNotificationsEnabled = &v
return s
}
|
go
|
func (s *IdentityNotificationAttributes) SetHeadersInBounceNotificationsEnabled(v bool) *IdentityNotificationAttributes {
s.HeadersInBounceNotificationsEnabled = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"IdentityNotificationAttributes",
")",
"SetHeadersInBounceNotificationsEnabled",
"(",
"v",
"bool",
")",
"*",
"IdentityNotificationAttributes",
"{",
"s",
".",
"HeadersInBounceNotificationsEnabled",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetHeadersInBounceNotificationsEnabled sets the HeadersInBounceNotificationsEnabled field's value.
|
[
"SetHeadersInBounceNotificationsEnabled",
"sets",
"the",
"HeadersInBounceNotificationsEnabled",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L10021-L10024
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetHeadersInComplaintNotificationsEnabled
|
func (s *IdentityNotificationAttributes) SetHeadersInComplaintNotificationsEnabled(v bool) *IdentityNotificationAttributes {
s.HeadersInComplaintNotificationsEnabled = &v
return s
}
|
go
|
func (s *IdentityNotificationAttributes) SetHeadersInComplaintNotificationsEnabled(v bool) *IdentityNotificationAttributes {
s.HeadersInComplaintNotificationsEnabled = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"IdentityNotificationAttributes",
")",
"SetHeadersInComplaintNotificationsEnabled",
"(",
"v",
"bool",
")",
"*",
"IdentityNotificationAttributes",
"{",
"s",
".",
"HeadersInComplaintNotificationsEnabled",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetHeadersInComplaintNotificationsEnabled sets the HeadersInComplaintNotificationsEnabled field's value.
|
[
"SetHeadersInComplaintNotificationsEnabled",
"sets",
"the",
"HeadersInComplaintNotificationsEnabled",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L10027-L10030
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetHeadersInDeliveryNotificationsEnabled
|
func (s *IdentityNotificationAttributes) SetHeadersInDeliveryNotificationsEnabled(v bool) *IdentityNotificationAttributes {
s.HeadersInDeliveryNotificationsEnabled = &v
return s
}
|
go
|
func (s *IdentityNotificationAttributes) SetHeadersInDeliveryNotificationsEnabled(v bool) *IdentityNotificationAttributes {
s.HeadersInDeliveryNotificationsEnabled = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"IdentityNotificationAttributes",
")",
"SetHeadersInDeliveryNotificationsEnabled",
"(",
"v",
"bool",
")",
"*",
"IdentityNotificationAttributes",
"{",
"s",
".",
"HeadersInDeliveryNotificationsEnabled",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetHeadersInDeliveryNotificationsEnabled sets the HeadersInDeliveryNotificationsEnabled field's value.
|
[
"SetHeadersInDeliveryNotificationsEnabled",
"sets",
"the",
"HeadersInDeliveryNotificationsEnabled",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L10033-L10036
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetVerificationStatus
|
func (s *IdentityVerificationAttributes) SetVerificationStatus(v string) *IdentityVerificationAttributes {
s.VerificationStatus = &v
return s
}
|
go
|
func (s *IdentityVerificationAttributes) SetVerificationStatus(v string) *IdentityVerificationAttributes {
s.VerificationStatus = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"IdentityVerificationAttributes",
")",
"SetVerificationStatus",
"(",
"v",
"string",
")",
"*",
"IdentityVerificationAttributes",
"{",
"s",
".",
"VerificationStatus",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetVerificationStatus sets the VerificationStatus field's value.
|
[
"SetVerificationStatus",
"sets",
"the",
"VerificationStatus",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L10063-L10066
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetIAMRoleARN
|
func (s *KinesisFirehoseDestination) SetIAMRoleARN(v string) *KinesisFirehoseDestination {
s.IAMRoleARN = &v
return s
}
|
go
|
func (s *KinesisFirehoseDestination) SetIAMRoleARN(v string) *KinesisFirehoseDestination {
s.IAMRoleARN = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"KinesisFirehoseDestination",
")",
"SetIAMRoleARN",
"(",
"v",
"string",
")",
"*",
"KinesisFirehoseDestination",
"{",
"s",
".",
"IAMRoleARN",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetIAMRoleARN sets the IAMRoleARN field's value.
|
[
"SetIAMRoleARN",
"sets",
"the",
"IAMRoleARN",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L10130-L10133
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetCustomVerificationEmailTemplates
|
func (s *ListCustomVerificationEmailTemplatesOutput) SetCustomVerificationEmailTemplates(v []*CustomVerificationEmailTemplate) *ListCustomVerificationEmailTemplatesOutput {
s.CustomVerificationEmailTemplates = v
return s
}
|
go
|
func (s *ListCustomVerificationEmailTemplatesOutput) SetCustomVerificationEmailTemplates(v []*CustomVerificationEmailTemplate) *ListCustomVerificationEmailTemplatesOutput {
s.CustomVerificationEmailTemplates = v
return s
}
|
[
"func",
"(",
"s",
"*",
"ListCustomVerificationEmailTemplatesOutput",
")",
"SetCustomVerificationEmailTemplates",
"(",
"v",
"[",
"]",
"*",
"CustomVerificationEmailTemplate",
")",
"*",
"ListCustomVerificationEmailTemplatesOutput",
"{",
"s",
".",
"CustomVerificationEmailTemplates",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetCustomVerificationEmailTemplates sets the CustomVerificationEmailTemplates field's value.
|
[
"SetCustomVerificationEmailTemplates",
"sets",
"the",
"CustomVerificationEmailTemplates",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L10369-L10372
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetTemplatesMetadata
|
func (s *ListTemplatesOutput) SetTemplatesMetadata(v []*TemplateMetadata) *ListTemplatesOutput {
s.TemplatesMetadata = v
return s
}
|
go
|
func (s *ListTemplatesOutput) SetTemplatesMetadata(v []*TemplateMetadata) *ListTemplatesOutput {
s.TemplatesMetadata = v
return s
}
|
[
"func",
"(",
"s",
"*",
"ListTemplatesOutput",
")",
"SetTemplatesMetadata",
"(",
"v",
"[",
"]",
"*",
"TemplateMetadata",
")",
"*",
"ListTemplatesOutput",
"{",
"s",
".",
"TemplatesMetadata",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetTemplatesMetadata sets the TemplatesMetadata field's value.
|
[
"SetTemplatesMetadata",
"sets",
"the",
"TemplatesMetadata",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L10704-L10707
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetVerifiedEmailAddresses
|
func (s *ListVerifiedEmailAddressesOutput) SetVerifiedEmailAddresses(v []*string) *ListVerifiedEmailAddressesOutput {
s.VerifiedEmailAddresses = v
return s
}
|
go
|
func (s *ListVerifiedEmailAddressesOutput) SetVerifiedEmailAddresses(v []*string) *ListVerifiedEmailAddressesOutput {
s.VerifiedEmailAddresses = v
return s
}
|
[
"func",
"(",
"s",
"*",
"ListVerifiedEmailAddressesOutput",
")",
"SetVerifiedEmailAddresses",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"ListVerifiedEmailAddressesOutput",
"{",
"s",
".",
"VerifiedEmailAddresses",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetVerifiedEmailAddresses sets the VerifiedEmailAddresses field's value.
|
[
"SetVerifiedEmailAddresses",
"sets",
"the",
"VerifiedEmailAddresses",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L10743-L10746
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetArrivalDate
|
func (s *MessageDsn) SetArrivalDate(v time.Time) *MessageDsn {
s.ArrivalDate = &v
return s
}
|
go
|
func (s *MessageDsn) SetArrivalDate(v time.Time) *MessageDsn {
s.ArrivalDate = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"MessageDsn",
")",
"SetArrivalDate",
"(",
"v",
"time",
".",
"Time",
")",
"*",
"MessageDsn",
"{",
"s",
".",
"ArrivalDate",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetArrivalDate sets the ArrivalDate field's value.
|
[
"SetArrivalDate",
"sets",
"the",
"ArrivalDate",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L10869-L10872
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetReportingMta
|
func (s *MessageDsn) SetReportingMta(v string) *MessageDsn {
s.ReportingMta = &v
return s
}
|
go
|
func (s *MessageDsn) SetReportingMta(v string) *MessageDsn {
s.ReportingMta = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"MessageDsn",
")",
"SetReportingMta",
"(",
"v",
"string",
")",
"*",
"MessageDsn",
"{",
"s",
".",
"ReportingMta",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetReportingMta sets the ReportingMta field's value.
|
[
"SetReportingMta",
"sets",
"the",
"ReportingMta",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L10881-L10884
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetAddHeaderAction
|
func (s *ReceiptAction) SetAddHeaderAction(v *AddHeaderAction) *ReceiptAction {
s.AddHeaderAction = v
return s
}
|
go
|
func (s *ReceiptAction) SetAddHeaderAction(v *AddHeaderAction) *ReceiptAction {
s.AddHeaderAction = v
return s
}
|
[
"func",
"(",
"s",
"*",
"ReceiptAction",
")",
"SetAddHeaderAction",
"(",
"v",
"*",
"AddHeaderAction",
")",
"*",
"ReceiptAction",
"{",
"s",
".",
"AddHeaderAction",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetAddHeaderAction sets the AddHeaderAction field's value.
|
[
"SetAddHeaderAction",
"sets",
"the",
"AddHeaderAction",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L11205-L11208
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetBounceAction
|
func (s *ReceiptAction) SetBounceAction(v *BounceAction) *ReceiptAction {
s.BounceAction = v
return s
}
|
go
|
func (s *ReceiptAction) SetBounceAction(v *BounceAction) *ReceiptAction {
s.BounceAction = v
return s
}
|
[
"func",
"(",
"s",
"*",
"ReceiptAction",
")",
"SetBounceAction",
"(",
"v",
"*",
"BounceAction",
")",
"*",
"ReceiptAction",
"{",
"s",
".",
"BounceAction",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetBounceAction sets the BounceAction field's value.
|
[
"SetBounceAction",
"sets",
"the",
"BounceAction",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L11211-L11214
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetLambdaAction
|
func (s *ReceiptAction) SetLambdaAction(v *LambdaAction) *ReceiptAction {
s.LambdaAction = v
return s
}
|
go
|
func (s *ReceiptAction) SetLambdaAction(v *LambdaAction) *ReceiptAction {
s.LambdaAction = v
return s
}
|
[
"func",
"(",
"s",
"*",
"ReceiptAction",
")",
"SetLambdaAction",
"(",
"v",
"*",
"LambdaAction",
")",
"*",
"ReceiptAction",
"{",
"s",
".",
"LambdaAction",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetLambdaAction sets the LambdaAction field's value.
|
[
"SetLambdaAction",
"sets",
"the",
"LambdaAction",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L11217-L11220
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetS3Action
|
func (s *ReceiptAction) SetS3Action(v *S3Action) *ReceiptAction {
s.S3Action = v
return s
}
|
go
|
func (s *ReceiptAction) SetS3Action(v *S3Action) *ReceiptAction {
s.S3Action = v
return s
}
|
[
"func",
"(",
"s",
"*",
"ReceiptAction",
")",
"SetS3Action",
"(",
"v",
"*",
"S3Action",
")",
"*",
"ReceiptAction",
"{",
"s",
".",
"S3Action",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetS3Action sets the S3Action field's value.
|
[
"SetS3Action",
"sets",
"the",
"S3Action",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L11223-L11226
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetSNSAction
|
func (s *ReceiptAction) SetSNSAction(v *SNSAction) *ReceiptAction {
s.SNSAction = v
return s
}
|
go
|
func (s *ReceiptAction) SetSNSAction(v *SNSAction) *ReceiptAction {
s.SNSAction = v
return s
}
|
[
"func",
"(",
"s",
"*",
"ReceiptAction",
")",
"SetSNSAction",
"(",
"v",
"*",
"SNSAction",
")",
"*",
"ReceiptAction",
"{",
"s",
".",
"SNSAction",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetSNSAction sets the SNSAction field's value.
|
[
"SetSNSAction",
"sets",
"the",
"SNSAction",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L11229-L11232
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetWorkmailAction
|
func (s *ReceiptAction) SetWorkmailAction(v *WorkmailAction) *ReceiptAction {
s.WorkmailAction = v
return s
}
|
go
|
func (s *ReceiptAction) SetWorkmailAction(v *WorkmailAction) *ReceiptAction {
s.WorkmailAction = v
return s
}
|
[
"func",
"(",
"s",
"*",
"ReceiptAction",
")",
"SetWorkmailAction",
"(",
"v",
"*",
"WorkmailAction",
")",
"*",
"ReceiptAction",
"{",
"s",
".",
"WorkmailAction",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetWorkmailAction sets the WorkmailAction field's value.
|
[
"SetWorkmailAction",
"sets",
"the",
"WorkmailAction",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L11241-L11244
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetIpFilter
|
func (s *ReceiptFilter) SetIpFilter(v *ReceiptIpFilter) *ReceiptFilter {
s.IpFilter = v
return s
}
|
go
|
func (s *ReceiptFilter) SetIpFilter(v *ReceiptIpFilter) *ReceiptFilter {
s.IpFilter = v
return s
}
|
[
"func",
"(",
"s",
"*",
"ReceiptFilter",
")",
"SetIpFilter",
"(",
"v",
"*",
"ReceiptIpFilter",
")",
"*",
"ReceiptFilter",
"{",
"s",
".",
"IpFilter",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetIpFilter sets the IpFilter field's value.
|
[
"SetIpFilter",
"sets",
"the",
"IpFilter",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L11305-L11308
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetRecipients
|
func (s *ReceiptRule) SetRecipients(v []*string) *ReceiptRule {
s.Recipients = v
return s
}
|
go
|
func (s *ReceiptRule) SetRecipients(v []*string) *ReceiptRule {
s.Recipients = v
return s
}
|
[
"func",
"(",
"s",
"*",
"ReceiptRule",
")",
"SetRecipients",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"ReceiptRule",
"{",
"s",
".",
"Recipients",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetRecipients sets the Recipients field's value.
|
[
"SetRecipients",
"sets",
"the",
"Recipients",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L11477-L11480
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetScanEnabled
|
func (s *ReceiptRule) SetScanEnabled(v bool) *ReceiptRule {
s.ScanEnabled = &v
return s
}
|
go
|
func (s *ReceiptRule) SetScanEnabled(v bool) *ReceiptRule {
s.ScanEnabled = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"ReceiptRule",
")",
"SetScanEnabled",
"(",
"v",
"bool",
")",
"*",
"ReceiptRule",
"{",
"s",
".",
"ScanEnabled",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetScanEnabled sets the ScanEnabled field's value.
|
[
"SetScanEnabled",
"sets",
"the",
"ScanEnabled",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L11483-L11486
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetTlsPolicy
|
func (s *ReceiptRule) SetTlsPolicy(v string) *ReceiptRule {
s.TlsPolicy = &v
return s
}
|
go
|
func (s *ReceiptRule) SetTlsPolicy(v string) *ReceiptRule {
s.TlsPolicy = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"ReceiptRule",
")",
"SetTlsPolicy",
"(",
"v",
"string",
")",
"*",
"ReceiptRule",
"{",
"s",
".",
"TlsPolicy",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetTlsPolicy sets the TlsPolicy field's value.
|
[
"SetTlsPolicy",
"sets",
"the",
"TlsPolicy",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L11489-L11492
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetDiagnosticCode
|
func (s *RecipientDsnFields) SetDiagnosticCode(v string) *RecipientDsnFields {
s.DiagnosticCode = &v
return s
}
|
go
|
func (s *RecipientDsnFields) SetDiagnosticCode(v string) *RecipientDsnFields {
s.DiagnosticCode = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"RecipientDsnFields",
")",
"SetDiagnosticCode",
"(",
"v",
"string",
")",
"*",
"RecipientDsnFields",
"{",
"s",
".",
"DiagnosticCode",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetDiagnosticCode sets the DiagnosticCode field's value.
|
[
"SetDiagnosticCode",
"sets",
"the",
"DiagnosticCode",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L11633-L11636
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetFinalRecipient
|
func (s *RecipientDsnFields) SetFinalRecipient(v string) *RecipientDsnFields {
s.FinalRecipient = &v
return s
}
|
go
|
func (s *RecipientDsnFields) SetFinalRecipient(v string) *RecipientDsnFields {
s.FinalRecipient = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"RecipientDsnFields",
")",
"SetFinalRecipient",
"(",
"v",
"string",
")",
"*",
"RecipientDsnFields",
"{",
"s",
".",
"FinalRecipient",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetFinalRecipient sets the FinalRecipient field's value.
|
[
"SetFinalRecipient",
"sets",
"the",
"FinalRecipient",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L11645-L11648
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetLastAttemptDate
|
func (s *RecipientDsnFields) SetLastAttemptDate(v time.Time) *RecipientDsnFields {
s.LastAttemptDate = &v
return s
}
|
go
|
func (s *RecipientDsnFields) SetLastAttemptDate(v time.Time) *RecipientDsnFields {
s.LastAttemptDate = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"RecipientDsnFields",
")",
"SetLastAttemptDate",
"(",
"v",
"time",
".",
"Time",
")",
"*",
"RecipientDsnFields",
"{",
"s",
".",
"LastAttemptDate",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetLastAttemptDate sets the LastAttemptDate field's value.
|
[
"SetLastAttemptDate",
"sets",
"the",
"LastAttemptDate",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L11651-L11654
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetRemoteMta
|
func (s *RecipientDsnFields) SetRemoteMta(v string) *RecipientDsnFields {
s.RemoteMta = &v
return s
}
|
go
|
func (s *RecipientDsnFields) SetRemoteMta(v string) *RecipientDsnFields {
s.RemoteMta = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"RecipientDsnFields",
")",
"SetRemoteMta",
"(",
"v",
"string",
")",
"*",
"RecipientDsnFields",
"{",
"s",
".",
"RemoteMta",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetRemoteMta sets the RemoteMta field's value.
|
[
"SetRemoteMta",
"sets",
"the",
"RemoteMta",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L11657-L11660
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetLastFreshStart
|
func (s *ReputationOptions) SetLastFreshStart(v time.Time) *ReputationOptions {
s.LastFreshStart = &v
return s
}
|
go
|
func (s *ReputationOptions) SetLastFreshStart(v time.Time) *ReputationOptions {
s.LastFreshStart = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"ReputationOptions",
")",
"SetLastFreshStart",
"(",
"v",
"time",
".",
"Time",
")",
"*",
"ReputationOptions",
"{",
"s",
".",
"LastFreshStart",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetLastFreshStart sets the LastFreshStart field's value.
|
[
"SetLastFreshStart",
"sets",
"the",
"LastFreshStart",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L11780-L11783
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetObjectKeyPrefix
|
func (s *S3Action) SetObjectKeyPrefix(v string) *S3Action {
s.ObjectKeyPrefix = &v
return s
}
|
go
|
func (s *S3Action) SetObjectKeyPrefix(v string) *S3Action {
s.ObjectKeyPrefix = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"S3Action",
")",
"SetObjectKeyPrefix",
"(",
"v",
"string",
")",
"*",
"S3Action",
"{",
"s",
".",
"ObjectKeyPrefix",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetObjectKeyPrefix sets the ObjectKeyPrefix field's value.
|
[
"SetObjectKeyPrefix",
"sets",
"the",
"ObjectKeyPrefix",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L11898-L11901
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetBounceSender
|
func (s *SendBounceInput) SetBounceSender(v string) *SendBounceInput {
s.BounceSender = &v
return s
}
|
go
|
func (s *SendBounceInput) SetBounceSender(v string) *SendBounceInput {
s.BounceSender = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"SendBounceInput",
")",
"SetBounceSender",
"(",
"v",
"string",
")",
"*",
"SendBounceInput",
"{",
"s",
".",
"BounceSender",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetBounceSender sets the BounceSender field's value.
|
[
"SetBounceSender",
"sets",
"the",
"BounceSender",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L12111-L12114
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetBounceSenderArn
|
func (s *SendBounceInput) SetBounceSenderArn(v string) *SendBounceInput {
s.BounceSenderArn = &v
return s
}
|
go
|
func (s *SendBounceInput) SetBounceSenderArn(v string) *SendBounceInput {
s.BounceSenderArn = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"SendBounceInput",
")",
"SetBounceSenderArn",
"(",
"v",
"string",
")",
"*",
"SendBounceInput",
"{",
"s",
".",
"BounceSenderArn",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetBounceSenderArn sets the BounceSenderArn field's value.
|
[
"SetBounceSenderArn",
"sets",
"the",
"BounceSenderArn",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L12117-L12120
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetBouncedRecipientInfoList
|
func (s *SendBounceInput) SetBouncedRecipientInfoList(v []*BouncedRecipientInfo) *SendBounceInput {
s.BouncedRecipientInfoList = v
return s
}
|
go
|
func (s *SendBounceInput) SetBouncedRecipientInfoList(v []*BouncedRecipientInfo) *SendBounceInput {
s.BouncedRecipientInfoList = v
return s
}
|
[
"func",
"(",
"s",
"*",
"SendBounceInput",
")",
"SetBouncedRecipientInfoList",
"(",
"v",
"[",
"]",
"*",
"BouncedRecipientInfo",
")",
"*",
"SendBounceInput",
"{",
"s",
".",
"BouncedRecipientInfoList",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetBouncedRecipientInfoList sets the BouncedRecipientInfoList field's value.
|
[
"SetBouncedRecipientInfoList",
"sets",
"the",
"BouncedRecipientInfoList",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L12123-L12126
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetExplanation
|
func (s *SendBounceInput) SetExplanation(v string) *SendBounceInput {
s.Explanation = &v
return s
}
|
go
|
func (s *SendBounceInput) SetExplanation(v string) *SendBounceInput {
s.Explanation = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"SendBounceInput",
")",
"SetExplanation",
"(",
"v",
"string",
")",
"*",
"SendBounceInput",
"{",
"s",
".",
"Explanation",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetExplanation sets the Explanation field's value.
|
[
"SetExplanation",
"sets",
"the",
"Explanation",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L12129-L12132
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetMessageDsn
|
func (s *SendBounceInput) SetMessageDsn(v *MessageDsn) *SendBounceInput {
s.MessageDsn = v
return s
}
|
go
|
func (s *SendBounceInput) SetMessageDsn(v *MessageDsn) *SendBounceInput {
s.MessageDsn = v
return s
}
|
[
"func",
"(",
"s",
"*",
"SendBounceInput",
")",
"SetMessageDsn",
"(",
"v",
"*",
"MessageDsn",
")",
"*",
"SendBounceInput",
"{",
"s",
".",
"MessageDsn",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetMessageDsn sets the MessageDsn field's value.
|
[
"SetMessageDsn",
"sets",
"the",
"MessageDsn",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L12135-L12138
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetOriginalMessageId
|
func (s *SendBounceInput) SetOriginalMessageId(v string) *SendBounceInput {
s.OriginalMessageId = &v
return s
}
|
go
|
func (s *SendBounceInput) SetOriginalMessageId(v string) *SendBounceInput {
s.OriginalMessageId = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"SendBounceInput",
")",
"SetOriginalMessageId",
"(",
"v",
"string",
")",
"*",
"SendBounceInput",
"{",
"s",
".",
"OriginalMessageId",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetOriginalMessageId sets the OriginalMessageId field's value.
|
[
"SetOriginalMessageId",
"sets",
"the",
"OriginalMessageId",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L12141-L12144
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetDefaultTags
|
func (s *SendBulkTemplatedEmailInput) SetDefaultTags(v []*MessageTag) *SendBulkTemplatedEmailInput {
s.DefaultTags = v
return s
}
|
go
|
func (s *SendBulkTemplatedEmailInput) SetDefaultTags(v []*MessageTag) *SendBulkTemplatedEmailInput {
s.DefaultTags = v
return s
}
|
[
"func",
"(",
"s",
"*",
"SendBulkTemplatedEmailInput",
")",
"SetDefaultTags",
"(",
"v",
"[",
"]",
"*",
"MessageTag",
")",
"*",
"SendBulkTemplatedEmailInput",
"{",
"s",
".",
"DefaultTags",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetDefaultTags sets the DefaultTags field's value.
|
[
"SetDefaultTags",
"sets",
"the",
"DefaultTags",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L12325-L12328
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetDefaultTemplateData
|
func (s *SendBulkTemplatedEmailInput) SetDefaultTemplateData(v string) *SendBulkTemplatedEmailInput {
s.DefaultTemplateData = &v
return s
}
|
go
|
func (s *SendBulkTemplatedEmailInput) SetDefaultTemplateData(v string) *SendBulkTemplatedEmailInput {
s.DefaultTemplateData = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"SendBulkTemplatedEmailInput",
")",
"SetDefaultTemplateData",
"(",
"v",
"string",
")",
"*",
"SendBulkTemplatedEmailInput",
"{",
"s",
".",
"DefaultTemplateData",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetDefaultTemplateData sets the DefaultTemplateData field's value.
|
[
"SetDefaultTemplateData",
"sets",
"the",
"DefaultTemplateData",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L12331-L12334
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetBounces
|
func (s *SendDataPoint) SetBounces(v int64) *SendDataPoint {
s.Bounces = &v
return s
}
|
go
|
func (s *SendDataPoint) SetBounces(v int64) *SendDataPoint {
s.Bounces = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"SendDataPoint",
")",
"SetBounces",
"(",
"v",
"int64",
")",
"*",
"SendDataPoint",
"{",
"s",
".",
"Bounces",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetBounces sets the Bounces field's value.
|
[
"SetBounces",
"sets",
"the",
"Bounces",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L12529-L12532
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetComplaints
|
func (s *SendDataPoint) SetComplaints(v int64) *SendDataPoint {
s.Complaints = &v
return s
}
|
go
|
func (s *SendDataPoint) SetComplaints(v int64) *SendDataPoint {
s.Complaints = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"SendDataPoint",
")",
"SetComplaints",
"(",
"v",
"int64",
")",
"*",
"SendDataPoint",
"{",
"s",
".",
"Complaints",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetComplaints sets the Complaints field's value.
|
[
"SetComplaints",
"sets",
"the",
"Complaints",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L12535-L12538
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetDeliveryAttempts
|
func (s *SendDataPoint) SetDeliveryAttempts(v int64) *SendDataPoint {
s.DeliveryAttempts = &v
return s
}
|
go
|
func (s *SendDataPoint) SetDeliveryAttempts(v int64) *SendDataPoint {
s.DeliveryAttempts = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"SendDataPoint",
")",
"SetDeliveryAttempts",
"(",
"v",
"int64",
")",
"*",
"SendDataPoint",
"{",
"s",
".",
"DeliveryAttempts",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetDeliveryAttempts sets the DeliveryAttempts field's value.
|
[
"SetDeliveryAttempts",
"sets",
"the",
"DeliveryAttempts",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L12541-L12544
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetRejects
|
func (s *SendDataPoint) SetRejects(v int64) *SendDataPoint {
s.Rejects = &v
return s
}
|
go
|
func (s *SendDataPoint) SetRejects(v int64) *SendDataPoint {
s.Rejects = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"SendDataPoint",
")",
"SetRejects",
"(",
"v",
"int64",
")",
"*",
"SendDataPoint",
"{",
"s",
".",
"Rejects",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetRejects sets the Rejects field's value.
|
[
"SetRejects",
"sets",
"the",
"Rejects",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L12547-L12550
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetFromArn
|
func (s *SendRawEmailInput) SetFromArn(v string) *SendRawEmailInput {
s.FromArn = &v
return s
}
|
go
|
func (s *SendRawEmailInput) SetFromArn(v string) *SendRawEmailInput {
s.FromArn = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"SendRawEmailInput",
")",
"SetFromArn",
"(",
"v",
"string",
")",
"*",
"SendRawEmailInput",
"{",
"s",
".",
"FromArn",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetFromArn sets the FromArn field's value.
|
[
"SetFromArn",
"sets",
"the",
"FromArn",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L12935-L12938
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetRawMessage
|
func (s *SendRawEmailInput) SetRawMessage(v *RawMessage) *SendRawEmailInput {
s.RawMessage = v
return s
}
|
go
|
func (s *SendRawEmailInput) SetRawMessage(v *RawMessage) *SendRawEmailInput {
s.RawMessage = v
return s
}
|
[
"func",
"(",
"s",
"*",
"SendRawEmailInput",
")",
"SetRawMessage",
"(",
"v",
"*",
"RawMessage",
")",
"*",
"SendRawEmailInput",
"{",
"s",
".",
"RawMessage",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetRawMessage sets the RawMessage field's value.
|
[
"SetRawMessage",
"sets",
"the",
"RawMessage",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L12941-L12944
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetSnsTopic
|
func (s *SetIdentityNotificationTopicInput) SetSnsTopic(v string) *SetIdentityNotificationTopicInput {
s.SnsTopic = &v
return s
}
|
go
|
func (s *SetIdentityNotificationTopicInput) SetSnsTopic(v string) *SetIdentityNotificationTopicInput {
s.SnsTopic = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"SetIdentityNotificationTopicInput",
")",
"SetSnsTopic",
"(",
"v",
"string",
")",
"*",
"SetIdentityNotificationTopicInput",
"{",
"s",
".",
"SnsTopic",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetSnsTopic sets the SnsTopic field's value.
|
[
"SetSnsTopic",
"sets",
"the",
"SnsTopic",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L13665-L13668
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetSubjectPart
|
func (s *Template) SetSubjectPart(v string) *Template {
s.SubjectPart = &v
return s
}
|
go
|
func (s *Template) SetSubjectPart(v string) *Template {
s.SubjectPart = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"Template",
")",
"SetSubjectPart",
"(",
"v",
"string",
")",
"*",
"Template",
"{",
"s",
".",
"SubjectPart",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetSubjectPart sets the SubjectPart field's value.
|
[
"SetSubjectPart",
"sets",
"the",
"SubjectPart",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L13872-L13875
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetRenderedTemplate
|
func (s *TestRenderTemplateOutput) SetRenderedTemplate(v string) *TestRenderTemplateOutput {
s.RenderedTemplate = &v
return s
}
|
go
|
func (s *TestRenderTemplateOutput) SetRenderedTemplate(v string) *TestRenderTemplateOutput {
s.RenderedTemplate = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"TestRenderTemplateOutput",
")",
"SetRenderedTemplate",
"(",
"v",
"string",
")",
"*",
"TestRenderTemplateOutput",
"{",
"s",
".",
"RenderedTemplate",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetRenderedTemplate sets the RenderedTemplate field's value.
|
[
"SetRenderedTemplate",
"sets",
"the",
"RenderedTemplate",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L13995-L13998
|
train
|
aws/aws-sdk-go
|
service/ses/api.go
|
SetOrganizationArn
|
func (s *WorkmailAction) SetOrganizationArn(v string) *WorkmailAction {
s.OrganizationArn = &v
return s
}
|
go
|
func (s *WorkmailAction) SetOrganizationArn(v string) *WorkmailAction {
s.OrganizationArn = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"WorkmailAction",
")",
"SetOrganizationArn",
"(",
"v",
"string",
")",
"*",
"WorkmailAction",
"{",
"s",
".",
"OrganizationArn",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetOrganizationArn sets the OrganizationArn field's value.
|
[
"SetOrganizationArn",
"sets",
"the",
"OrganizationArn",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ses/api.go#L14913-L14916
|
train
|
aws/aws-sdk-go
|
aws/endpoints/v3model_codegen.go
|
Set
|
func (d *CodeGenOptions) Set(optFns ...func(*CodeGenOptions)) {
for _, fn := range optFns {
fn(d)
}
}
|
go
|
func (d *CodeGenOptions) Set(optFns ...func(*CodeGenOptions)) {
for _, fn := range optFns {
fn(d)
}
}
|
[
"func",
"(",
"d",
"*",
"CodeGenOptions",
")",
"Set",
"(",
"optFns",
"...",
"func",
"(",
"*",
"CodeGenOptions",
")",
")",
"{",
"for",
"_",
",",
"fn",
":=",
"range",
"optFns",
"{",
"fn",
"(",
"d",
")",
"\n",
"}",
"\n",
"}"
] |
// Set combines all of the option functions together
|
[
"Set",
"combines",
"all",
"of",
"the",
"option",
"functions",
"together"
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/endpoints/v3model_codegen.go#L26-L30
|
train
|
aws/aws-sdk-go
|
aws/endpoints/v3model_codegen.go
|
CodeGenModel
|
func CodeGenModel(modelFile io.Reader, outFile io.Writer, optFns ...func(*CodeGenOptions)) error {
var opts CodeGenOptions
opts.Set(optFns...)
resolver, err := DecodeModel(modelFile, func(d *DecodeModelOptions) {
*d = opts.DecodeModelOptions
})
if err != nil {
return err
}
v := struct {
Resolver
CodeGenOptions
}{
Resolver: resolver,
CodeGenOptions: opts,
}
tmpl := template.Must(template.New("tmpl").Funcs(funcMap).Parse(v3Tmpl))
if err := tmpl.ExecuteTemplate(outFile, "defaults", v); err != nil {
return fmt.Errorf("failed to execute template, %v", err)
}
return nil
}
|
go
|
func CodeGenModel(modelFile io.Reader, outFile io.Writer, optFns ...func(*CodeGenOptions)) error {
var opts CodeGenOptions
opts.Set(optFns...)
resolver, err := DecodeModel(modelFile, func(d *DecodeModelOptions) {
*d = opts.DecodeModelOptions
})
if err != nil {
return err
}
v := struct {
Resolver
CodeGenOptions
}{
Resolver: resolver,
CodeGenOptions: opts,
}
tmpl := template.Must(template.New("tmpl").Funcs(funcMap).Parse(v3Tmpl))
if err := tmpl.ExecuteTemplate(outFile, "defaults", v); err != nil {
return fmt.Errorf("failed to execute template, %v", err)
}
return nil
}
|
[
"func",
"CodeGenModel",
"(",
"modelFile",
"io",
".",
"Reader",
",",
"outFile",
"io",
".",
"Writer",
",",
"optFns",
"...",
"func",
"(",
"*",
"CodeGenOptions",
")",
")",
"error",
"{",
"var",
"opts",
"CodeGenOptions",
"\n",
"opts",
".",
"Set",
"(",
"optFns",
"...",
")",
"\n\n",
"resolver",
",",
"err",
":=",
"DecodeModel",
"(",
"modelFile",
",",
"func",
"(",
"d",
"*",
"DecodeModelOptions",
")",
"{",
"*",
"d",
"=",
"opts",
".",
"DecodeModelOptions",
"\n",
"}",
")",
"\n",
"if",
"err",
"!=",
"nil",
"{",
"return",
"err",
"\n",
"}",
"\n\n",
"v",
":=",
"struct",
"{",
"Resolver",
"\n",
"CodeGenOptions",
"\n",
"}",
"{",
"Resolver",
":",
"resolver",
",",
"CodeGenOptions",
":",
"opts",
",",
"}",
"\n\n",
"tmpl",
":=",
"template",
".",
"Must",
"(",
"template",
".",
"New",
"(",
"\"",
"\"",
")",
".",
"Funcs",
"(",
"funcMap",
")",
".",
"Parse",
"(",
"v3Tmpl",
")",
")",
"\n",
"if",
"err",
":=",
"tmpl",
".",
"ExecuteTemplate",
"(",
"outFile",
",",
"\"",
"\"",
",",
"v",
")",
";",
"err",
"!=",
"nil",
"{",
"return",
"fmt",
".",
"Errorf",
"(",
"\"",
"\"",
",",
"err",
")",
"\n",
"}",
"\n\n",
"return",
"nil",
"\n",
"}"
] |
// CodeGenModel given a endpoints model file will decode it and attempt to
// generate Go code from the model definition. Error will be returned if
// the code is unable to be generated, or decoded.
|
[
"CodeGenModel",
"given",
"a",
"endpoints",
"model",
"file",
"will",
"decode",
"it",
"and",
"attempt",
"to",
"generate",
"Go",
"code",
"from",
"the",
"model",
"definition",
".",
"Error",
"will",
"be",
"returned",
"if",
"the",
"code",
"is",
"unable",
"to",
"be",
"generated",
"or",
"decoded",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/endpoints/v3model_codegen.go#L35-L60
|
train
|
aws/aws-sdk-go
|
service/dynamodb/expression/condition.go
|
inBuildCondition
|
func inBuildCondition(conditionBuilder ConditionBuilder, node exprNode) (exprNode, error) {
// Create a string with special characters that can be substituted later: $c
node.fmtExpr = "$c IN ($c" + strings.Repeat(", $c", len(conditionBuilder.operandList)-2) + ")"
return node, nil
}
|
go
|
func inBuildCondition(conditionBuilder ConditionBuilder, node exprNode) (exprNode, error) {
// Create a string with special characters that can be substituted later: $c
node.fmtExpr = "$c IN ($c" + strings.Repeat(", $c", len(conditionBuilder.operandList)-2) + ")"
return node, nil
}
|
[
"func",
"inBuildCondition",
"(",
"conditionBuilder",
"ConditionBuilder",
",",
"node",
"exprNode",
")",
"(",
"exprNode",
",",
"error",
")",
"{",
"// Create a string with special characters that can be substituted later: $c",
"node",
".",
"fmtExpr",
"=",
"\"",
"\"",
"+",
"strings",
".",
"Repeat",
"(",
"\"",
"\"",
",",
"len",
"(",
"conditionBuilder",
".",
"operandList",
")",
"-",
"2",
")",
"+",
"\"",
"\"",
"\n\n",
"return",
"node",
",",
"nil",
"\n",
"}"
] |
// inBuildCondition is the function to make exprNodes from In
// ConditionBuilders. inBuildCondition is only called by the
// buildTree method. This function assumes that the argument ConditionBuilder
// has the right format.
|
[
"inBuildCondition",
"is",
"the",
"function",
"to",
"make",
"exprNodes",
"from",
"In",
"ConditionBuilders",
".",
"inBuildCondition",
"is",
"only",
"called",
"by",
"the",
"buildTree",
"method",
".",
"This",
"function",
"assumes",
"that",
"the",
"argument",
"ConditionBuilder",
"has",
"the",
"right",
"format",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/dynamodb/expression/condition.go#L1495-L1500
|
train
|
aws/aws-sdk-go
|
service/dynamodb/expression/condition.go
|
buildChildNodes
|
func (cb ConditionBuilder) buildChildNodes() ([]exprNode, error) {
childNodes := make([]exprNode, 0, len(cb.conditionList)+len(cb.operandList))
for _, condition := range cb.conditionList {
node, err := condition.buildTree()
if err != nil {
return []exprNode{}, err
}
childNodes = append(childNodes, node)
}
for _, ope := range cb.operandList {
operand, err := ope.BuildOperand()
if err != nil {
return []exprNode{}, err
}
childNodes = append(childNodes, operand.exprNode)
}
return childNodes, nil
}
|
go
|
func (cb ConditionBuilder) buildChildNodes() ([]exprNode, error) {
childNodes := make([]exprNode, 0, len(cb.conditionList)+len(cb.operandList))
for _, condition := range cb.conditionList {
node, err := condition.buildTree()
if err != nil {
return []exprNode{}, err
}
childNodes = append(childNodes, node)
}
for _, ope := range cb.operandList {
operand, err := ope.BuildOperand()
if err != nil {
return []exprNode{}, err
}
childNodes = append(childNodes, operand.exprNode)
}
return childNodes, nil
}
|
[
"func",
"(",
"cb",
"ConditionBuilder",
")",
"buildChildNodes",
"(",
")",
"(",
"[",
"]",
"exprNode",
",",
"error",
")",
"{",
"childNodes",
":=",
"make",
"(",
"[",
"]",
"exprNode",
",",
"0",
",",
"len",
"(",
"cb",
".",
"conditionList",
")",
"+",
"len",
"(",
"cb",
".",
"operandList",
")",
")",
"\n",
"for",
"_",
",",
"condition",
":=",
"range",
"cb",
".",
"conditionList",
"{",
"node",
",",
"err",
":=",
"condition",
".",
"buildTree",
"(",
")",
"\n",
"if",
"err",
"!=",
"nil",
"{",
"return",
"[",
"]",
"exprNode",
"{",
"}",
",",
"err",
"\n",
"}",
"\n",
"childNodes",
"=",
"append",
"(",
"childNodes",
",",
"node",
")",
"\n",
"}",
"\n",
"for",
"_",
",",
"ope",
":=",
"range",
"cb",
".",
"operandList",
"{",
"operand",
",",
"err",
":=",
"ope",
".",
"BuildOperand",
"(",
")",
"\n",
"if",
"err",
"!=",
"nil",
"{",
"return",
"[",
"]",
"exprNode",
"{",
"}",
",",
"err",
"\n",
"}",
"\n",
"childNodes",
"=",
"append",
"(",
"childNodes",
",",
"operand",
".",
"exprNode",
")",
"\n",
"}",
"\n\n",
"return",
"childNodes",
",",
"nil",
"\n",
"}"
] |
// buildChildNodes creates the list of the child exprNodes. This avoids
// duplication of code amongst the various buildTree functions.
|
[
"buildChildNodes",
"creates",
"the",
"list",
"of",
"the",
"child",
"exprNodes",
".",
"This",
"avoids",
"duplication",
"of",
"code",
"amongst",
"the",
"various",
"buildTree",
"functions",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/dynamodb/expression/condition.go#L1559-L1577
|
train
|
aws/aws-sdk-go
|
service/gamelift/api.go
|
SetAcceptanceType
|
func (s *AcceptMatchInput) SetAcceptanceType(v string) *AcceptMatchInput {
s.AcceptanceType = &v
return s
}
|
go
|
func (s *AcceptMatchInput) SetAcceptanceType(v string) *AcceptMatchInput {
s.AcceptanceType = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"AcceptMatchInput",
")",
"SetAcceptanceType",
"(",
"v",
"string",
")",
"*",
"AcceptMatchInput",
"{",
"s",
".",
"AcceptanceType",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetAcceptanceType sets the AcceptanceType field's value.
|
[
"SetAcceptanceType",
"sets",
"the",
"AcceptanceType",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/gamelift/api.go#L9348-L9351
|
train
|
aws/aws-sdk-go
|
service/gamelift/api.go
|
SetSDM
|
func (s *AttributeValue) SetSDM(v map[string]*float64) *AttributeValue {
s.SDM = v
return s
}
|
go
|
func (s *AttributeValue) SetSDM(v map[string]*float64) *AttributeValue {
s.SDM = v
return s
}
|
[
"func",
"(",
"s",
"*",
"AttributeValue",
")",
"SetSDM",
"(",
"v",
"map",
"[",
"string",
"]",
"*",
"float64",
")",
"*",
"AttributeValue",
"{",
"s",
".",
"SDM",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetSDM sets the SDM field's value.
|
[
"SetSDM",
"sets",
"the",
"SDM",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/gamelift/api.go#L9531-L9534
|
train
|
aws/aws-sdk-go
|
service/gamelift/api.go
|
SetSL
|
func (s *AttributeValue) SetSL(v []*string) *AttributeValue {
s.SL = v
return s
}
|
go
|
func (s *AttributeValue) SetSL(v []*string) *AttributeValue {
s.SL = v
return s
}
|
[
"func",
"(",
"s",
"*",
"AttributeValue",
")",
"SetSL",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"AttributeValue",
"{",
"s",
".",
"SL",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetSL sets the SL field's value.
|
[
"SetSL",
"sets",
"the",
"SL",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/gamelift/api.go#L9537-L9540
|
train
|
aws/aws-sdk-go
|
service/gamelift/api.go
|
SetEC2InboundPermissions
|
func (s *CreateFleetInput) SetEC2InboundPermissions(v []*IpPermission) *CreateFleetInput {
s.EC2InboundPermissions = v
return s
}
|
go
|
func (s *CreateFleetInput) SetEC2InboundPermissions(v []*IpPermission) *CreateFleetInput {
s.EC2InboundPermissions = v
return s
}
|
[
"func",
"(",
"s",
"*",
"CreateFleetInput",
")",
"SetEC2InboundPermissions",
"(",
"v",
"[",
"]",
"*",
"IpPermission",
")",
"*",
"CreateFleetInput",
"{",
"s",
".",
"EC2InboundPermissions",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetEC2InboundPermissions sets the EC2InboundPermissions field's value.
|
[
"SetEC2InboundPermissions",
"sets",
"the",
"EC2InboundPermissions",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/gamelift/api.go#L10111-L10114
|
train
|
aws/aws-sdk-go
|
service/gamelift/api.go
|
SetRuleSet
|
func (s *CreateMatchmakingRuleSetOutput) SetRuleSet(v *MatchmakingRuleSet) *CreateMatchmakingRuleSetOutput {
s.RuleSet = v
return s
}
|
go
|
func (s *CreateMatchmakingRuleSetOutput) SetRuleSet(v *MatchmakingRuleSet) *CreateMatchmakingRuleSetOutput {
s.RuleSet = v
return s
}
|
[
"func",
"(",
"s",
"*",
"CreateMatchmakingRuleSetOutput",
")",
"SetRuleSet",
"(",
"v",
"*",
"MatchmakingRuleSet",
")",
"*",
"CreateMatchmakingRuleSetOutput",
"{",
"s",
".",
"RuleSet",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetRuleSet sets the RuleSet field's value.
|
[
"SetRuleSet",
"sets",
"the",
"RuleSet",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/gamelift/api.go#L10838-L10841
|
train
|
aws/aws-sdk-go
|
service/gamelift/api.go
|
SetPlayerSession
|
func (s *CreatePlayerSessionOutput) SetPlayerSession(v *PlayerSession) *CreatePlayerSessionOutput {
s.PlayerSession = v
return s
}
|
go
|
func (s *CreatePlayerSessionOutput) SetPlayerSession(v *PlayerSession) *CreatePlayerSessionOutput {
s.PlayerSession = v
return s
}
|
[
"func",
"(",
"s",
"*",
"CreatePlayerSessionOutput",
")",
"SetPlayerSession",
"(",
"v",
"*",
"PlayerSession",
")",
"*",
"CreatePlayerSessionOutput",
"{",
"s",
".",
"PlayerSession",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetPlayerSession sets the PlayerSession field's value.
|
[
"SetPlayerSession",
"sets",
"the",
"PlayerSession",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/gamelift/api.go#L10934-L10937
|
train
|
aws/aws-sdk-go
|
service/gamelift/api.go
|
SetPlayerDataMap
|
func (s *CreatePlayerSessionsInput) SetPlayerDataMap(v map[string]*string) *CreatePlayerSessionsInput {
s.PlayerDataMap = v
return s
}
|
go
|
func (s *CreatePlayerSessionsInput) SetPlayerDataMap(v map[string]*string) *CreatePlayerSessionsInput {
s.PlayerDataMap = v
return s
}
|
[
"func",
"(",
"s",
"*",
"CreatePlayerSessionsInput",
")",
"SetPlayerDataMap",
"(",
"v",
"map",
"[",
"string",
"]",
"*",
"string",
")",
"*",
"CreatePlayerSessionsInput",
"{",
"s",
".",
"PlayerDataMap",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetPlayerDataMap sets the PlayerDataMap field's value.
|
[
"SetPlayerDataMap",
"sets",
"the",
"PlayerDataMap",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/gamelift/api.go#L10999-L11002
|
train
|
aws/aws-sdk-go
|
service/gamelift/api.go
|
SetVpcPeeringAuthorization
|
func (s *CreateVpcPeeringAuthorizationOutput) SetVpcPeeringAuthorization(v *VpcPeeringAuthorization) *CreateVpcPeeringAuthorizationOutput {
s.VpcPeeringAuthorization = v
return s
}
|
go
|
func (s *CreateVpcPeeringAuthorizationOutput) SetVpcPeeringAuthorization(v *VpcPeeringAuthorization) *CreateVpcPeeringAuthorizationOutput {
s.VpcPeeringAuthorization = v
return s
}
|
[
"func",
"(",
"s",
"*",
"CreateVpcPeeringAuthorizationOutput",
")",
"SetVpcPeeringAuthorization",
"(",
"v",
"*",
"VpcPeeringAuthorization",
")",
"*",
"CreateVpcPeeringAuthorizationOutput",
"{",
"s",
".",
"VpcPeeringAuthorization",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetVpcPeeringAuthorization sets the VpcPeeringAuthorization field's value.
|
[
"SetVpcPeeringAuthorization",
"sets",
"the",
"VpcPeeringAuthorization",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/gamelift/api.go#L11234-L11237
|
train
|
aws/aws-sdk-go
|
service/gamelift/api.go
|
SetEC2InstanceLimits
|
func (s *DescribeEC2InstanceLimitsOutput) SetEC2InstanceLimits(v []*EC2InstanceLimit) *DescribeEC2InstanceLimitsOutput {
s.EC2InstanceLimits = v
return s
}
|
go
|
func (s *DescribeEC2InstanceLimitsOutput) SetEC2InstanceLimits(v []*EC2InstanceLimit) *DescribeEC2InstanceLimitsOutput {
s.EC2InstanceLimits = v
return s
}
|
[
"func",
"(",
"s",
"*",
"DescribeEC2InstanceLimitsOutput",
")",
"SetEC2InstanceLimits",
"(",
"v",
"[",
"]",
"*",
"EC2InstanceLimit",
")",
"*",
"DescribeEC2InstanceLimitsOutput",
"{",
"s",
".",
"EC2InstanceLimits",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetEC2InstanceLimits sets the EC2InstanceLimits field's value.
|
[
"SetEC2InstanceLimits",
"sets",
"the",
"EC2InstanceLimits",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/gamelift/api.go#L12112-L12115
|
train
|
aws/aws-sdk-go
|
service/gamelift/api.go
|
SetFleetCapacity
|
func (s *DescribeFleetCapacityOutput) SetFleetCapacity(v []*FleetCapacity) *DescribeFleetCapacityOutput {
s.FleetCapacity = v
return s
}
|
go
|
func (s *DescribeFleetCapacityOutput) SetFleetCapacity(v []*FleetCapacity) *DescribeFleetCapacityOutput {
s.FleetCapacity = v
return s
}
|
[
"func",
"(",
"s",
"*",
"DescribeFleetCapacityOutput",
")",
"SetFleetCapacity",
"(",
"v",
"[",
"]",
"*",
"FleetCapacity",
")",
"*",
"DescribeFleetCapacityOutput",
"{",
"s",
".",
"FleetCapacity",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetFleetCapacity sets the FleetCapacity field's value.
|
[
"SetFleetCapacity",
"sets",
"the",
"FleetCapacity",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/gamelift/api.go#L12313-L12316
|
train
|
aws/aws-sdk-go
|
service/gamelift/api.go
|
SetInboundPermissions
|
func (s *DescribeFleetPortSettingsOutput) SetInboundPermissions(v []*IpPermission) *DescribeFleetPortSettingsOutput {
s.InboundPermissions = v
return s
}
|
go
|
func (s *DescribeFleetPortSettingsOutput) SetInboundPermissions(v []*IpPermission) *DescribeFleetPortSettingsOutput {
s.InboundPermissions = v
return s
}
|
[
"func",
"(",
"s",
"*",
"DescribeFleetPortSettingsOutput",
")",
"SetInboundPermissions",
"(",
"v",
"[",
"]",
"*",
"IpPermission",
")",
"*",
"DescribeFleetPortSettingsOutput",
"{",
"s",
".",
"InboundPermissions",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetInboundPermissions sets the InboundPermissions field's value.
|
[
"SetInboundPermissions",
"sets",
"the",
"InboundPermissions",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/gamelift/api.go#L12506-L12509
|
train
|
aws/aws-sdk-go
|
service/gamelift/api.go
|
SetFleetUtilization
|
func (s *DescribeFleetUtilizationOutput) SetFleetUtilization(v []*FleetUtilization) *DescribeFleetUtilizationOutput {
s.FleetUtilization = v
return s
}
|
go
|
func (s *DescribeFleetUtilizationOutput) SetFleetUtilization(v []*FleetUtilization) *DescribeFleetUtilizationOutput {
s.FleetUtilization = v
return s
}
|
[
"func",
"(",
"s",
"*",
"DescribeFleetUtilizationOutput",
")",
"SetFleetUtilization",
"(",
"v",
"[",
"]",
"*",
"FleetUtilization",
")",
"*",
"DescribeFleetUtilizationOutput",
"{",
"s",
".",
"FleetUtilization",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetFleetUtilization sets the FleetUtilization field's value.
|
[
"SetFleetUtilization",
"sets",
"the",
"FleetUtilization",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/gamelift/api.go#L12603-L12606
|
train
|
aws/aws-sdk-go
|
service/gamelift/api.go
|
SetGameSessionDetails
|
func (s *DescribeGameSessionDetailsOutput) SetGameSessionDetails(v []*GameSessionDetail) *DescribeGameSessionDetailsOutput {
s.GameSessionDetails = v
return s
}
|
go
|
func (s *DescribeGameSessionDetailsOutput) SetGameSessionDetails(v []*GameSessionDetail) *DescribeGameSessionDetailsOutput {
s.GameSessionDetails = v
return s
}
|
[
"func",
"(",
"s",
"*",
"DescribeGameSessionDetailsOutput",
")",
"SetGameSessionDetails",
"(",
"v",
"[",
"]",
"*",
"GameSessionDetail",
")",
"*",
"DescribeGameSessionDetailsOutput",
"{",
"s",
".",
"GameSessionDetails",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetGameSessionDetails sets the GameSessionDetails field's value.
|
[
"SetGameSessionDetails",
"sets",
"the",
"GameSessionDetails",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/gamelift/api.go#L12737-L12740
|
train
|
aws/aws-sdk-go
|
service/gamelift/api.go
|
SetGameSessionQueues
|
func (s *DescribeGameSessionQueuesOutput) SetGameSessionQueues(v []*GameSessionQueue) *DescribeGameSessionQueuesOutput {
s.GameSessionQueues = v
return s
}
|
go
|
func (s *DescribeGameSessionQueuesOutput) SetGameSessionQueues(v []*GameSessionQueue) *DescribeGameSessionQueuesOutput {
s.GameSessionQueues = v
return s
}
|
[
"func",
"(",
"s",
"*",
"DescribeGameSessionQueuesOutput",
")",
"SetGameSessionQueues",
"(",
"v",
"[",
"]",
"*",
"GameSessionQueue",
")",
"*",
"DescribeGameSessionQueuesOutput",
"{",
"s",
".",
"GameSessionQueues",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetGameSessionQueues sets the GameSessionQueues field's value.
|
[
"SetGameSessionQueues",
"sets",
"the",
"GameSessionQueues",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/gamelift/api.go#L12900-L12903
|
train
|
aws/aws-sdk-go
|
service/gamelift/api.go
|
SetTicketIds
|
func (s *DescribeMatchmakingInput) SetTicketIds(v []*string) *DescribeMatchmakingInput {
s.TicketIds = v
return s
}
|
go
|
func (s *DescribeMatchmakingInput) SetTicketIds(v []*string) *DescribeMatchmakingInput {
s.TicketIds = v
return s
}
|
[
"func",
"(",
"s",
"*",
"DescribeMatchmakingInput",
")",
"SetTicketIds",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"DescribeMatchmakingInput",
"{",
"s",
".",
"TicketIds",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetTicketIds sets the TicketIds field's value.
|
[
"SetTicketIds",
"sets",
"the",
"TicketIds",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/gamelift/api.go#L13300-L13303
|
train
|
aws/aws-sdk-go
|
service/gamelift/api.go
|
SetTicketList
|
func (s *DescribeMatchmakingOutput) SetTicketList(v []*MatchmakingTicket) *DescribeMatchmakingOutput {
s.TicketList = v
return s
}
|
go
|
func (s *DescribeMatchmakingOutput) SetTicketList(v []*MatchmakingTicket) *DescribeMatchmakingOutput {
s.TicketList = v
return s
}
|
[
"func",
"(",
"s",
"*",
"DescribeMatchmakingOutput",
")",
"SetTicketList",
"(",
"v",
"[",
"]",
"*",
"MatchmakingTicket",
")",
"*",
"DescribeMatchmakingOutput",
"{",
"s",
".",
"TicketList",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetTicketList sets the TicketList field's value.
|
[
"SetTicketList",
"sets",
"the",
"TicketList",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/gamelift/api.go#L13324-L13327
|
train
|
aws/aws-sdk-go
|
service/gamelift/api.go
|
SetPlayerSessionStatusFilter
|
func (s *DescribePlayerSessionsInput) SetPlayerSessionStatusFilter(v string) *DescribePlayerSessionsInput {
s.PlayerSessionStatusFilter = &v
return s
}
|
go
|
func (s *DescribePlayerSessionsInput) SetPlayerSessionStatusFilter(v string) *DescribePlayerSessionsInput {
s.PlayerSessionStatusFilter = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"DescribePlayerSessionsInput",
")",
"SetPlayerSessionStatusFilter",
"(",
"v",
"string",
")",
"*",
"DescribePlayerSessionsInput",
"{",
"s",
".",
"PlayerSessionStatusFilter",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetPlayerSessionStatusFilter sets the PlayerSessionStatusFilter field's value.
|
[
"SetPlayerSessionStatusFilter",
"sets",
"the",
"PlayerSessionStatusFilter",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/gamelift/api.go#L13539-L13542
|
train
|
aws/aws-sdk-go
|
service/gamelift/api.go
|
SetVpcPeeringAuthorizations
|
func (s *DescribeVpcPeeringAuthorizationsOutput) SetVpcPeeringAuthorizations(v []*VpcPeeringAuthorization) *DescribeVpcPeeringAuthorizationsOutput {
s.VpcPeeringAuthorizations = v
return s
}
|
go
|
func (s *DescribeVpcPeeringAuthorizationsOutput) SetVpcPeeringAuthorizations(v []*VpcPeeringAuthorization) *DescribeVpcPeeringAuthorizationsOutput {
s.VpcPeeringAuthorizations = v
return s
}
|
[
"func",
"(",
"s",
"*",
"DescribeVpcPeeringAuthorizationsOutput",
")",
"SetVpcPeeringAuthorizations",
"(",
"v",
"[",
"]",
"*",
"VpcPeeringAuthorization",
")",
"*",
"DescribeVpcPeeringAuthorizationsOutput",
"{",
"s",
".",
"VpcPeeringAuthorizations",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetVpcPeeringAuthorizations sets the VpcPeeringAuthorizations field's value.
|
[
"SetVpcPeeringAuthorizations",
"sets",
"the",
"VpcPeeringAuthorizations",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/gamelift/api.go#L13864-L13867
|
train
|
aws/aws-sdk-go
|
service/gamelift/api.go
|
SetVpcPeeringConnections
|
func (s *DescribeVpcPeeringConnectionsOutput) SetVpcPeeringConnections(v []*VpcPeeringConnection) *DescribeVpcPeeringConnectionsOutput {
s.VpcPeeringConnections = v
return s
}
|
go
|
func (s *DescribeVpcPeeringConnectionsOutput) SetVpcPeeringConnections(v []*VpcPeeringConnection) *DescribeVpcPeeringConnectionsOutput {
s.VpcPeeringConnections = v
return s
}
|
[
"func",
"(",
"s",
"*",
"DescribeVpcPeeringConnectionsOutput",
")",
"SetVpcPeeringConnections",
"(",
"v",
"[",
"]",
"*",
"VpcPeeringConnection",
")",
"*",
"DescribeVpcPeeringConnectionsOutput",
"{",
"s",
".",
"VpcPeeringConnections",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetVpcPeeringConnections sets the VpcPeeringConnections field's value.
|
[
"SetVpcPeeringConnections",
"sets",
"the",
"VpcPeeringConnections",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/gamelift/api.go#L13912-L13915
|
train
|
aws/aws-sdk-go
|
service/gamelift/api.go
|
SetACTIVE
|
func (s *EC2InstanceCounts) SetACTIVE(v int64) *EC2InstanceCounts {
s.ACTIVE = &v
return s
}
|
go
|
func (s *EC2InstanceCounts) SetACTIVE(v int64) *EC2InstanceCounts {
s.ACTIVE = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"EC2InstanceCounts",
")",
"SetACTIVE",
"(",
"v",
"int64",
")",
"*",
"EC2InstanceCounts",
"{",
"s",
".",
"ACTIVE",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetACTIVE sets the ACTIVE field's value.
|
[
"SetACTIVE",
"sets",
"the",
"ACTIVE",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/gamelift/api.go#L14049-L14052
|
train
|
aws/aws-sdk-go
|
service/gamelift/api.go
|
SetDESIRED
|
func (s *EC2InstanceCounts) SetDESIRED(v int64) *EC2InstanceCounts {
s.DESIRED = &v
return s
}
|
go
|
func (s *EC2InstanceCounts) SetDESIRED(v int64) *EC2InstanceCounts {
s.DESIRED = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"EC2InstanceCounts",
")",
"SetDESIRED",
"(",
"v",
"int64",
")",
"*",
"EC2InstanceCounts",
"{",
"s",
".",
"DESIRED",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetDESIRED sets the DESIRED field's value.
|
[
"SetDESIRED",
"sets",
"the",
"DESIRED",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/gamelift/api.go#L14055-L14058
|
train
|
aws/aws-sdk-go
|
service/gamelift/api.go
|
SetIDLE
|
func (s *EC2InstanceCounts) SetIDLE(v int64) *EC2InstanceCounts {
s.IDLE = &v
return s
}
|
go
|
func (s *EC2InstanceCounts) SetIDLE(v int64) *EC2InstanceCounts {
s.IDLE = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"EC2InstanceCounts",
")",
"SetIDLE",
"(",
"v",
"int64",
")",
"*",
"EC2InstanceCounts",
"{",
"s",
".",
"IDLE",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetIDLE sets the IDLE field's value.
|
[
"SetIDLE",
"sets",
"the",
"IDLE",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/gamelift/api.go#L14061-L14064
|
train
|
aws/aws-sdk-go
|
service/gamelift/api.go
|
SetMAXIMUM
|
func (s *EC2InstanceCounts) SetMAXIMUM(v int64) *EC2InstanceCounts {
s.MAXIMUM = &v
return s
}
|
go
|
func (s *EC2InstanceCounts) SetMAXIMUM(v int64) *EC2InstanceCounts {
s.MAXIMUM = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"EC2InstanceCounts",
")",
"SetMAXIMUM",
"(",
"v",
"int64",
")",
"*",
"EC2InstanceCounts",
"{",
"s",
".",
"MAXIMUM",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetMAXIMUM sets the MAXIMUM field's value.
|
[
"SetMAXIMUM",
"sets",
"the",
"MAXIMUM",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/gamelift/api.go#L14067-L14070
|
train
|
aws/aws-sdk-go
|
service/gamelift/api.go
|
SetMINIMUM
|
func (s *EC2InstanceCounts) SetMINIMUM(v int64) *EC2InstanceCounts {
s.MINIMUM = &v
return s
}
|
go
|
func (s *EC2InstanceCounts) SetMINIMUM(v int64) *EC2InstanceCounts {
s.MINIMUM = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"EC2InstanceCounts",
")",
"SetMINIMUM",
"(",
"v",
"int64",
")",
"*",
"EC2InstanceCounts",
"{",
"s",
".",
"MINIMUM",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetMINIMUM sets the MINIMUM field's value.
|
[
"SetMINIMUM",
"sets",
"the",
"MINIMUM",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/gamelift/api.go#L14073-L14076
|
train
|
aws/aws-sdk-go
|
service/gamelift/api.go
|
SetPENDING
|
func (s *EC2InstanceCounts) SetPENDING(v int64) *EC2InstanceCounts {
s.PENDING = &v
return s
}
|
go
|
func (s *EC2InstanceCounts) SetPENDING(v int64) *EC2InstanceCounts {
s.PENDING = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"EC2InstanceCounts",
")",
"SetPENDING",
"(",
"v",
"int64",
")",
"*",
"EC2InstanceCounts",
"{",
"s",
".",
"PENDING",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetPENDING sets the PENDING field's value.
|
[
"SetPENDING",
"sets",
"the",
"PENDING",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/gamelift/api.go#L14079-L14082
|
train
|
aws/aws-sdk-go
|
service/gamelift/api.go
|
SetTERMINATING
|
func (s *EC2InstanceCounts) SetTERMINATING(v int64) *EC2InstanceCounts {
s.TERMINATING = &v
return s
}
|
go
|
func (s *EC2InstanceCounts) SetTERMINATING(v int64) *EC2InstanceCounts {
s.TERMINATING = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"EC2InstanceCounts",
")",
"SetTERMINATING",
"(",
"v",
"int64",
")",
"*",
"EC2InstanceCounts",
"{",
"s",
".",
"TERMINATING",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetTERMINATING sets the TERMINATING field's value.
|
[
"SetTERMINATING",
"sets",
"the",
"TERMINATING",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/gamelift/api.go#L14085-L14088
|
train
|
aws/aws-sdk-go
|
service/gamelift/api.go
|
SetCurrentInstances
|
func (s *EC2InstanceLimit) SetCurrentInstances(v int64) *EC2InstanceLimit {
s.CurrentInstances = &v
return s
}
|
go
|
func (s *EC2InstanceLimit) SetCurrentInstances(v int64) *EC2InstanceLimit {
s.CurrentInstances = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"EC2InstanceLimit",
")",
"SetCurrentInstances",
"(",
"v",
"int64",
")",
"*",
"EC2InstanceLimit",
"{",
"s",
".",
"CurrentInstances",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetCurrentInstances sets the CurrentInstances field's value.
|
[
"SetCurrentInstances",
"sets",
"the",
"CurrentInstances",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/gamelift/api.go#L14121-L14124
|
train
|
aws/aws-sdk-go
|
service/gamelift/api.go
|
SetInstanceLimit
|
func (s *EC2InstanceLimit) SetInstanceLimit(v int64) *EC2InstanceLimit {
s.InstanceLimit = &v
return s
}
|
go
|
func (s *EC2InstanceLimit) SetInstanceLimit(v int64) *EC2InstanceLimit {
s.InstanceLimit = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"EC2InstanceLimit",
")",
"SetInstanceLimit",
"(",
"v",
"int64",
")",
"*",
"EC2InstanceLimit",
"{",
"s",
".",
"InstanceLimit",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetInstanceLimit sets the InstanceLimit field's value.
|
[
"SetInstanceLimit",
"sets",
"the",
"InstanceLimit",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/gamelift/api.go#L14133-L14136
|
train
|
aws/aws-sdk-go
|
service/gamelift/api.go
|
SetEventCode
|
func (s *Event) SetEventCode(v string) *Event {
s.EventCode = &v
return s
}
|
go
|
func (s *Event) SetEventCode(v string) *Event {
s.EventCode = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"Event",
")",
"SetEventCode",
"(",
"v",
"string",
")",
"*",
"Event",
"{",
"s",
".",
"EventCode",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetEventCode sets the EventCode field's value.
|
[
"SetEventCode",
"sets",
"the",
"EventCode",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/gamelift/api.go#L14271-L14274
|
train
|
aws/aws-sdk-go
|
service/gamelift/api.go
|
SetPreSignedLogUrl
|
func (s *Event) SetPreSignedLogUrl(v string) *Event {
s.PreSignedLogUrl = &v
return s
}
|
go
|
func (s *Event) SetPreSignedLogUrl(v string) *Event {
s.PreSignedLogUrl = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"Event",
")",
"SetPreSignedLogUrl",
"(",
"v",
"string",
")",
"*",
"Event",
"{",
"s",
".",
"PreSignedLogUrl",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetPreSignedLogUrl sets the PreSignedLogUrl field's value.
|
[
"SetPreSignedLogUrl",
"sets",
"the",
"PreSignedLogUrl",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/gamelift/api.go#L14295-L14298
|
train
|
aws/aws-sdk-go
|
service/gamelift/api.go
|
SetStoppedActions
|
func (s *FleetAttributes) SetStoppedActions(v []*string) *FleetAttributes {
s.StoppedActions = v
return s
}
|
go
|
func (s *FleetAttributes) SetStoppedActions(v []*string) *FleetAttributes {
s.StoppedActions = v
return s
}
|
[
"func",
"(",
"s",
"*",
"FleetAttributes",
")",
"SetStoppedActions",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"FleetAttributes",
"{",
"s",
".",
"StoppedActions",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetStoppedActions sets the StoppedActions field's value.
|
[
"SetStoppedActions",
"sets",
"the",
"StoppedActions",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/gamelift/api.go#L14584-L14587
|
train
|
aws/aws-sdk-go
|
service/gamelift/api.go
|
SetInstanceCounts
|
func (s *FleetCapacity) SetInstanceCounts(v *EC2InstanceCounts) *FleetCapacity {
s.InstanceCounts = v
return s
}
|
go
|
func (s *FleetCapacity) SetInstanceCounts(v *EC2InstanceCounts) *FleetCapacity {
s.InstanceCounts = v
return s
}
|
[
"func",
"(",
"s",
"*",
"FleetCapacity",
")",
"SetInstanceCounts",
"(",
"v",
"*",
"EC2InstanceCounts",
")",
"*",
"FleetCapacity",
"{",
"s",
".",
"InstanceCounts",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetInstanceCounts sets the InstanceCounts field's value.
|
[
"SetInstanceCounts",
"sets",
"the",
"InstanceCounts",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/gamelift/api.go#L14671-L14674
|
train
|
aws/aws-sdk-go
|
service/gamelift/api.go
|
SetActiveGameSessionCount
|
func (s *FleetUtilization) SetActiveGameSessionCount(v int64) *FleetUtilization {
s.ActiveGameSessionCount = &v
return s
}
|
go
|
func (s *FleetUtilization) SetActiveGameSessionCount(v int64) *FleetUtilization {
s.ActiveGameSessionCount = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"FleetUtilization",
")",
"SetActiveGameSessionCount",
"(",
"v",
"int64",
")",
"*",
"FleetUtilization",
"{",
"s",
".",
"ActiveGameSessionCount",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetActiveGameSessionCount sets the ActiveGameSessionCount field's value.
|
[
"SetActiveGameSessionCount",
"sets",
"the",
"ActiveGameSessionCount",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/gamelift/api.go#L14756-L14759
|
train
|
aws/aws-sdk-go
|
service/gamelift/api.go
|
SetActiveServerProcessCount
|
func (s *FleetUtilization) SetActiveServerProcessCount(v int64) *FleetUtilization {
s.ActiveServerProcessCount = &v
return s
}
|
go
|
func (s *FleetUtilization) SetActiveServerProcessCount(v int64) *FleetUtilization {
s.ActiveServerProcessCount = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"FleetUtilization",
")",
"SetActiveServerProcessCount",
"(",
"v",
"int64",
")",
"*",
"FleetUtilization",
"{",
"s",
".",
"ActiveServerProcessCount",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetActiveServerProcessCount sets the ActiveServerProcessCount field's value.
|
[
"SetActiveServerProcessCount",
"sets",
"the",
"ActiveServerProcessCount",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/gamelift/api.go#L14762-L14765
|
train
|
aws/aws-sdk-go
|
service/gamelift/api.go
|
SetMatchedPlayerSessions
|
func (s *GameSessionConnectionInfo) SetMatchedPlayerSessions(v []*MatchedPlayerSession) *GameSessionConnectionInfo {
s.MatchedPlayerSessions = v
return s
}
|
go
|
func (s *GameSessionConnectionInfo) SetMatchedPlayerSessions(v []*MatchedPlayerSession) *GameSessionConnectionInfo {
s.MatchedPlayerSessions = v
return s
}
|
[
"func",
"(",
"s",
"*",
"GameSessionConnectionInfo",
")",
"SetMatchedPlayerSessions",
"(",
"v",
"[",
"]",
"*",
"MatchedPlayerSession",
")",
"*",
"GameSessionConnectionInfo",
"{",
"s",
".",
"MatchedPlayerSessions",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetMatchedPlayerSessions sets the MatchedPlayerSessions field's value.
|
[
"SetMatchedPlayerSessions",
"sets",
"the",
"MatchedPlayerSessions",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/gamelift/api.go#L15103-L15106
|
train
|
Subsets and Splits
SQL Console for semeru/code-text-go
Retrieves a limited set of code samples with their languages, with a specific case adjustment for 'Go' language.