id
int32 0
167k
| 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
sequencelengths 21
1.41k
| docstring
stringlengths 6
2.61k
| docstring_tokens
sequencelengths 3
215
| sha
stringlengths 40
40
| url
stringlengths 85
252
|
---|---|---|---|---|---|---|---|---|---|---|---|
167,000 | aws/aws-sdk-go | aws/endpoints/endpoints.go | NewUnknownEndpointError | func NewUnknownEndpointError(p, s, r string, known []string) UnknownEndpointError {
return UnknownEndpointError{
awsError: awserr.New("UnknownEndpointError",
"could not resolve endpoint", nil),
Partition: p,
Service: s,
Region: r,
Known: known,
}
} | go | func NewUnknownEndpointError(p, s, r string, known []string) UnknownEndpointError {
return UnknownEndpointError{
awsError: awserr.New("UnknownEndpointError",
"could not resolve endpoint", nil),
Partition: p,
Service: s,
Region: r,
Known: known,
}
} | [
"func",
"NewUnknownEndpointError",
"(",
"p",
",",
"s",
",",
"r",
"string",
",",
"known",
"[",
"]",
"string",
")",
"UnknownEndpointError",
"{",
"return",
"UnknownEndpointError",
"{",
"awsError",
":",
"awserr",
".",
"New",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"nil",
")",
",",
"Partition",
":",
"p",
",",
"Service",
":",
"s",
",",
"Region",
":",
"r",
",",
"Known",
":",
"known",
",",
"}",
"\n",
"}"
] | // NewUnknownEndpointError builds and returns UnknownEndpointError. | [
"NewUnknownEndpointError",
"builds",
"and",
"returns",
"UnknownEndpointError",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/endpoints/endpoints.go#L425-L434 |
167,001 | aws/aws-sdk-go | private/protocol/timestamp.go | IsKnownTimestampFormat | func IsKnownTimestampFormat(name string) bool {
switch name {
case RFC822TimeFormatName:
fallthrough
case ISO8601TimeFormatName:
fallthrough
case UnixTimeFormatName:
return true
default:
return false
}
} | go | func IsKnownTimestampFormat(name string) bool {
switch name {
case RFC822TimeFormatName:
fallthrough
case ISO8601TimeFormatName:
fallthrough
case UnixTimeFormatName:
return true
default:
return false
}
} | [
"func",
"IsKnownTimestampFormat",
"(",
"name",
"string",
")",
"bool",
"{",
"switch",
"name",
"{",
"case",
"RFC822TimeFormatName",
":",
"fallthrough",
"\n",
"case",
"ISO8601TimeFormatName",
":",
"fallthrough",
"\n",
"case",
"UnixTimeFormatName",
":",
"return",
"true",
"\n",
"default",
":",
"return",
"false",
"\n",
"}",
"\n",
"}"
] | // IsKnownTimestampFormat returns if the timestamp format name
// is know to the SDK's protocols. | [
"IsKnownTimestampFormat",
"returns",
"if",
"the",
"timestamp",
"format",
"name",
"is",
"know",
"to",
"the",
"SDK",
"s",
"protocols",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/private/protocol/timestamp.go#L26-L37 |
167,002 | aws/aws-sdk-go | private/protocol/timestamp.go | FormatTime | func FormatTime(name string, t time.Time) string {
t = t.UTC()
switch name {
case RFC822TimeFormatName:
return t.Format(RFC822TimeFormat)
case ISO8601TimeFormatName:
return t.Format(ISO8601TimeFormat)
case UnixTimeFormatName:
return strconv.FormatInt(t.Unix(), 10)
default:
panic("unknown timestamp format name, " + name)
}
} | go | func FormatTime(name string, t time.Time) string {
t = t.UTC()
switch name {
case RFC822TimeFormatName:
return t.Format(RFC822TimeFormat)
case ISO8601TimeFormatName:
return t.Format(ISO8601TimeFormat)
case UnixTimeFormatName:
return strconv.FormatInt(t.Unix(), 10)
default:
panic("unknown timestamp format name, " + name)
}
} | [
"func",
"FormatTime",
"(",
"name",
"string",
",",
"t",
"time",
".",
"Time",
")",
"string",
"{",
"t",
"=",
"t",
".",
"UTC",
"(",
")",
"\n\n",
"switch",
"name",
"{",
"case",
"RFC822TimeFormatName",
":",
"return",
"t",
".",
"Format",
"(",
"RFC822TimeFormat",
")",
"\n",
"case",
"ISO8601TimeFormatName",
":",
"return",
"t",
".",
"Format",
"(",
"ISO8601TimeFormat",
")",
"\n",
"case",
"UnixTimeFormatName",
":",
"return",
"strconv",
".",
"FormatInt",
"(",
"t",
".",
"Unix",
"(",
")",
",",
"10",
")",
"\n",
"default",
":",
"panic",
"(",
"\"",
"\"",
"+",
"name",
")",
"\n",
"}",
"\n",
"}"
] | // FormatTime returns a string value of the time. | [
"FormatTime",
"returns",
"a",
"string",
"value",
"of",
"the",
"time",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/private/protocol/timestamp.go#L40-L53 |
167,003 | aws/aws-sdk-go | private/protocol/timestamp.go | ParseTime | func ParseTime(formatName, value string) (time.Time, error) {
switch formatName {
case RFC822TimeFormatName:
return time.Parse(RFC822TimeFormat, value)
case ISO8601TimeFormatName:
return time.Parse(ISO8601TimeFormat, value)
case UnixTimeFormatName:
v, err := strconv.ParseFloat(value, 64)
if err != nil {
return time.Time{}, err
}
return time.Unix(int64(v), 0), nil
default:
panic("unknown timestamp format name, " + formatName)
}
} | go | func ParseTime(formatName, value string) (time.Time, error) {
switch formatName {
case RFC822TimeFormatName:
return time.Parse(RFC822TimeFormat, value)
case ISO8601TimeFormatName:
return time.Parse(ISO8601TimeFormat, value)
case UnixTimeFormatName:
v, err := strconv.ParseFloat(value, 64)
if err != nil {
return time.Time{}, err
}
return time.Unix(int64(v), 0), nil
default:
panic("unknown timestamp format name, " + formatName)
}
} | [
"func",
"ParseTime",
"(",
"formatName",
",",
"value",
"string",
")",
"(",
"time",
".",
"Time",
",",
"error",
")",
"{",
"switch",
"formatName",
"{",
"case",
"RFC822TimeFormatName",
":",
"return",
"time",
".",
"Parse",
"(",
"RFC822TimeFormat",
",",
"value",
")",
"\n",
"case",
"ISO8601TimeFormatName",
":",
"return",
"time",
".",
"Parse",
"(",
"ISO8601TimeFormat",
",",
"value",
")",
"\n",
"case",
"UnixTimeFormatName",
":",
"v",
",",
"err",
":=",
"strconv",
".",
"ParseFloat",
"(",
"value",
",",
"64",
")",
"\n",
"if",
"err",
"!=",
"nil",
"{",
"return",
"time",
".",
"Time",
"{",
"}",
",",
"err",
"\n",
"}",
"\n",
"return",
"time",
".",
"Unix",
"(",
"int64",
"(",
"v",
")",
",",
"0",
")",
",",
"nil",
"\n",
"default",
":",
"panic",
"(",
"\"",
"\"",
"+",
"formatName",
")",
"\n",
"}",
"\n",
"}"
] | // ParseTime attempts to parse the time given the format. Returns
// the time if it was able to be parsed, and fails otherwise. | [
"ParseTime",
"attempts",
"to",
"parse",
"the",
"time",
"given",
"the",
"format",
".",
"Returns",
"the",
"time",
"if",
"it",
"was",
"able",
"to",
"be",
"parsed",
"and",
"fails",
"otherwise",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/private/protocol/timestamp.go#L57-L72 |
167,004 | aws/aws-sdk-go | service/marketplacecommerceanalytics/api.go | SetDataSetPublicationDate | func (s *GenerateDataSetInput) SetDataSetPublicationDate(v time.Time) *GenerateDataSetInput {
s.DataSetPublicationDate = &v
return s
} | go | func (s *GenerateDataSetInput) SetDataSetPublicationDate(v time.Time) *GenerateDataSetInput {
s.DataSetPublicationDate = &v
return s
} | [
"func",
"(",
"s",
"*",
"GenerateDataSetInput",
")",
"SetDataSetPublicationDate",
"(",
"v",
"time",
".",
"Time",
")",
"*",
"GenerateDataSetInput",
"{",
"s",
".",
"DataSetPublicationDate",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDataSetPublicationDate sets the DataSetPublicationDate field's value. | [
"SetDataSetPublicationDate",
"sets",
"the",
"DataSetPublicationDate",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/marketplacecommerceanalytics/api.go#L387-L390 |
167,005 | aws/aws-sdk-go | service/marketplacecommerceanalytics/api.go | SetFromDate | func (s *StartSupportDataExportInput) SetFromDate(v time.Time) *StartSupportDataExportInput {
s.FromDate = &v
return s
} | go | func (s *StartSupportDataExportInput) SetFromDate(v time.Time) *StartSupportDataExportInput {
s.FromDate = &v
return s
} | [
"func",
"(",
"s",
"*",
"StartSupportDataExportInput",
")",
"SetFromDate",
"(",
"v",
"time",
".",
"Time",
")",
"*",
"StartSupportDataExportInput",
"{",
"s",
".",
"FromDate",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetFromDate sets the FromDate field's value. | [
"SetFromDate",
"sets",
"the",
"FromDate",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/marketplacecommerceanalytics/api.go#L579-L582 |
167,006 | aws/aws-sdk-go | service/sms/api.go | SetLaunchDetails | func (s *AppSummary) SetLaunchDetails(v *LaunchDetails) *AppSummary {
s.LaunchDetails = v
return s
} | go | func (s *AppSummary) SetLaunchDetails(v *LaunchDetails) *AppSummary {
s.LaunchDetails = v
return s
} | [
"func",
"(",
"s",
"*",
"AppSummary",
")",
"SetLaunchDetails",
"(",
"v",
"*",
"LaunchDetails",
")",
"*",
"AppSummary",
"{",
"s",
".",
"LaunchDetails",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetLaunchDetails sets the LaunchDetails field's value. | [
"SetLaunchDetails",
"sets",
"the",
"LaunchDetails",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/sms/api.go#L2928-L2931 |
167,007 | aws/aws-sdk-go | service/sms/api.go | SetLaunchStatus | func (s *AppSummary) SetLaunchStatus(v string) *AppSummary {
s.LaunchStatus = &v
return s
} | go | func (s *AppSummary) SetLaunchStatus(v string) *AppSummary {
s.LaunchStatus = &v
return s
} | [
"func",
"(",
"s",
"*",
"AppSummary",
")",
"SetLaunchStatus",
"(",
"v",
"string",
")",
"*",
"AppSummary",
"{",
"s",
".",
"LaunchStatus",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetLaunchStatus sets the LaunchStatus field's value. | [
"SetLaunchStatus",
"sets",
"the",
"LaunchStatus",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/sms/api.go#L2934-L2937 |
167,008 | aws/aws-sdk-go | service/sms/api.go | SetLaunchStatusMessage | func (s *AppSummary) SetLaunchStatusMessage(v string) *AppSummary {
s.LaunchStatusMessage = &v
return s
} | go | func (s *AppSummary) SetLaunchStatusMessage(v string) *AppSummary {
s.LaunchStatusMessage = &v
return s
} | [
"func",
"(",
"s",
"*",
"AppSummary",
")",
"SetLaunchStatusMessage",
"(",
"v",
"string",
")",
"*",
"AppSummary",
"{",
"s",
".",
"LaunchStatusMessage",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetLaunchStatusMessage sets the LaunchStatusMessage field's value. | [
"SetLaunchStatusMessage",
"sets",
"the",
"LaunchStatusMessage",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/sms/api.go#L2940-L2943 |
167,009 | aws/aws-sdk-go | service/sms/api.go | SetReplicationStatusMessage | func (s *AppSummary) SetReplicationStatusMessage(v string) *AppSummary {
s.ReplicationStatusMessage = &v
return s
} | go | func (s *AppSummary) SetReplicationStatusMessage(v string) *AppSummary {
s.ReplicationStatusMessage = &v
return s
} | [
"func",
"(",
"s",
"*",
"AppSummary",
")",
"SetReplicationStatusMessage",
"(",
"v",
"string",
")",
"*",
"AppSummary",
"{",
"s",
".",
"ReplicationStatusMessage",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetReplicationStatusMessage sets the ReplicationStatusMessage field's value. | [
"SetReplicationStatusMessage",
"sets",
"the",
"ReplicationStatusMessage",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/sms/api.go#L2958-L2961 |
167,010 | aws/aws-sdk-go | service/sms/api.go | SetTotalServerGroups | func (s *AppSummary) SetTotalServerGroups(v int64) *AppSummary {
s.TotalServerGroups = &v
return s
} | go | func (s *AppSummary) SetTotalServerGroups(v int64) *AppSummary {
s.TotalServerGroups = &v
return s
} | [
"func",
"(",
"s",
"*",
"AppSummary",
")",
"SetTotalServerGroups",
"(",
"v",
"int64",
")",
"*",
"AppSummary",
"{",
"s",
".",
"TotalServerGroups",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetTotalServerGroups sets the TotalServerGroups field's value. | [
"SetTotalServerGroups",
"sets",
"the",
"TotalServerGroups",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/sms/api.go#L2982-L2985 |
167,011 | aws/aws-sdk-go | service/sms/api.go | SetTotalServers | func (s *AppSummary) SetTotalServers(v int64) *AppSummary {
s.TotalServers = &v
return s
} | go | func (s *AppSummary) SetTotalServers(v int64) *AppSummary {
s.TotalServers = &v
return s
} | [
"func",
"(",
"s",
"*",
"AppSummary",
")",
"SetTotalServers",
"(",
"v",
"int64",
")",
"*",
"AppSummary",
"{",
"s",
".",
"TotalServers",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetTotalServers sets the TotalServers field's value. | [
"SetTotalServers",
"sets",
"the",
"TotalServers",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/sms/api.go#L2988-L2991 |
167,012 | aws/aws-sdk-go | service/sms/api.go | SetAssociatedOn | func (s *Connector) SetAssociatedOn(v time.Time) *Connector {
s.AssociatedOn = &v
return s
} | go | func (s *Connector) SetAssociatedOn(v time.Time) *Connector {
s.AssociatedOn = &v
return s
} | [
"func",
"(",
"s",
"*",
"Connector",
")",
"SetAssociatedOn",
"(",
"v",
"time",
".",
"Time",
")",
"*",
"Connector",
"{",
"s",
".",
"AssociatedOn",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAssociatedOn sets the AssociatedOn field's value. | [
"SetAssociatedOn",
"sets",
"the",
"AssociatedOn",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/sms/api.go#L3039-L3042 |
167,013 | aws/aws-sdk-go | service/sms/api.go | SetCapabilityList | func (s *Connector) SetCapabilityList(v []*string) *Connector {
s.CapabilityList = v
return s
} | go | func (s *Connector) SetCapabilityList(v []*string) *Connector {
s.CapabilityList = v
return s
} | [
"func",
"(",
"s",
"*",
"Connector",
")",
"SetCapabilityList",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"Connector",
"{",
"s",
".",
"CapabilityList",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetCapabilityList sets the CapabilityList field's value. | [
"SetCapabilityList",
"sets",
"the",
"CapabilityList",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/sms/api.go#L3045-L3048 |
167,014 | aws/aws-sdk-go | service/sms/api.go | SetForceStopAppReplication | func (s *DeleteAppInput) SetForceStopAppReplication(v bool) *DeleteAppInput {
s.ForceStopAppReplication = &v
return s
} | go | func (s *DeleteAppInput) SetForceStopAppReplication(v bool) *DeleteAppInput {
s.ForceStopAppReplication = &v
return s
} | [
"func",
"(",
"s",
"*",
"DeleteAppInput",
")",
"SetForceStopAppReplication",
"(",
"v",
"bool",
")",
"*",
"DeleteAppInput",
"{",
"s",
".",
"ForceStopAppReplication",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetForceStopAppReplication sets the ForceStopAppReplication field's value. | [
"SetForceStopAppReplication",
"sets",
"the",
"ForceStopAppReplication",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/sms/api.go#L3401-L3404 |
167,015 | aws/aws-sdk-go | service/sms/api.go | SetForceTerminateApp | func (s *DeleteAppInput) SetForceTerminateApp(v bool) *DeleteAppInput {
s.ForceTerminateApp = &v
return s
} | go | func (s *DeleteAppInput) SetForceTerminateApp(v bool) *DeleteAppInput {
s.ForceTerminateApp = &v
return s
} | [
"func",
"(",
"s",
"*",
"DeleteAppInput",
")",
"SetForceTerminateApp",
"(",
"v",
"bool",
")",
"*",
"DeleteAppInput",
"{",
"s",
".",
"ForceTerminateApp",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetForceTerminateApp sets the ForceTerminateApp field's value. | [
"SetForceTerminateApp",
"sets",
"the",
"ForceTerminateApp",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/sms/api.go#L3407-L3410 |
167,016 | aws/aws-sdk-go | service/sms/api.go | SetChangesetFormat | func (s *GenerateChangeSetInput) SetChangesetFormat(v string) *GenerateChangeSetInput {
s.ChangesetFormat = &v
return s
} | go | func (s *GenerateChangeSetInput) SetChangesetFormat(v string) *GenerateChangeSetInput {
s.ChangesetFormat = &v
return s
} | [
"func",
"(",
"s",
"*",
"GenerateChangeSetInput",
")",
"SetChangesetFormat",
"(",
"v",
"string",
")",
"*",
"GenerateChangeSetInput",
"{",
"s",
".",
"ChangesetFormat",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetChangesetFormat sets the ChangesetFormat field's value. | [
"SetChangesetFormat",
"sets",
"the",
"ChangesetFormat",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/sms/api.go#L3659-L3662 |
167,017 | aws/aws-sdk-go | service/sms/api.go | SetTemplateFormat | func (s *GenerateTemplateInput) SetTemplateFormat(v string) *GenerateTemplateInput {
s.TemplateFormat = &v
return s
} | go | func (s *GenerateTemplateInput) SetTemplateFormat(v string) *GenerateTemplateInput {
s.TemplateFormat = &v
return s
} | [
"func",
"(",
"s",
"*",
"GenerateTemplateInput",
")",
"SetTemplateFormat",
"(",
"v",
"string",
")",
"*",
"GenerateTemplateInput",
"{",
"s",
".",
"TemplateFormat",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetTemplateFormat sets the TemplateFormat field's value. | [
"SetTemplateFormat",
"sets",
"the",
"TemplateFormat",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/sms/api.go#L3714-L3717 |
167,018 | aws/aws-sdk-go | service/sms/api.go | SetConnectorList | func (s *GetConnectorsOutput) SetConnectorList(v []*Connector) *GetConnectorsOutput {
s.ConnectorList = v
return s
} | go | func (s *GetConnectorsOutput) SetConnectorList(v []*Connector) *GetConnectorsOutput {
s.ConnectorList = v
return s
} | [
"func",
"(",
"s",
"*",
"GetConnectorsOutput",
")",
"SetConnectorList",
"(",
"v",
"[",
"]",
"*",
"Connector",
")",
"*",
"GetConnectorsOutput",
"{",
"s",
".",
"ConnectorList",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetConnectorList sets the ConnectorList field's value. | [
"SetConnectorList",
"sets",
"the",
"ConnectorList",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/sms/api.go#L3973-L3976 |
167,019 | aws/aws-sdk-go | service/sms/api.go | SetReplicationJobList | func (s *GetReplicationJobsOutput) SetReplicationJobList(v []*ReplicationJob) *GetReplicationJobsOutput {
s.ReplicationJobList = v
return s
} | go | func (s *GetReplicationJobsOutput) SetReplicationJobList(v []*ReplicationJob) *GetReplicationJobsOutput {
s.ReplicationJobList = v
return s
} | [
"func",
"(",
"s",
"*",
"GetReplicationJobsOutput",
")",
"SetReplicationJobList",
"(",
"v",
"[",
"]",
"*",
"ReplicationJob",
")",
"*",
"GetReplicationJobsOutput",
"{",
"s",
".",
"ReplicationJobList",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetReplicationJobList sets the ReplicationJobList field's value. | [
"SetReplicationJobList",
"sets",
"the",
"ReplicationJobList",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/sms/api.go#L4055-L4058 |
167,020 | aws/aws-sdk-go | service/sms/api.go | SetReplicationJob | func (s *GetReplicationRunsOutput) SetReplicationJob(v *ReplicationJob) *GetReplicationRunsOutput {
s.ReplicationJob = v
return s
} | go | func (s *GetReplicationRunsOutput) SetReplicationJob(v *ReplicationJob) *GetReplicationRunsOutput {
s.ReplicationJob = v
return s
} | [
"func",
"(",
"s",
"*",
"GetReplicationRunsOutput",
")",
"SetReplicationJob",
"(",
"v",
"*",
"ReplicationJob",
")",
"*",
"GetReplicationRunsOutput",
"{",
"s",
".",
"ReplicationJob",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetReplicationJob sets the ReplicationJob field's value. | [
"SetReplicationJob",
"sets",
"the",
"ReplicationJob",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/sms/api.go#L4149-L4152 |
167,021 | aws/aws-sdk-go | service/sms/api.go | SetVmServerAddressList | func (s *GetServersInput) SetVmServerAddressList(v []*VmServerAddress) *GetServersInput {
s.VmServerAddressList = v
return s
} | go | func (s *GetServersInput) SetVmServerAddressList(v []*VmServerAddress) *GetServersInput {
s.VmServerAddressList = v
return s
} | [
"func",
"(",
"s",
"*",
"GetServersInput",
")",
"SetVmServerAddressList",
"(",
"v",
"[",
"]",
"*",
"VmServerAddress",
")",
"*",
"GetServersInput",
"{",
"s",
".",
"VmServerAddressList",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetVmServerAddressList sets the VmServerAddressList field's value. | [
"SetVmServerAddressList",
"sets",
"the",
"VmServerAddressList",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/sms/api.go#L4198-L4201 |
167,022 | aws/aws-sdk-go | service/sms/api.go | SetServerCatalogStatus | func (s *GetServersOutput) SetServerCatalogStatus(v string) *GetServersOutput {
s.ServerCatalogStatus = &v
return s
} | go | func (s *GetServersOutput) SetServerCatalogStatus(v string) *GetServersOutput {
s.ServerCatalogStatus = &v
return s
} | [
"func",
"(",
"s",
"*",
"GetServersOutput",
")",
"SetServerCatalogStatus",
"(",
"v",
"string",
")",
"*",
"GetServersOutput",
"{",
"s",
".",
"ServerCatalogStatus",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetServerCatalogStatus sets the ServerCatalogStatus field's value. | [
"SetServerCatalogStatus",
"sets",
"the",
"ServerCatalogStatus",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/sms/api.go#L4243-L4246 |
167,023 | aws/aws-sdk-go | service/sms/api.go | SetCompletedTime | func (s *ReplicationRun) SetCompletedTime(v time.Time) *ReplicationRun {
s.CompletedTime = &v
return s
} | go | func (s *ReplicationRun) SetCompletedTime(v time.Time) *ReplicationRun {
s.CompletedTime = &v
return s
} | [
"func",
"(",
"s",
"*",
"ReplicationRun",
")",
"SetCompletedTime",
"(",
"v",
"time",
".",
"Time",
")",
"*",
"ReplicationRun",
"{",
"s",
".",
"CompletedTime",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetCompletedTime sets the CompletedTime field's value. | [
"SetCompletedTime",
"sets",
"the",
"CompletedTime",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/sms/api.go#L4797-L4800 |
167,024 | aws/aws-sdk-go | service/sms/api.go | SetScheduledStartTime | func (s *ReplicationRun) SetScheduledStartTime(v time.Time) *ReplicationRun {
s.ScheduledStartTime = &v
return s
} | go | func (s *ReplicationRun) SetScheduledStartTime(v time.Time) *ReplicationRun {
s.ScheduledStartTime = &v
return s
} | [
"func",
"(",
"s",
"*",
"ReplicationRun",
")",
"SetScheduledStartTime",
"(",
"v",
"time",
".",
"Time",
")",
"*",
"ReplicationRun",
"{",
"s",
".",
"ScheduledStartTime",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetScheduledStartTime sets the ScheduledStartTime field's value. | [
"SetScheduledStartTime",
"sets",
"the",
"ScheduledStartTime",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/sms/api.go#L4827-L4830 |
167,025 | aws/aws-sdk-go | service/sms/api.go | SetStageDetails | func (s *ReplicationRun) SetStageDetails(v *ReplicationRunStageDetails) *ReplicationRun {
s.StageDetails = v
return s
} | go | func (s *ReplicationRun) SetStageDetails(v *ReplicationRunStageDetails) *ReplicationRun {
s.StageDetails = v
return s
} | [
"func",
"(",
"s",
"*",
"ReplicationRun",
")",
"SetStageDetails",
"(",
"v",
"*",
"ReplicationRunStageDetails",
")",
"*",
"ReplicationRun",
"{",
"s",
".",
"StageDetails",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetStageDetails sets the StageDetails field's value. | [
"SetStageDetails",
"sets",
"the",
"StageDetails",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/sms/api.go#L4833-L4836 |
167,026 | aws/aws-sdk-go | service/sms/api.go | SetStageProgress | func (s *ReplicationRunStageDetails) SetStageProgress(v string) *ReplicationRunStageDetails {
s.StageProgress = &v
return s
} | go | func (s *ReplicationRunStageDetails) SetStageProgress(v string) *ReplicationRunStageDetails {
s.StageProgress = &v
return s
} | [
"func",
"(",
"s",
"*",
"ReplicationRunStageDetails",
")",
"SetStageProgress",
"(",
"v",
"string",
")",
"*",
"ReplicationRunStageDetails",
"{",
"s",
".",
"StageProgress",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetStageProgress sets the StageProgress field's value. | [
"SetStageProgress",
"sets",
"the",
"StageProgress",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/sms/api.go#L4884-L4887 |
167,027 | aws/aws-sdk-go | service/sms/api.go | SetReplicationJobTerminated | func (s *Server) SetReplicationJobTerminated(v bool) *Server {
s.ReplicationJobTerminated = &v
return s
} | go | func (s *Server) SetReplicationJobTerminated(v bool) *Server {
s.ReplicationJobTerminated = &v
return s
} | [
"func",
"(",
"s",
"*",
"Server",
")",
"SetReplicationJobTerminated",
"(",
"v",
"bool",
")",
"*",
"Server",
"{",
"s",
".",
"ReplicationJobTerminated",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetReplicationJobTerminated sets the ReplicationJobTerminated field's value. | [
"SetReplicationJobTerminated",
"sets",
"the",
"ReplicationJobTerminated",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/sms/api.go#L4959-L4962 |
167,028 | aws/aws-sdk-go | service/sms/api.go | SetLaunchOrder | func (s *ServerGroupLaunchConfiguration) SetLaunchOrder(v int64) *ServerGroupLaunchConfiguration {
s.LaunchOrder = &v
return s
} | go | func (s *ServerGroupLaunchConfiguration) SetLaunchOrder(v int64) *ServerGroupLaunchConfiguration {
s.LaunchOrder = &v
return s
} | [
"func",
"(",
"s",
"*",
"ServerGroupLaunchConfiguration",
")",
"SetLaunchOrder",
"(",
"v",
"int64",
")",
"*",
"ServerGroupLaunchConfiguration",
"{",
"s",
".",
"LaunchOrder",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetLaunchOrder sets the LaunchOrder field's value. | [
"SetLaunchOrder",
"sets",
"the",
"LaunchOrder",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/sms/api.go#L5049-L5052 |
167,029 | aws/aws-sdk-go | service/sms/api.go | SetServerLaunchConfigurations | func (s *ServerGroupLaunchConfiguration) SetServerLaunchConfigurations(v []*ServerLaunchConfiguration) *ServerGroupLaunchConfiguration {
s.ServerLaunchConfigurations = v
return s
} | go | func (s *ServerGroupLaunchConfiguration) SetServerLaunchConfigurations(v []*ServerLaunchConfiguration) *ServerGroupLaunchConfiguration {
s.ServerLaunchConfigurations = v
return s
} | [
"func",
"(",
"s",
"*",
"ServerGroupLaunchConfiguration",
")",
"SetServerLaunchConfigurations",
"(",
"v",
"[",
"]",
"*",
"ServerLaunchConfiguration",
")",
"*",
"ServerGroupLaunchConfiguration",
"{",
"s",
".",
"ServerLaunchConfigurations",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetServerLaunchConfigurations sets the ServerLaunchConfigurations field's value. | [
"SetServerLaunchConfigurations",
"sets",
"the",
"ServerLaunchConfigurations",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/sms/api.go#L5061-L5064 |
167,030 | aws/aws-sdk-go | service/sms/api.go | SetServerReplicationConfigurations | func (s *ServerGroupReplicationConfiguration) SetServerReplicationConfigurations(v []*ServerReplicationConfiguration) *ServerGroupReplicationConfiguration {
s.ServerReplicationConfigurations = v
return s
} | go | func (s *ServerGroupReplicationConfiguration) SetServerReplicationConfigurations(v []*ServerReplicationConfiguration) *ServerGroupReplicationConfiguration {
s.ServerReplicationConfigurations = v
return s
} | [
"func",
"(",
"s",
"*",
"ServerGroupReplicationConfiguration",
")",
"SetServerReplicationConfigurations",
"(",
"v",
"[",
"]",
"*",
"ServerReplicationConfiguration",
")",
"*",
"ServerGroupReplicationConfiguration",
"{",
"s",
".",
"ServerReplicationConfigurations",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetServerReplicationConfigurations sets the ServerReplicationConfigurations field's value. | [
"SetServerReplicationConfigurations",
"sets",
"the",
"ServerReplicationConfigurations",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/sms/api.go#L5095-L5098 |
167,031 | aws/aws-sdk-go | service/sms/api.go | SetLogicalId | func (s *ServerLaunchConfiguration) SetLogicalId(v string) *ServerLaunchConfiguration {
s.LogicalId = &v
return s
} | go | func (s *ServerLaunchConfiguration) SetLogicalId(v string) *ServerLaunchConfiguration {
s.LogicalId = &v
return s
} | [
"func",
"(",
"s",
"*",
"ServerLaunchConfiguration",
")",
"SetLogicalId",
"(",
"v",
"string",
")",
"*",
"ServerLaunchConfiguration",
"{",
"s",
".",
"LogicalId",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetLogicalId sets the LogicalId field's value. | [
"SetLogicalId",
"sets",
"the",
"LogicalId",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/sms/api.go#L5161-L5164 |
167,032 | aws/aws-sdk-go | service/sms/api.go | SetSubnet | func (s *ServerLaunchConfiguration) SetSubnet(v string) *ServerLaunchConfiguration {
s.Subnet = &v
return s
} | go | func (s *ServerLaunchConfiguration) SetSubnet(v string) *ServerLaunchConfiguration {
s.Subnet = &v
return s
} | [
"func",
"(",
"s",
"*",
"ServerLaunchConfiguration",
")",
"SetSubnet",
"(",
"v",
"string",
")",
"*",
"ServerLaunchConfiguration",
"{",
"s",
".",
"Subnet",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetSubnet sets the Subnet field's value. | [
"SetSubnet",
"sets",
"the",
"Subnet",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/sms/api.go#L5179-L5182 |
167,033 | aws/aws-sdk-go | service/sms/api.go | SetServerReplicationParameters | func (s *ServerReplicationConfiguration) SetServerReplicationParameters(v *ServerReplicationParameters) *ServerReplicationConfiguration {
s.ServerReplicationParameters = v
return s
} | go | func (s *ServerReplicationConfiguration) SetServerReplicationParameters(v *ServerReplicationParameters) *ServerReplicationConfiguration {
s.ServerReplicationParameters = v
return s
} | [
"func",
"(",
"s",
"*",
"ServerReplicationConfiguration",
")",
"SetServerReplicationParameters",
"(",
"v",
"*",
"ServerReplicationParameters",
")",
"*",
"ServerReplicationConfiguration",
"{",
"s",
".",
"ServerReplicationParameters",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetServerReplicationParameters sets the ServerReplicationParameters field's value. | [
"SetServerReplicationParameters",
"sets",
"the",
"ServerReplicationParameters",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/sms/api.go#L5224-L5227 |
167,034 | aws/aws-sdk-go | service/sms/api.go | SetSeedTime | func (s *ServerReplicationParameters) SetSeedTime(v time.Time) *ServerReplicationParameters {
s.SeedTime = &v
return s
} | go | func (s *ServerReplicationParameters) SetSeedTime(v time.Time) *ServerReplicationParameters {
s.SeedTime = &v
return s
} | [
"func",
"(",
"s",
"*",
"ServerReplicationParameters",
")",
"SetSeedTime",
"(",
"v",
"time",
".",
"Time",
")",
"*",
"ServerReplicationParameters",
"{",
"s",
".",
"SeedTime",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetSeedTime sets the SeedTime field's value. | [
"SetSeedTime",
"sets",
"the",
"SeedTime",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/sms/api.go#L5313-L5316 |
167,035 | aws/aws-sdk-go | service/sms/api.go | SetVmName | func (s *VmServer) SetVmName(v string) *VmServer {
s.VmName = &v
return s
} | go | func (s *VmServer) SetVmName(v string) *VmServer {
s.VmName = &v
return s
} | [
"func",
"(",
"s",
"*",
"VmServer",
")",
"SetVmName",
"(",
"v",
"string",
")",
"*",
"VmServer",
"{",
"s",
".",
"VmName",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetVmName sets the VmName field's value. | [
"SetVmName",
"sets",
"the",
"VmName",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/sms/api.go#L5847-L5850 |
167,036 | aws/aws-sdk-go | service/sms/api.go | SetVmPath | func (s *VmServer) SetVmPath(v string) *VmServer {
s.VmPath = &v
return s
} | go | func (s *VmServer) SetVmPath(v string) *VmServer {
s.VmPath = &v
return s
} | [
"func",
"(",
"s",
"*",
"VmServer",
")",
"SetVmPath",
"(",
"v",
"string",
")",
"*",
"VmServer",
"{",
"s",
".",
"VmPath",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetVmPath sets the VmPath field's value. | [
"SetVmPath",
"sets",
"the",
"VmPath",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/sms/api.go#L5853-L5856 |
167,037 | aws/aws-sdk-go | service/sms/api.go | SetVmServerAddress | func (s *VmServer) SetVmServerAddress(v *VmServerAddress) *VmServer {
s.VmServerAddress = v
return s
} | go | func (s *VmServer) SetVmServerAddress(v *VmServerAddress) *VmServer {
s.VmServerAddress = v
return s
} | [
"func",
"(",
"s",
"*",
"VmServer",
")",
"SetVmServerAddress",
"(",
"v",
"*",
"VmServerAddress",
")",
"*",
"VmServer",
"{",
"s",
".",
"VmServerAddress",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetVmServerAddress sets the VmServerAddress field's value. | [
"SetVmServerAddress",
"sets",
"the",
"VmServerAddress",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/sms/api.go#L5859-L5862 |
167,038 | aws/aws-sdk-go | service/sms/api.go | SetVmId | func (s *VmServerAddress) SetVmId(v string) *VmServerAddress {
s.VmId = &v
return s
} | go | func (s *VmServerAddress) SetVmId(v string) *VmServerAddress {
s.VmId = &v
return s
} | [
"func",
"(",
"s",
"*",
"VmServerAddress",
")",
"SetVmId",
"(",
"v",
"string",
")",
"*",
"VmServerAddress",
"{",
"s",
".",
"VmId",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetVmId sets the VmId field's value. | [
"SetVmId",
"sets",
"the",
"VmId",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/sms/api.go#L5886-L5889 |
167,039 | aws/aws-sdk-go | private/model/api/eventstream.go | ShapeDoc | func (esAPI *EventStreamAPI) ShapeDoc() string {
tmpl := template.Must(template.New("eventStreamShapeDoc").Parse(`
{{- $.Name }} provides handling of EventStreams for
the {{ $.Operation.ExportedName }} API.
{{- if $.Inbound }}
Use this type to receive {{ $.Inbound.Name }} events. The events
can be read from the Events channel member.
The events that can be received are:
{{ range $_, $event := $.Inbound.Events }}
* {{ $event.Shape.ShapeName }}
{{- end }}
{{- end }}
{{- if $.Outbound }}
Use this type to send {{ $.Outbound.Name }} events. The events
can be sent with the Send method.
The events that can be sent are:
{{ range $_, $event := $.Outbound.Events -}}
* {{ $event.Shape.ShapeName }}
{{- end }}
{{- end }}`))
var w bytes.Buffer
if err := tmpl.Execute(&w, esAPI); err != nil {
panic(fmt.Sprintf("failed to generate eventstream shape template for %v, %v", esAPI.Name, err))
}
return commentify(w.String())
} | go | func (esAPI *EventStreamAPI) ShapeDoc() string {
tmpl := template.Must(template.New("eventStreamShapeDoc").Parse(`
{{- $.Name }} provides handling of EventStreams for
the {{ $.Operation.ExportedName }} API.
{{- if $.Inbound }}
Use this type to receive {{ $.Inbound.Name }} events. The events
can be read from the Events channel member.
The events that can be received are:
{{ range $_, $event := $.Inbound.Events }}
* {{ $event.Shape.ShapeName }}
{{- end }}
{{- end }}
{{- if $.Outbound }}
Use this type to send {{ $.Outbound.Name }} events. The events
can be sent with the Send method.
The events that can be sent are:
{{ range $_, $event := $.Outbound.Events -}}
* {{ $event.Shape.ShapeName }}
{{- end }}
{{- end }}`))
var w bytes.Buffer
if err := tmpl.Execute(&w, esAPI); err != nil {
panic(fmt.Sprintf("failed to generate eventstream shape template for %v, %v", esAPI.Name, err))
}
return commentify(w.String())
} | [
"func",
"(",
"esAPI",
"*",
"EventStreamAPI",
")",
"ShapeDoc",
"(",
")",
"string",
"{",
"tmpl",
":=",
"template",
".",
"Must",
"(",
"template",
".",
"New",
"(",
"\"",
"\"",
")",
".",
"Parse",
"(",
"`\n{{- $.Name }} provides handling of EventStreams for\nthe {{ $.Operation.ExportedName }} API.\n{{- if $.Inbound }}\n\nUse this type to receive {{ $.Inbound.Name }} events. The events\ncan be read from the Events channel member.\n\nThe events that can be received are:\n{{ range $_, $event := $.Inbound.Events }}\n * {{ $event.Shape.ShapeName }}\n{{- end }}\n\n{{- end }}\n\n{{- if $.Outbound }}\n\nUse this type to send {{ $.Outbound.Name }} events. The events\ncan be sent with the Send method.\n\nThe events that can be sent are:\n{{ range $_, $event := $.Outbound.Events -}}\n * {{ $event.Shape.ShapeName }}\n{{- end }}\n\n{{- end }}`",
")",
")",
"\n\n",
"var",
"w",
"bytes",
".",
"Buffer",
"\n",
"if",
"err",
":=",
"tmpl",
".",
"Execute",
"(",
"&",
"w",
",",
"esAPI",
")",
";",
"err",
"!=",
"nil",
"{",
"panic",
"(",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"esAPI",
".",
"Name",
",",
"err",
")",
")",
"\n",
"}",
"\n\n",
"return",
"commentify",
"(",
"w",
".",
"String",
"(",
")",
")",
"\n",
"}"
] | // ShapeDoc returns the docstring for the EventStream API. | [
"ShapeDoc",
"returns",
"the",
"docstring",
"for",
"the",
"EventStream",
"API",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/private/model/api/eventstream.go#L42-L76 |
167,040 | aws/aws-sdk-go | private/model/api/eventstream.go | eventHasNonBlobPayloadMembers | func eventHasNonBlobPayloadMembers(s *Shape) bool {
num := len(s.MemberRefs)
for _, ref := range s.MemberRefs {
if ref.IsEventHeader || (ref.IsEventPayload && (ref.Shape.Type == "blob" || ref.Shape.Type == "string")) {
num--
}
}
return num > 0
} | go | func eventHasNonBlobPayloadMembers(s *Shape) bool {
num := len(s.MemberRefs)
for _, ref := range s.MemberRefs {
if ref.IsEventHeader || (ref.IsEventPayload && (ref.Shape.Type == "blob" || ref.Shape.Type == "string")) {
num--
}
}
return num > 0
} | [
"func",
"eventHasNonBlobPayloadMembers",
"(",
"s",
"*",
"Shape",
")",
"bool",
"{",
"num",
":=",
"len",
"(",
"s",
".",
"MemberRefs",
")",
"\n",
"for",
"_",
",",
"ref",
":=",
"range",
"s",
".",
"MemberRefs",
"{",
"if",
"ref",
".",
"IsEventHeader",
"||",
"(",
"ref",
".",
"IsEventPayload",
"&&",
"(",
"ref",
".",
"Shape",
".",
"Type",
"==",
"\"",
"\"",
"||",
"ref",
".",
"Shape",
".",
"Type",
"==",
"\"",
"\"",
")",
")",
"{",
"num",
"--",
"\n",
"}",
"\n",
"}",
"\n",
"return",
"num",
">",
"0",
"\n",
"}"
] | // Returns if the event has any members which are not the event's blob payload,
// nor a header. | [
"Returns",
"if",
"the",
"event",
"has",
"any",
"members",
"which",
"are",
"not",
"the",
"event",
"s",
"blob",
"payload",
"nor",
"a",
"header",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/private/model/api/eventstream.go#L617-L625 |
167,041 | aws/aws-sdk-go | service/route53/api.go | SetEvaluateTargetHealth | func (s *AliasTarget) SetEvaluateTargetHealth(v bool) *AliasTarget {
s.EvaluateTargetHealth = &v
return s
} | go | func (s *AliasTarget) SetEvaluateTargetHealth(v bool) *AliasTarget {
s.EvaluateTargetHealth = &v
return s
} | [
"func",
"(",
"s",
"*",
"AliasTarget",
")",
"SetEvaluateTargetHealth",
"(",
"v",
"bool",
")",
"*",
"AliasTarget",
"{",
"s",
".",
"EvaluateTargetHealth",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetEvaluateTargetHealth sets the EvaluateTargetHealth field's value. | [
"SetEvaluateTargetHealth",
"sets",
"the",
"EvaluateTargetHealth",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L6260-L6263 |
167,042 | aws/aws-sdk-go | service/route53/api.go | SetResourceRecordSet | func (s *Change) SetResourceRecordSet(v *ResourceRecordSet) *Change {
s.ResourceRecordSet = v
return s
} | go | func (s *Change) SetResourceRecordSet(v *ResourceRecordSet) *Change {
s.ResourceRecordSet = v
return s
} | [
"func",
"(",
"s",
"*",
"Change",
")",
"SetResourceRecordSet",
"(",
"v",
"*",
"ResourceRecordSet",
")",
"*",
"Change",
"{",
"s",
".",
"ResourceRecordSet",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetResourceRecordSet sets the ResourceRecordSet field's value. | [
"SetResourceRecordSet",
"sets",
"the",
"ResourceRecordSet",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L6443-L6446 |
167,043 | aws/aws-sdk-go | service/route53/api.go | SetSubmittedAt | func (s *ChangeInfo) SetSubmittedAt(v time.Time) *ChangeInfo {
s.SubmittedAt = &v
return s
} | go | func (s *ChangeInfo) SetSubmittedAt(v time.Time) *ChangeInfo {
s.SubmittedAt = &v
return s
} | [
"func",
"(",
"s",
"*",
"ChangeInfo",
")",
"SetSubmittedAt",
"(",
"v",
"time",
".",
"Time",
")",
"*",
"ChangeInfo",
"{",
"s",
".",
"SubmittedAt",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetSubmittedAt sets the SubmittedAt field's value. | [
"SetSubmittedAt",
"sets",
"the",
"SubmittedAt",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L6570-L6573 |
167,044 | aws/aws-sdk-go | service/route53/api.go | SetChangeBatch | func (s *ChangeResourceRecordSetsInput) SetChangeBatch(v *ChangeBatch) *ChangeResourceRecordSetsInput {
s.ChangeBatch = v
return s
} | go | func (s *ChangeResourceRecordSetsInput) SetChangeBatch(v *ChangeBatch) *ChangeResourceRecordSetsInput {
s.ChangeBatch = v
return s
} | [
"func",
"(",
"s",
"*",
"ChangeResourceRecordSetsInput",
")",
"SetChangeBatch",
"(",
"v",
"*",
"ChangeBatch",
")",
"*",
"ChangeResourceRecordSetsInput",
"{",
"s",
".",
"ChangeBatch",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetChangeBatch sets the ChangeBatch field's value. | [
"SetChangeBatch",
"sets",
"the",
"ChangeBatch",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L6626-L6629 |
167,045 | aws/aws-sdk-go | service/route53/api.go | SetRemoveTagKeys | func (s *ChangeTagsForResourceInput) SetRemoveTagKeys(v []*string) *ChangeTagsForResourceInput {
s.RemoveTagKeys = v
return s
} | go | func (s *ChangeTagsForResourceInput) SetRemoveTagKeys(v []*string) *ChangeTagsForResourceInput {
s.RemoveTagKeys = v
return s
} | [
"func",
"(",
"s",
"*",
"ChangeTagsForResourceInput",
")",
"SetRemoveTagKeys",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"ChangeTagsForResourceInput",
"{",
"s",
".",
"RemoveTagKeys",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetRemoveTagKeys sets the RemoveTagKeys field's value. | [
"SetRemoveTagKeys",
"sets",
"the",
"RemoveTagKeys",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L6743-L6746 |
167,046 | aws/aws-sdk-go | service/route53/api.go | SetHostedZoneConfig | func (s *CreateHostedZoneInput) SetHostedZoneConfig(v *HostedZoneConfig) *CreateHostedZoneInput {
s.HostedZoneConfig = v
return s
} | go | func (s *CreateHostedZoneInput) SetHostedZoneConfig(v *HostedZoneConfig) *CreateHostedZoneInput {
s.HostedZoneConfig = v
return s
} | [
"func",
"(",
"s",
"*",
"CreateHostedZoneInput",
")",
"SetHostedZoneConfig",
"(",
"v",
"*",
"HostedZoneConfig",
")",
"*",
"CreateHostedZoneInput",
"{",
"s",
".",
"HostedZoneConfig",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetHostedZoneConfig sets the HostedZoneConfig field's value. | [
"SetHostedZoneConfig",
"sets",
"the",
"HostedZoneConfig",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L7104-L7107 |
167,047 | aws/aws-sdk-go | service/route53/api.go | SetNameServers | func (s *DelegationSet) SetNameServers(v []*string) *DelegationSet {
s.NameServers = v
return s
} | go | func (s *DelegationSet) SetNameServers(v []*string) *DelegationSet {
s.NameServers = v
return s
} | [
"func",
"(",
"s",
"*",
"DelegationSet",
")",
"SetNameServers",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"DelegationSet",
"{",
"s",
".",
"NameServers",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetNameServers sets the NameServers field's value. | [
"SetNameServers",
"sets",
"the",
"NameServers",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L7881-L7884 |
167,048 | aws/aws-sdk-go | service/route53/api.go | SetContinentName | func (s *GeoLocationDetails) SetContinentName(v string) *GeoLocationDetails {
s.ContinentName = &v
return s
} | go | func (s *GeoLocationDetails) SetContinentName(v string) *GeoLocationDetails {
s.ContinentName = &v
return s
} | [
"func",
"(",
"s",
"*",
"GeoLocationDetails",
")",
"SetContinentName",
"(",
"v",
"string",
")",
"*",
"GeoLocationDetails",
"{",
"s",
".",
"ContinentName",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetContinentName sets the ContinentName field's value. | [
"SetContinentName",
"sets",
"the",
"ContinentName",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L8591-L8594 |
167,049 | aws/aws-sdk-go | service/route53/api.go | SetSubdivisionName | func (s *GeoLocationDetails) SetSubdivisionName(v string) *GeoLocationDetails {
s.SubdivisionName = &v
return s
} | go | func (s *GeoLocationDetails) SetSubdivisionName(v string) *GeoLocationDetails {
s.SubdivisionName = &v
return s
} | [
"func",
"(",
"s",
"*",
"GeoLocationDetails",
")",
"SetSubdivisionName",
"(",
"v",
"string",
")",
"*",
"GeoLocationDetails",
"{",
"s",
".",
"SubdivisionName",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetSubdivisionName sets the SubdivisionName field's value. | [
"SetSubdivisionName",
"sets",
"the",
"SubdivisionName",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L8615-L8618 |
167,050 | aws/aws-sdk-go | service/route53/api.go | SetCheckerIpRanges | func (s *GetCheckerIpRangesOutput) SetCheckerIpRanges(v []*string) *GetCheckerIpRangesOutput {
s.CheckerIpRanges = v
return s
} | go | func (s *GetCheckerIpRangesOutput) SetCheckerIpRanges(v []*string) *GetCheckerIpRangesOutput {
s.CheckerIpRanges = v
return s
} | [
"func",
"(",
"s",
"*",
"GetCheckerIpRangesOutput",
")",
"SetCheckerIpRanges",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"GetCheckerIpRangesOutput",
"{",
"s",
".",
"CheckerIpRanges",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetCheckerIpRanges sets the CheckerIpRanges field's value. | [
"SetCheckerIpRanges",
"sets",
"the",
"CheckerIpRanges",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L8830-L8833 |
167,051 | aws/aws-sdk-go | service/route53/api.go | SetGeoLocationDetails | func (s *GetGeoLocationOutput) SetGeoLocationDetails(v *GeoLocationDetails) *GetGeoLocationOutput {
s.GeoLocationDetails = v
return s
} | go | func (s *GetGeoLocationOutput) SetGeoLocationDetails(v *GeoLocationDetails) *GetGeoLocationOutput {
s.GeoLocationDetails = v
return s
} | [
"func",
"(",
"s",
"*",
"GetGeoLocationOutput",
")",
"SetGeoLocationDetails",
"(",
"v",
"*",
"GeoLocationDetails",
")",
"*",
"GetGeoLocationOutput",
"{",
"s",
".",
"GeoLocationDetails",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetGeoLocationDetails sets the GeoLocationDetails field's value. | [
"SetGeoLocationDetails",
"sets",
"the",
"GeoLocationDetails",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L8938-L8941 |
167,052 | aws/aws-sdk-go | service/route53/api.go | SetHealthCheckCount | func (s *GetHealthCheckCountOutput) SetHealthCheckCount(v int64) *GetHealthCheckCountOutput {
s.HealthCheckCount = &v
return s
} | go | func (s *GetHealthCheckCountOutput) SetHealthCheckCount(v int64) *GetHealthCheckCountOutput {
s.HealthCheckCount = &v
return s
} | [
"func",
"(",
"s",
"*",
"GetHealthCheckCountOutput",
")",
"SetHealthCheckCount",
"(",
"v",
"int64",
")",
"*",
"GetHealthCheckCountOutput",
"{",
"s",
".",
"HealthCheckCount",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetHealthCheckCount sets the HealthCheckCount field's value. | [
"SetHealthCheckCount",
"sets",
"the",
"HealthCheckCount",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L8980-L8983 |
167,053 | aws/aws-sdk-go | service/route53/api.go | SetHostedZoneCount | func (s *GetHostedZoneCountOutput) SetHostedZoneCount(v int64) *GetHostedZoneCountOutput {
s.HostedZoneCount = &v
return s
} | go | func (s *GetHostedZoneCountOutput) SetHostedZoneCount(v int64) *GetHostedZoneCountOutput {
s.HostedZoneCount = &v
return s
} | [
"func",
"(",
"s",
"*",
"GetHostedZoneCountOutput",
")",
"SetHostedZoneCount",
"(",
"v",
"int64",
")",
"*",
"GetHostedZoneCountOutput",
"{",
"s",
".",
"HostedZoneCount",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetHostedZoneCount sets the HostedZoneCount field's value. | [
"SetHostedZoneCount",
"sets",
"the",
"HostedZoneCount",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L9246-L9249 |
167,054 | aws/aws-sdk-go | service/route53/api.go | SetTrafficPolicyInstanceCount | func (s *GetTrafficPolicyInstanceCountOutput) SetTrafficPolicyInstanceCount(v int64) *GetTrafficPolicyInstanceCountOutput {
s.TrafficPolicyInstanceCount = &v
return s
} | go | func (s *GetTrafficPolicyInstanceCountOutput) SetTrafficPolicyInstanceCount(v int64) *GetTrafficPolicyInstanceCountOutput {
s.TrafficPolicyInstanceCount = &v
return s
} | [
"func",
"(",
"s",
"*",
"GetTrafficPolicyInstanceCountOutput",
")",
"SetTrafficPolicyInstanceCount",
"(",
"v",
"int64",
")",
"*",
"GetTrafficPolicyInstanceCountOutput",
"{",
"s",
".",
"TrafficPolicyInstanceCount",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetTrafficPolicyInstanceCount sets the TrafficPolicyInstanceCount field's value. | [
"SetTrafficPolicyInstanceCount",
"sets",
"the",
"TrafficPolicyInstanceCount",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L9788-L9791 |
167,055 | aws/aws-sdk-go | service/route53/api.go | SetCloudWatchAlarmConfiguration | func (s *HealthCheck) SetCloudWatchAlarmConfiguration(v *CloudWatchAlarmConfiguration) *HealthCheck {
s.CloudWatchAlarmConfiguration = v
return s
} | go | func (s *HealthCheck) SetCloudWatchAlarmConfiguration(v *CloudWatchAlarmConfiguration) *HealthCheck {
s.CloudWatchAlarmConfiguration = v
return s
} | [
"func",
"(",
"s",
"*",
"HealthCheck",
")",
"SetCloudWatchAlarmConfiguration",
"(",
"v",
"*",
"CloudWatchAlarmConfiguration",
")",
"*",
"HealthCheck",
"{",
"s",
".",
"CloudWatchAlarmConfiguration",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetCloudWatchAlarmConfiguration sets the CloudWatchAlarmConfiguration field's value. | [
"SetCloudWatchAlarmConfiguration",
"sets",
"the",
"CloudWatchAlarmConfiguration",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L9945-L9948 |
167,056 | aws/aws-sdk-go | service/route53/api.go | SetMeasureLatency | func (s *HealthCheckConfig) SetMeasureLatency(v bool) *HealthCheckConfig {
s.MeasureLatency = &v
return s
} | go | func (s *HealthCheckConfig) SetMeasureLatency(v bool) *HealthCheckConfig {
s.MeasureLatency = &v
return s
} | [
"func",
"(",
"s",
"*",
"HealthCheckConfig",
")",
"SetMeasureLatency",
"(",
"v",
"bool",
")",
"*",
"HealthCheckConfig",
"{",
"s",
".",
"MeasureLatency",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetMeasureLatency sets the MeasureLatency field's value. | [
"SetMeasureLatency",
"sets",
"the",
"MeasureLatency",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L10368-L10371 |
167,057 | aws/aws-sdk-go | service/route53/api.go | SetRequestInterval | func (s *HealthCheckConfig) SetRequestInterval(v int64) *HealthCheckConfig {
s.RequestInterval = &v
return s
} | go | func (s *HealthCheckConfig) SetRequestInterval(v int64) *HealthCheckConfig {
s.RequestInterval = &v
return s
} | [
"func",
"(",
"s",
"*",
"HealthCheckConfig",
")",
"SetRequestInterval",
"(",
"v",
"int64",
")",
"*",
"HealthCheckConfig",
"{",
"s",
".",
"RequestInterval",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetRequestInterval sets the RequestInterval field's value. | [
"SetRequestInterval",
"sets",
"the",
"RequestInterval",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L10386-L10389 |
167,058 | aws/aws-sdk-go | service/route53/api.go | SetStatusReport | func (s *HealthCheckObservation) SetStatusReport(v *StatusReport) *HealthCheckObservation {
s.StatusReport = v
return s
} | go | func (s *HealthCheckObservation) SetStatusReport(v *StatusReport) *HealthCheckObservation {
s.StatusReport = v
return s
} | [
"func",
"(",
"s",
"*",
"HealthCheckObservation",
")",
"SetStatusReport",
"(",
"v",
"*",
"StatusReport",
")",
"*",
"HealthCheckObservation",
"{",
"s",
".",
"StatusReport",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetStatusReport sets the StatusReport field's value. | [
"SetStatusReport",
"sets",
"the",
"StatusReport",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L10450-L10453 |
167,059 | aws/aws-sdk-go | service/route53/api.go | SetResourceRecordSetCount | func (s *HostedZone) SetResourceRecordSetCount(v int64) *HostedZone {
s.ResourceRecordSetCount = &v
return s
} | go | func (s *HostedZone) SetResourceRecordSetCount(v int64) *HostedZone {
s.ResourceRecordSetCount = &v
return s
} | [
"func",
"(",
"s",
"*",
"HostedZone",
")",
"SetResourceRecordSetCount",
"(",
"v",
"int64",
")",
"*",
"HostedZone",
"{",
"s",
".",
"ResourceRecordSetCount",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetResourceRecordSetCount sets the ResourceRecordSetCount field's value. | [
"SetResourceRecordSetCount",
"sets",
"the",
"ResourceRecordSetCount",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L10536-L10539 |
167,060 | aws/aws-sdk-go | service/route53/api.go | SetPrivateZone | func (s *HostedZoneConfig) SetPrivateZone(v bool) *HostedZoneConfig {
s.PrivateZone = &v
return s
} | go | func (s *HostedZoneConfig) SetPrivateZone(v bool) *HostedZoneConfig {
s.PrivateZone = &v
return s
} | [
"func",
"(",
"s",
"*",
"HostedZoneConfig",
")",
"SetPrivateZone",
"(",
"v",
"bool",
")",
"*",
"HostedZoneConfig",
"{",
"s",
".",
"PrivateZone",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetPrivateZone sets the PrivateZone field's value. | [
"SetPrivateZone",
"sets",
"the",
"PrivateZone",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L10571-L10574 |
167,061 | aws/aws-sdk-go | service/route53/api.go | SetStartContinentCode | func (s *ListGeoLocationsInput) SetStartContinentCode(v string) *ListGeoLocationsInput {
s.StartContinentCode = &v
return s
} | go | func (s *ListGeoLocationsInput) SetStartContinentCode(v string) *ListGeoLocationsInput {
s.StartContinentCode = &v
return s
} | [
"func",
"(",
"s",
"*",
"ListGeoLocationsInput",
")",
"SetStartContinentCode",
"(",
"v",
"string",
")",
"*",
"ListGeoLocationsInput",
"{",
"s",
".",
"StartContinentCode",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetStartContinentCode sets the StartContinentCode field's value. | [
"SetStartContinentCode",
"sets",
"the",
"StartContinentCode",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L10739-L10742 |
167,062 | aws/aws-sdk-go | service/route53/api.go | SetStartCountryCode | func (s *ListGeoLocationsInput) SetStartCountryCode(v string) *ListGeoLocationsInput {
s.StartCountryCode = &v
return s
} | go | func (s *ListGeoLocationsInput) SetStartCountryCode(v string) *ListGeoLocationsInput {
s.StartCountryCode = &v
return s
} | [
"func",
"(",
"s",
"*",
"ListGeoLocationsInput",
")",
"SetStartCountryCode",
"(",
"v",
"string",
")",
"*",
"ListGeoLocationsInput",
"{",
"s",
".",
"StartCountryCode",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetStartCountryCode sets the StartCountryCode field's value. | [
"SetStartCountryCode",
"sets",
"the",
"StartCountryCode",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L10745-L10748 |
167,063 | aws/aws-sdk-go | service/route53/api.go | SetStartSubdivisionCode | func (s *ListGeoLocationsInput) SetStartSubdivisionCode(v string) *ListGeoLocationsInput {
s.StartSubdivisionCode = &v
return s
} | go | func (s *ListGeoLocationsInput) SetStartSubdivisionCode(v string) *ListGeoLocationsInput {
s.StartSubdivisionCode = &v
return s
} | [
"func",
"(",
"s",
"*",
"ListGeoLocationsInput",
")",
"SetStartSubdivisionCode",
"(",
"v",
"string",
")",
"*",
"ListGeoLocationsInput",
"{",
"s",
".",
"StartSubdivisionCode",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetStartSubdivisionCode sets the StartSubdivisionCode field's value. | [
"SetStartSubdivisionCode",
"sets",
"the",
"StartSubdivisionCode",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L10751-L10754 |
167,064 | aws/aws-sdk-go | service/route53/api.go | SetGeoLocationDetailsList | func (s *ListGeoLocationsOutput) SetGeoLocationDetailsList(v []*GeoLocationDetails) *ListGeoLocationsOutput {
s.GeoLocationDetailsList = v
return s
} | go | func (s *ListGeoLocationsOutput) SetGeoLocationDetailsList(v []*GeoLocationDetails) *ListGeoLocationsOutput {
s.GeoLocationDetailsList = v
return s
} | [
"func",
"(",
"s",
"*",
"ListGeoLocationsOutput",
")",
"SetGeoLocationDetailsList",
"(",
"v",
"[",
"]",
"*",
"GeoLocationDetails",
")",
"*",
"ListGeoLocationsOutput",
"{",
"s",
".",
"GeoLocationDetailsList",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetGeoLocationDetailsList sets the GeoLocationDetailsList field's value. | [
"SetGeoLocationDetailsList",
"sets",
"the",
"GeoLocationDetailsList",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L10807-L10810 |
167,065 | aws/aws-sdk-go | service/route53/api.go | SetNextContinentCode | func (s *ListGeoLocationsOutput) SetNextContinentCode(v string) *ListGeoLocationsOutput {
s.NextContinentCode = &v
return s
} | go | func (s *ListGeoLocationsOutput) SetNextContinentCode(v string) *ListGeoLocationsOutput {
s.NextContinentCode = &v
return s
} | [
"func",
"(",
"s",
"*",
"ListGeoLocationsOutput",
")",
"SetNextContinentCode",
"(",
"v",
"string",
")",
"*",
"ListGeoLocationsOutput",
"{",
"s",
".",
"NextContinentCode",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetNextContinentCode sets the NextContinentCode field's value. | [
"SetNextContinentCode",
"sets",
"the",
"NextContinentCode",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L10825-L10828 |
167,066 | aws/aws-sdk-go | service/route53/api.go | SetNextCountryCode | func (s *ListGeoLocationsOutput) SetNextCountryCode(v string) *ListGeoLocationsOutput {
s.NextCountryCode = &v
return s
} | go | func (s *ListGeoLocationsOutput) SetNextCountryCode(v string) *ListGeoLocationsOutput {
s.NextCountryCode = &v
return s
} | [
"func",
"(",
"s",
"*",
"ListGeoLocationsOutput",
")",
"SetNextCountryCode",
"(",
"v",
"string",
")",
"*",
"ListGeoLocationsOutput",
"{",
"s",
".",
"NextCountryCode",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetNextCountryCode sets the NextCountryCode field's value. | [
"SetNextCountryCode",
"sets",
"the",
"NextCountryCode",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L10831-L10834 |
167,067 | aws/aws-sdk-go | service/route53/api.go | SetNextSubdivisionCode | func (s *ListGeoLocationsOutput) SetNextSubdivisionCode(v string) *ListGeoLocationsOutput {
s.NextSubdivisionCode = &v
return s
} | go | func (s *ListGeoLocationsOutput) SetNextSubdivisionCode(v string) *ListGeoLocationsOutput {
s.NextSubdivisionCode = &v
return s
} | [
"func",
"(",
"s",
"*",
"ListGeoLocationsOutput",
")",
"SetNextSubdivisionCode",
"(",
"v",
"string",
")",
"*",
"ListGeoLocationsOutput",
"{",
"s",
".",
"NextSubdivisionCode",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetNextSubdivisionCode sets the NextSubdivisionCode field's value. | [
"SetNextSubdivisionCode",
"sets",
"the",
"NextSubdivisionCode",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L10837-L10840 |
167,068 | aws/aws-sdk-go | service/route53/api.go | SetHealthChecks | func (s *ListHealthChecksOutput) SetHealthChecks(v []*HealthCheck) *ListHealthChecksOutput {
s.HealthChecks = v
return s
} | go | func (s *ListHealthChecksOutput) SetHealthChecks(v []*HealthCheck) *ListHealthChecksOutput {
s.HealthChecks = v
return s
} | [
"func",
"(",
"s",
"*",
"ListHealthChecksOutput",
")",
"SetHealthChecks",
"(",
"v",
"[",
"]",
"*",
"HealthCheck",
")",
"*",
"ListHealthChecksOutput",
"{",
"s",
".",
"HealthChecks",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetHealthChecks sets the HealthChecks field's value. | [
"SetHealthChecks",
"sets",
"the",
"HealthChecks",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L10934-L10937 |
167,069 | aws/aws-sdk-go | service/route53/api.go | SetNextDNSName | func (s *ListHostedZonesByNameOutput) SetNextDNSName(v string) *ListHostedZonesByNameOutput {
s.NextDNSName = &v
return s
} | go | func (s *ListHostedZonesByNameOutput) SetNextDNSName(v string) *ListHostedZonesByNameOutput {
s.NextDNSName = &v
return s
} | [
"func",
"(",
"s",
"*",
"ListHostedZonesByNameOutput",
")",
"SetNextDNSName",
"(",
"v",
"string",
")",
"*",
"ListHostedZonesByNameOutput",
"{",
"s",
".",
"NextDNSName",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetNextDNSName sets the NextDNSName field's value. | [
"SetNextDNSName",
"sets",
"the",
"NextDNSName",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L11114-L11117 |
167,070 | aws/aws-sdk-go | service/route53/api.go | SetNextHostedZoneId | func (s *ListHostedZonesByNameOutput) SetNextHostedZoneId(v string) *ListHostedZonesByNameOutput {
s.NextHostedZoneId = &v
return s
} | go | func (s *ListHostedZonesByNameOutput) SetNextHostedZoneId(v string) *ListHostedZonesByNameOutput {
s.NextHostedZoneId = &v
return s
} | [
"func",
"(",
"s",
"*",
"ListHostedZonesByNameOutput",
")",
"SetNextHostedZoneId",
"(",
"v",
"string",
")",
"*",
"ListHostedZonesByNameOutput",
"{",
"s",
".",
"NextHostedZoneId",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetNextHostedZoneId sets the NextHostedZoneId field's value. | [
"SetNextHostedZoneId",
"sets",
"the",
"NextHostedZoneId",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L11120-L11123 |
167,071 | aws/aws-sdk-go | service/route53/api.go | SetQueryLoggingConfigs | func (s *ListQueryLoggingConfigsOutput) SetQueryLoggingConfigs(v []*QueryLoggingConfig) *ListQueryLoggingConfigsOutput {
s.QueryLoggingConfigs = v
return s
} | go | func (s *ListQueryLoggingConfigsOutput) SetQueryLoggingConfigs(v []*QueryLoggingConfig) *ListQueryLoggingConfigsOutput {
s.QueryLoggingConfigs = v
return s
} | [
"func",
"(",
"s",
"*",
"ListQueryLoggingConfigsOutput",
")",
"SetQueryLoggingConfigs",
"(",
"v",
"[",
"]",
"*",
"QueryLoggingConfig",
")",
"*",
"ListQueryLoggingConfigsOutput",
"{",
"s",
".",
"QueryLoggingConfigs",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetQueryLoggingConfigs sets the QueryLoggingConfigs field's value. | [
"SetQueryLoggingConfigs",
"sets",
"the",
"QueryLoggingConfigs",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L11354-L11357 |
167,072 | aws/aws-sdk-go | service/route53/api.go | SetStartRecordIdentifier | func (s *ListResourceRecordSetsInput) SetStartRecordIdentifier(v string) *ListResourceRecordSetsInput {
s.StartRecordIdentifier = &v
return s
} | go | func (s *ListResourceRecordSetsInput) SetStartRecordIdentifier(v string) *ListResourceRecordSetsInput {
s.StartRecordIdentifier = &v
return s
} | [
"func",
"(",
"s",
"*",
"ListResourceRecordSetsInput",
")",
"SetStartRecordIdentifier",
"(",
"v",
"string",
")",
"*",
"ListResourceRecordSetsInput",
"{",
"s",
".",
"StartRecordIdentifier",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetStartRecordIdentifier sets the StartRecordIdentifier field's value. | [
"SetStartRecordIdentifier",
"sets",
"the",
"StartRecordIdentifier",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L11460-L11463 |
167,073 | aws/aws-sdk-go | service/route53/api.go | SetStartRecordName | func (s *ListResourceRecordSetsInput) SetStartRecordName(v string) *ListResourceRecordSetsInput {
s.StartRecordName = &v
return s
} | go | func (s *ListResourceRecordSetsInput) SetStartRecordName(v string) *ListResourceRecordSetsInput {
s.StartRecordName = &v
return s
} | [
"func",
"(",
"s",
"*",
"ListResourceRecordSetsInput",
")",
"SetStartRecordName",
"(",
"v",
"string",
")",
"*",
"ListResourceRecordSetsInput",
"{",
"s",
".",
"StartRecordName",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetStartRecordName sets the StartRecordName field's value. | [
"SetStartRecordName",
"sets",
"the",
"StartRecordName",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L11466-L11469 |
167,074 | aws/aws-sdk-go | service/route53/api.go | SetStartRecordType | func (s *ListResourceRecordSetsInput) SetStartRecordType(v string) *ListResourceRecordSetsInput {
s.StartRecordType = &v
return s
} | go | func (s *ListResourceRecordSetsInput) SetStartRecordType(v string) *ListResourceRecordSetsInput {
s.StartRecordType = &v
return s
} | [
"func",
"(",
"s",
"*",
"ListResourceRecordSetsInput",
")",
"SetStartRecordType",
"(",
"v",
"string",
")",
"*",
"ListResourceRecordSetsInput",
"{",
"s",
".",
"StartRecordType",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetStartRecordType sets the StartRecordType field's value. | [
"SetStartRecordType",
"sets",
"the",
"StartRecordType",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L11472-L11475 |
167,075 | aws/aws-sdk-go | service/route53/api.go | SetNextRecordIdentifier | func (s *ListResourceRecordSetsOutput) SetNextRecordIdentifier(v string) *ListResourceRecordSetsOutput {
s.NextRecordIdentifier = &v
return s
} | go | func (s *ListResourceRecordSetsOutput) SetNextRecordIdentifier(v string) *ListResourceRecordSetsOutput {
s.NextRecordIdentifier = &v
return s
} | [
"func",
"(",
"s",
"*",
"ListResourceRecordSetsOutput",
")",
"SetNextRecordIdentifier",
"(",
"v",
"string",
")",
"*",
"ListResourceRecordSetsOutput",
"{",
"s",
".",
"NextRecordIdentifier",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetNextRecordIdentifier sets the NextRecordIdentifier field's value. | [
"SetNextRecordIdentifier",
"sets",
"the",
"NextRecordIdentifier",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L11540-L11543 |
167,076 | aws/aws-sdk-go | service/route53/api.go | SetNextRecordName | func (s *ListResourceRecordSetsOutput) SetNextRecordName(v string) *ListResourceRecordSetsOutput {
s.NextRecordName = &v
return s
} | go | func (s *ListResourceRecordSetsOutput) SetNextRecordName(v string) *ListResourceRecordSetsOutput {
s.NextRecordName = &v
return s
} | [
"func",
"(",
"s",
"*",
"ListResourceRecordSetsOutput",
")",
"SetNextRecordName",
"(",
"v",
"string",
")",
"*",
"ListResourceRecordSetsOutput",
"{",
"s",
".",
"NextRecordName",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetNextRecordName sets the NextRecordName field's value. | [
"SetNextRecordName",
"sets",
"the",
"NextRecordName",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L11546-L11549 |
167,077 | aws/aws-sdk-go | service/route53/api.go | SetNextRecordType | func (s *ListResourceRecordSetsOutput) SetNextRecordType(v string) *ListResourceRecordSetsOutput {
s.NextRecordType = &v
return s
} | go | func (s *ListResourceRecordSetsOutput) SetNextRecordType(v string) *ListResourceRecordSetsOutput {
s.NextRecordType = &v
return s
} | [
"func",
"(",
"s",
"*",
"ListResourceRecordSetsOutput",
")",
"SetNextRecordType",
"(",
"v",
"string",
")",
"*",
"ListResourceRecordSetsOutput",
"{",
"s",
".",
"NextRecordType",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetNextRecordType sets the NextRecordType field's value. | [
"SetNextRecordType",
"sets",
"the",
"NextRecordType",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L11552-L11555 |
167,078 | aws/aws-sdk-go | service/route53/api.go | SetResourceRecordSets | func (s *ListResourceRecordSetsOutput) SetResourceRecordSets(v []*ResourceRecordSet) *ListResourceRecordSetsOutput {
s.ResourceRecordSets = v
return s
} | go | func (s *ListResourceRecordSetsOutput) SetResourceRecordSets(v []*ResourceRecordSet) *ListResourceRecordSetsOutput {
s.ResourceRecordSets = v
return s
} | [
"func",
"(",
"s",
"*",
"ListResourceRecordSetsOutput",
")",
"SetResourceRecordSets",
"(",
"v",
"[",
"]",
"*",
"ResourceRecordSet",
")",
"*",
"ListResourceRecordSetsOutput",
"{",
"s",
".",
"ResourceRecordSets",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetResourceRecordSets sets the ResourceRecordSets field's value. | [
"SetResourceRecordSets",
"sets",
"the",
"ResourceRecordSets",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L11558-L11561 |
167,079 | aws/aws-sdk-go | service/route53/api.go | SetDelegationSets | func (s *ListReusableDelegationSetsOutput) SetDelegationSets(v []*DelegationSet) *ListReusableDelegationSetsOutput {
s.DelegationSets = v
return s
} | go | func (s *ListReusableDelegationSetsOutput) SetDelegationSets(v []*DelegationSet) *ListReusableDelegationSetsOutput {
s.DelegationSets = v
return s
} | [
"func",
"(",
"s",
"*",
"ListReusableDelegationSetsOutput",
")",
"SetDelegationSets",
"(",
"v",
"[",
"]",
"*",
"DelegationSet",
")",
"*",
"ListReusableDelegationSetsOutput",
"{",
"s",
".",
"DelegationSets",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDelegationSets sets the DelegationSets field's value. | [
"SetDelegationSets",
"sets",
"the",
"DelegationSets",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L11655-L11658 |
167,080 | aws/aws-sdk-go | service/route53/api.go | SetResourceTagSet | func (s *ListTagsForResourceOutput) SetResourceTagSet(v *ResourceTagSet) *ListTagsForResourceOutput {
s.ResourceTagSet = v
return s
} | go | func (s *ListTagsForResourceOutput) SetResourceTagSet(v *ResourceTagSet) *ListTagsForResourceOutput {
s.ResourceTagSet = v
return s
} | [
"func",
"(",
"s",
"*",
"ListTagsForResourceOutput",
")",
"SetResourceTagSet",
"(",
"v",
"*",
"ResourceTagSet",
")",
"*",
"ListTagsForResourceOutput",
"{",
"s",
".",
"ResourceTagSet",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetResourceTagSet sets the ResourceTagSet field's value. | [
"SetResourceTagSet",
"sets",
"the",
"ResourceTagSet",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L11770-L11773 |
167,081 | aws/aws-sdk-go | service/route53/api.go | SetResourceTagSets | func (s *ListTagsForResourcesOutput) SetResourceTagSets(v []*ResourceTagSet) *ListTagsForResourcesOutput {
s.ResourceTagSets = v
return s
} | go | func (s *ListTagsForResourcesOutput) SetResourceTagSets(v []*ResourceTagSet) *ListTagsForResourcesOutput {
s.ResourceTagSets = v
return s
} | [
"func",
"(",
"s",
"*",
"ListTagsForResourcesOutput",
")",
"SetResourceTagSets",
"(",
"v",
"[",
"]",
"*",
"ResourceTagSet",
")",
"*",
"ListTagsForResourcesOutput",
"{",
"s",
".",
"ResourceTagSets",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetResourceTagSets sets the ResourceTagSets field's value. | [
"SetResourceTagSets",
"sets",
"the",
"ResourceTagSets",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L11861-L11864 |
167,082 | aws/aws-sdk-go | service/route53/api.go | SetTrafficPolicySummaries | func (s *ListTrafficPoliciesOutput) SetTrafficPolicySummaries(v []*TrafficPolicySummary) *ListTrafficPoliciesOutput {
s.TrafficPolicySummaries = v
return s
} | go | func (s *ListTrafficPoliciesOutput) SetTrafficPolicySummaries(v []*TrafficPolicySummary) *ListTrafficPoliciesOutput {
s.TrafficPolicySummaries = v
return s
} | [
"func",
"(",
"s",
"*",
"ListTrafficPoliciesOutput",
")",
"SetTrafficPolicySummaries",
"(",
"v",
"[",
"]",
"*",
"TrafficPolicySummary",
")",
"*",
"ListTrafficPoliciesOutput",
"{",
"s",
".",
"TrafficPolicySummaries",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetTrafficPolicySummaries sets the TrafficPolicySummaries field's value. | [
"SetTrafficPolicySummaries",
"sets",
"the",
"TrafficPolicySummaries",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L11984-L11987 |
167,083 | aws/aws-sdk-go | service/route53/api.go | SetTrafficPolicies | func (s *ListTrafficPolicyVersionsOutput) SetTrafficPolicies(v []*TrafficPolicy) *ListTrafficPolicyVersionsOutput {
s.TrafficPolicies = v
return s
} | go | func (s *ListTrafficPolicyVersionsOutput) SetTrafficPolicies(v []*TrafficPolicy) *ListTrafficPolicyVersionsOutput {
s.TrafficPolicies = v
return s
} | [
"func",
"(",
"s",
"*",
"ListTrafficPolicyVersionsOutput",
")",
"SetTrafficPolicies",
"(",
"v",
"[",
"]",
"*",
"TrafficPolicy",
")",
"*",
"ListTrafficPolicyVersionsOutput",
"{",
"s",
".",
"TrafficPolicies",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetTrafficPolicies sets the TrafficPolicies field's value. | [
"SetTrafficPolicies",
"sets",
"the",
"TrafficPolicies",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L12670-L12673 |
167,084 | aws/aws-sdk-go | service/route53/api.go | SetAliasTarget | func (s *ResourceRecordSet) SetAliasTarget(v *AliasTarget) *ResourceRecordSet {
s.AliasTarget = v
return s
} | go | func (s *ResourceRecordSet) SetAliasTarget(v *AliasTarget) *ResourceRecordSet {
s.AliasTarget = v
return s
} | [
"func",
"(",
"s",
"*",
"ResourceRecordSet",
")",
"SetAliasTarget",
"(",
"v",
"*",
"AliasTarget",
")",
"*",
"ResourceRecordSet",
"{",
"s",
".",
"AliasTarget",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAliasTarget sets the AliasTarget field's value. | [
"SetAliasTarget",
"sets",
"the",
"AliasTarget",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L13409-L13412 |
167,085 | aws/aws-sdk-go | service/route53/api.go | SetFailover | func (s *ResourceRecordSet) SetFailover(v string) *ResourceRecordSet {
s.Failover = &v
return s
} | go | func (s *ResourceRecordSet) SetFailover(v string) *ResourceRecordSet {
s.Failover = &v
return s
} | [
"func",
"(",
"s",
"*",
"ResourceRecordSet",
")",
"SetFailover",
"(",
"v",
"string",
")",
"*",
"ResourceRecordSet",
"{",
"s",
".",
"Failover",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetFailover sets the Failover field's value. | [
"SetFailover",
"sets",
"the",
"Failover",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L13415-L13418 |
167,086 | aws/aws-sdk-go | service/route53/api.go | SetMultiValueAnswer | func (s *ResourceRecordSet) SetMultiValueAnswer(v bool) *ResourceRecordSet {
s.MultiValueAnswer = &v
return s
} | go | func (s *ResourceRecordSet) SetMultiValueAnswer(v bool) *ResourceRecordSet {
s.MultiValueAnswer = &v
return s
} | [
"func",
"(",
"s",
"*",
"ResourceRecordSet",
")",
"SetMultiValueAnswer",
"(",
"v",
"bool",
")",
"*",
"ResourceRecordSet",
"{",
"s",
".",
"MultiValueAnswer",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetMultiValueAnswer sets the MultiValueAnswer field's value. | [
"SetMultiValueAnswer",
"sets",
"the",
"MultiValueAnswer",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L13433-L13436 |
167,087 | aws/aws-sdk-go | service/route53/api.go | SetResourceRecords | func (s *ResourceRecordSet) SetResourceRecords(v []*ResourceRecord) *ResourceRecordSet {
s.ResourceRecords = v
return s
} | go | func (s *ResourceRecordSet) SetResourceRecords(v []*ResourceRecord) *ResourceRecordSet {
s.ResourceRecords = v
return s
} | [
"func",
"(",
"s",
"*",
"ResourceRecordSet",
")",
"SetResourceRecords",
"(",
"v",
"[",
"]",
"*",
"ResourceRecord",
")",
"*",
"ResourceRecordSet",
"{",
"s",
".",
"ResourceRecords",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetResourceRecords sets the ResourceRecords field's value. | [
"SetResourceRecords",
"sets",
"the",
"ResourceRecords",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L13451-L13454 |
167,088 | aws/aws-sdk-go | service/route53/api.go | SetSetIdentifier | func (s *ResourceRecordSet) SetSetIdentifier(v string) *ResourceRecordSet {
s.SetIdentifier = &v
return s
} | go | func (s *ResourceRecordSet) SetSetIdentifier(v string) *ResourceRecordSet {
s.SetIdentifier = &v
return s
} | [
"func",
"(",
"s",
"*",
"ResourceRecordSet",
")",
"SetSetIdentifier",
"(",
"v",
"string",
")",
"*",
"ResourceRecordSet",
"{",
"s",
".",
"SetIdentifier",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetSetIdentifier sets the SetIdentifier field's value. | [
"SetSetIdentifier",
"sets",
"the",
"SetIdentifier",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L13457-L13460 |
167,089 | aws/aws-sdk-go | service/route53/api.go | SetTrafficPolicyInstanceId | func (s *ResourceRecordSet) SetTrafficPolicyInstanceId(v string) *ResourceRecordSet {
s.TrafficPolicyInstanceId = &v
return s
} | go | func (s *ResourceRecordSet) SetTrafficPolicyInstanceId(v string) *ResourceRecordSet {
s.TrafficPolicyInstanceId = &v
return s
} | [
"func",
"(",
"s",
"*",
"ResourceRecordSet",
")",
"SetTrafficPolicyInstanceId",
"(",
"v",
"string",
")",
"*",
"ResourceRecordSet",
"{",
"s",
".",
"TrafficPolicyInstanceId",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetTrafficPolicyInstanceId sets the TrafficPolicyInstanceId field's value. | [
"SetTrafficPolicyInstanceId",
"sets",
"the",
"TrafficPolicyInstanceId",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L13469-L13472 |
167,090 | aws/aws-sdk-go | service/route53/api.go | SetCheckedTime | func (s *StatusReport) SetCheckedTime(v time.Time) *StatusReport {
s.CheckedTime = &v
return s
} | go | func (s *StatusReport) SetCheckedTime(v time.Time) *StatusReport {
s.CheckedTime = &v
return s
} | [
"func",
"(",
"s",
"*",
"StatusReport",
")",
"SetCheckedTime",
"(",
"v",
"time",
".",
"Time",
")",
"*",
"StatusReport",
"{",
"s",
".",
"CheckedTime",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetCheckedTime sets the CheckedTime field's value. | [
"SetCheckedTime",
"sets",
"the",
"CheckedTime",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L13599-L13602 |
167,091 | aws/aws-sdk-go | service/route53/api.go | SetEDNS0ClientSubnetIP | func (s *TestDNSAnswerInput) SetEDNS0ClientSubnetIP(v string) *TestDNSAnswerInput {
s.EDNS0ClientSubnetIP = &v
return s
} | go | func (s *TestDNSAnswerInput) SetEDNS0ClientSubnetIP(v string) *TestDNSAnswerInput {
s.EDNS0ClientSubnetIP = &v
return s
} | [
"func",
"(",
"s",
"*",
"TestDNSAnswerInput",
")",
"SetEDNS0ClientSubnetIP",
"(",
"v",
"string",
")",
"*",
"TestDNSAnswerInput",
"{",
"s",
".",
"EDNS0ClientSubnetIP",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetEDNS0ClientSubnetIP sets the EDNS0ClientSubnetIP field's value. | [
"SetEDNS0ClientSubnetIP",
"sets",
"the",
"EDNS0ClientSubnetIP",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L13741-L13744 |
167,092 | aws/aws-sdk-go | service/route53/api.go | SetEDNS0ClientSubnetMask | func (s *TestDNSAnswerInput) SetEDNS0ClientSubnetMask(v string) *TestDNSAnswerInput {
s.EDNS0ClientSubnetMask = &v
return s
} | go | func (s *TestDNSAnswerInput) SetEDNS0ClientSubnetMask(v string) *TestDNSAnswerInput {
s.EDNS0ClientSubnetMask = &v
return s
} | [
"func",
"(",
"s",
"*",
"TestDNSAnswerInput",
")",
"SetEDNS0ClientSubnetMask",
"(",
"v",
"string",
")",
"*",
"TestDNSAnswerInput",
"{",
"s",
".",
"EDNS0ClientSubnetMask",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetEDNS0ClientSubnetMask sets the EDNS0ClientSubnetMask field's value. | [
"SetEDNS0ClientSubnetMask",
"sets",
"the",
"EDNS0ClientSubnetMask",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L13747-L13750 |
167,093 | aws/aws-sdk-go | service/route53/api.go | SetResolverIP | func (s *TestDNSAnswerInput) SetResolverIP(v string) *TestDNSAnswerInput {
s.ResolverIP = &v
return s
} | go | func (s *TestDNSAnswerInput) SetResolverIP(v string) *TestDNSAnswerInput {
s.ResolverIP = &v
return s
} | [
"func",
"(",
"s",
"*",
"TestDNSAnswerInput",
")",
"SetResolverIP",
"(",
"v",
"string",
")",
"*",
"TestDNSAnswerInput",
"{",
"s",
".",
"ResolverIP",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetResolverIP sets the ResolverIP field's value. | [
"SetResolverIP",
"sets",
"the",
"ResolverIP",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L13771-L13774 |
167,094 | aws/aws-sdk-go | service/route53/api.go | SetNameserver | func (s *TestDNSAnswerOutput) SetNameserver(v string) *TestDNSAnswerOutput {
s.Nameserver = &v
return s
} | go | func (s *TestDNSAnswerOutput) SetNameserver(v string) *TestDNSAnswerOutput {
s.Nameserver = &v
return s
} | [
"func",
"(",
"s",
"*",
"TestDNSAnswerOutput",
")",
"SetNameserver",
"(",
"v",
"string",
")",
"*",
"TestDNSAnswerOutput",
"{",
"s",
".",
"Nameserver",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetNameserver sets the Nameserver field's value. | [
"SetNameserver",
"sets",
"the",
"Nameserver",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L13828-L13831 |
167,095 | aws/aws-sdk-go | service/route53/api.go | SetRecordData | func (s *TestDNSAnswerOutput) SetRecordData(v []*string) *TestDNSAnswerOutput {
s.RecordData = v
return s
} | go | func (s *TestDNSAnswerOutput) SetRecordData(v []*string) *TestDNSAnswerOutput {
s.RecordData = v
return s
} | [
"func",
"(",
"s",
"*",
"TestDNSAnswerOutput",
")",
"SetRecordData",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"TestDNSAnswerOutput",
"{",
"s",
".",
"RecordData",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetRecordData sets the RecordData field's value. | [
"SetRecordData",
"sets",
"the",
"RecordData",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L13840-L13843 |
167,096 | aws/aws-sdk-go | service/route53/api.go | SetTrafficPolicyType | func (s *TrafficPolicyInstance) SetTrafficPolicyType(v string) *TrafficPolicyInstance {
s.TrafficPolicyType = &v
return s
} | go | func (s *TrafficPolicyInstance) SetTrafficPolicyType(v string) *TrafficPolicyInstance {
s.TrafficPolicyType = &v
return s
} | [
"func",
"(",
"s",
"*",
"TrafficPolicyInstance",
")",
"SetTrafficPolicyType",
"(",
"v",
"string",
")",
"*",
"TrafficPolicyInstance",
"{",
"s",
".",
"TrafficPolicyType",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetTrafficPolicyType sets the TrafficPolicyType field's value. | [
"SetTrafficPolicyType",
"sets",
"the",
"TrafficPolicyType",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L14068-L14071 |
167,097 | aws/aws-sdk-go | service/route53/api.go | SetTrafficPolicyCount | func (s *TrafficPolicySummary) SetTrafficPolicyCount(v int64) *TrafficPolicySummary {
s.TrafficPolicyCount = &v
return s
} | go | func (s *TrafficPolicySummary) SetTrafficPolicyCount(v int64) *TrafficPolicySummary {
s.TrafficPolicyCount = &v
return s
} | [
"func",
"(",
"s",
"*",
"TrafficPolicySummary",
")",
"SetTrafficPolicyCount",
"(",
"v",
"int64",
")",
"*",
"TrafficPolicySummary",
"{",
"s",
".",
"TrafficPolicyCount",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetTrafficPolicyCount sets the TrafficPolicyCount field's value. | [
"SetTrafficPolicyCount",
"sets",
"the",
"TrafficPolicyCount",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L14141-L14144 |
167,098 | aws/aws-sdk-go | service/route53/api.go | SetResetElements | func (s *UpdateHealthCheckInput) SetResetElements(v []*string) *UpdateHealthCheckInput {
s.ResetElements = v
return s
} | go | func (s *UpdateHealthCheckInput) SetResetElements(v []*string) *UpdateHealthCheckInput {
s.ResetElements = v
return s
} | [
"func",
"(",
"s",
"*",
"UpdateHealthCheckInput",
")",
"SetResetElements",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"UpdateHealthCheckInput",
"{",
"s",
".",
"ResetElements",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetResetElements sets the ResetElements field's value. | [
"SetResetElements",
"sets",
"the",
"ResetElements",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L14553-L14556 |
167,099 | aws/aws-sdk-go | service/route53/api.go | SetVPCRegion | func (s *VPC) SetVPCRegion(v string) *VPC {
s.VPCRegion = &v
return s
} | go | func (s *VPC) SetVPCRegion(v string) *VPC {
s.VPCRegion = &v
return s
} | [
"func",
"(",
"s",
"*",
"VPC",
")",
"SetVPCRegion",
"(",
"v",
"string",
")",
"*",
"VPC",
"{",
"s",
".",
"VPCRegion",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetVPCRegion sets the VPCRegion field's value. | [
"SetVPCRegion",
"sets",
"the",
"VPCRegion",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53/api.go#L14941-L14944 |