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
|
---|---|---|---|---|---|---|---|---|---|---|---|
100 | aws/aws-sdk-go | service/opsworks/api.go | SetAssigning | func (s *InstancesCount) SetAssigning(v int64) *InstancesCount {
s.Assigning = &v
return s
} | go | func (s *InstancesCount) SetAssigning(v int64) *InstancesCount {
s.Assigning = &v
return s
} | [
"func",
"(",
"s",
"*",
"InstancesCount",
")",
"SetAssigning",
"(",
"v",
"int64",
")",
"*",
"InstancesCount",
"{",
"s",
".",
"Assigning",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAssigning sets the Assigning field's value. | [
"SetAssigning",
"sets",
"the",
"Assigning",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworks/api.go#L12757-L12760 |
101 | aws/aws-sdk-go | service/opsworks/api.go | SetBooting | func (s *InstancesCount) SetBooting(v int64) *InstancesCount {
s.Booting = &v
return s
} | go | func (s *InstancesCount) SetBooting(v int64) *InstancesCount {
s.Booting = &v
return s
} | [
"func",
"(",
"s",
"*",
"InstancesCount",
")",
"SetBooting",
"(",
"v",
"int64",
")",
"*",
"InstancesCount",
"{",
"s",
".",
"Booting",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetBooting sets the Booting field's value. | [
"SetBooting",
"sets",
"the",
"Booting",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworks/api.go#L12763-L12766 |
102 | aws/aws-sdk-go | service/opsworks/api.go | SetConnectionLost | func (s *InstancesCount) SetConnectionLost(v int64) *InstancesCount {
s.ConnectionLost = &v
return s
} | go | func (s *InstancesCount) SetConnectionLost(v int64) *InstancesCount {
s.ConnectionLost = &v
return s
} | [
"func",
"(",
"s",
"*",
"InstancesCount",
")",
"SetConnectionLost",
"(",
"v",
"int64",
")",
"*",
"InstancesCount",
"{",
"s",
".",
"ConnectionLost",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetConnectionLost sets the ConnectionLost field's value. | [
"SetConnectionLost",
"sets",
"the",
"ConnectionLost",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworks/api.go#L12769-L12772 |
103 | aws/aws-sdk-go | service/opsworks/api.go | SetDeregistering | func (s *InstancesCount) SetDeregistering(v int64) *InstancesCount {
s.Deregistering = &v
return s
} | go | func (s *InstancesCount) SetDeregistering(v int64) *InstancesCount {
s.Deregistering = &v
return s
} | [
"func",
"(",
"s",
"*",
"InstancesCount",
")",
"SetDeregistering",
"(",
"v",
"int64",
")",
"*",
"InstancesCount",
"{",
"s",
".",
"Deregistering",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDeregistering sets the Deregistering field's value. | [
"SetDeregistering",
"sets",
"the",
"Deregistering",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworks/api.go#L12775-L12778 |
104 | aws/aws-sdk-go | service/opsworks/api.go | SetOnline | func (s *InstancesCount) SetOnline(v int64) *InstancesCount {
s.Online = &v
return s
} | go | func (s *InstancesCount) SetOnline(v int64) *InstancesCount {
s.Online = &v
return s
} | [
"func",
"(",
"s",
"*",
"InstancesCount",
")",
"SetOnline",
"(",
"v",
"int64",
")",
"*",
"InstancesCount",
"{",
"s",
".",
"Online",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetOnline sets the Online field's value. | [
"SetOnline",
"sets",
"the",
"Online",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworks/api.go#L12781-L12784 |
105 | aws/aws-sdk-go | service/opsworks/api.go | SetRebooting | func (s *InstancesCount) SetRebooting(v int64) *InstancesCount {
s.Rebooting = &v
return s
} | go | func (s *InstancesCount) SetRebooting(v int64) *InstancesCount {
s.Rebooting = &v
return s
} | [
"func",
"(",
"s",
"*",
"InstancesCount",
")",
"SetRebooting",
"(",
"v",
"int64",
")",
"*",
"InstancesCount",
"{",
"s",
".",
"Rebooting",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetRebooting sets the Rebooting field's value. | [
"SetRebooting",
"sets",
"the",
"Rebooting",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworks/api.go#L12793-L12796 |
106 | aws/aws-sdk-go | service/opsworks/api.go | SetRegistered | func (s *InstancesCount) SetRegistered(v int64) *InstancesCount {
s.Registered = &v
return s
} | go | func (s *InstancesCount) SetRegistered(v int64) *InstancesCount {
s.Registered = &v
return s
} | [
"func",
"(",
"s",
"*",
"InstancesCount",
")",
"SetRegistered",
"(",
"v",
"int64",
")",
"*",
"InstancesCount",
"{",
"s",
".",
"Registered",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetRegistered sets the Registered field's value. | [
"SetRegistered",
"sets",
"the",
"Registered",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworks/api.go#L12799-L12802 |
107 | aws/aws-sdk-go | service/opsworks/api.go | SetRegistering | func (s *InstancesCount) SetRegistering(v int64) *InstancesCount {
s.Registering = &v
return s
} | go | func (s *InstancesCount) SetRegistering(v int64) *InstancesCount {
s.Registering = &v
return s
} | [
"func",
"(",
"s",
"*",
"InstancesCount",
")",
"SetRegistering",
"(",
"v",
"int64",
")",
"*",
"InstancesCount",
"{",
"s",
".",
"Registering",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetRegistering sets the Registering field's value. | [
"SetRegistering",
"sets",
"the",
"Registering",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworks/api.go#L12805-L12808 |
108 | aws/aws-sdk-go | service/opsworks/api.go | SetRequested | func (s *InstancesCount) SetRequested(v int64) *InstancesCount {
s.Requested = &v
return s
} | go | func (s *InstancesCount) SetRequested(v int64) *InstancesCount {
s.Requested = &v
return s
} | [
"func",
"(",
"s",
"*",
"InstancesCount",
")",
"SetRequested",
"(",
"v",
"int64",
")",
"*",
"InstancesCount",
"{",
"s",
".",
"Requested",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetRequested sets the Requested field's value. | [
"SetRequested",
"sets",
"the",
"Requested",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworks/api.go#L12811-L12814 |
109 | aws/aws-sdk-go | service/opsworks/api.go | SetRunningSetup | func (s *InstancesCount) SetRunningSetup(v int64) *InstancesCount {
s.RunningSetup = &v
return s
} | go | func (s *InstancesCount) SetRunningSetup(v int64) *InstancesCount {
s.RunningSetup = &v
return s
} | [
"func",
"(",
"s",
"*",
"InstancesCount",
")",
"SetRunningSetup",
"(",
"v",
"int64",
")",
"*",
"InstancesCount",
"{",
"s",
".",
"RunningSetup",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetRunningSetup sets the RunningSetup field's value. | [
"SetRunningSetup",
"sets",
"the",
"RunningSetup",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworks/api.go#L12817-L12820 |
110 | aws/aws-sdk-go | service/opsworks/api.go | SetSetupFailed | func (s *InstancesCount) SetSetupFailed(v int64) *InstancesCount {
s.SetupFailed = &v
return s
} | go | func (s *InstancesCount) SetSetupFailed(v int64) *InstancesCount {
s.SetupFailed = &v
return s
} | [
"func",
"(",
"s",
"*",
"InstancesCount",
")",
"SetSetupFailed",
"(",
"v",
"int64",
")",
"*",
"InstancesCount",
"{",
"s",
".",
"SetupFailed",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetSetupFailed sets the SetupFailed field's value. | [
"SetSetupFailed",
"sets",
"the",
"SetupFailed",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworks/api.go#L12823-L12826 |
111 | aws/aws-sdk-go | service/opsworks/api.go | SetShuttingDown | func (s *InstancesCount) SetShuttingDown(v int64) *InstancesCount {
s.ShuttingDown = &v
return s
} | go | func (s *InstancesCount) SetShuttingDown(v int64) *InstancesCount {
s.ShuttingDown = &v
return s
} | [
"func",
"(",
"s",
"*",
"InstancesCount",
")",
"SetShuttingDown",
"(",
"v",
"int64",
")",
"*",
"InstancesCount",
"{",
"s",
".",
"ShuttingDown",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetShuttingDown sets the ShuttingDown field's value. | [
"SetShuttingDown",
"sets",
"the",
"ShuttingDown",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworks/api.go#L12829-L12832 |
112 | aws/aws-sdk-go | service/opsworks/api.go | SetStartFailed | func (s *InstancesCount) SetStartFailed(v int64) *InstancesCount {
s.StartFailed = &v
return s
} | go | func (s *InstancesCount) SetStartFailed(v int64) *InstancesCount {
s.StartFailed = &v
return s
} | [
"func",
"(",
"s",
"*",
"InstancesCount",
")",
"SetStartFailed",
"(",
"v",
"int64",
")",
"*",
"InstancesCount",
"{",
"s",
".",
"StartFailed",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetStartFailed sets the StartFailed field's value. | [
"SetStartFailed",
"sets",
"the",
"StartFailed",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworks/api.go#L12835-L12838 |
113 | aws/aws-sdk-go | service/opsworks/api.go | SetStopFailed | func (s *InstancesCount) SetStopFailed(v int64) *InstancesCount {
s.StopFailed = &v
return s
} | go | func (s *InstancesCount) SetStopFailed(v int64) *InstancesCount {
s.StopFailed = &v
return s
} | [
"func",
"(",
"s",
"*",
"InstancesCount",
")",
"SetStopFailed",
"(",
"v",
"int64",
")",
"*",
"InstancesCount",
"{",
"s",
".",
"StopFailed",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetStopFailed sets the StopFailed field's value. | [
"SetStopFailed",
"sets",
"the",
"StopFailed",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworks/api.go#L12841-L12844 |
114 | aws/aws-sdk-go | service/opsworks/api.go | SetStopping | func (s *InstancesCount) SetStopping(v int64) *InstancesCount {
s.Stopping = &v
return s
} | go | func (s *InstancesCount) SetStopping(v int64) *InstancesCount {
s.Stopping = &v
return s
} | [
"func",
"(",
"s",
"*",
"InstancesCount",
")",
"SetStopping",
"(",
"v",
"int64",
")",
"*",
"InstancesCount",
"{",
"s",
".",
"Stopping",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetStopping sets the Stopping field's value. | [
"SetStopping",
"sets",
"the",
"Stopping",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworks/api.go#L12853-L12856 |
115 | aws/aws-sdk-go | service/opsworks/api.go | SetTerminated | func (s *InstancesCount) SetTerminated(v int64) *InstancesCount {
s.Terminated = &v
return s
} | go | func (s *InstancesCount) SetTerminated(v int64) *InstancesCount {
s.Terminated = &v
return s
} | [
"func",
"(",
"s",
"*",
"InstancesCount",
")",
"SetTerminated",
"(",
"v",
"int64",
")",
"*",
"InstancesCount",
"{",
"s",
".",
"Terminated",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetTerminated sets the Terminated field's value. | [
"SetTerminated",
"sets",
"the",
"Terminated",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworks/api.go#L12859-L12862 |
116 | aws/aws-sdk-go | service/opsworks/api.go | SetTerminating | func (s *InstancesCount) SetTerminating(v int64) *InstancesCount {
s.Terminating = &v
return s
} | go | func (s *InstancesCount) SetTerminating(v int64) *InstancesCount {
s.Terminating = &v
return s
} | [
"func",
"(",
"s",
"*",
"InstancesCount",
")",
"SetTerminating",
"(",
"v",
"int64",
")",
"*",
"InstancesCount",
"{",
"s",
".",
"Terminating",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetTerminating sets the Terminating field's value. | [
"SetTerminating",
"sets",
"the",
"Terminating",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworks/api.go#L12865-L12868 |
117 | aws/aws-sdk-go | service/opsworks/api.go | SetUnassigning | func (s *InstancesCount) SetUnassigning(v int64) *InstancesCount {
s.Unassigning = &v
return s
} | go | func (s *InstancesCount) SetUnassigning(v int64) *InstancesCount {
s.Unassigning = &v
return s
} | [
"func",
"(",
"s",
"*",
"InstancesCount",
")",
"SetUnassigning",
"(",
"v",
"int64",
")",
"*",
"InstancesCount",
"{",
"s",
".",
"Unassigning",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetUnassigning sets the Unassigning field's value. | [
"SetUnassigning",
"sets",
"the",
"Unassigning",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworks/api.go#L12871-L12874 |
118 | aws/aws-sdk-go | service/opsworks/api.go | SetDefaultRecipes | func (s *Layer) SetDefaultRecipes(v *Recipes) *Layer {
s.DefaultRecipes = v
return s
} | go | func (s *Layer) SetDefaultRecipes(v *Recipes) *Layer {
s.DefaultRecipes = v
return s
} | [
"func",
"(",
"s",
"*",
"Layer",
")",
"SetDefaultRecipes",
"(",
"v",
"*",
"Recipes",
")",
"*",
"Layer",
"{",
"s",
".",
"DefaultRecipes",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDefaultRecipes sets the DefaultRecipes field's value. | [
"SetDefaultRecipes",
"sets",
"the",
"DefaultRecipes",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworks/api.go#L13050-L13053 |
119 | aws/aws-sdk-go | service/opsworks/api.go | SetDefaultSecurityGroupNames | func (s *Layer) SetDefaultSecurityGroupNames(v []*string) *Layer {
s.DefaultSecurityGroupNames = v
return s
} | go | func (s *Layer) SetDefaultSecurityGroupNames(v []*string) *Layer {
s.DefaultSecurityGroupNames = v
return s
} | [
"func",
"(",
"s",
"*",
"Layer",
")",
"SetDefaultSecurityGroupNames",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"Layer",
"{",
"s",
".",
"DefaultSecurityGroupNames",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDefaultSecurityGroupNames sets the DefaultSecurityGroupNames field's value. | [
"SetDefaultSecurityGroupNames",
"sets",
"the",
"DefaultSecurityGroupNames",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworks/api.go#L13056-L13059 |
120 | aws/aws-sdk-go | service/opsworks/api.go | SetConfigurationManagers | func (s *OperatingSystem) SetConfigurationManagers(v []*OperatingSystemConfigurationManager) *OperatingSystem {
s.ConfigurationManagers = v
return s
} | go | func (s *OperatingSystem) SetConfigurationManagers(v []*OperatingSystemConfigurationManager) *OperatingSystem {
s.ConfigurationManagers = v
return s
} | [
"func",
"(",
"s",
"*",
"OperatingSystem",
")",
"SetConfigurationManagers",
"(",
"v",
"[",
"]",
"*",
"OperatingSystemConfigurationManager",
")",
"*",
"OperatingSystem",
"{",
"s",
".",
"ConfigurationManagers",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetConfigurationManagers sets the ConfigurationManagers field's value. | [
"SetConfigurationManagers",
"sets",
"the",
"ConfigurationManagers",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworks/api.go#L13338-L13341 |
121 | aws/aws-sdk-go | service/opsworks/api.go | SetReportedName | func (s *OperatingSystem) SetReportedName(v string) *OperatingSystem {
s.ReportedName = &v
return s
} | go | func (s *OperatingSystem) SetReportedName(v string) *OperatingSystem {
s.ReportedName = &v
return s
} | [
"func",
"(",
"s",
"*",
"OperatingSystem",
")",
"SetReportedName",
"(",
"v",
"string",
")",
"*",
"OperatingSystem",
"{",
"s",
".",
"ReportedName",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetReportedName sets the ReportedName field's value. | [
"SetReportedName",
"sets",
"the",
"ReportedName",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworks/api.go#L13356-L13359 |
122 | aws/aws-sdk-go | service/opsworks/api.go | SetReportedVersion | func (s *OperatingSystem) SetReportedVersion(v string) *OperatingSystem {
s.ReportedVersion = &v
return s
} | go | func (s *OperatingSystem) SetReportedVersion(v string) *OperatingSystem {
s.ReportedVersion = &v
return s
} | [
"func",
"(",
"s",
"*",
"OperatingSystem",
")",
"SetReportedVersion",
"(",
"v",
"string",
")",
"*",
"OperatingSystem",
"{",
"s",
".",
"ReportedVersion",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetReportedVersion sets the ReportedVersion field's value. | [
"SetReportedVersion",
"sets",
"the",
"ReportedVersion",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworks/api.go#L13362-L13365 |
123 | aws/aws-sdk-go | service/opsworks/api.go | SetSupported | func (s *OperatingSystem) SetSupported(v bool) *OperatingSystem {
s.Supported = &v
return s
} | go | func (s *OperatingSystem) SetSupported(v bool) *OperatingSystem {
s.Supported = &v
return s
} | [
"func",
"(",
"s",
"*",
"OperatingSystem",
")",
"SetSupported",
"(",
"v",
"bool",
")",
"*",
"OperatingSystem",
"{",
"s",
".",
"Supported",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetSupported sets the Supported field's value. | [
"SetSupported",
"sets",
"the",
"Supported",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworks/api.go#L13368-L13371 |
124 | aws/aws-sdk-go | service/opsworks/api.go | SetDbInstanceIdentifier | func (s *RdsDbInstance) SetDbInstanceIdentifier(v string) *RdsDbInstance {
s.DbInstanceIdentifier = &v
return s
} | go | func (s *RdsDbInstance) SetDbInstanceIdentifier(v string) *RdsDbInstance {
s.DbInstanceIdentifier = &v
return s
} | [
"func",
"(",
"s",
"*",
"RdsDbInstance",
")",
"SetDbInstanceIdentifier",
"(",
"v",
"string",
")",
"*",
"RdsDbInstance",
"{",
"s",
".",
"DbInstanceIdentifier",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDbInstanceIdentifier sets the DbInstanceIdentifier field's value. | [
"SetDbInstanceIdentifier",
"sets",
"the",
"DbInstanceIdentifier",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworks/api.go#L13674-L13677 |
125 | aws/aws-sdk-go | service/opsworks/api.go | SetMissingOnRds | func (s *RdsDbInstance) SetMissingOnRds(v bool) *RdsDbInstance {
s.MissingOnRds = &v
return s
} | go | func (s *RdsDbInstance) SetMissingOnRds(v bool) *RdsDbInstance {
s.MissingOnRds = &v
return s
} | [
"func",
"(",
"s",
"*",
"RdsDbInstance",
")",
"SetMissingOnRds",
"(",
"v",
"bool",
")",
"*",
"RdsDbInstance",
"{",
"s",
".",
"MissingOnRds",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetMissingOnRds sets the MissingOnRds field's value. | [
"SetMissingOnRds",
"sets",
"the",
"MissingOnRds",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworks/api.go#L13698-L13701 |
126 | aws/aws-sdk-go | service/opsworks/api.go | SetConfigure | func (s *Recipes) SetConfigure(v []*string) *Recipes {
s.Configure = v
return s
} | go | func (s *Recipes) SetConfigure(v []*string) *Recipes {
s.Configure = v
return s
} | [
"func",
"(",
"s",
"*",
"Recipes",
")",
"SetConfigure",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"Recipes",
"{",
"s",
".",
"Configure",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetConfigure sets the Configure field's value. | [
"SetConfigure",
"sets",
"the",
"Configure",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworks/api.go#L13815-L13818 |
127 | aws/aws-sdk-go | service/opsworks/api.go | SetDeploy | func (s *Recipes) SetDeploy(v []*string) *Recipes {
s.Deploy = v
return s
} | go | func (s *Recipes) SetDeploy(v []*string) *Recipes {
s.Deploy = v
return s
} | [
"func",
"(",
"s",
"*",
"Recipes",
")",
"SetDeploy",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"Recipes",
"{",
"s",
".",
"Deploy",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDeploy sets the Deploy field's value. | [
"SetDeploy",
"sets",
"the",
"Deploy",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworks/api.go#L13821-L13824 |
128 | aws/aws-sdk-go | service/opsworks/api.go | SetSetup | func (s *Recipes) SetSetup(v []*string) *Recipes {
s.Setup = v
return s
} | go | func (s *Recipes) SetSetup(v []*string) *Recipes {
s.Setup = v
return s
} | [
"func",
"(",
"s",
"*",
"Recipes",
")",
"SetSetup",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"Recipes",
"{",
"s",
".",
"Setup",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetSetup sets the Setup field's value. | [
"SetSetup",
"sets",
"the",
"Setup",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworks/api.go#L13827-L13830 |
129 | aws/aws-sdk-go | service/opsworks/api.go | SetUndeploy | func (s *Recipes) SetUndeploy(v []*string) *Recipes {
s.Undeploy = v
return s
} | go | func (s *Recipes) SetUndeploy(v []*string) *Recipes {
s.Undeploy = v
return s
} | [
"func",
"(",
"s",
"*",
"Recipes",
")",
"SetUndeploy",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"Recipes",
"{",
"s",
".",
"Undeploy",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetUndeploy sets the Undeploy field's value. | [
"SetUndeploy",
"sets",
"the",
"Undeploy",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworks/api.go#L13839-L13842 |
130 | aws/aws-sdk-go | service/opsworks/api.go | SetRsaPublicKey | func (s *RegisterInstanceInput) SetRsaPublicKey(v string) *RegisterInstanceInput {
s.RsaPublicKey = &v
return s
} | go | func (s *RegisterInstanceInput) SetRsaPublicKey(v string) *RegisterInstanceInput {
s.RsaPublicKey = &v
return s
} | [
"func",
"(",
"s",
"*",
"RegisterInstanceInput",
")",
"SetRsaPublicKey",
"(",
"v",
"string",
")",
"*",
"RegisterInstanceInput",
"{",
"s",
".",
"RsaPublicKey",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetRsaPublicKey sets the RsaPublicKey field's value. | [
"SetRsaPublicKey",
"sets",
"the",
"RsaPublicKey",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworks/api.go#L14072-L14075 |
131 | aws/aws-sdk-go | service/opsworks/api.go | SetRsaPublicKeyFingerprint | func (s *RegisterInstanceInput) SetRsaPublicKeyFingerprint(v string) *RegisterInstanceInput {
s.RsaPublicKeyFingerprint = &v
return s
} | go | func (s *RegisterInstanceInput) SetRsaPublicKeyFingerprint(v string) *RegisterInstanceInput {
s.RsaPublicKeyFingerprint = &v
return s
} | [
"func",
"(",
"s",
"*",
"RegisterInstanceInput",
")",
"SetRsaPublicKeyFingerprint",
"(",
"v",
"string",
")",
"*",
"RegisterInstanceInput",
"{",
"s",
".",
"RsaPublicKeyFingerprint",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetRsaPublicKeyFingerprint sets the RsaPublicKeyFingerprint field's value. | [
"SetRsaPublicKeyFingerprint",
"sets",
"the",
"RsaPublicKeyFingerprint",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworks/api.go#L14078-L14081 |
132 | aws/aws-sdk-go | service/opsworks/api.go | SetServiceErrorId | func (s *ServiceError) SetServiceErrorId(v string) *ServiceError {
s.ServiceErrorId = &v
return s
} | go | func (s *ServiceError) SetServiceErrorId(v string) *ServiceError {
s.ServiceErrorId = &v
return s
} | [
"func",
"(",
"s",
"*",
"ServiceError",
")",
"SetServiceErrorId",
"(",
"v",
"string",
")",
"*",
"ServiceError",
"{",
"s",
".",
"ServiceErrorId",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetServiceErrorId sets the ServiceErrorId field's value. | [
"SetServiceErrorId",
"sets",
"the",
"ServiceErrorId",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworks/api.go#L14423-L14426 |
133 | aws/aws-sdk-go | service/opsworks/api.go | SetDelayUntilElbConnectionsDrained | func (s *ShutdownEventConfiguration) SetDelayUntilElbConnectionsDrained(v bool) *ShutdownEventConfiguration {
s.DelayUntilElbConnectionsDrained = &v
return s
} | go | func (s *ShutdownEventConfiguration) SetDelayUntilElbConnectionsDrained(v bool) *ShutdownEventConfiguration {
s.DelayUntilElbConnectionsDrained = &v
return s
} | [
"func",
"(",
"s",
"*",
"ShutdownEventConfiguration",
")",
"SetDelayUntilElbConnectionsDrained",
"(",
"v",
"bool",
")",
"*",
"ShutdownEventConfiguration",
"{",
"s",
".",
"DelayUntilElbConnectionsDrained",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDelayUntilElbConnectionsDrained sets the DelayUntilElbConnectionsDrained field's value. | [
"SetDelayUntilElbConnectionsDrained",
"sets",
"the",
"DelayUntilElbConnectionsDrained",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworks/api.go#L14725-L14728 |
134 | aws/aws-sdk-go | service/opsworks/api.go | SetExecutionTimeout | func (s *ShutdownEventConfiguration) SetExecutionTimeout(v int64) *ShutdownEventConfiguration {
s.ExecutionTimeout = &v
return s
} | go | func (s *ShutdownEventConfiguration) SetExecutionTimeout(v int64) *ShutdownEventConfiguration {
s.ExecutionTimeout = &v
return s
} | [
"func",
"(",
"s",
"*",
"ShutdownEventConfiguration",
")",
"SetExecutionTimeout",
"(",
"v",
"int64",
")",
"*",
"ShutdownEventConfiguration",
"{",
"s",
".",
"ExecutionTimeout",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetExecutionTimeout sets the ExecutionTimeout field's value. | [
"SetExecutionTimeout",
"sets",
"the",
"ExecutionTimeout",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworks/api.go#L14731-L14734 |
135 | aws/aws-sdk-go | service/opsworks/api.go | SetChain | func (s *SslConfiguration) SetChain(v string) *SslConfiguration {
s.Chain = &v
return s
} | go | func (s *SslConfiguration) SetChain(v string) *SslConfiguration {
s.Chain = &v
return s
} | [
"func",
"(",
"s",
"*",
"SslConfiguration",
")",
"SetChain",
"(",
"v",
"string",
")",
"*",
"SslConfiguration",
"{",
"s",
".",
"Chain",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetChain sets the Chain field's value. | [
"SetChain",
"sets",
"the",
"Chain",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworks/api.go#L14882-L14885 |
136 | aws/aws-sdk-go | service/opsworks/api.go | SetAppsCount | func (s *StackSummary) SetAppsCount(v int64) *StackSummary {
s.AppsCount = &v
return s
} | go | func (s *StackSummary) SetAppsCount(v int64) *StackSummary {
s.AppsCount = &v
return s
} | [
"func",
"(",
"s",
"*",
"StackSummary",
")",
"SetAppsCount",
"(",
"v",
"int64",
")",
"*",
"StackSummary",
"{",
"s",
".",
"AppsCount",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAppsCount sets the AppsCount field's value. | [
"SetAppsCount",
"sets",
"the",
"AppsCount",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworks/api.go#L15195-L15198 |
137 | aws/aws-sdk-go | service/opsworks/api.go | SetInstancesCount | func (s *StackSummary) SetInstancesCount(v *InstancesCount) *StackSummary {
s.InstancesCount = v
return s
} | go | func (s *StackSummary) SetInstancesCount(v *InstancesCount) *StackSummary {
s.InstancesCount = v
return s
} | [
"func",
"(",
"s",
"*",
"StackSummary",
")",
"SetInstancesCount",
"(",
"v",
"*",
"InstancesCount",
")",
"*",
"StackSummary",
"{",
"s",
".",
"InstancesCount",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetInstancesCount sets the InstancesCount field's value. | [
"SetInstancesCount",
"sets",
"the",
"InstancesCount",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworks/api.go#L15207-L15210 |
138 | aws/aws-sdk-go | service/opsworks/api.go | SetLayersCount | func (s *StackSummary) SetLayersCount(v int64) *StackSummary {
s.LayersCount = &v
return s
} | go | func (s *StackSummary) SetLayersCount(v int64) *StackSummary {
s.LayersCount = &v
return s
} | [
"func",
"(",
"s",
"*",
"StackSummary",
")",
"SetLayersCount",
"(",
"v",
"int64",
")",
"*",
"StackSummary",
"{",
"s",
".",
"LayersCount",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetLayersCount sets the LayersCount field's value. | [
"SetLayersCount",
"sets",
"the",
"LayersCount",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworks/api.go#L15213-L15216 |
139 | aws/aws-sdk-go | service/opsworks/api.go | SetFriday | func (s *WeeklyAutoScalingSchedule) SetFriday(v map[string]*string) *WeeklyAutoScalingSchedule {
s.Friday = v
return s
} | go | func (s *WeeklyAutoScalingSchedule) SetFriday(v map[string]*string) *WeeklyAutoScalingSchedule {
s.Friday = v
return s
} | [
"func",
"(",
"s",
"*",
"WeeklyAutoScalingSchedule",
")",
"SetFriday",
"(",
"v",
"map",
"[",
"string",
"]",
"*",
"string",
")",
"*",
"WeeklyAutoScalingSchedule",
"{",
"s",
".",
"Friday",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetFriday sets the Friday field's value. | [
"SetFriday",
"sets",
"the",
"Friday",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworks/api.go#L17439-L17442 |
140 | aws/aws-sdk-go | service/opsworks/api.go | SetMonday | func (s *WeeklyAutoScalingSchedule) SetMonday(v map[string]*string) *WeeklyAutoScalingSchedule {
s.Monday = v
return s
} | go | func (s *WeeklyAutoScalingSchedule) SetMonday(v map[string]*string) *WeeklyAutoScalingSchedule {
s.Monday = v
return s
} | [
"func",
"(",
"s",
"*",
"WeeklyAutoScalingSchedule",
")",
"SetMonday",
"(",
"v",
"map",
"[",
"string",
"]",
"*",
"string",
")",
"*",
"WeeklyAutoScalingSchedule",
"{",
"s",
".",
"Monday",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetMonday sets the Monday field's value. | [
"SetMonday",
"sets",
"the",
"Monday",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworks/api.go#L17445-L17448 |
141 | aws/aws-sdk-go | service/opsworks/api.go | SetSaturday | func (s *WeeklyAutoScalingSchedule) SetSaturday(v map[string]*string) *WeeklyAutoScalingSchedule {
s.Saturday = v
return s
} | go | func (s *WeeklyAutoScalingSchedule) SetSaturday(v map[string]*string) *WeeklyAutoScalingSchedule {
s.Saturday = v
return s
} | [
"func",
"(",
"s",
"*",
"WeeklyAutoScalingSchedule",
")",
"SetSaturday",
"(",
"v",
"map",
"[",
"string",
"]",
"*",
"string",
")",
"*",
"WeeklyAutoScalingSchedule",
"{",
"s",
".",
"Saturday",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetSaturday sets the Saturday field's value. | [
"SetSaturday",
"sets",
"the",
"Saturday",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworks/api.go#L17451-L17454 |
142 | aws/aws-sdk-go | service/opsworks/api.go | SetSunday | func (s *WeeklyAutoScalingSchedule) SetSunday(v map[string]*string) *WeeklyAutoScalingSchedule {
s.Sunday = v
return s
} | go | func (s *WeeklyAutoScalingSchedule) SetSunday(v map[string]*string) *WeeklyAutoScalingSchedule {
s.Sunday = v
return s
} | [
"func",
"(",
"s",
"*",
"WeeklyAutoScalingSchedule",
")",
"SetSunday",
"(",
"v",
"map",
"[",
"string",
"]",
"*",
"string",
")",
"*",
"WeeklyAutoScalingSchedule",
"{",
"s",
".",
"Sunday",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetSunday sets the Sunday field's value. | [
"SetSunday",
"sets",
"the",
"Sunday",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworks/api.go#L17457-L17460 |
143 | aws/aws-sdk-go | service/opsworks/api.go | SetThursday | func (s *WeeklyAutoScalingSchedule) SetThursday(v map[string]*string) *WeeklyAutoScalingSchedule {
s.Thursday = v
return s
} | go | func (s *WeeklyAutoScalingSchedule) SetThursday(v map[string]*string) *WeeklyAutoScalingSchedule {
s.Thursday = v
return s
} | [
"func",
"(",
"s",
"*",
"WeeklyAutoScalingSchedule",
")",
"SetThursday",
"(",
"v",
"map",
"[",
"string",
"]",
"*",
"string",
")",
"*",
"WeeklyAutoScalingSchedule",
"{",
"s",
".",
"Thursday",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetThursday sets the Thursday field's value. | [
"SetThursday",
"sets",
"the",
"Thursday",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworks/api.go#L17463-L17466 |
144 | aws/aws-sdk-go | service/opsworks/api.go | SetTuesday | func (s *WeeklyAutoScalingSchedule) SetTuesday(v map[string]*string) *WeeklyAutoScalingSchedule {
s.Tuesday = v
return s
} | go | func (s *WeeklyAutoScalingSchedule) SetTuesday(v map[string]*string) *WeeklyAutoScalingSchedule {
s.Tuesday = v
return s
} | [
"func",
"(",
"s",
"*",
"WeeklyAutoScalingSchedule",
")",
"SetTuesday",
"(",
"v",
"map",
"[",
"string",
"]",
"*",
"string",
")",
"*",
"WeeklyAutoScalingSchedule",
"{",
"s",
".",
"Tuesday",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetTuesday sets the Tuesday field's value. | [
"SetTuesday",
"sets",
"the",
"Tuesday",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworks/api.go#L17469-L17472 |
145 | aws/aws-sdk-go | service/opsworks/api.go | SetWednesday | func (s *WeeklyAutoScalingSchedule) SetWednesday(v map[string]*string) *WeeklyAutoScalingSchedule {
s.Wednesday = v
return s
} | go | func (s *WeeklyAutoScalingSchedule) SetWednesday(v map[string]*string) *WeeklyAutoScalingSchedule {
s.Wednesday = v
return s
} | [
"func",
"(",
"s",
"*",
"WeeklyAutoScalingSchedule",
")",
"SetWednesday",
"(",
"v",
"map",
"[",
"string",
"]",
"*",
"string",
")",
"*",
"WeeklyAutoScalingSchedule",
"{",
"s",
".",
"Wednesday",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetWednesday sets the Wednesday field's value. | [
"SetWednesday",
"sets",
"the",
"Wednesday",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworks/api.go#L17475-L17478 |
146 | aws/aws-sdk-go | aws/credentials/processcreds/provider.go | NewCredentials | func NewCredentials(command string, options ...func(*ProcessProvider)) *credentials.Credentials {
p := &ProcessProvider{
command: exec.Command(command),
Duration: DefaultDuration,
Timeout: DefaultTimeout,
MaxBufSize: DefaultBufSize,
}
for _, option := range options {
option(p)
}
return credentials.NewCredentials(p)
} | go | func NewCredentials(command string, options ...func(*ProcessProvider)) *credentials.Credentials {
p := &ProcessProvider{
command: exec.Command(command),
Duration: DefaultDuration,
Timeout: DefaultTimeout,
MaxBufSize: DefaultBufSize,
}
for _, option := range options {
option(p)
}
return credentials.NewCredentials(p)
} | [
"func",
"NewCredentials",
"(",
"command",
"string",
",",
"options",
"...",
"func",
"(",
"*",
"ProcessProvider",
")",
")",
"*",
"credentials",
".",
"Credentials",
"{",
"p",
":=",
"&",
"ProcessProvider",
"{",
"command",
":",
"exec",
".",
"Command",
"(",
"command",
")",
",",
"Duration",
":",
"DefaultDuration",
",",
"Timeout",
":",
"DefaultTimeout",
",",
"MaxBufSize",
":",
"DefaultBufSize",
",",
"}",
"\n\n",
"for",
"_",
",",
"option",
":=",
"range",
"options",
"{",
"option",
"(",
"p",
")",
"\n",
"}",
"\n\n",
"return",
"credentials",
".",
"NewCredentials",
"(",
"p",
")",
"\n",
"}"
] | // NewCredentials returns a pointer to a new Credentials object wrapping the
// ProcessProvider. The credentials will expire every 15 minutes by default. | [
"NewCredentials",
"returns",
"a",
"pointer",
"to",
"a",
"new",
"Credentials",
"object",
"wrapping",
"the",
"ProcessProvider",
".",
"The",
"credentials",
"will",
"expire",
"every",
"15",
"minutes",
"by",
"default",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/credentials/processcreds/provider.go#L186-L199 |
147 | aws/aws-sdk-go | aws/credentials/processcreds/provider.go | NewCredentialsTimeout | func NewCredentialsTimeout(command string, timeout time.Duration) *credentials.Credentials {
p := NewCredentials(command, func(opt *ProcessProvider) {
opt.Timeout = timeout
})
return p
} | go | func NewCredentialsTimeout(command string, timeout time.Duration) *credentials.Credentials {
p := NewCredentials(command, func(opt *ProcessProvider) {
opt.Timeout = timeout
})
return p
} | [
"func",
"NewCredentialsTimeout",
"(",
"command",
"string",
",",
"timeout",
"time",
".",
"Duration",
")",
"*",
"credentials",
".",
"Credentials",
"{",
"p",
":=",
"NewCredentials",
"(",
"command",
",",
"func",
"(",
"opt",
"*",
"ProcessProvider",
")",
"{",
"opt",
".",
"Timeout",
"=",
"timeout",
"\n",
"}",
")",
"\n\n",
"return",
"p",
"\n",
"}"
] | // NewCredentialsTimeout returns a pointer to a new Credentials object with
// the specified command and timeout, and default duration and max buffer size. | [
"NewCredentialsTimeout",
"returns",
"a",
"pointer",
"to",
"a",
"new",
"Credentials",
"object",
"with",
"the",
"specified",
"command",
"and",
"timeout",
"and",
"default",
"duration",
"and",
"max",
"buffer",
"size",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/credentials/processcreds/provider.go#L203-L209 |
148 | aws/aws-sdk-go | aws/credentials/processcreds/provider.go | Retrieve | func (p *ProcessProvider) Retrieve() (credentials.Value, error) {
out, err := p.executeCredentialProcess()
if err != nil {
return credentials.Value{ProviderName: ProviderName}, err
}
// Serialize and validate response
resp := &credentialProcessResponse{}
if err = json.Unmarshal(out, resp); err != nil {
return credentials.Value{ProviderName: ProviderName}, awserr.New(
ErrCodeProcessProviderParse,
fmt.Sprintf("%s: %s", errMsgProcessProviderParse, string(out)),
err)
}
if resp.Version != 1 {
return credentials.Value{ProviderName: ProviderName}, awserr.New(
ErrCodeProcessProviderVersion,
errMsgProcessProviderVersion,
nil)
}
if len(resp.AccessKeyID) == 0 {
return credentials.Value{ProviderName: ProviderName}, awserr.New(
ErrCodeProcessProviderRequired,
errMsgProcessProviderMissKey,
nil)
}
if len(resp.SecretAccessKey) == 0 {
return credentials.Value{ProviderName: ProviderName}, awserr.New(
ErrCodeProcessProviderRequired,
errMsgProcessProviderMissSecret,
nil)
}
// Handle expiration
p.staticCreds = resp.Expiration == nil
if resp.Expiration != nil {
p.SetExpiration(*resp.Expiration, p.ExpiryWindow)
}
return credentials.Value{
ProviderName: ProviderName,
AccessKeyID: resp.AccessKeyID,
SecretAccessKey: resp.SecretAccessKey,
SessionToken: resp.SessionToken,
}, nil
} | go | func (p *ProcessProvider) Retrieve() (credentials.Value, error) {
out, err := p.executeCredentialProcess()
if err != nil {
return credentials.Value{ProviderName: ProviderName}, err
}
// Serialize and validate response
resp := &credentialProcessResponse{}
if err = json.Unmarshal(out, resp); err != nil {
return credentials.Value{ProviderName: ProviderName}, awserr.New(
ErrCodeProcessProviderParse,
fmt.Sprintf("%s: %s", errMsgProcessProviderParse, string(out)),
err)
}
if resp.Version != 1 {
return credentials.Value{ProviderName: ProviderName}, awserr.New(
ErrCodeProcessProviderVersion,
errMsgProcessProviderVersion,
nil)
}
if len(resp.AccessKeyID) == 0 {
return credentials.Value{ProviderName: ProviderName}, awserr.New(
ErrCodeProcessProviderRequired,
errMsgProcessProviderMissKey,
nil)
}
if len(resp.SecretAccessKey) == 0 {
return credentials.Value{ProviderName: ProviderName}, awserr.New(
ErrCodeProcessProviderRequired,
errMsgProcessProviderMissSecret,
nil)
}
// Handle expiration
p.staticCreds = resp.Expiration == nil
if resp.Expiration != nil {
p.SetExpiration(*resp.Expiration, p.ExpiryWindow)
}
return credentials.Value{
ProviderName: ProviderName,
AccessKeyID: resp.AccessKeyID,
SecretAccessKey: resp.SecretAccessKey,
SessionToken: resp.SessionToken,
}, nil
} | [
"func",
"(",
"p",
"*",
"ProcessProvider",
")",
"Retrieve",
"(",
")",
"(",
"credentials",
".",
"Value",
",",
"error",
")",
"{",
"out",
",",
"err",
":=",
"p",
".",
"executeCredentialProcess",
"(",
")",
"\n",
"if",
"err",
"!=",
"nil",
"{",
"return",
"credentials",
".",
"Value",
"{",
"ProviderName",
":",
"ProviderName",
"}",
",",
"err",
"\n",
"}",
"\n\n",
"// Serialize and validate response",
"resp",
":=",
"&",
"credentialProcessResponse",
"{",
"}",
"\n",
"if",
"err",
"=",
"json",
".",
"Unmarshal",
"(",
"out",
",",
"resp",
")",
";",
"err",
"!=",
"nil",
"{",
"return",
"credentials",
".",
"Value",
"{",
"ProviderName",
":",
"ProviderName",
"}",
",",
"awserr",
".",
"New",
"(",
"ErrCodeProcessProviderParse",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"errMsgProcessProviderParse",
",",
"string",
"(",
"out",
")",
")",
",",
"err",
")",
"\n",
"}",
"\n\n",
"if",
"resp",
".",
"Version",
"!=",
"1",
"{",
"return",
"credentials",
".",
"Value",
"{",
"ProviderName",
":",
"ProviderName",
"}",
",",
"awserr",
".",
"New",
"(",
"ErrCodeProcessProviderVersion",
",",
"errMsgProcessProviderVersion",
",",
"nil",
")",
"\n",
"}",
"\n\n",
"if",
"len",
"(",
"resp",
".",
"AccessKeyID",
")",
"==",
"0",
"{",
"return",
"credentials",
".",
"Value",
"{",
"ProviderName",
":",
"ProviderName",
"}",
",",
"awserr",
".",
"New",
"(",
"ErrCodeProcessProviderRequired",
",",
"errMsgProcessProviderMissKey",
",",
"nil",
")",
"\n",
"}",
"\n\n",
"if",
"len",
"(",
"resp",
".",
"SecretAccessKey",
")",
"==",
"0",
"{",
"return",
"credentials",
".",
"Value",
"{",
"ProviderName",
":",
"ProviderName",
"}",
",",
"awserr",
".",
"New",
"(",
"ErrCodeProcessProviderRequired",
",",
"errMsgProcessProviderMissSecret",
",",
"nil",
")",
"\n",
"}",
"\n\n",
"// Handle expiration",
"p",
".",
"staticCreds",
"=",
"resp",
".",
"Expiration",
"==",
"nil",
"\n",
"if",
"resp",
".",
"Expiration",
"!=",
"nil",
"{",
"p",
".",
"SetExpiration",
"(",
"*",
"resp",
".",
"Expiration",
",",
"p",
".",
"ExpiryWindow",
")",
"\n",
"}",
"\n\n",
"return",
"credentials",
".",
"Value",
"{",
"ProviderName",
":",
"ProviderName",
",",
"AccessKeyID",
":",
"resp",
".",
"AccessKeyID",
",",
"SecretAccessKey",
":",
"resp",
".",
"SecretAccessKey",
",",
"SessionToken",
":",
"resp",
".",
"SessionToken",
",",
"}",
",",
"nil",
"\n",
"}"
] | // Retrieve executes the 'credential_process' and returns the credentials. | [
"Retrieve",
"executes",
"the",
"credential_process",
"and",
"returns",
"the",
"credentials",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/credentials/processcreds/provider.go#L237-L285 |
149 | aws/aws-sdk-go | aws/credentials/processcreds/provider.go | prepareCommand | func (p *ProcessProvider) prepareCommand() error {
var cmdArgs []string
if runtime.GOOS == "windows" {
cmdArgs = []string{"cmd.exe", "/C"}
} else {
cmdArgs = []string{"sh", "-c"}
}
if len(p.originalCommand) == 0 {
p.originalCommand = make([]string, len(p.command.Args))
copy(p.originalCommand, p.command.Args)
// check for empty command because it succeeds
if len(strings.TrimSpace(p.originalCommand[0])) < 1 {
return awserr.New(
ErrCodeProcessProviderExecution,
fmt.Sprintf(
"%s: %s",
errMsgProcessProviderPrepareCmd,
errMsgProcessProviderEmptyCmd),
nil)
}
}
cmdArgs = append(cmdArgs, p.originalCommand...)
p.command = exec.Command(cmdArgs[0], cmdArgs[1:]...)
p.command.Env = os.Environ()
return nil
} | go | func (p *ProcessProvider) prepareCommand() error {
var cmdArgs []string
if runtime.GOOS == "windows" {
cmdArgs = []string{"cmd.exe", "/C"}
} else {
cmdArgs = []string{"sh", "-c"}
}
if len(p.originalCommand) == 0 {
p.originalCommand = make([]string, len(p.command.Args))
copy(p.originalCommand, p.command.Args)
// check for empty command because it succeeds
if len(strings.TrimSpace(p.originalCommand[0])) < 1 {
return awserr.New(
ErrCodeProcessProviderExecution,
fmt.Sprintf(
"%s: %s",
errMsgProcessProviderPrepareCmd,
errMsgProcessProviderEmptyCmd),
nil)
}
}
cmdArgs = append(cmdArgs, p.originalCommand...)
p.command = exec.Command(cmdArgs[0], cmdArgs[1:]...)
p.command.Env = os.Environ()
return nil
} | [
"func",
"(",
"p",
"*",
"ProcessProvider",
")",
"prepareCommand",
"(",
")",
"error",
"{",
"var",
"cmdArgs",
"[",
"]",
"string",
"\n",
"if",
"runtime",
".",
"GOOS",
"==",
"\"",
"\"",
"{",
"cmdArgs",
"=",
"[",
"]",
"string",
"{",
"\"",
"\"",
",",
"\"",
"\"",
"}",
"\n",
"}",
"else",
"{",
"cmdArgs",
"=",
"[",
"]",
"string",
"{",
"\"",
"\"",
",",
"\"",
"\"",
"}",
"\n",
"}",
"\n\n",
"if",
"len",
"(",
"p",
".",
"originalCommand",
")",
"==",
"0",
"{",
"p",
".",
"originalCommand",
"=",
"make",
"(",
"[",
"]",
"string",
",",
"len",
"(",
"p",
".",
"command",
".",
"Args",
")",
")",
"\n",
"copy",
"(",
"p",
".",
"originalCommand",
",",
"p",
".",
"command",
".",
"Args",
")",
"\n\n",
"// check for empty command because it succeeds",
"if",
"len",
"(",
"strings",
".",
"TrimSpace",
"(",
"p",
".",
"originalCommand",
"[",
"0",
"]",
")",
")",
"<",
"1",
"{",
"return",
"awserr",
".",
"New",
"(",
"ErrCodeProcessProviderExecution",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"errMsgProcessProviderPrepareCmd",
",",
"errMsgProcessProviderEmptyCmd",
")",
",",
"nil",
")",
"\n",
"}",
"\n",
"}",
"\n\n",
"cmdArgs",
"=",
"append",
"(",
"cmdArgs",
",",
"p",
".",
"originalCommand",
"...",
")",
"\n",
"p",
".",
"command",
"=",
"exec",
".",
"Command",
"(",
"cmdArgs",
"[",
"0",
"]",
",",
"cmdArgs",
"[",
"1",
":",
"]",
"...",
")",
"\n",
"p",
".",
"command",
".",
"Env",
"=",
"os",
".",
"Environ",
"(",
")",
"\n\n",
"return",
"nil",
"\n",
"}"
] | // prepareCommand prepares the command to be executed. | [
"prepareCommand",
"prepares",
"the",
"command",
"to",
"be",
"executed",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/credentials/processcreds/provider.go#L297-L327 |
150 | aws/aws-sdk-go | aws/credentials/processcreds/provider.go | executeCredentialProcess | func (p *ProcessProvider) executeCredentialProcess() ([]byte, error) {
if err := p.prepareCommand(); err != nil {
return nil, err
}
// Setup the pipes
outReadPipe, outWritePipe, err := os.Pipe()
if err != nil {
return nil, awserr.New(
ErrCodeProcessProviderExecution,
errMsgProcessProviderPipe,
err)
}
p.command.Stderr = os.Stderr // display stderr on console for MFA
p.command.Stdout = outWritePipe // get creds json on process's stdout
p.command.Stdin = os.Stdin // enable stdin for MFA
output := bytes.NewBuffer(make([]byte, 0, p.MaxBufSize))
stdoutCh := make(chan error, 1)
go readInput(
io.LimitReader(outReadPipe, int64(p.MaxBufSize)),
output,
stdoutCh)
execCh := make(chan error, 1)
go executeCommand(*p.command, execCh)
finished := false
var errors []error
for !finished {
select {
case readError := <-stdoutCh:
errors = appendError(errors, readError)
finished = true
case execError := <-execCh:
err := outWritePipe.Close()
errors = appendError(errors, err)
errors = appendError(errors, execError)
if errors != nil {
return output.Bytes(), awserr.NewBatchError(
ErrCodeProcessProviderExecution,
errMsgProcessProviderProcess,
errors)
}
case <-time.After(p.Timeout):
finished = true
return output.Bytes(), awserr.NewBatchError(
ErrCodeProcessProviderExecution,
errMsgProcessProviderTimeout,
errors) // errors can be nil
}
}
out := output.Bytes()
if runtime.GOOS == "windows" {
// windows adds slashes to quotes
out = []byte(strings.Replace(string(out), `\"`, `"`, -1))
}
return out, nil
} | go | func (p *ProcessProvider) executeCredentialProcess() ([]byte, error) {
if err := p.prepareCommand(); err != nil {
return nil, err
}
// Setup the pipes
outReadPipe, outWritePipe, err := os.Pipe()
if err != nil {
return nil, awserr.New(
ErrCodeProcessProviderExecution,
errMsgProcessProviderPipe,
err)
}
p.command.Stderr = os.Stderr // display stderr on console for MFA
p.command.Stdout = outWritePipe // get creds json on process's stdout
p.command.Stdin = os.Stdin // enable stdin for MFA
output := bytes.NewBuffer(make([]byte, 0, p.MaxBufSize))
stdoutCh := make(chan error, 1)
go readInput(
io.LimitReader(outReadPipe, int64(p.MaxBufSize)),
output,
stdoutCh)
execCh := make(chan error, 1)
go executeCommand(*p.command, execCh)
finished := false
var errors []error
for !finished {
select {
case readError := <-stdoutCh:
errors = appendError(errors, readError)
finished = true
case execError := <-execCh:
err := outWritePipe.Close()
errors = appendError(errors, err)
errors = appendError(errors, execError)
if errors != nil {
return output.Bytes(), awserr.NewBatchError(
ErrCodeProcessProviderExecution,
errMsgProcessProviderProcess,
errors)
}
case <-time.After(p.Timeout):
finished = true
return output.Bytes(), awserr.NewBatchError(
ErrCodeProcessProviderExecution,
errMsgProcessProviderTimeout,
errors) // errors can be nil
}
}
out := output.Bytes()
if runtime.GOOS == "windows" {
// windows adds slashes to quotes
out = []byte(strings.Replace(string(out), `\"`, `"`, -1))
}
return out, nil
} | [
"func",
"(",
"p",
"*",
"ProcessProvider",
")",
"executeCredentialProcess",
"(",
")",
"(",
"[",
"]",
"byte",
",",
"error",
")",
"{",
"if",
"err",
":=",
"p",
".",
"prepareCommand",
"(",
")",
";",
"err",
"!=",
"nil",
"{",
"return",
"nil",
",",
"err",
"\n",
"}",
"\n\n",
"// Setup the pipes",
"outReadPipe",
",",
"outWritePipe",
",",
"err",
":=",
"os",
".",
"Pipe",
"(",
")",
"\n",
"if",
"err",
"!=",
"nil",
"{",
"return",
"nil",
",",
"awserr",
".",
"New",
"(",
"ErrCodeProcessProviderExecution",
",",
"errMsgProcessProviderPipe",
",",
"err",
")",
"\n",
"}",
"\n\n",
"p",
".",
"command",
".",
"Stderr",
"=",
"os",
".",
"Stderr",
"// display stderr on console for MFA",
"\n",
"p",
".",
"command",
".",
"Stdout",
"=",
"outWritePipe",
"// get creds json on process's stdout",
"\n",
"p",
".",
"command",
".",
"Stdin",
"=",
"os",
".",
"Stdin",
"// enable stdin for MFA",
"\n\n",
"output",
":=",
"bytes",
".",
"NewBuffer",
"(",
"make",
"(",
"[",
"]",
"byte",
",",
"0",
",",
"p",
".",
"MaxBufSize",
")",
")",
"\n\n",
"stdoutCh",
":=",
"make",
"(",
"chan",
"error",
",",
"1",
")",
"\n",
"go",
"readInput",
"(",
"io",
".",
"LimitReader",
"(",
"outReadPipe",
",",
"int64",
"(",
"p",
".",
"MaxBufSize",
")",
")",
",",
"output",
",",
"stdoutCh",
")",
"\n\n",
"execCh",
":=",
"make",
"(",
"chan",
"error",
",",
"1",
")",
"\n",
"go",
"executeCommand",
"(",
"*",
"p",
".",
"command",
",",
"execCh",
")",
"\n\n",
"finished",
":=",
"false",
"\n",
"var",
"errors",
"[",
"]",
"error",
"\n",
"for",
"!",
"finished",
"{",
"select",
"{",
"case",
"readError",
":=",
"<-",
"stdoutCh",
":",
"errors",
"=",
"appendError",
"(",
"errors",
",",
"readError",
")",
"\n",
"finished",
"=",
"true",
"\n",
"case",
"execError",
":=",
"<-",
"execCh",
":",
"err",
":=",
"outWritePipe",
".",
"Close",
"(",
")",
"\n",
"errors",
"=",
"appendError",
"(",
"errors",
",",
"err",
")",
"\n",
"errors",
"=",
"appendError",
"(",
"errors",
",",
"execError",
")",
"\n",
"if",
"errors",
"!=",
"nil",
"{",
"return",
"output",
".",
"Bytes",
"(",
")",
",",
"awserr",
".",
"NewBatchError",
"(",
"ErrCodeProcessProviderExecution",
",",
"errMsgProcessProviderProcess",
",",
"errors",
")",
"\n",
"}",
"\n",
"case",
"<-",
"time",
".",
"After",
"(",
"p",
".",
"Timeout",
")",
":",
"finished",
"=",
"true",
"\n",
"return",
"output",
".",
"Bytes",
"(",
")",
",",
"awserr",
".",
"NewBatchError",
"(",
"ErrCodeProcessProviderExecution",
",",
"errMsgProcessProviderTimeout",
",",
"errors",
")",
"// errors can be nil",
"\n",
"}",
"\n",
"}",
"\n\n",
"out",
":=",
"output",
".",
"Bytes",
"(",
")",
"\n\n",
"if",
"runtime",
".",
"GOOS",
"==",
"\"",
"\"",
"{",
"// windows adds slashes to quotes",
"out",
"=",
"[",
"]",
"byte",
"(",
"strings",
".",
"Replace",
"(",
"string",
"(",
"out",
")",
",",
"`\\\"`",
",",
"`\"`",
",",
"-",
"1",
")",
")",
"\n",
"}",
"\n\n",
"return",
"out",
",",
"nil",
"\n",
"}"
] | // executeCredentialProcess starts the credential process on the OS and
// returns the results or an error. | [
"executeCredentialProcess",
"starts",
"the",
"credential",
"process",
"on",
"the",
"OS",
"and",
"returns",
"the",
"results",
"or",
"an",
"error",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/credentials/processcreds/provider.go#L331-L395 |
151 | aws/aws-sdk-go | aws/credentials/processcreds/provider.go | appendError | func appendError(errors []error, err error) []error {
if err != nil {
return append(errors, err)
}
return errors
} | go | func appendError(errors []error, err error) []error {
if err != nil {
return append(errors, err)
}
return errors
} | [
"func",
"appendError",
"(",
"errors",
"[",
"]",
"error",
",",
"err",
"error",
")",
"[",
"]",
"error",
"{",
"if",
"err",
"!=",
"nil",
"{",
"return",
"append",
"(",
"errors",
",",
"err",
")",
"\n",
"}",
"\n",
"return",
"errors",
"\n",
"}"
] | // appendError conveniently checks for nil before appending slice | [
"appendError",
"conveniently",
"checks",
"for",
"nil",
"before",
"appending",
"slice"
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/credentials/processcreds/provider.go#L398-L403 |
152 | aws/aws-sdk-go | aws/credentials/credentials.go | Retrieve | func (p ErrorProvider) Retrieve() (Value, error) {
return Value{ProviderName: p.ProviderName}, p.Err
} | go | func (p ErrorProvider) Retrieve() (Value, error) {
return Value{ProviderName: p.ProviderName}, p.Err
} | [
"func",
"(",
"p",
"ErrorProvider",
")",
"Retrieve",
"(",
")",
"(",
"Value",
",",
"error",
")",
"{",
"return",
"Value",
"{",
"ProviderName",
":",
"p",
".",
"ProviderName",
"}",
",",
"p",
".",
"Err",
"\n",
"}"
] | // Retrieve will always return the error that the ErrorProvider was created with. | [
"Retrieve",
"will",
"always",
"return",
"the",
"error",
"that",
"the",
"ErrorProvider",
"was",
"created",
"with",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/credentials/credentials.go#L122-L124 |
153 | aws/aws-sdk-go | aws/credentials/credentials.go | SetExpiration | func (e *Expiry) SetExpiration(expiration time.Time, window time.Duration) {
e.expiration = expiration
if window > 0 {
e.expiration = e.expiration.Add(-window)
}
} | go | func (e *Expiry) SetExpiration(expiration time.Time, window time.Duration) {
e.expiration = expiration
if window > 0 {
e.expiration = e.expiration.Add(-window)
}
} | [
"func",
"(",
"e",
"*",
"Expiry",
")",
"SetExpiration",
"(",
"expiration",
"time",
".",
"Time",
",",
"window",
"time",
".",
"Duration",
")",
"{",
"e",
".",
"expiration",
"=",
"expiration",
"\n",
"if",
"window",
">",
"0",
"{",
"e",
".",
"expiration",
"=",
"e",
".",
"expiration",
".",
"Add",
"(",
"-",
"window",
")",
"\n",
"}",
"\n",
"}"
] | // SetExpiration sets the expiration IsExpired will check when called.
//
// If window is greater than 0 the expiration time will be reduced by the
// window value.
//
// Using a window is helpful to trigger credentials to expire sooner than
// the expiration time given to ensure no requests are made with expired
// tokens. | [
"SetExpiration",
"sets",
"the",
"expiration",
"IsExpired",
"will",
"check",
"when",
"called",
".",
"If",
"window",
"is",
"greater",
"than",
"0",
"the",
"expiration",
"time",
"will",
"be",
"reduced",
"by",
"the",
"window",
"value",
".",
"Using",
"a",
"window",
"is",
"helpful",
"to",
"trigger",
"credentials",
"to",
"expire",
"sooner",
"than",
"the",
"expiration",
"time",
"given",
"to",
"ensure",
"no",
"requests",
"are",
"made",
"with",
"expired",
"tokens",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/credentials/credentials.go#L160-L165 |
154 | aws/aws-sdk-go | aws/credentials/credentials.go | ExpiresAt | func (c *Credentials) ExpiresAt() (time.Time, error) {
c.m.RLock()
defer c.m.RUnlock()
expirer, ok := c.provider.(Expirer)
if !ok {
return time.Time{}, awserr.New("ProviderNotExpirer",
fmt.Sprintf("provider %s does not support ExpiresAt()", c.creds.ProviderName),
nil)
}
if c.forceRefresh {
// set expiration time to the distant past
return time.Time{}, nil
}
return expirer.ExpiresAt(), nil
} | go | func (c *Credentials) ExpiresAt() (time.Time, error) {
c.m.RLock()
defer c.m.RUnlock()
expirer, ok := c.provider.(Expirer)
if !ok {
return time.Time{}, awserr.New("ProviderNotExpirer",
fmt.Sprintf("provider %s does not support ExpiresAt()", c.creds.ProviderName),
nil)
}
if c.forceRefresh {
// set expiration time to the distant past
return time.Time{}, nil
}
return expirer.ExpiresAt(), nil
} | [
"func",
"(",
"c",
"*",
"Credentials",
")",
"ExpiresAt",
"(",
")",
"(",
"time",
".",
"Time",
",",
"error",
")",
"{",
"c",
".",
"m",
".",
"RLock",
"(",
")",
"\n",
"defer",
"c",
".",
"m",
".",
"RUnlock",
"(",
")",
"\n\n",
"expirer",
",",
"ok",
":=",
"c",
".",
"provider",
".",
"(",
"Expirer",
")",
"\n",
"if",
"!",
"ok",
"{",
"return",
"time",
".",
"Time",
"{",
"}",
",",
"awserr",
".",
"New",
"(",
"\"",
"\"",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"c",
".",
"creds",
".",
"ProviderName",
")",
",",
"nil",
")",
"\n",
"}",
"\n",
"if",
"c",
".",
"forceRefresh",
"{",
"// set expiration time to the distant past",
"return",
"time",
".",
"Time",
"{",
"}",
",",
"nil",
"\n",
"}",
"\n",
"return",
"expirer",
".",
"ExpiresAt",
"(",
")",
",",
"nil",
"\n",
"}"
] | // ExpiresAt provides access to the functionality of the Expirer interface of
// the underlying Provider, if it supports that interface. Otherwise, it returns
// an error. | [
"ExpiresAt",
"provides",
"access",
"to",
"the",
"functionality",
"of",
"the",
"Expirer",
"interface",
"of",
"the",
"underlying",
"Provider",
"if",
"it",
"supports",
"that",
"interface",
".",
"Otherwise",
"it",
"returns",
"an",
"error",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/credentials/credentials.go#L277-L292 |
155 | aws/aws-sdk-go | service/iotdataplane/api.go | SetQos | func (s *PublishInput) SetQos(v int64) *PublishInput {
s.Qos = &v
return s
} | go | func (s *PublishInput) SetQos(v int64) *PublishInput {
s.Qos = &v
return s
} | [
"func",
"(",
"s",
"*",
"PublishInput",
")",
"SetQos",
"(",
"v",
"int64",
")",
"*",
"PublishInput",
"{",
"s",
".",
"Qos",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetQos sets the Qos field's value. | [
"SetQos",
"sets",
"the",
"Qos",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/iotdataplane/api.go#L588-L591 |
156 | aws/aws-sdk-go | service/mediastore/api.go | SetAccessLoggingEnabled | func (s *Container) SetAccessLoggingEnabled(v bool) *Container {
s.AccessLoggingEnabled = &v
return s
} | go | func (s *Container) SetAccessLoggingEnabled(v bool) *Container {
s.AccessLoggingEnabled = &v
return s
} | [
"func",
"(",
"s",
"*",
"Container",
")",
"SetAccessLoggingEnabled",
"(",
"v",
"bool",
")",
"*",
"Container",
"{",
"s",
".",
"AccessLoggingEnabled",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAccessLoggingEnabled sets the AccessLoggingEnabled field's value. | [
"SetAccessLoggingEnabled",
"sets",
"the",
"AccessLoggingEnabled",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/mediastore/api.go#L1437-L1440 |
157 | aws/aws-sdk-go | service/codecommit/api.go | SetRepositoriesNotFound | func (s *BatchGetRepositoriesOutput) SetRepositoriesNotFound(v []*string) *BatchGetRepositoriesOutput {
s.RepositoriesNotFound = v
return s
} | go | func (s *BatchGetRepositoriesOutput) SetRepositoriesNotFound(v []*string) *BatchGetRepositoriesOutput {
s.RepositoriesNotFound = v
return s
} | [
"func",
"(",
"s",
"*",
"BatchGetRepositoriesOutput",
")",
"SetRepositoriesNotFound",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"BatchGetRepositoriesOutput",
"{",
"s",
".",
"RepositoriesNotFound",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetRepositoriesNotFound sets the RepositoriesNotFound field's value. | [
"SetRepositoriesNotFound",
"sets",
"the",
"RepositoriesNotFound",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codecommit/api.go#L5494-L5497 |
158 | aws/aws-sdk-go | service/codecommit/api.go | SetAdditionalData | func (s *Commit) SetAdditionalData(v string) *Commit {
s.AdditionalData = &v
return s
} | go | func (s *Commit) SetAdditionalData(v string) *Commit {
s.AdditionalData = &v
return s
} | [
"func",
"(",
"s",
"*",
"Commit",
")",
"SetAdditionalData",
"(",
"v",
"string",
")",
"*",
"Commit",
"{",
"s",
".",
"AdditionalData",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAdditionalData sets the AdditionalData field's value. | [
"SetAdditionalData",
"sets",
"the",
"AdditionalData",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codecommit/api.go#L5895-L5898 |
159 | aws/aws-sdk-go | service/codecommit/api.go | SetCommitter | func (s *Commit) SetCommitter(v *UserInfo) *Commit {
s.Committer = v
return s
} | go | func (s *Commit) SetCommitter(v *UserInfo) *Commit {
s.Committer = v
return s
} | [
"func",
"(",
"s",
"*",
"Commit",
")",
"SetCommitter",
"(",
"v",
"*",
"UserInfo",
")",
"*",
"Commit",
"{",
"s",
".",
"Committer",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetCommitter sets the Committer field's value. | [
"SetCommitter",
"sets",
"the",
"Committer",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codecommit/api.go#L5913-L5916 |
160 | aws/aws-sdk-go | service/codecommit/api.go | SetAuthorName | func (s *CreateCommitInput) SetAuthorName(v string) *CreateCommitInput {
s.AuthorName = &v
return s
} | go | func (s *CreateCommitInput) SetAuthorName(v string) *CreateCommitInput {
s.AuthorName = &v
return s
} | [
"func",
"(",
"s",
"*",
"CreateCommitInput",
")",
"SetAuthorName",
"(",
"v",
"string",
")",
"*",
"CreateCommitInput",
"{",
"s",
".",
"AuthorName",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAuthorName sets the AuthorName field's value. | [
"SetAuthorName",
"sets",
"the",
"AuthorName",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codecommit/api.go#L6131-L6134 |
161 | aws/aws-sdk-go | service/codecommit/api.go | SetDeleteFiles | func (s *CreateCommitInput) SetDeleteFiles(v []*DeleteFileEntry) *CreateCommitInput {
s.DeleteFiles = v
return s
} | go | func (s *CreateCommitInput) SetDeleteFiles(v []*DeleteFileEntry) *CreateCommitInput {
s.DeleteFiles = v
return s
} | [
"func",
"(",
"s",
"*",
"CreateCommitInput",
")",
"SetDeleteFiles",
"(",
"v",
"[",
"]",
"*",
"DeleteFileEntry",
")",
"*",
"CreateCommitInput",
"{",
"s",
".",
"DeleteFiles",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDeleteFiles sets the DeleteFiles field's value. | [
"SetDeleteFiles",
"sets",
"the",
"DeleteFiles",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codecommit/api.go#L6149-L6152 |
162 | aws/aws-sdk-go | service/codecommit/api.go | SetPutFiles | func (s *CreateCommitInput) SetPutFiles(v []*PutFileEntry) *CreateCommitInput {
s.PutFiles = v
return s
} | go | func (s *CreateCommitInput) SetPutFiles(v []*PutFileEntry) *CreateCommitInput {
s.PutFiles = v
return s
} | [
"func",
"(",
"s",
"*",
"CreateCommitInput",
")",
"SetPutFiles",
"(",
"v",
"[",
"]",
"*",
"PutFileEntry",
")",
"*",
"CreateCommitInput",
"{",
"s",
".",
"PutFiles",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetPutFiles sets the PutFiles field's value. | [
"SetPutFiles",
"sets",
"the",
"PutFiles",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codecommit/api.go#L6173-L6176 |
163 | aws/aws-sdk-go | service/codecommit/api.go | SetSetFileModes | func (s *CreateCommitInput) SetSetFileModes(v []*SetFileModeEntry) *CreateCommitInput {
s.SetFileModes = v
return s
} | go | func (s *CreateCommitInput) SetSetFileModes(v []*SetFileModeEntry) *CreateCommitInput {
s.SetFileModes = v
return s
} | [
"func",
"(",
"s",
"*",
"CreateCommitInput",
")",
"SetSetFileModes",
"(",
"v",
"[",
"]",
"*",
"SetFileModeEntry",
")",
"*",
"CreateCommitInput",
"{",
"s",
".",
"SetFileModes",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetSetFileModes sets the SetFileModes field's value. | [
"SetSetFileModes",
"sets",
"the",
"SetFileModes",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codecommit/api.go#L6185-L6188 |
164 | aws/aws-sdk-go | service/codecommit/api.go | SetFilesAdded | func (s *CreateCommitOutput) SetFilesAdded(v []*FileMetadata) *CreateCommitOutput {
s.FilesAdded = v
return s
} | go | func (s *CreateCommitOutput) SetFilesAdded(v []*FileMetadata) *CreateCommitOutput {
s.FilesAdded = v
return s
} | [
"func",
"(",
"s",
"*",
"CreateCommitOutput",
")",
"SetFilesAdded",
"(",
"v",
"[",
"]",
"*",
"FileMetadata",
")",
"*",
"CreateCommitOutput",
"{",
"s",
".",
"FilesAdded",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetFilesAdded sets the FilesAdded field's value. | [
"SetFilesAdded",
"sets",
"the",
"FilesAdded",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codecommit/api.go#L6227-L6230 |
165 | aws/aws-sdk-go | service/codecommit/api.go | SetFilesDeleted | func (s *CreateCommitOutput) SetFilesDeleted(v []*FileMetadata) *CreateCommitOutput {
s.FilesDeleted = v
return s
} | go | func (s *CreateCommitOutput) SetFilesDeleted(v []*FileMetadata) *CreateCommitOutput {
s.FilesDeleted = v
return s
} | [
"func",
"(",
"s",
"*",
"CreateCommitOutput",
")",
"SetFilesDeleted",
"(",
"v",
"[",
"]",
"*",
"FileMetadata",
")",
"*",
"CreateCommitOutput",
"{",
"s",
".",
"FilesDeleted",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetFilesDeleted sets the FilesDeleted field's value. | [
"SetFilesDeleted",
"sets",
"the",
"FilesDeleted",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codecommit/api.go#L6233-L6236 |
166 | aws/aws-sdk-go | service/codecommit/api.go | SetFilesUpdated | func (s *CreateCommitOutput) SetFilesUpdated(v []*FileMetadata) *CreateCommitOutput {
s.FilesUpdated = v
return s
} | go | func (s *CreateCommitOutput) SetFilesUpdated(v []*FileMetadata) *CreateCommitOutput {
s.FilesUpdated = v
return s
} | [
"func",
"(",
"s",
"*",
"CreateCommitOutput",
")",
"SetFilesUpdated",
"(",
"v",
"[",
"]",
"*",
"FileMetadata",
")",
"*",
"CreateCommitOutput",
"{",
"s",
".",
"FilesUpdated",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetFilesUpdated sets the FilesUpdated field's value. | [
"SetFilesUpdated",
"sets",
"the",
"FilesUpdated",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codecommit/api.go#L6239-L6242 |
167 | aws/aws-sdk-go | service/codecommit/api.go | SetDeletedBranch | func (s *DeleteBranchOutput) SetDeletedBranch(v *BranchInfo) *DeleteBranchOutput {
s.DeletedBranch = v
return s
} | go | func (s *DeleteBranchOutput) SetDeletedBranch(v *BranchInfo) *DeleteBranchOutput {
s.DeletedBranch = v
return s
} | [
"func",
"(",
"s",
"*",
"DeleteBranchOutput",
")",
"SetDeletedBranch",
"(",
"v",
"*",
"BranchInfo",
")",
"*",
"DeleteBranchOutput",
"{",
"s",
".",
"DeletedBranch",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDeletedBranch sets the DeletedBranch field's value. | [
"SetDeletedBranch",
"sets",
"the",
"DeletedBranch",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codecommit/api.go#L6531-L6534 |
168 | aws/aws-sdk-go | service/codecommit/api.go | SetPullRequestEvents | func (s *DescribePullRequestEventsOutput) SetPullRequestEvents(v []*PullRequestEvent) *DescribePullRequestEventsOutput {
s.PullRequestEvents = v
return s
} | go | func (s *DescribePullRequestEventsOutput) SetPullRequestEvents(v []*PullRequestEvent) *DescribePullRequestEventsOutput {
s.PullRequestEvents = v
return s
} | [
"func",
"(",
"s",
"*",
"DescribePullRequestEventsOutput",
")",
"SetPullRequestEvents",
"(",
"v",
"[",
"]",
"*",
"PullRequestEvent",
")",
"*",
"DescribePullRequestEventsOutput",
"{",
"s",
".",
"PullRequestEvents",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetPullRequestEvents sets the PullRequestEvents field's value. | [
"SetPullRequestEvents",
"sets",
"the",
"PullRequestEvents",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codecommit/api.go#L7010-L7013 |
169 | aws/aws-sdk-go | service/codecommit/api.go | SetAfterBlob | func (s *Difference) SetAfterBlob(v *BlobMetadata) *Difference {
s.AfterBlob = v
return s
} | go | func (s *Difference) SetAfterBlob(v *BlobMetadata) *Difference {
s.AfterBlob = v
return s
} | [
"func",
"(",
"s",
"*",
"Difference",
")",
"SetAfterBlob",
"(",
"v",
"*",
"BlobMetadata",
")",
"*",
"Difference",
"{",
"s",
".",
"AfterBlob",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAfterBlob sets the AfterBlob field's value. | [
"SetAfterBlob",
"sets",
"the",
"AfterBlob",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codecommit/api.go#L7043-L7046 |
170 | aws/aws-sdk-go | service/codecommit/api.go | SetBeforeBlob | func (s *Difference) SetBeforeBlob(v *BlobMetadata) *Difference {
s.BeforeBlob = v
return s
} | go | func (s *Difference) SetBeforeBlob(v *BlobMetadata) *Difference {
s.BeforeBlob = v
return s
} | [
"func",
"(",
"s",
"*",
"Difference",
")",
"SetBeforeBlob",
"(",
"v",
"*",
"BlobMetadata",
")",
"*",
"Difference",
"{",
"s",
".",
"BeforeBlob",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetBeforeBlob sets the BeforeBlob field's value. | [
"SetBeforeBlob",
"sets",
"the",
"BeforeBlob",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codecommit/api.go#L7049-L7052 |
171 | aws/aws-sdk-go | service/codecommit/api.go | SetCommentsForComparedCommitData | func (s *GetCommentsForComparedCommitOutput) SetCommentsForComparedCommitData(v []*CommentsForComparedCommit) *GetCommentsForComparedCommitOutput {
s.CommentsForComparedCommitData = v
return s
} | go | func (s *GetCommentsForComparedCommitOutput) SetCommentsForComparedCommitData(v []*CommentsForComparedCommit) *GetCommentsForComparedCommitOutput {
s.CommentsForComparedCommitData = v
return s
} | [
"func",
"(",
"s",
"*",
"GetCommentsForComparedCommitOutput",
")",
"SetCommentsForComparedCommitData",
"(",
"v",
"[",
"]",
"*",
"CommentsForComparedCommit",
")",
"*",
"GetCommentsForComparedCommitOutput",
"{",
"s",
".",
"CommentsForComparedCommitData",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetCommentsForComparedCommitData sets the CommentsForComparedCommitData field's value. | [
"SetCommentsForComparedCommitData",
"sets",
"the",
"CommentsForComparedCommitData",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codecommit/api.go#L7528-L7531 |
172 | aws/aws-sdk-go | service/codecommit/api.go | SetCommentsForPullRequestData | func (s *GetCommentsForPullRequestOutput) SetCommentsForPullRequestData(v []*CommentsForPullRequest) *GetCommentsForPullRequestOutput {
s.CommentsForPullRequestData = v
return s
} | go | func (s *GetCommentsForPullRequestOutput) SetCommentsForPullRequestData(v []*CommentsForPullRequest) *GetCommentsForPullRequestOutput {
s.CommentsForPullRequestData = v
return s
} | [
"func",
"(",
"s",
"*",
"GetCommentsForPullRequestOutput",
")",
"SetCommentsForPullRequestData",
"(",
"v",
"[",
"]",
"*",
"CommentsForPullRequest",
")",
"*",
"GetCommentsForPullRequestOutput",
"{",
"s",
".",
"CommentsForPullRequestData",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetCommentsForPullRequestData sets the CommentsForPullRequestData field's value. | [
"SetCommentsForPullRequestData",
"sets",
"the",
"CommentsForPullRequestData",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codecommit/api.go#L7652-L7655 |
173 | aws/aws-sdk-go | service/codecommit/api.go | SetCommit | func (s *GetCommitOutput) SetCommit(v *Commit) *GetCommitOutput {
s.Commit = v
return s
} | go | func (s *GetCommitOutput) SetCommit(v *Commit) *GetCommitOutput {
s.Commit = v
return s
} | [
"func",
"(",
"s",
"*",
"GetCommitOutput",
")",
"SetCommit",
"(",
"v",
"*",
"Commit",
")",
"*",
"GetCommitOutput",
"{",
"s",
".",
"Commit",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetCommit sets the Commit field's value. | [
"SetCommit",
"sets",
"the",
"Commit",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codecommit/api.go#L7740-L7743 |
174 | aws/aws-sdk-go | service/codecommit/api.go | SetAfterCommitSpecifier | func (s *GetDifferencesInput) SetAfterCommitSpecifier(v string) *GetDifferencesInput {
s.AfterCommitSpecifier = &v
return s
} | go | func (s *GetDifferencesInput) SetAfterCommitSpecifier(v string) *GetDifferencesInput {
s.AfterCommitSpecifier = &v
return s
} | [
"func",
"(",
"s",
"*",
"GetDifferencesInput",
")",
"SetAfterCommitSpecifier",
"(",
"v",
"string",
")",
"*",
"GetDifferencesInput",
"{",
"s",
".",
"AfterCommitSpecifier",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAfterCommitSpecifier sets the AfterCommitSpecifier field's value. | [
"SetAfterCommitSpecifier",
"sets",
"the",
"AfterCommitSpecifier",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codecommit/api.go#L7815-L7818 |
175 | aws/aws-sdk-go | service/codecommit/api.go | SetAfterPath | func (s *GetDifferencesInput) SetAfterPath(v string) *GetDifferencesInput {
s.AfterPath = &v
return s
} | go | func (s *GetDifferencesInput) SetAfterPath(v string) *GetDifferencesInput {
s.AfterPath = &v
return s
} | [
"func",
"(",
"s",
"*",
"GetDifferencesInput",
")",
"SetAfterPath",
"(",
"v",
"string",
")",
"*",
"GetDifferencesInput",
"{",
"s",
".",
"AfterPath",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAfterPath sets the AfterPath field's value. | [
"SetAfterPath",
"sets",
"the",
"AfterPath",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codecommit/api.go#L7821-L7824 |
176 | aws/aws-sdk-go | service/codecommit/api.go | SetBeforeCommitSpecifier | func (s *GetDifferencesInput) SetBeforeCommitSpecifier(v string) *GetDifferencesInput {
s.BeforeCommitSpecifier = &v
return s
} | go | func (s *GetDifferencesInput) SetBeforeCommitSpecifier(v string) *GetDifferencesInput {
s.BeforeCommitSpecifier = &v
return s
} | [
"func",
"(",
"s",
"*",
"GetDifferencesInput",
")",
"SetBeforeCommitSpecifier",
"(",
"v",
"string",
")",
"*",
"GetDifferencesInput",
"{",
"s",
".",
"BeforeCommitSpecifier",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetBeforeCommitSpecifier sets the BeforeCommitSpecifier field's value. | [
"SetBeforeCommitSpecifier",
"sets",
"the",
"BeforeCommitSpecifier",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codecommit/api.go#L7827-L7830 |
177 | aws/aws-sdk-go | service/codecommit/api.go | SetBeforePath | func (s *GetDifferencesInput) SetBeforePath(v string) *GetDifferencesInput {
s.BeforePath = &v
return s
} | go | func (s *GetDifferencesInput) SetBeforePath(v string) *GetDifferencesInput {
s.BeforePath = &v
return s
} | [
"func",
"(",
"s",
"*",
"GetDifferencesInput",
")",
"SetBeforePath",
"(",
"v",
"string",
")",
"*",
"GetDifferencesInput",
"{",
"s",
".",
"BeforePath",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetBeforePath sets the BeforePath field's value. | [
"SetBeforePath",
"sets",
"the",
"BeforePath",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codecommit/api.go#L7833-L7836 |
178 | aws/aws-sdk-go | service/codecommit/api.go | SetDifferences | func (s *GetDifferencesOutput) SetDifferences(v []*Difference) *GetDifferencesOutput {
s.Differences = v
return s
} | go | func (s *GetDifferencesOutput) SetDifferences(v []*Difference) *GetDifferencesOutput {
s.Differences = v
return s
} | [
"func",
"(",
"s",
"*",
"GetDifferencesOutput",
")",
"SetDifferences",
"(",
"v",
"[",
"]",
"*",
"Difference",
")",
"*",
"GetDifferencesOutput",
"{",
"s",
".",
"Differences",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDifferences sets the Differences field's value. | [
"SetDifferences",
"sets",
"the",
"Differences",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codecommit/api.go#L7879-L7882 |
179 | aws/aws-sdk-go | service/codecommit/api.go | SetSubFolders | func (s *GetFolderOutput) SetSubFolders(v []*Folder) *GetFolderOutput {
s.SubFolders = v
return s
} | go | func (s *GetFolderOutput) SetSubFolders(v []*Folder) *GetFolderOutput {
s.SubFolders = v
return s
} | [
"func",
"(",
"s",
"*",
"GetFolderOutput",
")",
"SetSubFolders",
"(",
"v",
"[",
"]",
"*",
"Folder",
")",
"*",
"GetFolderOutput",
"{",
"s",
".",
"SubFolders",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetSubFolders sets the SubFolders field's value. | [
"SetSubFolders",
"sets",
"the",
"SubFolders",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codecommit/api.go#L8178-L8181 |
180 | aws/aws-sdk-go | service/codecommit/api.go | SetSubModules | func (s *GetFolderOutput) SetSubModules(v []*SubModule) *GetFolderOutput {
s.SubModules = v
return s
} | go | func (s *GetFolderOutput) SetSubModules(v []*SubModule) *GetFolderOutput {
s.SubModules = v
return s
} | [
"func",
"(",
"s",
"*",
"GetFolderOutput",
")",
"SetSubModules",
"(",
"v",
"[",
"]",
"*",
"SubModule",
")",
"*",
"GetFolderOutput",
"{",
"s",
".",
"SubModules",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetSubModules sets the SubModules field's value. | [
"SetSubModules",
"sets",
"the",
"SubModules",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codecommit/api.go#L8184-L8187 |
181 | aws/aws-sdk-go | service/codecommit/api.go | SetSymbolicLinks | func (s *GetFolderOutput) SetSymbolicLinks(v []*SymbolicLink) *GetFolderOutput {
s.SymbolicLinks = v
return s
} | go | func (s *GetFolderOutput) SetSymbolicLinks(v []*SymbolicLink) *GetFolderOutput {
s.SymbolicLinks = v
return s
} | [
"func",
"(",
"s",
"*",
"GetFolderOutput",
")",
"SetSymbolicLinks",
"(",
"v",
"[",
"]",
"*",
"SymbolicLink",
")",
"*",
"GetFolderOutput",
"{",
"s",
".",
"SymbolicLinks",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetSymbolicLinks sets the SymbolicLinks field's value. | [
"SetSymbolicLinks",
"sets",
"the",
"SymbolicLinks",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codecommit/api.go#L8190-L8193 |
182 | aws/aws-sdk-go | service/codecommit/api.go | SetDestinationCommitSpecifier | func (s *GetMergeConflictsInput) SetDestinationCommitSpecifier(v string) *GetMergeConflictsInput {
s.DestinationCommitSpecifier = &v
return s
} | go | func (s *GetMergeConflictsInput) SetDestinationCommitSpecifier(v string) *GetMergeConflictsInput {
s.DestinationCommitSpecifier = &v
return s
} | [
"func",
"(",
"s",
"*",
"GetMergeConflictsInput",
")",
"SetDestinationCommitSpecifier",
"(",
"v",
"string",
")",
"*",
"GetMergeConflictsInput",
"{",
"s",
".",
"DestinationCommitSpecifier",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDestinationCommitSpecifier sets the DestinationCommitSpecifier field's value. | [
"SetDestinationCommitSpecifier",
"sets",
"the",
"DestinationCommitSpecifier",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codecommit/api.go#L8264-L8267 |
183 | aws/aws-sdk-go | service/codecommit/api.go | SetMergeOption | func (s *GetMergeConflictsInput) SetMergeOption(v string) *GetMergeConflictsInput {
s.MergeOption = &v
return s
} | go | func (s *GetMergeConflictsInput) SetMergeOption(v string) *GetMergeConflictsInput {
s.MergeOption = &v
return s
} | [
"func",
"(",
"s",
"*",
"GetMergeConflictsInput",
")",
"SetMergeOption",
"(",
"v",
"string",
")",
"*",
"GetMergeConflictsInput",
"{",
"s",
".",
"MergeOption",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetMergeOption sets the MergeOption field's value. | [
"SetMergeOption",
"sets",
"the",
"MergeOption",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codecommit/api.go#L8270-L8273 |
184 | aws/aws-sdk-go | service/codecommit/api.go | SetSourceCommitSpecifier | func (s *GetMergeConflictsInput) SetSourceCommitSpecifier(v string) *GetMergeConflictsInput {
s.SourceCommitSpecifier = &v
return s
} | go | func (s *GetMergeConflictsInput) SetSourceCommitSpecifier(v string) *GetMergeConflictsInput {
s.SourceCommitSpecifier = &v
return s
} | [
"func",
"(",
"s",
"*",
"GetMergeConflictsInput",
")",
"SetSourceCommitSpecifier",
"(",
"v",
"string",
")",
"*",
"GetMergeConflictsInput",
"{",
"s",
".",
"SourceCommitSpecifier",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetSourceCommitSpecifier sets the SourceCommitSpecifier field's value. | [
"SetSourceCommitSpecifier",
"sets",
"the",
"SourceCommitSpecifier",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codecommit/api.go#L8282-L8285 |
185 | aws/aws-sdk-go | service/codecommit/api.go | SetMergeable | func (s *GetMergeConflictsOutput) SetMergeable(v bool) *GetMergeConflictsOutput {
s.Mergeable = &v
return s
} | go | func (s *GetMergeConflictsOutput) SetMergeable(v bool) *GetMergeConflictsOutput {
s.Mergeable = &v
return s
} | [
"func",
"(",
"s",
"*",
"GetMergeConflictsOutput",
")",
"SetMergeable",
"(",
"v",
"bool",
")",
"*",
"GetMergeConflictsOutput",
"{",
"s",
".",
"Mergeable",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetMergeable sets the Mergeable field's value. | [
"SetMergeable",
"sets",
"the",
"Mergeable",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codecommit/api.go#L8325-L8328 |
186 | aws/aws-sdk-go | service/codecommit/api.go | SetPullRequestIds | func (s *ListPullRequestsOutput) SetPullRequestIds(v []*string) *ListPullRequestsOutput {
s.PullRequestIds = v
return s
} | go | func (s *ListPullRequestsOutput) SetPullRequestIds(v []*string) *ListPullRequestsOutput {
s.PullRequestIds = v
return s
} | [
"func",
"(",
"s",
"*",
"ListPullRequestsOutput",
")",
"SetPullRequestIds",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"ListPullRequestsOutput",
"{",
"s",
".",
"PullRequestIds",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetPullRequestIds sets the PullRequestIds field's value. | [
"SetPullRequestIds",
"sets",
"the",
"PullRequestIds",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codecommit/api.go#L8735-L8738 |
187 | aws/aws-sdk-go | service/codecommit/api.go | SetFilePosition | func (s *Location) SetFilePosition(v int64) *Location {
s.FilePosition = &v
return s
} | go | func (s *Location) SetFilePosition(v int64) *Location {
s.FilePosition = &v
return s
} | [
"func",
"(",
"s",
"*",
"Location",
")",
"SetFilePosition",
"(",
"v",
"int64",
")",
"*",
"Location",
"{",
"s",
".",
"FilePosition",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetFilePosition sets the FilePosition field's value. | [
"SetFilePosition",
"sets",
"the",
"FilePosition",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codecommit/api.go#L8855-L8858 |
188 | aws/aws-sdk-go | service/codecommit/api.go | SetRelativeFileVersion | func (s *Location) SetRelativeFileVersion(v string) *Location {
s.RelativeFileVersion = &v
return s
} | go | func (s *Location) SetRelativeFileVersion(v string) *Location {
s.RelativeFileVersion = &v
return s
} | [
"func",
"(",
"s",
"*",
"Location",
")",
"SetRelativeFileVersion",
"(",
"v",
"string",
")",
"*",
"Location",
"{",
"s",
".",
"RelativeFileVersion",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetRelativeFileVersion sets the RelativeFileVersion field's value. | [
"SetRelativeFileVersion",
"sets",
"the",
"RelativeFileVersion",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codecommit/api.go#L8861-L8864 |
189 | aws/aws-sdk-go | service/codecommit/api.go | SetIsMerged | func (s *MergeMetadata) SetIsMerged(v bool) *MergeMetadata {
s.IsMerged = &v
return s
} | go | func (s *MergeMetadata) SetIsMerged(v bool) *MergeMetadata {
s.IsMerged = &v
return s
} | [
"func",
"(",
"s",
"*",
"MergeMetadata",
")",
"SetIsMerged",
"(",
"v",
"bool",
")",
"*",
"MergeMetadata",
"{",
"s",
".",
"IsMerged",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetIsMerged sets the IsMerged field's value. | [
"SetIsMerged",
"sets",
"the",
"IsMerged",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codecommit/api.go#L8889-L8892 |
190 | aws/aws-sdk-go | service/codecommit/api.go | SetMergedBy | func (s *MergeMetadata) SetMergedBy(v string) *MergeMetadata {
s.MergedBy = &v
return s
} | go | func (s *MergeMetadata) SetMergedBy(v string) *MergeMetadata {
s.MergedBy = &v
return s
} | [
"func",
"(",
"s",
"*",
"MergeMetadata",
")",
"SetMergedBy",
"(",
"v",
"string",
")",
"*",
"MergeMetadata",
"{",
"s",
".",
"MergedBy",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetMergedBy sets the MergedBy field's value. | [
"SetMergedBy",
"sets",
"the",
"MergedBy",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codecommit/api.go#L8895-L8898 |
191 | aws/aws-sdk-go | service/codecommit/api.go | SetLastActivityDate | func (s *PullRequest) SetLastActivityDate(v time.Time) *PullRequest {
s.LastActivityDate = &v
return s
} | go | func (s *PullRequest) SetLastActivityDate(v time.Time) *PullRequest {
s.LastActivityDate = &v
return s
} | [
"func",
"(",
"s",
"*",
"PullRequest",
")",
"SetLastActivityDate",
"(",
"v",
"time",
".",
"Time",
")",
"*",
"PullRequest",
"{",
"s",
".",
"LastActivityDate",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetLastActivityDate sets the LastActivityDate field's value. | [
"SetLastActivityDate",
"sets",
"the",
"LastActivityDate",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codecommit/api.go#L9546-L9549 |
192 | aws/aws-sdk-go | service/codecommit/api.go | SetPullRequestTargets | func (s *PullRequest) SetPullRequestTargets(v []*PullRequestTarget) *PullRequest {
s.PullRequestTargets = v
return s
} | go | func (s *PullRequest) SetPullRequestTargets(v []*PullRequestTarget) *PullRequest {
s.PullRequestTargets = v
return s
} | [
"func",
"(",
"s",
"*",
"PullRequest",
")",
"SetPullRequestTargets",
"(",
"v",
"[",
"]",
"*",
"PullRequestTarget",
")",
"*",
"PullRequest",
"{",
"s",
".",
"PullRequestTargets",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetPullRequestTargets sets the PullRequestTargets field's value. | [
"SetPullRequestTargets",
"sets",
"the",
"PullRequestTargets",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codecommit/api.go#L9564-L9567 |
193 | aws/aws-sdk-go | service/codecommit/api.go | SetPullRequestCreatedEventMetadata | func (s *PullRequestEvent) SetPullRequestCreatedEventMetadata(v *PullRequestCreatedEventMetadata) *PullRequestEvent {
s.PullRequestCreatedEventMetadata = v
return s
} | go | func (s *PullRequestEvent) SetPullRequestCreatedEventMetadata(v *PullRequestCreatedEventMetadata) *PullRequestEvent {
s.PullRequestCreatedEventMetadata = v
return s
} | [
"func",
"(",
"s",
"*",
"PullRequestEvent",
")",
"SetPullRequestCreatedEventMetadata",
"(",
"v",
"*",
"PullRequestCreatedEventMetadata",
")",
"*",
"PullRequestEvent",
"{",
"s",
".",
"PullRequestCreatedEventMetadata",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetPullRequestCreatedEventMetadata sets the PullRequestCreatedEventMetadata field's value. | [
"SetPullRequestCreatedEventMetadata",
"sets",
"the",
"PullRequestCreatedEventMetadata",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codecommit/api.go#L9684-L9687 |
194 | aws/aws-sdk-go | service/codecommit/api.go | SetPullRequestMergedStateChangedEventMetadata | func (s *PullRequestEvent) SetPullRequestMergedStateChangedEventMetadata(v *PullRequestMergedStateChangedEventMetadata) *PullRequestEvent {
s.PullRequestMergedStateChangedEventMetadata = v
return s
} | go | func (s *PullRequestEvent) SetPullRequestMergedStateChangedEventMetadata(v *PullRequestMergedStateChangedEventMetadata) *PullRequestEvent {
s.PullRequestMergedStateChangedEventMetadata = v
return s
} | [
"func",
"(",
"s",
"*",
"PullRequestEvent",
")",
"SetPullRequestMergedStateChangedEventMetadata",
"(",
"v",
"*",
"PullRequestMergedStateChangedEventMetadata",
")",
"*",
"PullRequestEvent",
"{",
"s",
".",
"PullRequestMergedStateChangedEventMetadata",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetPullRequestMergedStateChangedEventMetadata sets the PullRequestMergedStateChangedEventMetadata field's value. | [
"SetPullRequestMergedStateChangedEventMetadata",
"sets",
"the",
"PullRequestMergedStateChangedEventMetadata",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codecommit/api.go#L9702-L9705 |
195 | aws/aws-sdk-go | service/codecommit/api.go | SetPullRequestSourceReferenceUpdatedEventMetadata | func (s *PullRequestEvent) SetPullRequestSourceReferenceUpdatedEventMetadata(v *PullRequestSourceReferenceUpdatedEventMetadata) *PullRequestEvent {
s.PullRequestSourceReferenceUpdatedEventMetadata = v
return s
} | go | func (s *PullRequestEvent) SetPullRequestSourceReferenceUpdatedEventMetadata(v *PullRequestSourceReferenceUpdatedEventMetadata) *PullRequestEvent {
s.PullRequestSourceReferenceUpdatedEventMetadata = v
return s
} | [
"func",
"(",
"s",
"*",
"PullRequestEvent",
")",
"SetPullRequestSourceReferenceUpdatedEventMetadata",
"(",
"v",
"*",
"PullRequestSourceReferenceUpdatedEventMetadata",
")",
"*",
"PullRequestEvent",
"{",
"s",
".",
"PullRequestSourceReferenceUpdatedEventMetadata",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetPullRequestSourceReferenceUpdatedEventMetadata sets the PullRequestSourceReferenceUpdatedEventMetadata field's value. | [
"SetPullRequestSourceReferenceUpdatedEventMetadata",
"sets",
"the",
"PullRequestSourceReferenceUpdatedEventMetadata",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codecommit/api.go#L9708-L9711 |
196 | aws/aws-sdk-go | service/codecommit/api.go | SetPullRequestStatusChangedEventMetadata | func (s *PullRequestEvent) SetPullRequestStatusChangedEventMetadata(v *PullRequestStatusChangedEventMetadata) *PullRequestEvent {
s.PullRequestStatusChangedEventMetadata = v
return s
} | go | func (s *PullRequestEvent) SetPullRequestStatusChangedEventMetadata(v *PullRequestStatusChangedEventMetadata) *PullRequestEvent {
s.PullRequestStatusChangedEventMetadata = v
return s
} | [
"func",
"(",
"s",
"*",
"PullRequestEvent",
")",
"SetPullRequestStatusChangedEventMetadata",
"(",
"v",
"*",
"PullRequestStatusChangedEventMetadata",
")",
"*",
"PullRequestEvent",
"{",
"s",
".",
"PullRequestStatusChangedEventMetadata",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetPullRequestStatusChangedEventMetadata sets the PullRequestStatusChangedEventMetadata field's value. | [
"SetPullRequestStatusChangedEventMetadata",
"sets",
"the",
"PullRequestStatusChangedEventMetadata",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codecommit/api.go#L9714-L9717 |
197 | aws/aws-sdk-go | service/codecommit/api.go | SetDestinationCommit | func (s *PullRequestTarget) SetDestinationCommit(v string) *PullRequestTarget {
s.DestinationCommit = &v
return s
} | go | func (s *PullRequestTarget) SetDestinationCommit(v string) *PullRequestTarget {
s.DestinationCommit = &v
return s
} | [
"func",
"(",
"s",
"*",
"PullRequestTarget",
")",
"SetDestinationCommit",
"(",
"v",
"string",
")",
"*",
"PullRequestTarget",
"{",
"s",
".",
"DestinationCommit",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDestinationCommit sets the DestinationCommit field's value. | [
"SetDestinationCommit",
"sets",
"the",
"DestinationCommit",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codecommit/api.go#L9885-L9888 |
198 | aws/aws-sdk-go | service/codecommit/api.go | SetSourceCommit | func (s *PullRequestTarget) SetSourceCommit(v string) *PullRequestTarget {
s.SourceCommit = &v
return s
} | go | func (s *PullRequestTarget) SetSourceCommit(v string) *PullRequestTarget {
s.SourceCommit = &v
return s
} | [
"func",
"(",
"s",
"*",
"PullRequestTarget",
")",
"SetSourceCommit",
"(",
"v",
"string",
")",
"*",
"PullRequestTarget",
"{",
"s",
".",
"SourceCommit",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetSourceCommit sets the SourceCommit field's value. | [
"SetSourceCommit",
"sets",
"the",
"SourceCommit",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codecommit/api.go#L9915-L9918 |
199 | aws/aws-sdk-go | service/codecommit/api.go | SetCloneUrlHttp | func (s *RepositoryMetadata) SetCloneUrlHttp(v string) *RepositoryMetadata {
s.CloneUrlHttp = &v
return s
} | go | func (s *RepositoryMetadata) SetCloneUrlHttp(v string) *RepositoryMetadata {
s.CloneUrlHttp = &v
return s
} | [
"func",
"(",
"s",
"*",
"RepositoryMetadata",
")",
"SetCloneUrlHttp",
"(",
"v",
"string",
")",
"*",
"RepositoryMetadata",
"{",
"s",
".",
"CloneUrlHttp",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetCloneUrlHttp sets the CloneUrlHttp field's value. | [
"SetCloneUrlHttp",
"sets",
"the",
"CloneUrlHttp",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codecommit/api.go#L10345-L10348 |