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
sequence | docstring
stringlengths 6
2.61k
| docstring_tokens
sequence | sha
stringlengths 40
40
| url
stringlengths 85
252
| partition
stringclasses 1
value |
---|---|---|---|---|---|---|---|---|---|---|---|
aws/aws-sdk-go | service/marketplacemetering/api.go | SetUsageRecord | func (s *UsageRecordResult) SetUsageRecord(v *UsageRecord) *UsageRecordResult {
s.UsageRecord = v
return s
} | go | func (s *UsageRecordResult) SetUsageRecord(v *UsageRecord) *UsageRecordResult {
s.UsageRecord = v
return s
} | [
"func",
"(",
"s",
"*",
"UsageRecordResult",
")",
"SetUsageRecord",
"(",
"v",
"*",
"UsageRecord",
")",
"*",
"UsageRecordResult",
"{",
"s",
".",
"UsageRecord",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetUsageRecord sets the UsageRecord field's value. | [
"SetUsageRecord",
"sets",
"the",
"UsageRecord",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/marketplacemetering/api.go#L1014-L1017 | train |
aws/aws-sdk-go | service/ecs/api.go | SetAttachmentArn | func (s *AttachmentStateChange) SetAttachmentArn(v string) *AttachmentStateChange {
s.AttachmentArn = &v
return s
} | go | func (s *AttachmentStateChange) SetAttachmentArn(v string) *AttachmentStateChange {
s.AttachmentArn = &v
return s
} | [
"func",
"(",
"s",
"*",
"AttachmentStateChange",
")",
"SetAttachmentArn",
"(",
"v",
"string",
")",
"*",
"AttachmentStateChange",
"{",
"s",
".",
"AttachmentArn",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAttachmentArn sets the AttachmentArn field's value. | [
"SetAttachmentArn",
"sets",
"the",
"AttachmentArn",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L4961-L4964 | train |
aws/aws-sdk-go | service/ecs/api.go | SetActiveServicesCount | func (s *Cluster) SetActiveServicesCount(v int64) *Cluster {
s.ActiveServicesCount = &v
return s
} | go | func (s *Cluster) SetActiveServicesCount(v int64) *Cluster {
s.ActiveServicesCount = &v
return s
} | [
"func",
"(",
"s",
"*",
"Cluster",
")",
"SetActiveServicesCount",
"(",
"v",
"int64",
")",
"*",
"Cluster",
"{",
"s",
".",
"ActiveServicesCount",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetActiveServicesCount sets the ActiveServicesCount field's value. | [
"SetActiveServicesCount",
"sets",
"the",
"ActiveServicesCount",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L5185-L5188 | train |
aws/aws-sdk-go | service/ecs/api.go | SetRegisteredContainerInstancesCount | func (s *Cluster) SetRegisteredContainerInstancesCount(v int64) *Cluster {
s.RegisteredContainerInstancesCount = &v
return s
} | go | func (s *Cluster) SetRegisteredContainerInstancesCount(v int64) *Cluster {
s.RegisteredContainerInstancesCount = &v
return s
} | [
"func",
"(",
"s",
"*",
"Cluster",
")",
"SetRegisteredContainerInstancesCount",
"(",
"v",
"int64",
")",
"*",
"Cluster",
"{",
"s",
".",
"RegisteredContainerInstancesCount",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetRegisteredContainerInstancesCount sets the RegisteredContainerInstancesCount field's value. | [
"SetRegisteredContainerInstancesCount",
"sets",
"the",
"RegisteredContainerInstancesCount",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L5209-L5212 | train |
aws/aws-sdk-go | service/ecs/api.go | SetContainerArn | func (s *Container) SetContainerArn(v string) *Container {
s.ContainerArn = &v
return s
} | go | func (s *Container) SetContainerArn(v string) *Container {
s.ContainerArn = &v
return s
} | [
"func",
"(",
"s",
"*",
"Container",
")",
"SetContainerArn",
"(",
"v",
"string",
")",
"*",
"Container",
"{",
"s",
".",
"ContainerArn",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetContainerArn sets the ContainerArn field's value. | [
"SetContainerArn",
"sets",
"the",
"ContainerArn",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L5298-L5301 | train |
aws/aws-sdk-go | service/ecs/api.go | SetGpuIds | func (s *Container) SetGpuIds(v []*string) *Container {
s.GpuIds = v
return s
} | go | func (s *Container) SetGpuIds(v []*string) *Container {
s.GpuIds = v
return s
} | [
"func",
"(",
"s",
"*",
"Container",
")",
"SetGpuIds",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"Container",
"{",
"s",
".",
"GpuIds",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetGpuIds sets the GpuIds field's value. | [
"SetGpuIds",
"sets",
"the",
"GpuIds",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L5316-L5319 | train |
aws/aws-sdk-go | service/ecs/api.go | SetDisableNetworking | func (s *ContainerDefinition) SetDisableNetworking(v bool) *ContainerDefinition {
s.DisableNetworking = &v
return s
} | go | func (s *ContainerDefinition) SetDisableNetworking(v bool) *ContainerDefinition {
s.DisableNetworking = &v
return s
} | [
"func",
"(",
"s",
"*",
"ContainerDefinition",
")",
"SetDisableNetworking",
"(",
"v",
"bool",
")",
"*",
"ContainerDefinition",
"{",
"s",
".",
"DisableNetworking",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDisableNetworking sets the DisableNetworking field's value. | [
"SetDisableNetworking",
"sets",
"the",
"DisableNetworking",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L6026-L6029 | train |
aws/aws-sdk-go | service/ecs/api.go | SetDnsSearchDomains | func (s *ContainerDefinition) SetDnsSearchDomains(v []*string) *ContainerDefinition {
s.DnsSearchDomains = v
return s
} | go | func (s *ContainerDefinition) SetDnsSearchDomains(v []*string) *ContainerDefinition {
s.DnsSearchDomains = v
return s
} | [
"func",
"(",
"s",
"*",
"ContainerDefinition",
")",
"SetDnsSearchDomains",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"ContainerDefinition",
"{",
"s",
".",
"DnsSearchDomains",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDnsSearchDomains sets the DnsSearchDomains field's value. | [
"SetDnsSearchDomains",
"sets",
"the",
"DnsSearchDomains",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L6032-L6035 | train |
aws/aws-sdk-go | service/ecs/api.go | SetDnsServers | func (s *ContainerDefinition) SetDnsServers(v []*string) *ContainerDefinition {
s.DnsServers = v
return s
} | go | func (s *ContainerDefinition) SetDnsServers(v []*string) *ContainerDefinition {
s.DnsServers = v
return s
} | [
"func",
"(",
"s",
"*",
"ContainerDefinition",
")",
"SetDnsServers",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"ContainerDefinition",
"{",
"s",
".",
"DnsServers",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDnsServers sets the DnsServers field's value. | [
"SetDnsServers",
"sets",
"the",
"DnsServers",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L6038-L6041 | train |
aws/aws-sdk-go | service/ecs/api.go | SetDockerLabels | func (s *ContainerDefinition) SetDockerLabels(v map[string]*string) *ContainerDefinition {
s.DockerLabels = v
return s
} | go | func (s *ContainerDefinition) SetDockerLabels(v map[string]*string) *ContainerDefinition {
s.DockerLabels = v
return s
} | [
"func",
"(",
"s",
"*",
"ContainerDefinition",
")",
"SetDockerLabels",
"(",
"v",
"map",
"[",
"string",
"]",
"*",
"string",
")",
"*",
"ContainerDefinition",
"{",
"s",
".",
"DockerLabels",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDockerLabels sets the DockerLabels field's value. | [
"SetDockerLabels",
"sets",
"the",
"DockerLabels",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L6044-L6047 | train |
aws/aws-sdk-go | service/ecs/api.go | SetDockerSecurityOptions | func (s *ContainerDefinition) SetDockerSecurityOptions(v []*string) *ContainerDefinition {
s.DockerSecurityOptions = v
return s
} | go | func (s *ContainerDefinition) SetDockerSecurityOptions(v []*string) *ContainerDefinition {
s.DockerSecurityOptions = v
return s
} | [
"func",
"(",
"s",
"*",
"ContainerDefinition",
")",
"SetDockerSecurityOptions",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"ContainerDefinition",
"{",
"s",
".",
"DockerSecurityOptions",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDockerSecurityOptions sets the DockerSecurityOptions field's value. | [
"SetDockerSecurityOptions",
"sets",
"the",
"DockerSecurityOptions",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L6050-L6053 | train |
aws/aws-sdk-go | service/ecs/api.go | SetEssential | func (s *ContainerDefinition) SetEssential(v bool) *ContainerDefinition {
s.Essential = &v
return s
} | go | func (s *ContainerDefinition) SetEssential(v bool) *ContainerDefinition {
s.Essential = &v
return s
} | [
"func",
"(",
"s",
"*",
"ContainerDefinition",
")",
"SetEssential",
"(",
"v",
"bool",
")",
"*",
"ContainerDefinition",
"{",
"s",
".",
"Essential",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetEssential sets the Essential field's value. | [
"SetEssential",
"sets",
"the",
"Essential",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L6068-L6071 | train |
aws/aws-sdk-go | service/ecs/api.go | SetExtraHosts | func (s *ContainerDefinition) SetExtraHosts(v []*HostEntry) *ContainerDefinition {
s.ExtraHosts = v
return s
} | go | func (s *ContainerDefinition) SetExtraHosts(v []*HostEntry) *ContainerDefinition {
s.ExtraHosts = v
return s
} | [
"func",
"(",
"s",
"*",
"ContainerDefinition",
")",
"SetExtraHosts",
"(",
"v",
"[",
"]",
"*",
"HostEntry",
")",
"*",
"ContainerDefinition",
"{",
"s",
".",
"ExtraHosts",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetExtraHosts sets the ExtraHosts field's value. | [
"SetExtraHosts",
"sets",
"the",
"ExtraHosts",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L6074-L6077 | train |
aws/aws-sdk-go | service/ecs/api.go | SetInteractive | func (s *ContainerDefinition) SetInteractive(v bool) *ContainerDefinition {
s.Interactive = &v
return s
} | go | func (s *ContainerDefinition) SetInteractive(v bool) *ContainerDefinition {
s.Interactive = &v
return s
} | [
"func",
"(",
"s",
"*",
"ContainerDefinition",
")",
"SetInteractive",
"(",
"v",
"bool",
")",
"*",
"ContainerDefinition",
"{",
"s",
".",
"Interactive",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetInteractive sets the Interactive field's value. | [
"SetInteractive",
"sets",
"the",
"Interactive",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L6098-L6101 | train |
aws/aws-sdk-go | service/ecs/api.go | SetLinks | func (s *ContainerDefinition) SetLinks(v []*string) *ContainerDefinition {
s.Links = v
return s
} | go | func (s *ContainerDefinition) SetLinks(v []*string) *ContainerDefinition {
s.Links = v
return s
} | [
"func",
"(",
"s",
"*",
"ContainerDefinition",
")",
"SetLinks",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"ContainerDefinition",
"{",
"s",
".",
"Links",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetLinks sets the Links field's value. | [
"SetLinks",
"sets",
"the",
"Links",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L6104-L6107 | train |
aws/aws-sdk-go | service/ecs/api.go | SetLinuxParameters | func (s *ContainerDefinition) SetLinuxParameters(v *LinuxParameters) *ContainerDefinition {
s.LinuxParameters = v
return s
} | go | func (s *ContainerDefinition) SetLinuxParameters(v *LinuxParameters) *ContainerDefinition {
s.LinuxParameters = v
return s
} | [
"func",
"(",
"s",
"*",
"ContainerDefinition",
")",
"SetLinuxParameters",
"(",
"v",
"*",
"LinuxParameters",
")",
"*",
"ContainerDefinition",
"{",
"s",
".",
"LinuxParameters",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetLinuxParameters sets the LinuxParameters field's value. | [
"SetLinuxParameters",
"sets",
"the",
"LinuxParameters",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L6110-L6113 | train |
aws/aws-sdk-go | service/ecs/api.go | SetLogConfiguration | func (s *ContainerDefinition) SetLogConfiguration(v *LogConfiguration) *ContainerDefinition {
s.LogConfiguration = v
return s
} | go | func (s *ContainerDefinition) SetLogConfiguration(v *LogConfiguration) *ContainerDefinition {
s.LogConfiguration = v
return s
} | [
"func",
"(",
"s",
"*",
"ContainerDefinition",
")",
"SetLogConfiguration",
"(",
"v",
"*",
"LogConfiguration",
")",
"*",
"ContainerDefinition",
"{",
"s",
".",
"LogConfiguration",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetLogConfiguration sets the LogConfiguration field's value. | [
"SetLogConfiguration",
"sets",
"the",
"LogConfiguration",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L6116-L6119 | train |
aws/aws-sdk-go | service/ecs/api.go | SetPortMappings | func (s *ContainerDefinition) SetPortMappings(v []*PortMapping) *ContainerDefinition {
s.PortMappings = v
return s
} | go | func (s *ContainerDefinition) SetPortMappings(v []*PortMapping) *ContainerDefinition {
s.PortMappings = v
return s
} | [
"func",
"(",
"s",
"*",
"ContainerDefinition",
")",
"SetPortMappings",
"(",
"v",
"[",
"]",
"*",
"PortMapping",
")",
"*",
"ContainerDefinition",
"{",
"s",
".",
"PortMappings",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetPortMappings sets the PortMappings field's value. | [
"SetPortMappings",
"sets",
"the",
"PortMappings",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L6146-L6149 | train |
aws/aws-sdk-go | service/ecs/api.go | SetPseudoTerminal | func (s *ContainerDefinition) SetPseudoTerminal(v bool) *ContainerDefinition {
s.PseudoTerminal = &v
return s
} | go | func (s *ContainerDefinition) SetPseudoTerminal(v bool) *ContainerDefinition {
s.PseudoTerminal = &v
return s
} | [
"func",
"(",
"s",
"*",
"ContainerDefinition",
")",
"SetPseudoTerminal",
"(",
"v",
"bool",
")",
"*",
"ContainerDefinition",
"{",
"s",
".",
"PseudoTerminal",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetPseudoTerminal sets the PseudoTerminal field's value. | [
"SetPseudoTerminal",
"sets",
"the",
"PseudoTerminal",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L6158-L6161 | train |
aws/aws-sdk-go | service/ecs/api.go | SetRepositoryCredentials | func (s *ContainerDefinition) SetRepositoryCredentials(v *RepositoryCredentials) *ContainerDefinition {
s.RepositoryCredentials = v
return s
} | go | func (s *ContainerDefinition) SetRepositoryCredentials(v *RepositoryCredentials) *ContainerDefinition {
s.RepositoryCredentials = v
return s
} | [
"func",
"(",
"s",
"*",
"ContainerDefinition",
")",
"SetRepositoryCredentials",
"(",
"v",
"*",
"RepositoryCredentials",
")",
"*",
"ContainerDefinition",
"{",
"s",
".",
"RepositoryCredentials",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetRepositoryCredentials sets the RepositoryCredentials field's value. | [
"SetRepositoryCredentials",
"sets",
"the",
"RepositoryCredentials",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L6170-L6173 | train |
aws/aws-sdk-go | service/ecs/api.go | SetSecrets | func (s *ContainerDefinition) SetSecrets(v []*Secret) *ContainerDefinition {
s.Secrets = v
return s
} | go | func (s *ContainerDefinition) SetSecrets(v []*Secret) *ContainerDefinition {
s.Secrets = v
return s
} | [
"func",
"(",
"s",
"*",
"ContainerDefinition",
")",
"SetSecrets",
"(",
"v",
"[",
"]",
"*",
"Secret",
")",
"*",
"ContainerDefinition",
"{",
"s",
".",
"Secrets",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetSecrets sets the Secrets field's value. | [
"SetSecrets",
"sets",
"the",
"Secrets",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L6182-L6185 | train |
aws/aws-sdk-go | service/ecs/api.go | SetStartTimeout | func (s *ContainerDefinition) SetStartTimeout(v int64) *ContainerDefinition {
s.StartTimeout = &v
return s
} | go | func (s *ContainerDefinition) SetStartTimeout(v int64) *ContainerDefinition {
s.StartTimeout = &v
return s
} | [
"func",
"(",
"s",
"*",
"ContainerDefinition",
")",
"SetStartTimeout",
"(",
"v",
"int64",
")",
"*",
"ContainerDefinition",
"{",
"s",
".",
"StartTimeout",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetStartTimeout sets the StartTimeout field's value. | [
"SetStartTimeout",
"sets",
"the",
"StartTimeout",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L6188-L6191 | train |
aws/aws-sdk-go | service/ecs/api.go | SetStopTimeout | func (s *ContainerDefinition) SetStopTimeout(v int64) *ContainerDefinition {
s.StopTimeout = &v
return s
} | go | func (s *ContainerDefinition) SetStopTimeout(v int64) *ContainerDefinition {
s.StopTimeout = &v
return s
} | [
"func",
"(",
"s",
"*",
"ContainerDefinition",
")",
"SetStopTimeout",
"(",
"v",
"int64",
")",
"*",
"ContainerDefinition",
"{",
"s",
".",
"StopTimeout",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetStopTimeout sets the StopTimeout field's value. | [
"SetStopTimeout",
"sets",
"the",
"StopTimeout",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L6194-L6197 | train |
aws/aws-sdk-go | service/ecs/api.go | SetSystemControls | func (s *ContainerDefinition) SetSystemControls(v []*SystemControl) *ContainerDefinition {
s.SystemControls = v
return s
} | go | func (s *ContainerDefinition) SetSystemControls(v []*SystemControl) *ContainerDefinition {
s.SystemControls = v
return s
} | [
"func",
"(",
"s",
"*",
"ContainerDefinition",
")",
"SetSystemControls",
"(",
"v",
"[",
"]",
"*",
"SystemControl",
")",
"*",
"ContainerDefinition",
"{",
"s",
".",
"SystemControls",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetSystemControls sets the SystemControls field's value. | [
"SetSystemControls",
"sets",
"the",
"SystemControls",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L6200-L6203 | train |
aws/aws-sdk-go | service/ecs/api.go | SetVolumesFrom | func (s *ContainerDefinition) SetVolumesFrom(v []*VolumeFrom) *ContainerDefinition {
s.VolumesFrom = v
return s
} | go | func (s *ContainerDefinition) SetVolumesFrom(v []*VolumeFrom) *ContainerDefinition {
s.VolumesFrom = v
return s
} | [
"func",
"(",
"s",
"*",
"ContainerDefinition",
")",
"SetVolumesFrom",
"(",
"v",
"[",
"]",
"*",
"VolumeFrom",
")",
"*",
"ContainerDefinition",
"{",
"s",
".",
"VolumesFrom",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetVolumesFrom sets the VolumesFrom field's value. | [
"SetVolumesFrom",
"sets",
"the",
"VolumesFrom",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L6218-L6221 | train |
aws/aws-sdk-go | service/ecs/api.go | SetWorkingDirectory | func (s *ContainerDefinition) SetWorkingDirectory(v string) *ContainerDefinition {
s.WorkingDirectory = &v
return s
} | go | func (s *ContainerDefinition) SetWorkingDirectory(v string) *ContainerDefinition {
s.WorkingDirectory = &v
return s
} | [
"func",
"(",
"s",
"*",
"ContainerDefinition",
")",
"SetWorkingDirectory",
"(",
"v",
"string",
")",
"*",
"ContainerDefinition",
"{",
"s",
".",
"WorkingDirectory",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetWorkingDirectory sets the WorkingDirectory field's value. | [
"SetWorkingDirectory",
"sets",
"the",
"WorkingDirectory",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L6224-L6227 | train |
aws/aws-sdk-go | service/ecs/api.go | SetAgentConnected | func (s *ContainerInstance) SetAgentConnected(v bool) *ContainerInstance {
s.AgentConnected = &v
return s
} | go | func (s *ContainerInstance) SetAgentConnected(v bool) *ContainerInstance {
s.AgentConnected = &v
return s
} | [
"func",
"(",
"s",
"*",
"ContainerInstance",
")",
"SetAgentConnected",
"(",
"v",
"bool",
")",
"*",
"ContainerInstance",
"{",
"s",
".",
"AgentConnected",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAgentConnected sets the AgentConnected field's value. | [
"SetAgentConnected",
"sets",
"the",
"AgentConnected",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L6413-L6416 | train |
aws/aws-sdk-go | service/ecs/api.go | SetAgentUpdateStatus | func (s *ContainerInstance) SetAgentUpdateStatus(v string) *ContainerInstance {
s.AgentUpdateStatus = &v
return s
} | go | func (s *ContainerInstance) SetAgentUpdateStatus(v string) *ContainerInstance {
s.AgentUpdateStatus = &v
return s
} | [
"func",
"(",
"s",
"*",
"ContainerInstance",
")",
"SetAgentUpdateStatus",
"(",
"v",
"string",
")",
"*",
"ContainerInstance",
"{",
"s",
".",
"AgentUpdateStatus",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAgentUpdateStatus sets the AgentUpdateStatus field's value. | [
"SetAgentUpdateStatus",
"sets",
"the",
"AgentUpdateStatus",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L6419-L6422 | train |
aws/aws-sdk-go | service/ecs/api.go | SetRegisteredResources | func (s *ContainerInstance) SetRegisteredResources(v []*Resource) *ContainerInstance {
s.RegisteredResources = v
return s
} | go | func (s *ContainerInstance) SetRegisteredResources(v []*Resource) *ContainerInstance {
s.RegisteredResources = v
return s
} | [
"func",
"(",
"s",
"*",
"ContainerInstance",
")",
"SetRegisteredResources",
"(",
"v",
"[",
"]",
"*",
"Resource",
")",
"*",
"ContainerInstance",
"{",
"s",
".",
"RegisteredResources",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetRegisteredResources sets the RegisteredResources field's value. | [
"SetRegisteredResources",
"sets",
"the",
"RegisteredResources",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L6461-L6464 | train |
aws/aws-sdk-go | service/ecs/api.go | SetRemainingResources | func (s *ContainerInstance) SetRemainingResources(v []*Resource) *ContainerInstance {
s.RemainingResources = v
return s
} | go | func (s *ContainerInstance) SetRemainingResources(v []*Resource) *ContainerInstance {
s.RemainingResources = v
return s
} | [
"func",
"(",
"s",
"*",
"ContainerInstance",
")",
"SetRemainingResources",
"(",
"v",
"[",
"]",
"*",
"Resource",
")",
"*",
"ContainerInstance",
"{",
"s",
".",
"RemainingResources",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetRemainingResources sets the RemainingResources field's value. | [
"SetRemainingResources",
"sets",
"the",
"RemainingResources",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L6467-L6470 | train |
aws/aws-sdk-go | service/ecs/api.go | SetMaximumPercent | func (s *DeploymentConfiguration) SetMaximumPercent(v int64) *DeploymentConfiguration {
s.MaximumPercent = &v
return s
} | go | func (s *DeploymentConfiguration) SetMaximumPercent(v int64) *DeploymentConfiguration {
s.MaximumPercent = &v
return s
} | [
"func",
"(",
"s",
"*",
"DeploymentConfiguration",
")",
"SetMaximumPercent",
"(",
"v",
"int64",
")",
"*",
"DeploymentConfiguration",
"{",
"s",
".",
"MaximumPercent",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetMaximumPercent sets the MaximumPercent field's value. | [
"SetMaximumPercent",
"sets",
"the",
"MaximumPercent",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L7928-L7931 | train |
aws/aws-sdk-go | service/ecs/api.go | SetMinimumHealthyPercent | func (s *DeploymentConfiguration) SetMinimumHealthyPercent(v int64) *DeploymentConfiguration {
s.MinimumHealthyPercent = &v
return s
} | go | func (s *DeploymentConfiguration) SetMinimumHealthyPercent(v int64) *DeploymentConfiguration {
s.MinimumHealthyPercent = &v
return s
} | [
"func",
"(",
"s",
"*",
"DeploymentConfiguration",
")",
"SetMinimumHealthyPercent",
"(",
"v",
"int64",
")",
"*",
"DeploymentConfiguration",
"{",
"s",
".",
"MinimumHealthyPercent",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetMinimumHealthyPercent sets the MinimumHealthyPercent field's value. | [
"SetMinimumHealthyPercent",
"sets",
"the",
"MinimumHealthyPercent",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L7934-L7937 | train |
aws/aws-sdk-go | service/ecs/api.go | SetHostPath | func (s *Device) SetHostPath(v string) *Device {
s.HostPath = &v
return s
} | go | func (s *Device) SetHostPath(v string) *Device {
s.HostPath = &v
return s
} | [
"func",
"(",
"s",
"*",
"Device",
")",
"SetHostPath",
"(",
"v",
"string",
")",
"*",
"Device",
"{",
"s",
".",
"HostPath",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetHostPath sets the HostPath field's value. | [
"SetHostPath",
"sets",
"the",
"HostPath",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L8742-L8745 | train |
aws/aws-sdk-go | service/ecs/api.go | SetTelemetryEndpoint | func (s *DiscoverPollEndpointOutput) SetTelemetryEndpoint(v string) *DiscoverPollEndpointOutput {
s.TelemetryEndpoint = &v
return s
} | go | func (s *DiscoverPollEndpointOutput) SetTelemetryEndpoint(v string) *DiscoverPollEndpointOutput {
s.TelemetryEndpoint = &v
return s
} | [
"func",
"(",
"s",
"*",
"DiscoverPollEndpointOutput",
")",
"SetTelemetryEndpoint",
"(",
"v",
"string",
")",
"*",
"DiscoverPollEndpointOutput",
"{",
"s",
".",
"TelemetryEndpoint",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetTelemetryEndpoint sets the TelemetryEndpoint field's value. | [
"SetTelemetryEndpoint",
"sets",
"the",
"TelemetryEndpoint",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L8816-L8819 | train |
aws/aws-sdk-go | service/ecs/api.go | SetAutoprovision | func (s *DockerVolumeConfiguration) SetAutoprovision(v bool) *DockerVolumeConfiguration {
s.Autoprovision = &v
return s
} | go | func (s *DockerVolumeConfiguration) SetAutoprovision(v bool) *DockerVolumeConfiguration {
s.Autoprovision = &v
return s
} | [
"func",
"(",
"s",
"*",
"DockerVolumeConfiguration",
")",
"SetAutoprovision",
"(",
"v",
"bool",
")",
"*",
"DockerVolumeConfiguration",
"{",
"s",
".",
"Autoprovision",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAutoprovision sets the Autoprovision field's value. | [
"SetAutoprovision",
"sets",
"the",
"Autoprovision",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L8875-L8878 | train |
aws/aws-sdk-go | service/ecs/api.go | SetDriver | func (s *DockerVolumeConfiguration) SetDriver(v string) *DockerVolumeConfiguration {
s.Driver = &v
return s
} | go | func (s *DockerVolumeConfiguration) SetDriver(v string) *DockerVolumeConfiguration {
s.Driver = &v
return s
} | [
"func",
"(",
"s",
"*",
"DockerVolumeConfiguration",
")",
"SetDriver",
"(",
"v",
"string",
")",
"*",
"DockerVolumeConfiguration",
"{",
"s",
".",
"Driver",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDriver sets the Driver field's value. | [
"SetDriver",
"sets",
"the",
"Driver",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L8881-L8884 | train |
aws/aws-sdk-go | service/ecs/api.go | SetDriverOpts | func (s *DockerVolumeConfiguration) SetDriverOpts(v map[string]*string) *DockerVolumeConfiguration {
s.DriverOpts = v
return s
} | go | func (s *DockerVolumeConfiguration) SetDriverOpts(v map[string]*string) *DockerVolumeConfiguration {
s.DriverOpts = v
return s
} | [
"func",
"(",
"s",
"*",
"DockerVolumeConfiguration",
")",
"SetDriverOpts",
"(",
"v",
"map",
"[",
"string",
"]",
"*",
"string",
")",
"*",
"DockerVolumeConfiguration",
"{",
"s",
".",
"DriverOpts",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDriverOpts sets the DriverOpts field's value. | [
"SetDriverOpts",
"sets",
"the",
"DriverOpts",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L8887-L8890 | train |
aws/aws-sdk-go | service/ecs/api.go | SetStartPeriod | func (s *HealthCheck) SetStartPeriod(v int64) *HealthCheck {
s.StartPeriod = &v
return s
} | go | func (s *HealthCheck) SetStartPeriod(v int64) *HealthCheck {
s.StartPeriod = &v
return s
} | [
"func",
"(",
"s",
"*",
"HealthCheck",
")",
"SetStartPeriod",
"(",
"v",
"int64",
")",
"*",
"HealthCheck",
"{",
"s",
".",
"StartPeriod",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetStartPeriod sets the StartPeriod field's value. | [
"SetStartPeriod",
"sets",
"the",
"StartPeriod",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L9038-L9041 | train |
aws/aws-sdk-go | service/ecs/api.go | SetAdd | func (s *KernelCapabilities) SetAdd(v []*string) *KernelCapabilities {
s.Add = v
return s
} | go | func (s *KernelCapabilities) SetAdd(v []*string) *KernelCapabilities {
s.Add = v
return s
} | [
"func",
"(",
"s",
"*",
"KernelCapabilities",
")",
"SetAdd",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"KernelCapabilities",
"{",
"s",
".",
"Add",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAdd sets the Add field's value. | [
"SetAdd",
"sets",
"the",
"Add",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L9194-L9197 | train |
aws/aws-sdk-go | service/ecs/api.go | SetDrop | func (s *KernelCapabilities) SetDrop(v []*string) *KernelCapabilities {
s.Drop = v
return s
} | go | func (s *KernelCapabilities) SetDrop(v []*string) *KernelCapabilities {
s.Drop = v
return s
} | [
"func",
"(",
"s",
"*",
"KernelCapabilities",
")",
"SetDrop",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"KernelCapabilities",
"{",
"s",
".",
"Drop",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDrop sets the Drop field's value. | [
"SetDrop",
"sets",
"the",
"Drop",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L9200-L9203 | train |
aws/aws-sdk-go | service/ecs/api.go | SetInitProcessEnabled | func (s *LinuxParameters) SetInitProcessEnabled(v bool) *LinuxParameters {
s.InitProcessEnabled = &v
return s
} | go | func (s *LinuxParameters) SetInitProcessEnabled(v bool) *LinuxParameters {
s.InitProcessEnabled = &v
return s
} | [
"func",
"(",
"s",
"*",
"LinuxParameters",
")",
"SetInitProcessEnabled",
"(",
"v",
"bool",
")",
"*",
"LinuxParameters",
"{",
"s",
".",
"InitProcessEnabled",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetInitProcessEnabled sets the InitProcessEnabled field's value. | [
"SetInitProcessEnabled",
"sets",
"the",
"InitProcessEnabled",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L9336-L9339 | train |
aws/aws-sdk-go | service/ecs/api.go | SetSharedMemorySize | func (s *LinuxParameters) SetSharedMemorySize(v int64) *LinuxParameters {
s.SharedMemorySize = &v
return s
} | go | func (s *LinuxParameters) SetSharedMemorySize(v int64) *LinuxParameters {
s.SharedMemorySize = &v
return s
} | [
"func",
"(",
"s",
"*",
"LinuxParameters",
")",
"SetSharedMemorySize",
"(",
"v",
"int64",
")",
"*",
"LinuxParameters",
"{",
"s",
".",
"SharedMemorySize",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetSharedMemorySize sets the SharedMemorySize field's value. | [
"SetSharedMemorySize",
"sets",
"the",
"SharedMemorySize",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L9342-L9345 | train |
aws/aws-sdk-go | service/ecs/api.go | SetTmpfs | func (s *LinuxParameters) SetTmpfs(v []*Tmpfs) *LinuxParameters {
s.Tmpfs = v
return s
} | go | func (s *LinuxParameters) SetTmpfs(v []*Tmpfs) *LinuxParameters {
s.Tmpfs = v
return s
} | [
"func",
"(",
"s",
"*",
"LinuxParameters",
")",
"SetTmpfs",
"(",
"v",
"[",
"]",
"*",
"Tmpfs",
")",
"*",
"LinuxParameters",
"{",
"s",
".",
"Tmpfs",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetTmpfs sets the Tmpfs field's value. | [
"SetTmpfs",
"sets",
"the",
"Tmpfs",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L9348-L9351 | train |
aws/aws-sdk-go | service/ecs/api.go | SetEffectiveSettings | func (s *ListAccountSettingsInput) SetEffectiveSettings(v bool) *ListAccountSettingsInput {
s.EffectiveSettings = &v
return s
} | go | func (s *ListAccountSettingsInput) SetEffectiveSettings(v bool) *ListAccountSettingsInput {
s.EffectiveSettings = &v
return s
} | [
"func",
"(",
"s",
"*",
"ListAccountSettingsInput",
")",
"SetEffectiveSettings",
"(",
"v",
"bool",
")",
"*",
"ListAccountSettingsInput",
"{",
"s",
".",
"EffectiveSettings",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetEffectiveSettings sets the EffectiveSettings field's value. | [
"SetEffectiveSettings",
"sets",
"the",
"EffectiveSettings",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L9404-L9407 | train |
aws/aws-sdk-go | service/ecs/api.go | SetClusterArns | func (s *ListClustersOutput) SetClusterArns(v []*string) *ListClustersOutput {
s.ClusterArns = v
return s
} | go | func (s *ListClustersOutput) SetClusterArns(v []*string) *ListClustersOutput {
s.ClusterArns = v
return s
} | [
"func",
"(",
"s",
"*",
"ListClustersOutput",
")",
"SetClusterArns",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"ListClustersOutput",
"{",
"s",
".",
"ClusterArns",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetClusterArns sets the ClusterArns field's value. | [
"SetClusterArns",
"sets",
"the",
"ClusterArns",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L9675-L9678 | train |
aws/aws-sdk-go | service/ecs/api.go | SetContainerInstanceArns | func (s *ListContainerInstancesOutput) SetContainerInstanceArns(v []*string) *ListContainerInstancesOutput {
s.ContainerInstanceArns = v
return s
} | go | func (s *ListContainerInstancesOutput) SetContainerInstanceArns(v []*string) *ListContainerInstancesOutput {
s.ContainerInstanceArns = v
return s
} | [
"func",
"(",
"s",
"*",
"ListContainerInstancesOutput",
")",
"SetContainerInstanceArns",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"ListContainerInstancesOutput",
"{",
"s",
".",
"ContainerInstanceArns",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetContainerInstanceArns sets the ContainerInstanceArns field's value. | [
"SetContainerInstanceArns",
"sets",
"the",
"ContainerInstanceArns",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L9792-L9795 | train |
aws/aws-sdk-go | service/ecs/api.go | SetServiceArns | func (s *ListServicesOutput) SetServiceArns(v []*string) *ListServicesOutput {
s.ServiceArns = v
return s
} | go | func (s *ListServicesOutput) SetServiceArns(v []*string) *ListServicesOutput {
s.ServiceArns = v
return s
} | [
"func",
"(",
"s",
"*",
"ListServicesOutput",
")",
"SetServiceArns",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"ListServicesOutput",
"{",
"s",
".",
"ServiceArns",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetServiceArns sets the ServiceArns field's value. | [
"SetServiceArns",
"sets",
"the",
"ServiceArns",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L9907-L9910 | train |
aws/aws-sdk-go | service/ecs/api.go | SetFamilies | func (s *ListTaskDefinitionFamiliesOutput) SetFamilies(v []*string) *ListTaskDefinitionFamiliesOutput {
s.Families = v
return s
} | go | func (s *ListTaskDefinitionFamiliesOutput) SetFamilies(v []*string) *ListTaskDefinitionFamiliesOutput {
s.Families = v
return s
} | [
"func",
"(",
"s",
"*",
"ListTaskDefinitionFamiliesOutput",
")",
"SetFamilies",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"ListTaskDefinitionFamiliesOutput",
"{",
"s",
".",
"Families",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetFamilies sets the Families field's value. | [
"SetFamilies",
"sets",
"the",
"Families",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L10071-L10074 | train |
aws/aws-sdk-go | service/ecs/api.go | SetTaskDefinitionArns | func (s *ListTaskDefinitionsOutput) SetTaskDefinitionArns(v []*string) *ListTaskDefinitionsOutput {
s.TaskDefinitionArns = v
return s
} | go | func (s *ListTaskDefinitionsOutput) SetTaskDefinitionArns(v []*string) *ListTaskDefinitionsOutput {
s.TaskDefinitionArns = v
return s
} | [
"func",
"(",
"s",
"*",
"ListTaskDefinitionsOutput",
")",
"SetTaskDefinitionArns",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"ListTaskDefinitionsOutput",
"{",
"s",
".",
"TaskDefinitionArns",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetTaskDefinitionArns sets the TaskDefinitionArns field's value. | [
"SetTaskDefinitionArns",
"sets",
"the",
"TaskDefinitionArns",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L10195-L10198 | train |
aws/aws-sdk-go | service/ecs/api.go | SetTaskArns | func (s *ListTasksOutput) SetTaskArns(v []*string) *ListTasksOutput {
s.TaskArns = v
return s
} | go | func (s *ListTasksOutput) SetTaskArns(v []*string) *ListTasksOutput {
s.TaskArns = v
return s
} | [
"func",
"(",
"s",
"*",
"ListTasksOutput",
")",
"SetTaskArns",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"ListTasksOutput",
"{",
"s",
".",
"TaskArns",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetTaskArns sets the TaskArns field's value. | [
"SetTaskArns",
"sets",
"the",
"TaskArns",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L10353-L10356 | train |
aws/aws-sdk-go | service/ecs/api.go | SetLogDriver | func (s *LogConfiguration) SetLogDriver(v string) *LogConfiguration {
s.LogDriver = &v
return s
} | go | func (s *LogConfiguration) SetLogDriver(v string) *LogConfiguration {
s.LogDriver = &v
return s
} | [
"func",
"(",
"s",
"*",
"LogConfiguration",
")",
"SetLogDriver",
"(",
"v",
"string",
")",
"*",
"LogConfiguration",
"{",
"s",
".",
"LogDriver",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetLogDriver sets the LogDriver field's value. | [
"SetLogDriver",
"sets",
"the",
"LogDriver",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L10519-L10522 | train |
aws/aws-sdk-go | service/ecs/api.go | SetSecretOptions | func (s *LogConfiguration) SetSecretOptions(v []*Secret) *LogConfiguration {
s.SecretOptions = v
return s
} | go | func (s *LogConfiguration) SetSecretOptions(v []*Secret) *LogConfiguration {
s.SecretOptions = v
return s
} | [
"func",
"(",
"s",
"*",
"LogConfiguration",
")",
"SetSecretOptions",
"(",
"v",
"[",
"]",
"*",
"Secret",
")",
"*",
"LogConfiguration",
"{",
"s",
".",
"SecretOptions",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetSecretOptions sets the SecretOptions field's value. | [
"SetSecretOptions",
"sets",
"the",
"SecretOptions",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L10531-L10534 | train |
aws/aws-sdk-go | service/ecs/api.go | SetBindIP | func (s *NetworkBinding) SetBindIP(v string) *NetworkBinding {
s.BindIP = &v
return s
} | go | func (s *NetworkBinding) SetBindIP(v string) *NetworkBinding {
s.BindIP = &v
return s
} | [
"func",
"(",
"s",
"*",
"NetworkBinding",
")",
"SetBindIP",
"(",
"v",
"string",
")",
"*",
"NetworkBinding",
"{",
"s",
".",
"BindIP",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetBindIP sets the BindIP field's value. | [
"SetBindIP",
"sets",
"the",
"BindIP",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L10612-L10615 | train |
aws/aws-sdk-go | service/ecs/api.go | SetInstanceIdentityDocument | func (s *RegisterContainerInstanceInput) SetInstanceIdentityDocument(v string) *RegisterContainerInstanceInput {
s.InstanceIdentityDocument = &v
return s
} | go | func (s *RegisterContainerInstanceInput) SetInstanceIdentityDocument(v string) *RegisterContainerInstanceInput {
s.InstanceIdentityDocument = &v
return s
} | [
"func",
"(",
"s",
"*",
"RegisterContainerInstanceInput",
")",
"SetInstanceIdentityDocument",
"(",
"v",
"string",
")",
"*",
"RegisterContainerInstanceInput",
"{",
"s",
".",
"InstanceIdentityDocument",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetInstanceIdentityDocument sets the InstanceIdentityDocument field's value. | [
"SetInstanceIdentityDocument",
"sets",
"the",
"InstanceIdentityDocument",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L11418-L11421 | train |
aws/aws-sdk-go | service/ecs/api.go | SetInstanceIdentityDocumentSignature | func (s *RegisterContainerInstanceInput) SetInstanceIdentityDocumentSignature(v string) *RegisterContainerInstanceInput {
s.InstanceIdentityDocumentSignature = &v
return s
} | go | func (s *RegisterContainerInstanceInput) SetInstanceIdentityDocumentSignature(v string) *RegisterContainerInstanceInput {
s.InstanceIdentityDocumentSignature = &v
return s
} | [
"func",
"(",
"s",
"*",
"RegisterContainerInstanceInput",
")",
"SetInstanceIdentityDocumentSignature",
"(",
"v",
"string",
")",
"*",
"RegisterContainerInstanceInput",
"{",
"s",
".",
"InstanceIdentityDocumentSignature",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetInstanceIdentityDocumentSignature sets the InstanceIdentityDocumentSignature field's value. | [
"SetInstanceIdentityDocumentSignature",
"sets",
"the",
"InstanceIdentityDocumentSignature",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L11424-L11427 | train |
aws/aws-sdk-go | service/ecs/api.go | SetPlatformDevices | func (s *RegisterContainerInstanceInput) SetPlatformDevices(v []*PlatformDevice) *RegisterContainerInstanceInput {
s.PlatformDevices = v
return s
} | go | func (s *RegisterContainerInstanceInput) SetPlatformDevices(v []*PlatformDevice) *RegisterContainerInstanceInput {
s.PlatformDevices = v
return s
} | [
"func",
"(",
"s",
"*",
"RegisterContainerInstanceInput",
")",
"SetPlatformDevices",
"(",
"v",
"[",
"]",
"*",
"PlatformDevice",
")",
"*",
"RegisterContainerInstanceInput",
"{",
"s",
".",
"PlatformDevices",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetPlatformDevices sets the PlatformDevices field's value. | [
"SetPlatformDevices",
"sets",
"the",
"PlatformDevices",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L11430-L11433 | train |
aws/aws-sdk-go | service/ecs/api.go | SetTotalResources | func (s *RegisterContainerInstanceInput) SetTotalResources(v []*Resource) *RegisterContainerInstanceInput {
s.TotalResources = v
return s
} | go | func (s *RegisterContainerInstanceInput) SetTotalResources(v []*Resource) *RegisterContainerInstanceInput {
s.TotalResources = v
return s
} | [
"func",
"(",
"s",
"*",
"RegisterContainerInstanceInput",
")",
"SetTotalResources",
"(",
"v",
"[",
"]",
"*",
"Resource",
")",
"*",
"RegisterContainerInstanceInput",
"{",
"s",
".",
"TotalResources",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetTotalResources sets the TotalResources field's value. | [
"SetTotalResources",
"sets",
"the",
"TotalResources",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L11442-L11445 | train |
aws/aws-sdk-go | service/ecs/api.go | SetCredentialsParameter | func (s *RepositoryCredentials) SetCredentialsParameter(v string) *RepositoryCredentials {
s.CredentialsParameter = &v
return s
} | go | func (s *RepositoryCredentials) SetCredentialsParameter(v string) *RepositoryCredentials {
s.CredentialsParameter = &v
return s
} | [
"func",
"(",
"s",
"*",
"RepositoryCredentials",
")",
"SetCredentialsParameter",
"(",
"v",
"string",
")",
"*",
"RepositoryCredentials",
"{",
"s",
".",
"CredentialsParameter",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetCredentialsParameter sets the CredentialsParameter field's value. | [
"SetCredentialsParameter",
"sets",
"the",
"CredentialsParameter",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L11892-L11895 | train |
aws/aws-sdk-go | service/ecs/api.go | SetLongValue | func (s *Resource) SetLongValue(v int64) *Resource {
s.LongValue = &v
return s
} | go | func (s *Resource) SetLongValue(v int64) *Resource {
s.LongValue = &v
return s
} | [
"func",
"(",
"s",
"*",
"Resource",
")",
"SetLongValue",
"(",
"v",
"int64",
")",
"*",
"Resource",
"{",
"s",
".",
"LongValue",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetLongValue sets the LongValue field's value. | [
"SetLongValue",
"sets",
"the",
"LongValue",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L11947-L11950 | train |
aws/aws-sdk-go | service/ecs/api.go | SetStringSetValue | func (s *Resource) SetStringSetValue(v []*string) *Resource {
s.StringSetValue = v
return s
} | go | func (s *Resource) SetStringSetValue(v []*string) *Resource {
s.StringSetValue = v
return s
} | [
"func",
"(",
"s",
"*",
"Resource",
")",
"SetStringSetValue",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"Resource",
"{",
"s",
".",
"StringSetValue",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetStringSetValue sets the StringSetValue field's value. | [
"SetStringSetValue",
"sets",
"the",
"StringSetValue",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L11959-L11962 | train |
aws/aws-sdk-go | service/ecs/api.go | SetValueFrom | func (s *Secret) SetValueFrom(v string) *Secret {
s.ValueFrom = &v
return s
} | go | func (s *Secret) SetValueFrom(v string) *Secret {
s.ValueFrom = &v
return s
} | [
"func",
"(",
"s",
"*",
"Secret",
")",
"SetValueFrom",
"(",
"v",
"string",
")",
"*",
"Secret",
"{",
"s",
".",
"ValueFrom",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetValueFrom sets the ValueFrom field's value. | [
"SetValueFrom",
"sets",
"the",
"ValueFrom",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L12384-L12387 | train |
aws/aws-sdk-go | service/ecs/api.go | SetRegistryArn | func (s *ServiceRegistry) SetRegistryArn(v string) *ServiceRegistry {
s.RegistryArn = &v
return s
} | go | func (s *ServiceRegistry) SetRegistryArn(v string) *ServiceRegistry {
s.RegistryArn = &v
return s
} | [
"func",
"(",
"s",
"*",
"ServiceRegistry",
")",
"SetRegistryArn",
"(",
"v",
"string",
")",
"*",
"ServiceRegistry",
"{",
"s",
".",
"RegistryArn",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetRegistryArn sets the RegistryArn field's value. | [
"SetRegistryArn",
"sets",
"the",
"RegistryArn",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L12815-L12818 | train |
aws/aws-sdk-go | service/ecs/api.go | SetConnectivityAt | func (s *Task) SetConnectivityAt(v time.Time) *Task {
s.ConnectivityAt = &v
return s
} | go | func (s *Task) SetConnectivityAt(v time.Time) *Task {
s.ConnectivityAt = &v
return s
} | [
"func",
"(",
"s",
"*",
"Task",
")",
"SetConnectivityAt",
"(",
"v",
"time",
".",
"Time",
")",
"*",
"Task",
"{",
"s",
".",
"ConnectivityAt",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetConnectivityAt sets the ConnectivityAt field's value. | [
"SetConnectivityAt",
"sets",
"the",
"ConnectivityAt",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L13783-L13786 | train |
aws/aws-sdk-go | service/ecs/api.go | SetStopCode | func (s *Task) SetStopCode(v string) *Task {
s.StopCode = &v
return s
} | go | func (s *Task) SetStopCode(v string) *Task {
s.StopCode = &v
return s
} | [
"func",
"(",
"s",
"*",
"Task",
")",
"SetStopCode",
"(",
"v",
"string",
")",
"*",
"Task",
"{",
"s",
".",
"StopCode",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetStopCode sets the StopCode field's value. | [
"SetStopCode",
"sets",
"the",
"StopCode",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L13891-L13894 | train |
aws/aws-sdk-go | service/ecs/api.go | SetStoppedReason | func (s *Task) SetStoppedReason(v string) *Task {
s.StoppedReason = &v
return s
} | go | func (s *Task) SetStoppedReason(v string) *Task {
s.StoppedReason = &v
return s
} | [
"func",
"(",
"s",
"*",
"Task",
")",
"SetStoppedReason",
"(",
"v",
"string",
")",
"*",
"Task",
"{",
"s",
".",
"StoppedReason",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetStoppedReason sets the StoppedReason field's value. | [
"SetStoppedReason",
"sets",
"the",
"StoppedReason",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L13903-L13906 | train |
aws/aws-sdk-go | service/ecs/api.go | SetStoppingAt | func (s *Task) SetStoppingAt(v time.Time) *Task {
s.StoppingAt = &v
return s
} | go | func (s *Task) SetStoppingAt(v time.Time) *Task {
s.StoppingAt = &v
return s
} | [
"func",
"(",
"s",
"*",
"Task",
")",
"SetStoppingAt",
"(",
"v",
"time",
".",
"Time",
")",
"*",
"Task",
"{",
"s",
".",
"StoppingAt",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetStoppingAt sets the StoppingAt field's value. | [
"SetStoppingAt",
"sets",
"the",
"StoppingAt",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L13909-L13912 | train |
aws/aws-sdk-go | service/ecs/api.go | SetCompatibilities | func (s *TaskDefinition) SetCompatibilities(v []*string) *TaskDefinition {
s.Compatibilities = v
return s
} | go | func (s *TaskDefinition) SetCompatibilities(v []*string) *TaskDefinition {
s.Compatibilities = v
return s
} | [
"func",
"(",
"s",
"*",
"TaskDefinition",
")",
"SetCompatibilities",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"TaskDefinition",
"{",
"s",
".",
"Compatibilities",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetCompatibilities sets the Compatibilities field's value. | [
"SetCompatibilities",
"sets",
"the",
"Compatibilities",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L14156-L14159 | train |
aws/aws-sdk-go | service/ecs/api.go | SetRequiresAttributes | func (s *TaskDefinition) SetRequiresAttributes(v []*Attribute) *TaskDefinition {
s.RequiresAttributes = v
return s
} | go | func (s *TaskDefinition) SetRequiresAttributes(v []*Attribute) *TaskDefinition {
s.RequiresAttributes = v
return s
} | [
"func",
"(",
"s",
"*",
"TaskDefinition",
")",
"SetRequiresAttributes",
"(",
"v",
"[",
"]",
"*",
"Attribute",
")",
"*",
"TaskDefinition",
"{",
"s",
".",
"RequiresAttributes",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetRequiresAttributes sets the RequiresAttributes field's value. | [
"SetRequiresAttributes",
"sets",
"the",
"RequiresAttributes",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L14222-L14225 | train |
aws/aws-sdk-go | service/ecs/api.go | SetComputedDesiredCount | func (s *TaskSet) SetComputedDesiredCount(v int64) *TaskSet {
s.ComputedDesiredCount = &v
return s
} | go | func (s *TaskSet) SetComputedDesiredCount(v int64) *TaskSet {
s.ComputedDesiredCount = &v
return s
} | [
"func",
"(",
"s",
"*",
"TaskSet",
")",
"SetComputedDesiredCount",
"(",
"v",
"int64",
")",
"*",
"TaskSet",
"{",
"s",
".",
"ComputedDesiredCount",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetComputedDesiredCount sets the ComputedDesiredCount field's value. | [
"SetComputedDesiredCount",
"sets",
"the",
"ComputedDesiredCount",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L14505-L14508 | train |
aws/aws-sdk-go | service/ecs/api.go | SetStabilityStatus | func (s *TaskSet) SetStabilityStatus(v string) *TaskSet {
s.StabilityStatus = &v
return s
} | go | func (s *TaskSet) SetStabilityStatus(v string) *TaskSet {
s.StabilityStatus = &v
return s
} | [
"func",
"(",
"s",
"*",
"TaskSet",
")",
"SetStabilityStatus",
"(",
"v",
"string",
")",
"*",
"TaskSet",
"{",
"s",
".",
"StabilityStatus",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetStabilityStatus sets the StabilityStatus field's value. | [
"SetStabilityStatus",
"sets",
"the",
"StabilityStatus",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L14583-L14586 | train |
aws/aws-sdk-go | service/ecs/api.go | SetStabilityStatusAt | func (s *TaskSet) SetStabilityStatusAt(v time.Time) *TaskSet {
s.StabilityStatusAt = &v
return s
} | go | func (s *TaskSet) SetStabilityStatusAt(v time.Time) *TaskSet {
s.StabilityStatusAt = &v
return s
} | [
"func",
"(",
"s",
"*",
"TaskSet",
")",
"SetStabilityStatusAt",
"(",
"v",
"time",
".",
"Time",
")",
"*",
"TaskSet",
"{",
"s",
".",
"StabilityStatusAt",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetStabilityStatusAt sets the StabilityStatusAt field's value. | [
"SetStabilityStatusAt",
"sets",
"the",
"StabilityStatusAt",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L14589-L14592 | train |
aws/aws-sdk-go | service/ecs/api.go | SetTaskSetArn | func (s *TaskSet) SetTaskSetArn(v string) *TaskSet {
s.TaskSetArn = &v
return s
} | go | func (s *TaskSet) SetTaskSetArn(v string) *TaskSet {
s.TaskSetArn = &v
return s
} | [
"func",
"(",
"s",
"*",
"TaskSet",
")",
"SetTaskSetArn",
"(",
"v",
"string",
")",
"*",
"TaskSet",
"{",
"s",
".",
"TaskSetArn",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetTaskSetArn sets the TaskSetArn field's value. | [
"SetTaskSetArn",
"sets",
"the",
"TaskSetArn",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L14613-L14616 | train |
aws/aws-sdk-go | service/ecs/api.go | SetMountOptions | func (s *Tmpfs) SetMountOptions(v []*string) *Tmpfs {
s.MountOptions = v
return s
} | go | func (s *Tmpfs) SetMountOptions(v []*string) *Tmpfs {
s.MountOptions = v
return s
} | [
"func",
"(",
"s",
"*",
"Tmpfs",
")",
"SetMountOptions",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"Tmpfs",
"{",
"s",
".",
"MountOptions",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetMountOptions sets the MountOptions field's value. | [
"SetMountOptions",
"sets",
"the",
"MountOptions",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L14682-L14685 | train |
aws/aws-sdk-go | service/ecs/api.go | SetForceNewDeployment | func (s *UpdateServiceInput) SetForceNewDeployment(v bool) *UpdateServiceInput {
s.ForceNewDeployment = &v
return s
} | go | func (s *UpdateServiceInput) SetForceNewDeployment(v bool) *UpdateServiceInput {
s.ForceNewDeployment = &v
return s
} | [
"func",
"(",
"s",
"*",
"UpdateServiceInput",
")",
"SetForceNewDeployment",
"(",
"v",
"bool",
")",
"*",
"UpdateServiceInput",
"{",
"s",
".",
"ForceNewDeployment",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetForceNewDeployment sets the ForceNewDeployment field's value. | [
"SetForceNewDeployment",
"sets",
"the",
"ForceNewDeployment",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L15109-L15112 | train |
aws/aws-sdk-go | service/ecs/api.go | SetPrimaryTaskSet | func (s *UpdateServicePrimaryTaskSetInput) SetPrimaryTaskSet(v string) *UpdateServicePrimaryTaskSetInput {
s.PrimaryTaskSet = &v
return s
} | go | func (s *UpdateServicePrimaryTaskSetInput) SetPrimaryTaskSet(v string) *UpdateServicePrimaryTaskSetInput {
s.PrimaryTaskSet = &v
return s
} | [
"func",
"(",
"s",
"*",
"UpdateServicePrimaryTaskSetInput",
")",
"SetPrimaryTaskSet",
"(",
"v",
"string",
")",
"*",
"UpdateServicePrimaryTaskSetInput",
"{",
"s",
".",
"PrimaryTaskSet",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetPrimaryTaskSet sets the PrimaryTaskSet field's value. | [
"SetPrimaryTaskSet",
"sets",
"the",
"PrimaryTaskSet",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L15225-L15228 | train |
aws/aws-sdk-go | service/ecs/api.go | SetAgentHash | func (s *VersionInfo) SetAgentHash(v string) *VersionInfo {
s.AgentHash = &v
return s
} | go | func (s *VersionInfo) SetAgentHash(v string) *VersionInfo {
s.AgentHash = &v
return s
} | [
"func",
"(",
"s",
"*",
"VersionInfo",
")",
"SetAgentHash",
"(",
"v",
"string",
")",
"*",
"VersionInfo",
"{",
"s",
".",
"AgentHash",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAgentHash sets the AgentHash field's value. | [
"SetAgentHash",
"sets",
"the",
"AgentHash",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L15398-L15401 | train |
aws/aws-sdk-go | service/ecs/api.go | SetDockerVersion | func (s *VersionInfo) SetDockerVersion(v string) *VersionInfo {
s.DockerVersion = &v
return s
} | go | func (s *VersionInfo) SetDockerVersion(v string) *VersionInfo {
s.DockerVersion = &v
return s
} | [
"func",
"(",
"s",
"*",
"VersionInfo",
")",
"SetDockerVersion",
"(",
"v",
"string",
")",
"*",
"VersionInfo",
"{",
"s",
".",
"DockerVersion",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDockerVersion sets the DockerVersion field's value. | [
"SetDockerVersion",
"sets",
"the",
"DockerVersion",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L15410-L15413 | train |
aws/aws-sdk-go | service/ecs/api.go | SetDockerVolumeConfiguration | func (s *Volume) SetDockerVolumeConfiguration(v *DockerVolumeConfiguration) *Volume {
s.DockerVolumeConfiguration = v
return s
} | go | func (s *Volume) SetDockerVolumeConfiguration(v *DockerVolumeConfiguration) *Volume {
s.DockerVolumeConfiguration = v
return s
} | [
"func",
"(",
"s",
"*",
"Volume",
")",
"SetDockerVolumeConfiguration",
"(",
"v",
"*",
"DockerVolumeConfiguration",
")",
"*",
"Volume",
"{",
"s",
".",
"DockerVolumeConfiguration",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDockerVolumeConfiguration sets the DockerVolumeConfiguration field's value. | [
"SetDockerVolumeConfiguration",
"sets",
"the",
"DockerVolumeConfiguration",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L15459-L15462 | train |
aws/aws-sdk-go | service/ecs/api.go | SetSourceContainer | func (s *VolumeFrom) SetSourceContainer(v string) *VolumeFrom {
s.SourceContainer = &v
return s
} | go | func (s *VolumeFrom) SetSourceContainer(v string) *VolumeFrom {
s.SourceContainer = &v
return s
} | [
"func",
"(",
"s",
"*",
"VolumeFrom",
")",
"SetSourceContainer",
"(",
"v",
"string",
")",
"*",
"VolumeFrom",
"{",
"s",
".",
"SourceContainer",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetSourceContainer sets the SourceContainer field's value. | [
"SetSourceContainer",
"sets",
"the",
"SourceContainer",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/api.go#L15507-L15510 | train |
aws/aws-sdk-go | service/macie/api.go | SetAssociatedS3Resources | func (s *DisassociateS3ResourcesInput) SetAssociatedS3Resources(v []*S3Resource) *DisassociateS3ResourcesInput {
s.AssociatedS3Resources = v
return s
} | go | func (s *DisassociateS3ResourcesInput) SetAssociatedS3Resources(v []*S3Resource) *DisassociateS3ResourcesInput {
s.AssociatedS3Resources = v
return s
} | [
"func",
"(",
"s",
"*",
"DisassociateS3ResourcesInput",
")",
"SetAssociatedS3Resources",
"(",
"v",
"[",
"]",
"*",
"S3Resource",
")",
"*",
"DisassociateS3ResourcesInput",
"{",
"s",
".",
"AssociatedS3Resources",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAssociatedS3Resources sets the AssociatedS3Resources field's value. | [
"SetAssociatedS3Resources",
"sets",
"the",
"AssociatedS3Resources",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/macie/api.go#L1076-L1079 | train |
aws/aws-sdk-go | service/macie/api.go | SetFailedItem | func (s *FailedS3Resource) SetFailedItem(v *S3Resource) *FailedS3Resource {
s.FailedItem = v
return s
} | go | func (s *FailedS3Resource) SetFailedItem(v *S3Resource) *FailedS3Resource {
s.FailedItem = v
return s
} | [
"func",
"(",
"s",
"*",
"FailedS3Resource",
")",
"SetFailedItem",
"(",
"v",
"*",
"S3Resource",
")",
"*",
"FailedS3Resource",
"{",
"s",
".",
"FailedItem",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetFailedItem sets the FailedItem field's value. | [
"SetFailedItem",
"sets",
"the",
"FailedItem",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/macie/api.go#L1149-L1152 | train |
aws/aws-sdk-go | service/macie/api.go | SetClassificationType | func (s *S3ResourceClassification) SetClassificationType(v *ClassificationType) *S3ResourceClassification {
s.ClassificationType = v
return s
} | go | func (s *S3ResourceClassification) SetClassificationType(v *ClassificationType) *S3ResourceClassification {
s.ClassificationType = v
return s
} | [
"func",
"(",
"s",
"*",
"S3ResourceClassification",
")",
"SetClassificationType",
"(",
"v",
"*",
"ClassificationType",
")",
"*",
"S3ResourceClassification",
"{",
"s",
".",
"ClassificationType",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetClassificationType sets the ClassificationType field's value. | [
"SetClassificationType",
"sets",
"the",
"ClassificationType",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/macie/api.go#L1441-L1444 | train |
aws/aws-sdk-go | service/macie/api.go | SetClassificationTypeUpdate | func (s *S3ResourceClassificationUpdate) SetClassificationTypeUpdate(v *ClassificationTypeUpdate) *S3ResourceClassificationUpdate {
s.ClassificationTypeUpdate = v
return s
} | go | func (s *S3ResourceClassificationUpdate) SetClassificationTypeUpdate(v *ClassificationTypeUpdate) *S3ResourceClassificationUpdate {
s.ClassificationTypeUpdate = v
return s
} | [
"func",
"(",
"s",
"*",
"S3ResourceClassificationUpdate",
")",
"SetClassificationTypeUpdate",
"(",
"v",
"*",
"ClassificationTypeUpdate",
")",
"*",
"S3ResourceClassificationUpdate",
"{",
"s",
".",
"ClassificationTypeUpdate",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetClassificationTypeUpdate sets the ClassificationTypeUpdate field's value. | [
"SetClassificationTypeUpdate",
"sets",
"the",
"ClassificationTypeUpdate",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/macie/api.go#L1505-L1508 | train |
aws/aws-sdk-go | service/macie/api.go | SetS3ResourcesUpdate | func (s *UpdateS3ResourcesInput) SetS3ResourcesUpdate(v []*S3ResourceClassificationUpdate) *UpdateS3ResourcesInput {
s.S3ResourcesUpdate = v
return s
} | go | func (s *UpdateS3ResourcesInput) SetS3ResourcesUpdate(v []*S3ResourceClassificationUpdate) *UpdateS3ResourcesInput {
s.S3ResourcesUpdate = v
return s
} | [
"func",
"(",
"s",
"*",
"UpdateS3ResourcesInput",
")",
"SetS3ResourcesUpdate",
"(",
"v",
"[",
"]",
"*",
"S3ResourceClassificationUpdate",
")",
"*",
"UpdateS3ResourcesInput",
"{",
"s",
".",
"S3ResourcesUpdate",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetS3ResourcesUpdate sets the S3ResourcesUpdate field's value. | [
"SetS3ResourcesUpdate",
"sets",
"the",
"S3ResourcesUpdate",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/macie/api.go#L1569-L1572 | train |
aws/aws-sdk-go | service/athena/api.go | SetNamedQueries | func (s *BatchGetNamedQueryOutput) SetNamedQueries(v []*NamedQuery) *BatchGetNamedQueryOutput {
s.NamedQueries = v
return s
} | go | func (s *BatchGetNamedQueryOutput) SetNamedQueries(v []*NamedQuery) *BatchGetNamedQueryOutput {
s.NamedQueries = v
return s
} | [
"func",
"(",
"s",
"*",
"BatchGetNamedQueryOutput",
")",
"SetNamedQueries",
"(",
"v",
"[",
"]",
"*",
"NamedQuery",
")",
"*",
"BatchGetNamedQueryOutput",
"{",
"s",
".",
"NamedQueries",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetNamedQueries sets the NamedQueries field's value. | [
"SetNamedQueries",
"sets",
"the",
"NamedQueries",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/athena/api.go#L1983-L1986 | train |
aws/aws-sdk-go | service/athena/api.go | SetUnprocessedNamedQueryIds | func (s *BatchGetNamedQueryOutput) SetUnprocessedNamedQueryIds(v []*UnprocessedNamedQueryId) *BatchGetNamedQueryOutput {
s.UnprocessedNamedQueryIds = v
return s
} | go | func (s *BatchGetNamedQueryOutput) SetUnprocessedNamedQueryIds(v []*UnprocessedNamedQueryId) *BatchGetNamedQueryOutput {
s.UnprocessedNamedQueryIds = v
return s
} | [
"func",
"(",
"s",
"*",
"BatchGetNamedQueryOutput",
")",
"SetUnprocessedNamedQueryIds",
"(",
"v",
"[",
"]",
"*",
"UnprocessedNamedQueryId",
")",
"*",
"BatchGetNamedQueryOutput",
"{",
"s",
".",
"UnprocessedNamedQueryIds",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetUnprocessedNamedQueryIds sets the UnprocessedNamedQueryIds field's value. | [
"SetUnprocessedNamedQueryIds",
"sets",
"the",
"UnprocessedNamedQueryIds",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/athena/api.go#L1989-L1992 | train |
aws/aws-sdk-go | service/athena/api.go | SetQueryExecutions | func (s *BatchGetQueryExecutionOutput) SetQueryExecutions(v []*QueryExecution) *BatchGetQueryExecutionOutput {
s.QueryExecutions = v
return s
} | go | func (s *BatchGetQueryExecutionOutput) SetQueryExecutions(v []*QueryExecution) *BatchGetQueryExecutionOutput {
s.QueryExecutions = v
return s
} | [
"func",
"(",
"s",
"*",
"BatchGetQueryExecutionOutput",
")",
"SetQueryExecutions",
"(",
"v",
"[",
"]",
"*",
"QueryExecution",
")",
"*",
"BatchGetQueryExecutionOutput",
"{",
"s",
".",
"QueryExecutions",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetQueryExecutions sets the QueryExecutions field's value. | [
"SetQueryExecutions",
"sets",
"the",
"QueryExecutions",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/athena/api.go#L2056-L2059 | train |
aws/aws-sdk-go | service/athena/api.go | SetUnprocessedQueryExecutionIds | func (s *BatchGetQueryExecutionOutput) SetUnprocessedQueryExecutionIds(v []*UnprocessedQueryExecutionId) *BatchGetQueryExecutionOutput {
s.UnprocessedQueryExecutionIds = v
return s
} | go | func (s *BatchGetQueryExecutionOutput) SetUnprocessedQueryExecutionIds(v []*UnprocessedQueryExecutionId) *BatchGetQueryExecutionOutput {
s.UnprocessedQueryExecutionIds = v
return s
} | [
"func",
"(",
"s",
"*",
"BatchGetQueryExecutionOutput",
")",
"SetUnprocessedQueryExecutionIds",
"(",
"v",
"[",
"]",
"*",
"UnprocessedQueryExecutionId",
")",
"*",
"BatchGetQueryExecutionOutput",
"{",
"s",
".",
"UnprocessedQueryExecutionIds",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetUnprocessedQueryExecutionIds sets the UnprocessedQueryExecutionIds field's value. | [
"SetUnprocessedQueryExecutionIds",
"sets",
"the",
"UnprocessedQueryExecutionIds",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/athena/api.go#L2062-L2065 | train |
aws/aws-sdk-go | service/athena/api.go | SetCaseSensitive | func (s *ColumnInfo) SetCaseSensitive(v bool) *ColumnInfo {
s.CaseSensitive = &v
return s
} | go | func (s *ColumnInfo) SetCaseSensitive(v bool) *ColumnInfo {
s.CaseSensitive = &v
return s
} | [
"func",
"(",
"s",
"*",
"ColumnInfo",
")",
"SetCaseSensitive",
"(",
"v",
"bool",
")",
"*",
"ColumnInfo",
"{",
"s",
".",
"CaseSensitive",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetCaseSensitive sets the CaseSensitive field's value. | [
"SetCaseSensitive",
"sets",
"the",
"CaseSensitive",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/athena/api.go#L2119-L2122 | train |
aws/aws-sdk-go | service/athena/api.go | SetCatalogName | func (s *ColumnInfo) SetCatalogName(v string) *ColumnInfo {
s.CatalogName = &v
return s
} | go | func (s *ColumnInfo) SetCatalogName(v string) *ColumnInfo {
s.CatalogName = &v
return s
} | [
"func",
"(",
"s",
"*",
"ColumnInfo",
")",
"SetCatalogName",
"(",
"v",
"string",
")",
"*",
"ColumnInfo",
"{",
"s",
".",
"CatalogName",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetCatalogName sets the CatalogName field's value. | [
"SetCatalogName",
"sets",
"the",
"CatalogName",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/athena/api.go#L2125-L2128 | train |
aws/aws-sdk-go | service/athena/api.go | SetVarCharValue | func (s *Datum) SetVarCharValue(v string) *Datum {
s.VarCharValue = &v
return s
} | go | func (s *Datum) SetVarCharValue(v string) *Datum {
s.VarCharValue = &v
return s
} | [
"func",
"(",
"s",
"*",
"Datum",
")",
"SetVarCharValue",
"(",
"v",
"string",
")",
"*",
"Datum",
"{",
"s",
".",
"VarCharValue",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetVarCharValue sets the VarCharValue field's value. | [
"SetVarCharValue",
"sets",
"the",
"VarCharValue",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/athena/api.go#L2436-L2439 | train |
aws/aws-sdk-go | service/athena/api.go | SetRecursiveDeleteOption | func (s *DeleteWorkGroupInput) SetRecursiveDeleteOption(v bool) *DeleteWorkGroupInput {
s.RecursiveDeleteOption = &v
return s
} | go | func (s *DeleteWorkGroupInput) SetRecursiveDeleteOption(v bool) *DeleteWorkGroupInput {
s.RecursiveDeleteOption = &v
return s
} | [
"func",
"(",
"s",
"*",
"DeleteWorkGroupInput",
")",
"SetRecursiveDeleteOption",
"(",
"v",
"bool",
")",
"*",
"DeleteWorkGroupInput",
"{",
"s",
".",
"RecursiveDeleteOption",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetRecursiveDeleteOption sets the RecursiveDeleteOption field's value. | [
"SetRecursiveDeleteOption",
"sets",
"the",
"RecursiveDeleteOption",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/athena/api.go#L2515-L2518 | train |
aws/aws-sdk-go | service/athena/api.go | SetEncryptionOption | func (s *EncryptionConfiguration) SetEncryptionOption(v string) *EncryptionConfiguration {
s.EncryptionOption = &v
return s
} | go | func (s *EncryptionConfiguration) SetEncryptionOption(v string) *EncryptionConfiguration {
s.EncryptionOption = &v
return s
} | [
"func",
"(",
"s",
"*",
"EncryptionConfiguration",
")",
"SetEncryptionOption",
"(",
"v",
"string",
")",
"*",
"EncryptionConfiguration",
"{",
"s",
".",
"EncryptionOption",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetEncryptionOption sets the EncryptionOption field's value. | [
"SetEncryptionOption",
"sets",
"the",
"EncryptionOption",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/athena/api.go#L2584-L2587 | train |
aws/aws-sdk-go | service/athena/api.go | SetKmsKey | func (s *EncryptionConfiguration) SetKmsKey(v string) *EncryptionConfiguration {
s.KmsKey = &v
return s
} | go | func (s *EncryptionConfiguration) SetKmsKey(v string) *EncryptionConfiguration {
s.KmsKey = &v
return s
} | [
"func",
"(",
"s",
"*",
"EncryptionConfiguration",
")",
"SetKmsKey",
"(",
"v",
"string",
")",
"*",
"EncryptionConfiguration",
"{",
"s",
".",
"KmsKey",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetKmsKey sets the KmsKey field's value. | [
"SetKmsKey",
"sets",
"the",
"KmsKey",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/athena/api.go#L2590-L2593 | train |
aws/aws-sdk-go | service/athena/api.go | SetNamedQuery | func (s *GetNamedQueryOutput) SetNamedQuery(v *NamedQuery) *GetNamedQueryOutput {
s.NamedQuery = v
return s
} | go | func (s *GetNamedQueryOutput) SetNamedQuery(v *NamedQuery) *GetNamedQueryOutput {
s.NamedQuery = v
return s
} | [
"func",
"(",
"s",
"*",
"GetNamedQueryOutput",
")",
"SetNamedQuery",
"(",
"v",
"*",
"NamedQuery",
")",
"*",
"GetNamedQueryOutput",
"{",
"s",
".",
"NamedQuery",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetNamedQuery sets the NamedQuery field's value. | [
"SetNamedQuery",
"sets",
"the",
"NamedQuery",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/athena/api.go#L2651-L2654 | train |
aws/aws-sdk-go | service/athena/api.go | SetQueryExecution | func (s *GetQueryExecutionOutput) SetQueryExecution(v *QueryExecution) *GetQueryExecutionOutput {
s.QueryExecution = v
return s
} | go | func (s *GetQueryExecutionOutput) SetQueryExecution(v *QueryExecution) *GetQueryExecutionOutput {
s.QueryExecution = v
return s
} | [
"func",
"(",
"s",
"*",
"GetQueryExecutionOutput",
")",
"SetQueryExecution",
"(",
"v",
"*",
"QueryExecution",
")",
"*",
"GetQueryExecutionOutput",
"{",
"s",
".",
"QueryExecution",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetQueryExecution sets the QueryExecution field's value. | [
"SetQueryExecution",
"sets",
"the",
"QueryExecution",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/athena/api.go#L2712-L2715 | train |
aws/aws-sdk-go | service/athena/api.go | SetResultSet | func (s *GetQueryResultsOutput) SetResultSet(v *ResultSet) *GetQueryResultsOutput {
s.ResultSet = v
return s
} | go | func (s *GetQueryResultsOutput) SetResultSet(v *ResultSet) *GetQueryResultsOutput {
s.ResultSet = v
return s
} | [
"func",
"(",
"s",
"*",
"GetQueryResultsOutput",
")",
"SetResultSet",
"(",
"v",
"*",
"ResultSet",
")",
"*",
"GetQueryResultsOutput",
"{",
"s",
".",
"ResultSet",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetResultSet sets the ResultSet field's value. | [
"SetResultSet",
"sets",
"the",
"ResultSet",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/athena/api.go#L2807-L2810 | train |
aws/aws-sdk-go | service/athena/api.go | SetUpdateCount | func (s *GetQueryResultsOutput) SetUpdateCount(v int64) *GetQueryResultsOutput {
s.UpdateCount = &v
return s
} | go | func (s *GetQueryResultsOutput) SetUpdateCount(v int64) *GetQueryResultsOutput {
s.UpdateCount = &v
return s
} | [
"func",
"(",
"s",
"*",
"GetQueryResultsOutput",
")",
"SetUpdateCount",
"(",
"v",
"int64",
")",
"*",
"GetQueryResultsOutput",
"{",
"s",
".",
"UpdateCount",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetUpdateCount sets the UpdateCount field's value. | [
"SetUpdateCount",
"sets",
"the",
"UpdateCount",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/athena/api.go#L2813-L2816 | train |
aws/aws-sdk-go | service/athena/api.go | SetWorkGroups | func (s *ListWorkGroupsOutput) SetWorkGroups(v []*WorkGroupSummary) *ListWorkGroupsOutput {
s.WorkGroups = v
return s
} | go | func (s *ListWorkGroupsOutput) SetWorkGroups(v []*WorkGroupSummary) *ListWorkGroupsOutput {
s.WorkGroups = v
return s
} | [
"func",
"(",
"s",
"*",
"ListWorkGroupsOutput",
")",
"SetWorkGroups",
"(",
"v",
"[",
"]",
"*",
"WorkGroupSummary",
")",
"*",
"ListWorkGroupsOutput",
"{",
"s",
".",
"WorkGroups",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetWorkGroups sets the WorkGroups field's value. | [
"SetWorkGroups",
"sets",
"the",
"WorkGroups",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/athena/api.go#L3229-L3232 | train |
aws/aws-sdk-go | service/athena/api.go | SetStatementType | func (s *QueryExecution) SetStatementType(v string) *QueryExecution {
s.StatementType = &v
return s
} | go | func (s *QueryExecution) SetStatementType(v string) *QueryExecution {
s.StatementType = &v
return s
} | [
"func",
"(",
"s",
"*",
"QueryExecution",
")",
"SetStatementType",
"(",
"v",
"string",
")",
"*",
"QueryExecution",
"{",
"s",
".",
"StatementType",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetStatementType sets the StatementType field's value. | [
"SetStatementType",
"sets",
"the",
"StatementType",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/athena/api.go#L3383-L3386 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.