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
165,600
aws/aws-sdk-go
aws/convert_types.go
Int64Map
func Int64Map(src map[string]int64) map[string]*int64 { dst := make(map[string]*int64) for k, val := range src { v := val dst[k] = &v } return dst }
go
func Int64Map(src map[string]int64) map[string]*int64 { dst := make(map[string]*int64) for k, val := range src { v := val dst[k] = &v } return dst }
[ "func", "Int64Map", "(", "src", "map", "[", "string", "]", "int64", ")", "map", "[", "string", "]", "*", "int64", "{", "dst", ":=", "make", "(", "map", "[", "string", "]", "*", "int64", ")", "\n", "for", "k", ",", "val", ":=", "range", "src", "{", "v", ":=", "val", "\n", "dst", "[", "k", "]", "=", "&", "v", "\n", "}", "\n", "return", "dst", "\n", "}" ]
// Int64Map converts a string map of int64 values into a string // map of int64 pointers
[ "Int64Map", "converts", "a", "string", "map", "of", "int64", "values", "into", "a", "string", "map", "of", "int64", "pointers" ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/convert_types.go#L220-L227
165,601
aws/aws-sdk-go
aws/convert_types.go
Int64ValueMap
func Int64ValueMap(src map[string]*int64) map[string]int64 { dst := make(map[string]int64) for k, val := range src { if val != nil { dst[k] = *val } } return dst }
go
func Int64ValueMap(src map[string]*int64) map[string]int64 { dst := make(map[string]int64) for k, val := range src { if val != nil { dst[k] = *val } } return dst }
[ "func", "Int64ValueMap", "(", "src", "map", "[", "string", "]", "*", "int64", ")", "map", "[", "string", "]", "int64", "{", "dst", ":=", "make", "(", "map", "[", "string", "]", "int64", ")", "\n", "for", "k", ",", "val", ":=", "range", "src", "{", "if", "val", "!=", "nil", "{", "dst", "[", "k", "]", "=", "*", "val", "\n", "}", "\n", "}", "\n", "return", "dst", "\n", "}" ]
// Int64ValueMap converts a string map of int64 pointers into a string // map of int64 values
[ "Int64ValueMap", "converts", "a", "string", "map", "of", "int64", "pointers", "into", "a", "string", "map", "of", "int64", "values" ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/convert_types.go#L231-L239
165,602
aws/aws-sdk-go
aws/convert_types.go
Float64Slice
func Float64Slice(src []float64) []*float64 { dst := make([]*float64, len(src)) for i := 0; i < len(src); i++ { dst[i] = &(src[i]) } return dst }
go
func Float64Slice(src []float64) []*float64 { dst := make([]*float64, len(src)) for i := 0; i < len(src); i++ { dst[i] = &(src[i]) } return dst }
[ "func", "Float64Slice", "(", "src", "[", "]", "float64", ")", "[", "]", "*", "float64", "{", "dst", ":=", "make", "(", "[", "]", "*", "float64", ",", "len", "(", "src", ")", ")", "\n", "for", "i", ":=", "0", ";", "i", "<", "len", "(", "src", ")", ";", "i", "++", "{", "dst", "[", "i", "]", "=", "&", "(", "src", "[", "i", "]", ")", "\n", "}", "\n", "return", "dst", "\n", "}" ]
// Float64Slice converts a slice of float64 values into a slice of // float64 pointers
[ "Float64Slice", "converts", "a", "slice", "of", "float64", "values", "into", "a", "slice", "of", "float64", "pointers" ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/convert_types.go#L257-L263
165,603
aws/aws-sdk-go
aws/convert_types.go
Float64ValueSlice
func Float64ValueSlice(src []*float64) []float64 { dst := make([]float64, len(src)) for i := 0; i < len(src); i++ { if src[i] != nil { dst[i] = *(src[i]) } } return dst }
go
func Float64ValueSlice(src []*float64) []float64 { dst := make([]float64, len(src)) for i := 0; i < len(src); i++ { if src[i] != nil { dst[i] = *(src[i]) } } return dst }
[ "func", "Float64ValueSlice", "(", "src", "[", "]", "*", "float64", ")", "[", "]", "float64", "{", "dst", ":=", "make", "(", "[", "]", "float64", ",", "len", "(", "src", ")", ")", "\n", "for", "i", ":=", "0", ";", "i", "<", "len", "(", "src", ")", ";", "i", "++", "{", "if", "src", "[", "i", "]", "!=", "nil", "{", "dst", "[", "i", "]", "=", "*", "(", "src", "[", "i", "]", ")", "\n", "}", "\n", "}", "\n", "return", "dst", "\n", "}" ]
// Float64ValueSlice converts a slice of float64 pointers into a slice of // float64 values
[ "Float64ValueSlice", "converts", "a", "slice", "of", "float64", "pointers", "into", "a", "slice", "of", "float64", "values" ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/convert_types.go#L267-L275
165,604
aws/aws-sdk-go
aws/convert_types.go
Float64Map
func Float64Map(src map[string]float64) map[string]*float64 { dst := make(map[string]*float64) for k, val := range src { v := val dst[k] = &v } return dst }
go
func Float64Map(src map[string]float64) map[string]*float64 { dst := make(map[string]*float64) for k, val := range src { v := val dst[k] = &v } return dst }
[ "func", "Float64Map", "(", "src", "map", "[", "string", "]", "float64", ")", "map", "[", "string", "]", "*", "float64", "{", "dst", ":=", "make", "(", "map", "[", "string", "]", "*", "float64", ")", "\n", "for", "k", ",", "val", ":=", "range", "src", "{", "v", ":=", "val", "\n", "dst", "[", "k", "]", "=", "&", "v", "\n", "}", "\n", "return", "dst", "\n", "}" ]
// Float64Map converts a string map of float64 values into a string // map of float64 pointers
[ "Float64Map", "converts", "a", "string", "map", "of", "float64", "values", "into", "a", "string", "map", "of", "float64", "pointers" ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/convert_types.go#L279-L286
165,605
aws/aws-sdk-go
aws/convert_types.go
Float64ValueMap
func Float64ValueMap(src map[string]*float64) map[string]float64 { dst := make(map[string]float64) for k, val := range src { if val != nil { dst[k] = *val } } return dst }
go
func Float64ValueMap(src map[string]*float64) map[string]float64 { dst := make(map[string]float64) for k, val := range src { if val != nil { dst[k] = *val } } return dst }
[ "func", "Float64ValueMap", "(", "src", "map", "[", "string", "]", "*", "float64", ")", "map", "[", "string", "]", "float64", "{", "dst", ":=", "make", "(", "map", "[", "string", "]", "float64", ")", "\n", "for", "k", ",", "val", ":=", "range", "src", "{", "if", "val", "!=", "nil", "{", "dst", "[", "k", "]", "=", "*", "val", "\n", "}", "\n", "}", "\n", "return", "dst", "\n", "}" ]
// Float64ValueMap converts a string map of float64 pointers into a string // map of float64 values
[ "Float64ValueMap", "converts", "a", "string", "map", "of", "float64", "pointers", "into", "a", "string", "map", "of", "float64", "values" ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/convert_types.go#L290-L298
165,606
aws/aws-sdk-go
aws/convert_types.go
TimeSlice
func TimeSlice(src []time.Time) []*time.Time { dst := make([]*time.Time, len(src)) for i := 0; i < len(src); i++ { dst[i] = &(src[i]) } return dst }
go
func TimeSlice(src []time.Time) []*time.Time { dst := make([]*time.Time, len(src)) for i := 0; i < len(src); i++ { dst[i] = &(src[i]) } return dst }
[ "func", "TimeSlice", "(", "src", "[", "]", "time", ".", "Time", ")", "[", "]", "*", "time", ".", "Time", "{", "dst", ":=", "make", "(", "[", "]", "*", "time", ".", "Time", ",", "len", "(", "src", ")", ")", "\n", "for", "i", ":=", "0", ";", "i", "<", "len", "(", "src", ")", ";", "i", "++", "{", "dst", "[", "i", "]", "=", "&", "(", "src", "[", "i", "]", ")", "\n", "}", "\n", "return", "dst", "\n", "}" ]
// TimeSlice converts a slice of time.Time values into a slice of // time.Time pointers
[ "TimeSlice", "converts", "a", "slice", "of", "time", ".", "Time", "values", "into", "a", "slice", "of", "time", ".", "Time", "pointers" ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/convert_types.go#L346-L352
165,607
aws/aws-sdk-go
aws/convert_types.go
TimeValueSlice
func TimeValueSlice(src []*time.Time) []time.Time { dst := make([]time.Time, len(src)) for i := 0; i < len(src); i++ { if src[i] != nil { dst[i] = *(src[i]) } } return dst }
go
func TimeValueSlice(src []*time.Time) []time.Time { dst := make([]time.Time, len(src)) for i := 0; i < len(src); i++ { if src[i] != nil { dst[i] = *(src[i]) } } return dst }
[ "func", "TimeValueSlice", "(", "src", "[", "]", "*", "time", ".", "Time", ")", "[", "]", "time", ".", "Time", "{", "dst", ":=", "make", "(", "[", "]", "time", ".", "Time", ",", "len", "(", "src", ")", ")", "\n", "for", "i", ":=", "0", ";", "i", "<", "len", "(", "src", ")", ";", "i", "++", "{", "if", "src", "[", "i", "]", "!=", "nil", "{", "dst", "[", "i", "]", "=", "*", "(", "src", "[", "i", "]", ")", "\n", "}", "\n", "}", "\n", "return", "dst", "\n", "}" ]
// TimeValueSlice converts a slice of time.Time pointers into a slice of // time.Time values
[ "TimeValueSlice", "converts", "a", "slice", "of", "time", ".", "Time", "pointers", "into", "a", "slice", "of", "time", ".", "Time", "values" ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/convert_types.go#L356-L364
165,608
aws/aws-sdk-go
aws/convert_types.go
TimeMap
func TimeMap(src map[string]time.Time) map[string]*time.Time { dst := make(map[string]*time.Time) for k, val := range src { v := val dst[k] = &v } return dst }
go
func TimeMap(src map[string]time.Time) map[string]*time.Time { dst := make(map[string]*time.Time) for k, val := range src { v := val dst[k] = &v } return dst }
[ "func", "TimeMap", "(", "src", "map", "[", "string", "]", "time", ".", "Time", ")", "map", "[", "string", "]", "*", "time", ".", "Time", "{", "dst", ":=", "make", "(", "map", "[", "string", "]", "*", "time", ".", "Time", ")", "\n", "for", "k", ",", "val", ":=", "range", "src", "{", "v", ":=", "val", "\n", "dst", "[", "k", "]", "=", "&", "v", "\n", "}", "\n", "return", "dst", "\n", "}" ]
// TimeMap converts a string map of time.Time values into a string // map of time.Time pointers
[ "TimeMap", "converts", "a", "string", "map", "of", "time", ".", "Time", "values", "into", "a", "string", "map", "of", "time", ".", "Time", "pointers" ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/convert_types.go#L368-L375
165,609
aws/aws-sdk-go
aws/convert_types.go
TimeValueMap
func TimeValueMap(src map[string]*time.Time) map[string]time.Time { dst := make(map[string]time.Time) for k, val := range src { if val != nil { dst[k] = *val } } return dst }
go
func TimeValueMap(src map[string]*time.Time) map[string]time.Time { dst := make(map[string]time.Time) for k, val := range src { if val != nil { dst[k] = *val } } return dst }
[ "func", "TimeValueMap", "(", "src", "map", "[", "string", "]", "*", "time", ".", "Time", ")", "map", "[", "string", "]", "time", ".", "Time", "{", "dst", ":=", "make", "(", "map", "[", "string", "]", "time", ".", "Time", ")", "\n", "for", "k", ",", "val", ":=", "range", "src", "{", "if", "val", "!=", "nil", "{", "dst", "[", "k", "]", "=", "*", "val", "\n", "}", "\n", "}", "\n", "return", "dst", "\n", "}" ]
// TimeValueMap converts a string map of time.Time pointers into a string // map of time.Time values
[ "TimeValueMap", "converts", "a", "string", "map", "of", "time", ".", "Time", "pointers", "into", "a", "string", "map", "of", "time", ".", "Time", "values" ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/convert_types.go#L379-L387
165,610
aws/aws-sdk-go
private/model/cli/gen-api/main.go
writeServiceDocFile
func writeServiceDocFile(g *generateInfo) error { return writeGoFile(filepath.Join(g.PackageDir, "doc.go"), codeLayout, strings.TrimSpace(g.API.ServicePackageDoc()), g.API.PackageName(), "", ) }
go
func writeServiceDocFile(g *generateInfo) error { return writeGoFile(filepath.Join(g.PackageDir, "doc.go"), codeLayout, strings.TrimSpace(g.API.ServicePackageDoc()), g.API.PackageName(), "", ) }
[ "func", "writeServiceDocFile", "(", "g", "*", "generateInfo", ")", "error", "{", "return", "writeGoFile", "(", "filepath", ".", "Join", "(", "g", ".", "PackageDir", ",", "\"", "\"", ")", ",", "codeLayout", ",", "strings", ".", "TrimSpace", "(", "g", ".", "API", ".", "ServicePackageDoc", "(", ")", ")", ",", "g", ".", "API", ".", "PackageName", "(", ")", ",", "\"", "\"", ",", ")", "\n", "}" ]
// writeServiceDocFile generates the documentation for service package.
[ "writeServiceDocFile", "generates", "the", "documentation", "for", "service", "package", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/private/model/cli/gen-api/main.go#L200-L207
165,611
aws/aws-sdk-go
private/model/cli/gen-api/main.go
writeExamplesFile
func writeExamplesFile(g *generateInfo) error { code := g.API.ExamplesGoCode() if len(code) > 0 { return writeGoFile(filepath.Join(g.PackageDir, "examples_test.go"), codeLayout, "", g.API.PackageName()+"_test", code, ) } return nil }
go
func writeExamplesFile(g *generateInfo) error { code := g.API.ExamplesGoCode() if len(code) > 0 { return writeGoFile(filepath.Join(g.PackageDir, "examples_test.go"), codeLayout, "", g.API.PackageName()+"_test", code, ) } return nil }
[ "func", "writeExamplesFile", "(", "g", "*", "generateInfo", ")", "error", "{", "code", ":=", "g", ".", "API", ".", "ExamplesGoCode", "(", ")", "\n", "if", "len", "(", "code", ")", ">", "0", "{", "return", "writeGoFile", "(", "filepath", ".", "Join", "(", "g", ".", "PackageDir", ",", "\"", "\"", ")", ",", "codeLayout", ",", "\"", "\"", ",", "g", ".", "API", ".", "PackageName", "(", ")", "+", "\"", "\"", ",", "code", ",", ")", "\n", "}", "\n", "return", "nil", "\n", "}" ]
// writeExamplesFile writes out the service example file.
[ "writeExamplesFile", "writes", "out", "the", "service", "example", "file", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/private/model/cli/gen-api/main.go#L210-L221
165,612
aws/aws-sdk-go
private/model/cli/gen-api/main.go
writeServiceFile
func writeServiceFile(g *generateInfo) error { return writeGoFile(filepath.Join(g.PackageDir, "service.go"), codeLayout, "", g.API.PackageName(), g.API.ServiceGoCode(), ) }
go
func writeServiceFile(g *generateInfo) error { return writeGoFile(filepath.Join(g.PackageDir, "service.go"), codeLayout, "", g.API.PackageName(), g.API.ServiceGoCode(), ) }
[ "func", "writeServiceFile", "(", "g", "*", "generateInfo", ")", "error", "{", "return", "writeGoFile", "(", "filepath", ".", "Join", "(", "g", ".", "PackageDir", ",", "\"", "\"", ")", ",", "codeLayout", ",", "\"", "\"", ",", "g", ".", "API", ".", "PackageName", "(", ")", ",", "g", ".", "API", ".", "ServiceGoCode", "(", ")", ",", ")", "\n", "}" ]
// writeServiceFile writes out the service initialization file.
[ "writeServiceFile", "writes", "out", "the", "service", "initialization", "file", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/private/model/cli/gen-api/main.go#L224-L231
165,613
aws/aws-sdk-go
private/model/cli/gen-api/main.go
writeInterfaceFile
func writeInterfaceFile(g *generateInfo) error { const pkgDoc = ` // Package %s provides an interface to enable mocking the %s service client // for testing your code. // // It is important to note that this interface will have breaking changes // when the service model is updated and adds new API operations, paginators, // and waiters.` return writeGoFile(filepath.Join(g.PackageDir, g.API.InterfacePackageName(), "interface.go"), codeLayout, fmt.Sprintf(pkgDoc, g.API.InterfacePackageName(), g.API.Metadata.ServiceFullName), g.API.InterfacePackageName(), g.API.InterfaceGoCode(), ) }
go
func writeInterfaceFile(g *generateInfo) error { const pkgDoc = ` // Package %s provides an interface to enable mocking the %s service client // for testing your code. // // It is important to note that this interface will have breaking changes // when the service model is updated and adds new API operations, paginators, // and waiters.` return writeGoFile(filepath.Join(g.PackageDir, g.API.InterfacePackageName(), "interface.go"), codeLayout, fmt.Sprintf(pkgDoc, g.API.InterfacePackageName(), g.API.Metadata.ServiceFullName), g.API.InterfacePackageName(), g.API.InterfaceGoCode(), ) }
[ "func", "writeInterfaceFile", "(", "g", "*", "generateInfo", ")", "error", "{", "const", "pkgDoc", "=", "`\n// Package %s provides an interface to enable mocking the %s service client\n// for testing your code.\n//\n// It is important to note that this interface will have breaking changes\n// when the service model is updated and adds new API operations, paginators,\n// and waiters.`", "\n", "return", "writeGoFile", "(", "filepath", ".", "Join", "(", "g", ".", "PackageDir", ",", "g", ".", "API", ".", "InterfacePackageName", "(", ")", ",", "\"", "\"", ")", ",", "codeLayout", ",", "fmt", ".", "Sprintf", "(", "pkgDoc", ",", "g", ".", "API", ".", "InterfacePackageName", "(", ")", ",", "g", ".", "API", ".", "Metadata", ".", "ServiceFullName", ")", ",", "g", ".", "API", ".", "InterfacePackageName", "(", ")", ",", "g", ".", "API", ".", "InterfaceGoCode", "(", ")", ",", ")", "\n", "}" ]
// writeInterfaceFile writes out the service interface file.
[ "writeInterfaceFile", "writes", "out", "the", "service", "interface", "file", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/private/model/cli/gen-api/main.go#L234-L248
165,614
aws/aws-sdk-go
private/model/cli/gen-api/main.go
writeAPIFile
func writeAPIFile(g *generateInfo) error { return writeGoFile(filepath.Join(g.PackageDir, "api.go"), codeLayout, "", g.API.PackageName(), g.API.APIGoCode(), ) }
go
func writeAPIFile(g *generateInfo) error { return writeGoFile(filepath.Join(g.PackageDir, "api.go"), codeLayout, "", g.API.PackageName(), g.API.APIGoCode(), ) }
[ "func", "writeAPIFile", "(", "g", "*", "generateInfo", ")", "error", "{", "return", "writeGoFile", "(", "filepath", ".", "Join", "(", "g", ".", "PackageDir", ",", "\"", "\"", ")", ",", "codeLayout", ",", "\"", "\"", ",", "g", ".", "API", ".", "PackageName", "(", ")", ",", "g", ".", "API", ".", "APIGoCode", "(", ")", ",", ")", "\n", "}" ]
// writeAPIFile writes out the service API file.
[ "writeAPIFile", "writes", "out", "the", "service", "API", "file", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/private/model/cli/gen-api/main.go#L264-L271
165,615
aws/aws-sdk-go
private/model/cli/gen-api/main.go
writeAPIErrorsFile
func writeAPIErrorsFile(g *generateInfo) error { return writeGoFile(filepath.Join(g.PackageDir, "errors.go"), codeLayout, "", g.API.PackageName(), g.API.APIErrorsGoCode(), ) }
go
func writeAPIErrorsFile(g *generateInfo) error { return writeGoFile(filepath.Join(g.PackageDir, "errors.go"), codeLayout, "", g.API.PackageName(), g.API.APIErrorsGoCode(), ) }
[ "func", "writeAPIErrorsFile", "(", "g", "*", "generateInfo", ")", "error", "{", "return", "writeGoFile", "(", "filepath", ".", "Join", "(", "g", ".", "PackageDir", ",", "\"", "\"", ")", ",", "codeLayout", ",", "\"", "\"", ",", "g", ".", "API", ".", "PackageName", "(", ")", ",", "g", ".", "API", ".", "APIErrorsGoCode", "(", ")", ",", ")", "\n", "}" ]
// writeAPIErrorsFile writes out the service API errors file.
[ "writeAPIErrorsFile", "writes", "out", "the", "service", "API", "errors", "file", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/private/model/cli/gen-api/main.go#L274-L281
165,616
aws/aws-sdk-go
private/protocol/rest/unmarshal.go
Unmarshal
func Unmarshal(r *request.Request) { if r.DataFilled() { v := reflect.Indirect(reflect.ValueOf(r.Data)) unmarshalBody(r, v) } }
go
func Unmarshal(r *request.Request) { if r.DataFilled() { v := reflect.Indirect(reflect.ValueOf(r.Data)) unmarshalBody(r, v) } }
[ "func", "Unmarshal", "(", "r", "*", "request", ".", "Request", ")", "{", "if", "r", ".", "DataFilled", "(", ")", "{", "v", ":=", "reflect", ".", "Indirect", "(", "reflect", ".", "ValueOf", "(", "r", ".", "Data", ")", ")", "\n", "unmarshalBody", "(", "r", ",", "v", ")", "\n", "}", "\n", "}" ]
// Unmarshal unmarshals the REST component of a response in a REST service.
[ "Unmarshal", "unmarshals", "the", "REST", "component", "of", "a", "response", "in", "a", "REST", "service", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/private/protocol/rest/unmarshal.go#L28-L33
165,617
aws/aws-sdk-go
private/protocol/rest/unmarshal.go
UnmarshalMeta
func UnmarshalMeta(r *request.Request) { r.RequestID = r.HTTPResponse.Header.Get("X-Amzn-Requestid") if r.RequestID == "" { // Alternative version of request id in the header r.RequestID = r.HTTPResponse.Header.Get("X-Amz-Request-Id") } if r.DataFilled() { v := reflect.Indirect(reflect.ValueOf(r.Data)) unmarshalLocationElements(r, v) } }
go
func UnmarshalMeta(r *request.Request) { r.RequestID = r.HTTPResponse.Header.Get("X-Amzn-Requestid") if r.RequestID == "" { // Alternative version of request id in the header r.RequestID = r.HTTPResponse.Header.Get("X-Amz-Request-Id") } if r.DataFilled() { v := reflect.Indirect(reflect.ValueOf(r.Data)) unmarshalLocationElements(r, v) } }
[ "func", "UnmarshalMeta", "(", "r", "*", "request", ".", "Request", ")", "{", "r", ".", "RequestID", "=", "r", ".", "HTTPResponse", ".", "Header", ".", "Get", "(", "\"", "\"", ")", "\n", "if", "r", ".", "RequestID", "==", "\"", "\"", "{", "// Alternative version of request id in the header", "r", ".", "RequestID", "=", "r", ".", "HTTPResponse", ".", "Header", ".", "Get", "(", "\"", "\"", ")", "\n", "}", "\n", "if", "r", ".", "DataFilled", "(", ")", "{", "v", ":=", "reflect", ".", "Indirect", "(", "reflect", ".", "ValueOf", "(", "r", ".", "Data", ")", ")", "\n", "unmarshalLocationElements", "(", "r", ",", "v", ")", "\n", "}", "\n", "}" ]
// UnmarshalMeta unmarshals the REST metadata of a response in a REST service
[ "UnmarshalMeta", "unmarshals", "the", "REST", "metadata", "of", "a", "response", "in", "a", "REST", "service" ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/private/protocol/rest/unmarshal.go#L36-L46
165,618
aws/aws-sdk-go
service/sts/api.go
SetSAMLAssertion
func (s *AssumeRoleWithSAMLInput) SetSAMLAssertion(v string) *AssumeRoleWithSAMLInput { s.SAMLAssertion = &v return s }
go
func (s *AssumeRoleWithSAMLInput) SetSAMLAssertion(v string) *AssumeRoleWithSAMLInput { s.SAMLAssertion = &v return s }
[ "func", "(", "s", "*", "AssumeRoleWithSAMLInput", ")", "SetSAMLAssertion", "(", "v", "string", ")", "*", "AssumeRoleWithSAMLInput", "{", "s", ".", "SAMLAssertion", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetSAMLAssertion sets the SAMLAssertion field's value.
[ "SetSAMLAssertion", "sets", "the", "SAMLAssertion", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/sts/api.go#L1481-L1484
165,619
aws/aws-sdk-go
service/sts/api.go
SetNameQualifier
func (s *AssumeRoleWithSAMLOutput) SetNameQualifier(v string) *AssumeRoleWithSAMLOutput { s.NameQualifier = &v return s }
go
func (s *AssumeRoleWithSAMLOutput) SetNameQualifier(v string) *AssumeRoleWithSAMLOutput { s.NameQualifier = &v return s }
[ "func", "(", "s", "*", "AssumeRoleWithSAMLOutput", ")", "SetNameQualifier", "(", "v", "string", ")", "*", "AssumeRoleWithSAMLOutput", "{", "s", ".", "NameQualifier", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetNameQualifier sets the NameQualifier field's value.
[ "SetNameQualifier", "sets", "the", "NameQualifier", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/sts/api.go#L1576-L1579
165,620
aws/aws-sdk-go
service/sts/api.go
SetWebIdentityToken
func (s *AssumeRoleWithWebIdentityInput) SetWebIdentityToken(v string) *AssumeRoleWithWebIdentityInput { s.WebIdentityToken = &v return s }
go
func (s *AssumeRoleWithWebIdentityInput) SetWebIdentityToken(v string) *AssumeRoleWithWebIdentityInput { s.WebIdentityToken = &v return s }
[ "func", "(", "s", "*", "AssumeRoleWithWebIdentityInput", ")", "SetWebIdentityToken", "(", "v", "string", ")", "*", "AssumeRoleWithWebIdentityInput", "{", "s", ".", "WebIdentityToken", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetWebIdentityToken sets the WebIdentityToken field's value.
[ "SetWebIdentityToken", "sets", "the", "WebIdentityToken", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/sts/api.go#L1762-L1765
165,621
aws/aws-sdk-go
service/sts/api.go
SetSubjectFromWebIdentityToken
func (s *AssumeRoleWithWebIdentityOutput) SetSubjectFromWebIdentityToken(v string) *AssumeRoleWithWebIdentityOutput { s.SubjectFromWebIdentityToken = &v return s }
go
func (s *AssumeRoleWithWebIdentityOutput) SetSubjectFromWebIdentityToken(v string) *AssumeRoleWithWebIdentityOutput { s.SubjectFromWebIdentityToken = &v return s }
[ "func", "(", "s", "*", "AssumeRoleWithWebIdentityOutput", ")", "SetSubjectFromWebIdentityToken", "(", "v", "string", ")", "*", "AssumeRoleWithWebIdentityOutput", "{", "s", ".", "SubjectFromWebIdentityToken", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetSubjectFromWebIdentityToken sets the SubjectFromWebIdentityToken field's value.
[ "SetSubjectFromWebIdentityToken", "sets", "the", "SubjectFromWebIdentityToken", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/sts/api.go#L1854-L1857
165,622
aws/aws-sdk-go
service/sts/api.go
SetAssumedRoleId
func (s *AssumedRoleUser) SetAssumedRoleId(v string) *AssumedRoleUser { s.AssumedRoleId = &v return s }
go
func (s *AssumedRoleUser) SetAssumedRoleId(v string) *AssumedRoleUser { s.AssumedRoleId = &v return s }
[ "func", "(", "s", "*", "AssumedRoleUser", ")", "SetAssumedRoleId", "(", "v", "string", ")", "*", "AssumedRoleUser", "{", "s", ".", "AssumedRoleId", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetAssumedRoleId sets the AssumedRoleId field's value.
[ "SetAssumedRoleId", "sets", "the", "AssumedRoleId", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/sts/api.go#L1897-L1900
165,623
aws/aws-sdk-go
service/sts/api.go
SetEncodedMessage
func (s *DecodeAuthorizationMessageInput) SetEncodedMessage(v string) *DecodeAuthorizationMessageInput { s.EncodedMessage = &v return s }
go
func (s *DecodeAuthorizationMessageInput) SetEncodedMessage(v string) *DecodeAuthorizationMessageInput { s.EncodedMessage = &v return s }
[ "func", "(", "s", "*", "DecodeAuthorizationMessageInput", ")", "SetEncodedMessage", "(", "v", "string", ")", "*", "DecodeAuthorizationMessageInput", "{", "s", ".", "EncodedMessage", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetEncodedMessage sets the EncodedMessage field's value.
[ "SetEncodedMessage", "sets", "the", "EncodedMessage", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/sts/api.go#L1997-L2000
165,624
aws/aws-sdk-go
service/sts/api.go
SetDecodedMessage
func (s *DecodeAuthorizationMessageOutput) SetDecodedMessage(v string) *DecodeAuthorizationMessageOutput { s.DecodedMessage = &v return s }
go
func (s *DecodeAuthorizationMessageOutput) SetDecodedMessage(v string) *DecodeAuthorizationMessageOutput { s.DecodedMessage = &v return s }
[ "func", "(", "s", "*", "DecodeAuthorizationMessageOutput", ")", "SetDecodedMessage", "(", "v", "string", ")", "*", "DecodeAuthorizationMessageOutput", "{", "s", ".", "DecodedMessage", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetDecodedMessage sets the DecodedMessage field's value.
[ "SetDecodedMessage", "sets", "the", "DecodedMessage", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/sts/api.go#L2023-L2026
165,625
aws/aws-sdk-go
service/sts/api.go
SetFederatedUserId
func (s *FederatedUser) SetFederatedUserId(v string) *FederatedUser { s.FederatedUserId = &v return s }
go
func (s *FederatedUser) SetFederatedUserId(v string) *FederatedUser { s.FederatedUserId = &v return s }
[ "func", "(", "s", "*", "FederatedUser", ")", "SetFederatedUserId", "(", "v", "string", ")", "*", "FederatedUser", "{", "s", ".", "FederatedUserId", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetFederatedUserId sets the FederatedUserId field's value.
[ "SetFederatedUserId", "sets", "the", "FederatedUserId", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/sts/api.go#L2064-L2067
165,626
aws/aws-sdk-go
service/sts/api.go
SetFederatedUser
func (s *GetFederationTokenOutput) SetFederatedUser(v *FederatedUser) *GetFederationTokenOutput { s.FederatedUser = v return s }
go
func (s *GetFederationTokenOutput) SetFederatedUser(v *FederatedUser) *GetFederationTokenOutput { s.FederatedUser = v return s }
[ "func", "(", "s", "*", "GetFederationTokenOutput", ")", "SetFederatedUser", "(", "v", "*", "FederatedUser", ")", "*", "GetFederationTokenOutput", "{", "s", ".", "FederatedUser", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetFederatedUser sets the FederatedUser field's value.
[ "SetFederatedUser", "sets", "the", "FederatedUser", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/sts/api.go#L2279-L2282
165,627
aws/aws-sdk-go
service/resourcegroupstaggingapi/api.go
SetResourceTypeFilters
func (s *GetResourcesInput) SetResourceTypeFilters(v []*string) *GetResourcesInput { s.ResourceTypeFilters = v return s }
go
func (s *GetResourcesInput) SetResourceTypeFilters(v []*string) *GetResourcesInput { s.ResourceTypeFilters = v return s }
[ "func", "(", "s", "*", "GetResourcesInput", ")", "SetResourceTypeFilters", "(", "v", "[", "]", "*", "string", ")", "*", "GetResourcesInput", "{", "s", ".", "ResourceTypeFilters", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetResourceTypeFilters sets the ResourceTypeFilters field's value.
[ "SetResourceTypeFilters", "sets", "the", "ResourceTypeFilters", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/resourcegroupstaggingapi/api.go#L804-L807
165,628
aws/aws-sdk-go
service/resourcegroupstaggingapi/api.go
SetResourcesPerPage
func (s *GetResourcesInput) SetResourcesPerPage(v int64) *GetResourcesInput { s.ResourcesPerPage = &v return s }
go
func (s *GetResourcesInput) SetResourcesPerPage(v int64) *GetResourcesInput { s.ResourcesPerPage = &v return s }
[ "func", "(", "s", "*", "GetResourcesInput", ")", "SetResourcesPerPage", "(", "v", "int64", ")", "*", "GetResourcesInput", "{", "s", ".", "ResourcesPerPage", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetResourcesPerPage sets the ResourcesPerPage field's value.
[ "SetResourcesPerPage", "sets", "the", "ResourcesPerPage", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/resourcegroupstaggingapi/api.go#L810-L813
165,629
aws/aws-sdk-go
service/resourcegroupstaggingapi/api.go
SetTagsPerPage
func (s *GetResourcesInput) SetTagsPerPage(v int64) *GetResourcesInput { s.TagsPerPage = &v return s }
go
func (s *GetResourcesInput) SetTagsPerPage(v int64) *GetResourcesInput { s.TagsPerPage = &v return s }
[ "func", "(", "s", "*", "GetResourcesInput", ")", "SetTagsPerPage", "(", "v", "int64", ")", "*", "GetResourcesInput", "{", "s", ".", "TagsPerPage", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetTagsPerPage sets the TagsPerPage field's value.
[ "SetTagsPerPage", "sets", "the", "TagsPerPage", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/resourcegroupstaggingapi/api.go#L822-L825
165,630
aws/aws-sdk-go
service/resourcegroupstaggingapi/api.go
SetResourceTagMappingList
func (s *GetResourcesOutput) SetResourceTagMappingList(v []*ResourceTagMapping) *GetResourcesOutput { s.ResourceTagMappingList = v return s }
go
func (s *GetResourcesOutput) SetResourceTagMappingList(v []*ResourceTagMapping) *GetResourcesOutput { s.ResourceTagMappingList = v return s }
[ "func", "(", "s", "*", "GetResourcesOutput", ")", "SetResourceTagMappingList", "(", "v", "[", "]", "*", "ResourceTagMapping", ")", "*", "GetResourcesOutput", "{", "s", ".", "ResourceTagMappingList", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetResourceTagMappingList sets the ResourceTagMappingList field's value.
[ "SetResourceTagMappingList", "sets", "the", "ResourceTagMappingList", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/resourcegroupstaggingapi/api.go#L856-L859
165,631
aws/aws-sdk-go
service/greengrass/api.go
SetInvalidInputRecords
func (s *BulkDeploymentMetrics) SetInvalidInputRecords(v int64) *BulkDeploymentMetrics { s.InvalidInputRecords = &v return s }
go
func (s *BulkDeploymentMetrics) SetInvalidInputRecords(v int64) *BulkDeploymentMetrics { s.InvalidInputRecords = &v return s }
[ "func", "(", "s", "*", "BulkDeploymentMetrics", ")", "SetInvalidInputRecords", "(", "v", "int64", ")", "*", "BulkDeploymentMetrics", "{", "s", ".", "InvalidInputRecords", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetInvalidInputRecords sets the InvalidInputRecords field's value.
[ "SetInvalidInputRecords", "sets", "the", "InvalidInputRecords", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/greengrass/api.go#L7381-L7384
165,632
aws/aws-sdk-go
service/greengrass/api.go
SetRecordsProcessed
func (s *BulkDeploymentMetrics) SetRecordsProcessed(v int64) *BulkDeploymentMetrics { s.RecordsProcessed = &v return s }
go
func (s *BulkDeploymentMetrics) SetRecordsProcessed(v int64) *BulkDeploymentMetrics { s.RecordsProcessed = &v return s }
[ "func", "(", "s", "*", "BulkDeploymentMetrics", ")", "SetRecordsProcessed", "(", "v", "int64", ")", "*", "BulkDeploymentMetrics", "{", "s", ".", "RecordsProcessed", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetRecordsProcessed sets the RecordsProcessed field's value.
[ "SetRecordsProcessed", "sets", "the", "RecordsProcessed", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/greengrass/api.go#L7387-L7390
165,633
aws/aws-sdk-go
service/greengrass/api.go
SetRetryAttempts
func (s *BulkDeploymentMetrics) SetRetryAttempts(v int64) *BulkDeploymentMetrics { s.RetryAttempts = &v return s }
go
func (s *BulkDeploymentMetrics) SetRetryAttempts(v int64) *BulkDeploymentMetrics { s.RetryAttempts = &v return s }
[ "func", "(", "s", "*", "BulkDeploymentMetrics", ")", "SetRetryAttempts", "(", "v", "int64", ")", "*", "BulkDeploymentMetrics", "{", "s", ".", "RetryAttempts", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetRetryAttempts sets the RetryAttempts field's value.
[ "SetRetryAttempts", "sets", "the", "RetryAttempts", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/greengrass/api.go#L7393-L7396
165,634
aws/aws-sdk-go
service/greengrass/api.go
SetPortNumber
func (s *ConnectivityInfo) SetPortNumber(v int64) *ConnectivityInfo { s.PortNumber = &v return s }
go
func (s *ConnectivityInfo) SetPortNumber(v int64) *ConnectivityInfo { s.PortNumber = &v return s }
[ "func", "(", "s", "*", "ConnectivityInfo", ")", "SetPortNumber", "(", "v", "int64", ")", "*", "ConnectivityInfo", "{", "s", ".", "PortNumber", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetPortNumber sets the PortNumber field's value.
[ "SetPortNumber", "sets", "the", "PortNumber", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/greengrass/api.go#L7532-L7535
165,635
aws/aws-sdk-go
service/greengrass/api.go
SetConnectorArn
func (s *Connector) SetConnectorArn(v string) *Connector { s.ConnectorArn = &v return s }
go
func (s *Connector) SetConnectorArn(v string) *Connector { s.ConnectorArn = &v return s }
[ "func", "(", "s", "*", "Connector", ")", "SetConnectorArn", "(", "v", "string", ")", "*", "Connector", "{", "s", ".", "ConnectorArn", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetConnectorArn sets the ConnectorArn field's value.
[ "SetConnectorArn", "sets", "the", "ConnectorArn", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/greengrass/api.go#L7566-L7569
165,636
aws/aws-sdk-go
service/greengrass/api.go
SetS3UrlSignerRole
func (s *CreateSoftwareUpdateJobInput) SetS3UrlSignerRole(v string) *CreateSoftwareUpdateJobInput { s.S3UrlSignerRole = &v return s }
go
func (s *CreateSoftwareUpdateJobInput) SetS3UrlSignerRole(v string) *CreateSoftwareUpdateJobInput { s.S3UrlSignerRole = &v return s }
[ "func", "(", "s", "*", "CreateSoftwareUpdateJobInput", ")", "SetS3UrlSignerRole", "(", "v", "string", ")", "*", "CreateSoftwareUpdateJobInput", "{", "s", ".", "S3UrlSignerRole", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetS3UrlSignerRole sets the S3UrlSignerRole field's value.
[ "SetS3UrlSignerRole", "sets", "the", "S3UrlSignerRole", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/greengrass/api.go#L9493-L9496
165,637
aws/aws-sdk-go
service/greengrass/api.go
SetSoftwareToUpdate
func (s *CreateSoftwareUpdateJobInput) SetSoftwareToUpdate(v string) *CreateSoftwareUpdateJobInput { s.SoftwareToUpdate = &v return s }
go
func (s *CreateSoftwareUpdateJobInput) SetSoftwareToUpdate(v string) *CreateSoftwareUpdateJobInput { s.SoftwareToUpdate = &v return s }
[ "func", "(", "s", "*", "CreateSoftwareUpdateJobInput", ")", "SetSoftwareToUpdate", "(", "v", "string", ")", "*", "CreateSoftwareUpdateJobInput", "{", "s", ".", "SoftwareToUpdate", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetSoftwareToUpdate sets the SoftwareToUpdate field's value.
[ "SetSoftwareToUpdate", "sets", "the", "SoftwareToUpdate", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/greengrass/api.go#L9499-L9502
165,638
aws/aws-sdk-go
service/greengrass/api.go
SetUpdateAgentLogLevel
func (s *CreateSoftwareUpdateJobInput) SetUpdateAgentLogLevel(v string) *CreateSoftwareUpdateJobInput { s.UpdateAgentLogLevel = &v return s }
go
func (s *CreateSoftwareUpdateJobInput) SetUpdateAgentLogLevel(v string) *CreateSoftwareUpdateJobInput { s.UpdateAgentLogLevel = &v return s }
[ "func", "(", "s", "*", "CreateSoftwareUpdateJobInput", ")", "SetUpdateAgentLogLevel", "(", "v", "string", ")", "*", "CreateSoftwareUpdateJobInput", "{", "s", ".", "UpdateAgentLogLevel", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetUpdateAgentLogLevel sets the UpdateAgentLogLevel field's value.
[ "SetUpdateAgentLogLevel", "sets", "the", "UpdateAgentLogLevel", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/greengrass/api.go#L9505-L9508
165,639
aws/aws-sdk-go
service/greengrass/api.go
SetUpdateTargetsArchitecture
func (s *CreateSoftwareUpdateJobInput) SetUpdateTargetsArchitecture(v string) *CreateSoftwareUpdateJobInput { s.UpdateTargetsArchitecture = &v return s }
go
func (s *CreateSoftwareUpdateJobInput) SetUpdateTargetsArchitecture(v string) *CreateSoftwareUpdateJobInput { s.UpdateTargetsArchitecture = &v return s }
[ "func", "(", "s", "*", "CreateSoftwareUpdateJobInput", ")", "SetUpdateTargetsArchitecture", "(", "v", "string", ")", "*", "CreateSoftwareUpdateJobInput", "{", "s", ".", "UpdateTargetsArchitecture", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetUpdateTargetsArchitecture sets the UpdateTargetsArchitecture field's value.
[ "SetUpdateTargetsArchitecture", "sets", "the", "UpdateTargetsArchitecture", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/greengrass/api.go#L9517-L9520
165,640
aws/aws-sdk-go
service/greengrass/api.go
SetUpdateTargetsOperatingSystem
func (s *CreateSoftwareUpdateJobInput) SetUpdateTargetsOperatingSystem(v string) *CreateSoftwareUpdateJobInput { s.UpdateTargetsOperatingSystem = &v return s }
go
func (s *CreateSoftwareUpdateJobInput) SetUpdateTargetsOperatingSystem(v string) *CreateSoftwareUpdateJobInput { s.UpdateTargetsOperatingSystem = &v return s }
[ "func", "(", "s", "*", "CreateSoftwareUpdateJobInput", ")", "SetUpdateTargetsOperatingSystem", "(", "v", "string", ")", "*", "CreateSoftwareUpdateJobInput", "{", "s", ".", "UpdateTargetsOperatingSystem", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetUpdateTargetsOperatingSystem sets the UpdateTargetsOperatingSystem field's value.
[ "SetUpdateTargetsOperatingSystem", "sets", "the", "UpdateTargetsOperatingSystem", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/greengrass/api.go#L9523-L9526
165,641
aws/aws-sdk-go
service/greengrass/api.go
SetIotJobArn
func (s *CreateSoftwareUpdateJobOutput) SetIotJobArn(v string) *CreateSoftwareUpdateJobOutput { s.IotJobArn = &v return s }
go
func (s *CreateSoftwareUpdateJobOutput) SetIotJobArn(v string) *CreateSoftwareUpdateJobOutput { s.IotJobArn = &v return s }
[ "func", "(", "s", "*", "CreateSoftwareUpdateJobOutput", ")", "SetIotJobArn", "(", "v", "string", ")", "*", "CreateSoftwareUpdateJobOutput", "{", "s", ".", "IotJobArn", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetIotJobArn sets the IotJobArn field's value.
[ "SetIotJobArn", "sets", "the", "IotJobArn", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/greengrass/api.go#L9549-L9552
165,642
aws/aws-sdk-go
service/greengrass/api.go
SetIotJobId
func (s *CreateSoftwareUpdateJobOutput) SetIotJobId(v string) *CreateSoftwareUpdateJobOutput { s.IotJobId = &v return s }
go
func (s *CreateSoftwareUpdateJobOutput) SetIotJobId(v string) *CreateSoftwareUpdateJobOutput { s.IotJobId = &v return s }
[ "func", "(", "s", "*", "CreateSoftwareUpdateJobOutput", ")", "SetIotJobId", "(", "v", "string", ")", "*", "CreateSoftwareUpdateJobOutput", "{", "s", ".", "IotJobId", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetIotJobId sets the IotJobId field's value.
[ "SetIotJobId", "sets", "the", "IotJobId", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/greengrass/api.go#L9555-L9558
165,643
aws/aws-sdk-go
service/greengrass/api.go
SetDetailedErrorCode
func (s *ErrorDetail) SetDetailedErrorCode(v string) *ErrorDetail { s.DetailedErrorCode = &v return s }
go
func (s *ErrorDetail) SetDetailedErrorCode(v string) *ErrorDetail { s.DetailedErrorCode = &v return s }
[ "func", "(", "s", "*", "ErrorDetail", ")", "SetDetailedErrorCode", "(", "v", "string", ")", "*", "ErrorDetail", "{", "s", ".", "DetailedErrorCode", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetDetailedErrorCode sets the DetailedErrorCode field's value.
[ "SetDetailedErrorCode", "sets", "the", "DetailedErrorCode", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/greengrass/api.go#L10548-L10551
165,644
aws/aws-sdk-go
service/greengrass/api.go
SetDetailedErrorMessage
func (s *ErrorDetail) SetDetailedErrorMessage(v string) *ErrorDetail { s.DetailedErrorMessage = &v return s }
go
func (s *ErrorDetail) SetDetailedErrorMessage(v string) *ErrorDetail { s.DetailedErrorMessage = &v return s }
[ "func", "(", "s", "*", "ErrorDetail", ")", "SetDetailedErrorMessage", "(", "v", "string", ")", "*", "ErrorDetail", "{", "s", ".", "DetailedErrorMessage", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetDetailedErrorMessage sets the DetailedErrorMessage field's value.
[ "SetDetailedErrorMessage", "sets", "the", "DetailedErrorMessage", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/greengrass/api.go#L10554-L10557
165,645
aws/aws-sdk-go
service/greengrass/api.go
SetExecArgs
func (s *FunctionConfiguration) SetExecArgs(v string) *FunctionConfiguration { s.ExecArgs = &v return s }
go
func (s *FunctionConfiguration) SetExecArgs(v string) *FunctionConfiguration { s.ExecArgs = &v return s }
[ "func", "(", "s", "*", "FunctionConfiguration", ")", "SetExecArgs", "(", "v", "string", ")", "*", "FunctionConfiguration", "{", "s", ".", "ExecArgs", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetExecArgs sets the ExecArgs field's value.
[ "SetExecArgs", "sets", "the", "ExecArgs", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/greengrass/api.go#L10658-L10661
165,646
aws/aws-sdk-go
service/greengrass/api.go
SetExecutable
func (s *FunctionConfiguration) SetExecutable(v string) *FunctionConfiguration { s.Executable = &v return s }
go
func (s *FunctionConfiguration) SetExecutable(v string) *FunctionConfiguration { s.Executable = &v return s }
[ "func", "(", "s", "*", "FunctionConfiguration", ")", "SetExecutable", "(", "v", "string", ")", "*", "FunctionConfiguration", "{", "s", ".", "Executable", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetExecutable sets the Executable field's value.
[ "SetExecutable", "sets", "the", "Executable", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/greengrass/api.go#L10664-L10667
165,647
aws/aws-sdk-go
service/greengrass/api.go
SetPinned
func (s *FunctionConfiguration) SetPinned(v bool) *FunctionConfiguration { s.Pinned = &v return s }
go
func (s *FunctionConfiguration) SetPinned(v bool) *FunctionConfiguration { s.Pinned = &v return s }
[ "func", "(", "s", "*", "FunctionConfiguration", ")", "SetPinned", "(", "v", "bool", ")", "*", "FunctionConfiguration", "{", "s", ".", "Pinned", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetPinned sets the Pinned field's value.
[ "SetPinned", "sets", "the", "Pinned", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/greengrass/api.go#L10676-L10679
165,648
aws/aws-sdk-go
service/greengrass/api.go
SetAccessSysfs
func (s *FunctionConfigurationEnvironment) SetAccessSysfs(v bool) *FunctionConfigurationEnvironment { s.AccessSysfs = &v return s }
go
func (s *FunctionConfigurationEnvironment) SetAccessSysfs(v bool) *FunctionConfigurationEnvironment { s.AccessSysfs = &v return s }
[ "func", "(", "s", "*", "FunctionConfigurationEnvironment", ")", "SetAccessSysfs", "(", "v", "bool", ")", "*", "FunctionConfigurationEnvironment", "{", "s", ".", "AccessSysfs", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetAccessSysfs sets the AccessSysfs field's value.
[ "SetAccessSysfs", "sets", "the", "AccessSysfs", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/greengrass/api.go#L10721-L10724
165,649
aws/aws-sdk-go
service/greengrass/api.go
SetResourceAccessPolicies
func (s *FunctionConfigurationEnvironment) SetResourceAccessPolicies(v []*ResourceAccessPolicy) *FunctionConfigurationEnvironment { s.ResourceAccessPolicies = v return s }
go
func (s *FunctionConfigurationEnvironment) SetResourceAccessPolicies(v []*ResourceAccessPolicy) *FunctionConfigurationEnvironment { s.ResourceAccessPolicies = v return s }
[ "func", "(", "s", "*", "FunctionConfigurationEnvironment", ")", "SetResourceAccessPolicies", "(", "v", "[", "]", "*", "ResourceAccessPolicy", ")", "*", "FunctionConfigurationEnvironment", "{", "s", ".", "ResourceAccessPolicies", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetResourceAccessPolicies sets the ResourceAccessPolicies field's value.
[ "SetResourceAccessPolicies", "sets", "the", "ResourceAccessPolicies", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/greengrass/api.go#L10733-L10736
165,650
aws/aws-sdk-go
service/greengrass/api.go
SetBulkDeploymentMetrics
func (s *GetBulkDeploymentStatusOutput) SetBulkDeploymentMetrics(v *BulkDeploymentMetrics) *GetBulkDeploymentStatusOutput { s.BulkDeploymentMetrics = v return s }
go
func (s *GetBulkDeploymentStatusOutput) SetBulkDeploymentMetrics(v *BulkDeploymentMetrics) *GetBulkDeploymentStatusOutput { s.BulkDeploymentMetrics = v return s }
[ "func", "(", "s", "*", "GetBulkDeploymentStatusOutput", ")", "SetBulkDeploymentMetrics", "(", "v", "*", "BulkDeploymentMetrics", ")", "*", "GetBulkDeploymentStatusOutput", "{", "s", ".", "BulkDeploymentMetrics", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetBulkDeploymentMetrics sets the BulkDeploymentMetrics field's value.
[ "SetBulkDeploymentMetrics", "sets", "the", "BulkDeploymentMetrics", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/greengrass/api.go#L11068-L11071
165,651
aws/aws-sdk-go
service/greengrass/api.go
SetBulkDeploymentStatus
func (s *GetBulkDeploymentStatusOutput) SetBulkDeploymentStatus(v string) *GetBulkDeploymentStatusOutput { s.BulkDeploymentStatus = &v return s }
go
func (s *GetBulkDeploymentStatusOutput) SetBulkDeploymentStatus(v string) *GetBulkDeploymentStatusOutput { s.BulkDeploymentStatus = &v return s }
[ "func", "(", "s", "*", "GetBulkDeploymentStatusOutput", ")", "SetBulkDeploymentStatus", "(", "v", "string", ")", "*", "GetBulkDeploymentStatusOutput", "{", "s", ".", "BulkDeploymentStatus", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetBulkDeploymentStatus sets the BulkDeploymentStatus field's value.
[ "SetBulkDeploymentStatus", "sets", "the", "BulkDeploymentStatus", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/greengrass/api.go#L11074-L11077
165,652
aws/aws-sdk-go
service/greengrass/api.go
SetConnectorDefinitionVersionId
func (s *GetConnectorDefinitionVersionInput) SetConnectorDefinitionVersionId(v string) *GetConnectorDefinitionVersionInput { s.ConnectorDefinitionVersionId = &v return s }
go
func (s *GetConnectorDefinitionVersionInput) SetConnectorDefinitionVersionId(v string) *GetConnectorDefinitionVersionInput { s.ConnectorDefinitionVersionId = &v return s }
[ "func", "(", "s", "*", "GetConnectorDefinitionVersionInput", ")", "SetConnectorDefinitionVersionId", "(", "v", "string", ")", "*", "GetConnectorDefinitionVersionInput", "{", "s", ".", "ConnectorDefinitionVersionId", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetConnectorDefinitionVersionId sets the ConnectorDefinitionVersionId field's value.
[ "SetConnectorDefinitionVersionId", "sets", "the", "ConnectorDefinitionVersionId", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/greengrass/api.go#L11343-L11346
165,653
aws/aws-sdk-go
service/greengrass/api.go
SetCoreDefinitionVersionId
func (s *GetCoreDefinitionVersionInput) SetCoreDefinitionVersionId(v string) *GetCoreDefinitionVersionInput { s.CoreDefinitionVersionId = &v return s }
go
func (s *GetCoreDefinitionVersionInput) SetCoreDefinitionVersionId(v string) *GetCoreDefinitionVersionInput { s.CoreDefinitionVersionId = &v return s }
[ "func", "(", "s", "*", "GetCoreDefinitionVersionInput", ")", "SetCoreDefinitionVersionId", "(", "v", "string", ")", "*", "GetCoreDefinitionVersionInput", "{", "s", ".", "CoreDefinitionVersionId", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetCoreDefinitionVersionId sets the CoreDefinitionVersionId field's value.
[ "SetCoreDefinitionVersionId", "sets", "the", "CoreDefinitionVersionId", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/greengrass/api.go#L11591-L11594
165,654
aws/aws-sdk-go
service/greengrass/api.go
SetDeviceDefinitionVersionId
func (s *GetDeviceDefinitionVersionInput) SetDeviceDefinitionVersionId(v string) *GetDeviceDefinitionVersionInput { s.DeviceDefinitionVersionId = &v return s }
go
func (s *GetDeviceDefinitionVersionInput) SetDeviceDefinitionVersionId(v string) *GetDeviceDefinitionVersionInput { s.DeviceDefinitionVersionId = &v return s }
[ "func", "(", "s", "*", "GetDeviceDefinitionVersionInput", ")", "SetDeviceDefinitionVersionId", "(", "v", "string", ")", "*", "GetDeviceDefinitionVersionInput", "{", "s", ".", "DeviceDefinitionVersionId", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetDeviceDefinitionVersionId sets the DeviceDefinitionVersionId field's value.
[ "SetDeviceDefinitionVersionId", "sets", "the", "DeviceDefinitionVersionId", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/greengrass/api.go#L11950-L11953
165,655
aws/aws-sdk-go
service/greengrass/api.go
SetFunctionDefinitionVersionId
func (s *GetFunctionDefinitionVersionInput) SetFunctionDefinitionVersionId(v string) *GetFunctionDefinitionVersionInput { s.FunctionDefinitionVersionId = &v return s }
go
func (s *GetFunctionDefinitionVersionInput) SetFunctionDefinitionVersionId(v string) *GetFunctionDefinitionVersionInput { s.FunctionDefinitionVersionId = &v return s }
[ "func", "(", "s", "*", "GetFunctionDefinitionVersionInput", ")", "SetFunctionDefinitionVersionId", "(", "v", "string", ")", "*", "GetFunctionDefinitionVersionInput", "{", "s", ".", "FunctionDefinitionVersionId", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetFunctionDefinitionVersionId sets the FunctionDefinitionVersionId field's value.
[ "SetFunctionDefinitionVersionId", "sets", "the", "FunctionDefinitionVersionId", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/greengrass/api.go#L12199-L12202
165,656
aws/aws-sdk-go
service/greengrass/api.go
SetCertificateAuthorityId
func (s *GetGroupCertificateAuthorityInput) SetCertificateAuthorityId(v string) *GetGroupCertificateAuthorityInput { s.CertificateAuthorityId = &v return s }
go
func (s *GetGroupCertificateAuthorityInput) SetCertificateAuthorityId(v string) *GetGroupCertificateAuthorityInput { s.CertificateAuthorityId = &v return s }
[ "func", "(", "s", "*", "GetGroupCertificateAuthorityInput", ")", "SetCertificateAuthorityId", "(", "v", "string", ")", "*", "GetGroupCertificateAuthorityInput", "{", "s", ".", "CertificateAuthorityId", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetCertificateAuthorityId sets the CertificateAuthorityId field's value.
[ "SetCertificateAuthorityId", "sets", "the", "CertificateAuthorityId", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/greengrass/api.go#L12324-L12327
165,657
aws/aws-sdk-go
service/greengrass/api.go
SetLoggerDefinitionVersionId
func (s *GetLoggerDefinitionVersionInput) SetLoggerDefinitionVersionId(v string) *GetLoggerDefinitionVersionInput { s.LoggerDefinitionVersionId = &v return s }
go
func (s *GetLoggerDefinitionVersionInput) SetLoggerDefinitionVersionId(v string) *GetLoggerDefinitionVersionInput { s.LoggerDefinitionVersionId = &v return s }
[ "func", "(", "s", "*", "GetLoggerDefinitionVersionInput", ")", "SetLoggerDefinitionVersionId", "(", "v", "string", ")", "*", "GetLoggerDefinitionVersionInput", "{", "s", ".", "LoggerDefinitionVersionId", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetLoggerDefinitionVersionId sets the LoggerDefinitionVersionId field's value.
[ "SetLoggerDefinitionVersionId", "sets", "the", "LoggerDefinitionVersionId", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/greengrass/api.go#L12853-L12856
165,658
aws/aws-sdk-go
service/greengrass/api.go
SetResourceDefinitionVersionId
func (s *GetResourceDefinitionVersionInput) SetResourceDefinitionVersionId(v string) *GetResourceDefinitionVersionInput { s.ResourceDefinitionVersionId = &v return s }
go
func (s *GetResourceDefinitionVersionInput) SetResourceDefinitionVersionId(v string) *GetResourceDefinitionVersionInput { s.ResourceDefinitionVersionId = &v return s }
[ "func", "(", "s", "*", "GetResourceDefinitionVersionInput", ")", "SetResourceDefinitionVersionId", "(", "v", "string", ")", "*", "GetResourceDefinitionVersionInput", "{", "s", ".", "ResourceDefinitionVersionId", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetResourceDefinitionVersionId sets the ResourceDefinitionVersionId field's value.
[ "SetResourceDefinitionVersionId", "sets", "the", "ResourceDefinitionVersionId", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/greengrass/api.go#L13091-L13094
165,659
aws/aws-sdk-go
service/greengrass/api.go
SetSubscriptionDefinitionVersionId
func (s *GetSubscriptionDefinitionVersionInput) SetSubscriptionDefinitionVersionId(v string) *GetSubscriptionDefinitionVersionInput { s.SubscriptionDefinitionVersionId = &v return s }
go
func (s *GetSubscriptionDefinitionVersionInput) SetSubscriptionDefinitionVersionId(v string) *GetSubscriptionDefinitionVersionInput { s.SubscriptionDefinitionVersionId = &v return s }
[ "func", "(", "s", "*", "GetSubscriptionDefinitionVersionInput", ")", "SetSubscriptionDefinitionVersionId", "(", "v", "string", ")", "*", "GetSubscriptionDefinitionVersionInput", "{", "s", ".", "SubscriptionDefinitionVersionId", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetSubscriptionDefinitionVersionId sets the SubscriptionDefinitionVersionId field's value.
[ "SetSubscriptionDefinitionVersionId", "sets", "the", "SubscriptionDefinitionVersionId", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/greengrass/api.go#L13377-L13380
165,660
aws/aws-sdk-go
service/greengrass/api.go
SetAutoAddGroupOwner
func (s *GroupOwnerSetting) SetAutoAddGroupOwner(v bool) *GroupOwnerSetting { s.AutoAddGroupOwner = &v return s }
go
func (s *GroupOwnerSetting) SetAutoAddGroupOwner(v bool) *GroupOwnerSetting { s.AutoAddGroupOwner = &v return s }
[ "func", "(", "s", "*", "GroupOwnerSetting", ")", "SetAutoAddGroupOwner", "(", "v", "bool", ")", "*", "GroupOwnerSetting", "{", "s", ".", "AutoAddGroupOwner", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetAutoAddGroupOwner sets the AutoAddGroupOwner field's value.
[ "SetAutoAddGroupOwner", "sets", "the", "AutoAddGroupOwner", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/greengrass/api.go#L13589-L13592
165,661
aws/aws-sdk-go
service/greengrass/api.go
SetGroupOwner
func (s *GroupOwnerSetting) SetGroupOwner(v string) *GroupOwnerSetting { s.GroupOwner = &v return s }
go
func (s *GroupOwnerSetting) SetGroupOwner(v string) *GroupOwnerSetting { s.GroupOwner = &v return s }
[ "func", "(", "s", "*", "GroupOwnerSetting", ")", "SetGroupOwner", "(", "v", "string", ")", "*", "GroupOwnerSetting", "{", "s", ".", "GroupOwner", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetGroupOwner sets the GroupOwner field's value.
[ "SetGroupOwner", "sets", "the", "GroupOwner", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/greengrass/api.go#L13595-L13598
165,662
aws/aws-sdk-go
service/greengrass/api.go
SetBulkDeployments
func (s *ListBulkDeploymentsOutput) SetBulkDeployments(v []*BulkDeployment) *ListBulkDeploymentsOutput { s.BulkDeployments = v return s }
go
func (s *ListBulkDeploymentsOutput) SetBulkDeployments(v []*BulkDeployment) *ListBulkDeploymentsOutput { s.BulkDeployments = v return s }
[ "func", "(", "s", "*", "ListBulkDeploymentsOutput", ")", "SetBulkDeployments", "(", "v", "[", "]", "*", "BulkDeployment", ")", "*", "ListBulkDeploymentsOutput", "{", "s", ".", "BulkDeployments", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetBulkDeployments sets the BulkDeployments field's value.
[ "SetBulkDeployments", "sets", "the", "BulkDeployments", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/greengrass/api.go#L13818-L13821
165,663
aws/aws-sdk-go
service/greengrass/api.go
SetGroupCertificateAuthorities
func (s *ListGroupCertificateAuthoritiesOutput) SetGroupCertificateAuthorities(v []*GroupCertificateAuthorityProperties) *ListGroupCertificateAuthoritiesOutput { s.GroupCertificateAuthorities = v return s }
go
func (s *ListGroupCertificateAuthoritiesOutput) SetGroupCertificateAuthorities(v []*GroupCertificateAuthorityProperties) *ListGroupCertificateAuthoritiesOutput { s.GroupCertificateAuthorities = v return s }
[ "func", "(", "s", "*", "ListGroupCertificateAuthoritiesOutput", ")", "SetGroupCertificateAuthorities", "(", "v", "[", "]", "*", "GroupCertificateAuthorityProperties", ")", "*", "ListGroupCertificateAuthoritiesOutput", "{", "s", ".", "GroupCertificateAuthorities", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetGroupCertificateAuthorities sets the GroupCertificateAuthorities field's value.
[ "SetGroupCertificateAuthorities", "sets", "the", "GroupCertificateAuthorities", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/greengrass/api.go#L14554-L14557
165,664
aws/aws-sdk-go
service/greengrass/api.go
SetComponent
func (s *Logger) SetComponent(v string) *Logger { s.Component = &v return s }
go
func (s *Logger) SetComponent(v string) *Logger { s.Component = &v return s }
[ "func", "(", "s", "*", "Logger", ")", "SetComponent", "(", "v", "string", ")", "*", "Logger", "{", "s", ".", "Component", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetComponent sets the Component field's value.
[ "SetComponent", "sets", "the", "Component", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/greengrass/api.go#L15315-L15318
165,665
aws/aws-sdk-go
service/greengrass/api.go
SetSpace
func (s *Logger) SetSpace(v int64) *Logger { s.Space = &v return s }
go
func (s *Logger) SetSpace(v int64) *Logger { s.Space = &v return s }
[ "func", "(", "s", "*", "Logger", ")", "SetSpace", "(", "v", "int64", ")", "*", "Logger", "{", "s", ".", "Space", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetSpace sets the Space field's value.
[ "SetSpace", "sets", "the", "Space", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/greengrass/api.go#L15333-L15336
165,666
aws/aws-sdk-go
service/greengrass/api.go
SetResourceDataContainer
func (s *Resource) SetResourceDataContainer(v *ResourceDataContainer) *Resource { s.ResourceDataContainer = v return s }
go
func (s *Resource) SetResourceDataContainer(v *ResourceDataContainer) *Resource { s.ResourceDataContainer = v return s }
[ "func", "(", "s", "*", "Resource", ")", "SetResourceDataContainer", "(", "v", "*", "ResourceDataContainer", ")", "*", "Resource", "{", "s", ".", "ResourceDataContainer", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetResourceDataContainer sets the ResourceDataContainer field's value.
[ "SetResourceDataContainer", "sets", "the", "ResourceDataContainer", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/greengrass/api.go#L15498-L15501
165,667
aws/aws-sdk-go
service/greengrass/api.go
SetLocalDeviceResourceData
func (s *ResourceDataContainer) SetLocalDeviceResourceData(v *LocalDeviceResourceData) *ResourceDataContainer { s.LocalDeviceResourceData = v return s }
go
func (s *ResourceDataContainer) SetLocalDeviceResourceData(v *LocalDeviceResourceData) *ResourceDataContainer { s.LocalDeviceResourceData = v return s }
[ "func", "(", "s", "*", "ResourceDataContainer", ")", "SetLocalDeviceResourceData", "(", "v", "*", "LocalDeviceResourceData", ")", "*", "ResourceDataContainer", "{", "s", ".", "LocalDeviceResourceData", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetLocalDeviceResourceData sets the LocalDeviceResourceData field's value.
[ "SetLocalDeviceResourceData", "sets", "the", "LocalDeviceResourceData", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/greengrass/api.go#L15573-L15576
165,668
aws/aws-sdk-go
service/greengrass/api.go
SetLocalVolumeResourceData
func (s *ResourceDataContainer) SetLocalVolumeResourceData(v *LocalVolumeResourceData) *ResourceDataContainer { s.LocalVolumeResourceData = v return s }
go
func (s *ResourceDataContainer) SetLocalVolumeResourceData(v *LocalVolumeResourceData) *ResourceDataContainer { s.LocalVolumeResourceData = v return s }
[ "func", "(", "s", "*", "ResourceDataContainer", ")", "SetLocalVolumeResourceData", "(", "v", "*", "LocalVolumeResourceData", ")", "*", "ResourceDataContainer", "{", "s", ".", "LocalVolumeResourceData", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetLocalVolumeResourceData sets the LocalVolumeResourceData field's value.
[ "SetLocalVolumeResourceData", "sets", "the", "LocalVolumeResourceData", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/greengrass/api.go#L15579-L15582
165,669
aws/aws-sdk-go
service/greengrass/api.go
SetS3MachineLearningModelResourceData
func (s *ResourceDataContainer) SetS3MachineLearningModelResourceData(v *S3MachineLearningModelResourceData) *ResourceDataContainer { s.S3MachineLearningModelResourceData = v return s }
go
func (s *ResourceDataContainer) SetS3MachineLearningModelResourceData(v *S3MachineLearningModelResourceData) *ResourceDataContainer { s.S3MachineLearningModelResourceData = v return s }
[ "func", "(", "s", "*", "ResourceDataContainer", ")", "SetS3MachineLearningModelResourceData", "(", "v", "*", "S3MachineLearningModelResourceData", ")", "*", "ResourceDataContainer", "{", "s", ".", "S3MachineLearningModelResourceData", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetS3MachineLearningModelResourceData sets the S3MachineLearningModelResourceData field's value.
[ "SetS3MachineLearningModelResourceData", "sets", "the", "S3MachineLearningModelResourceData", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/greengrass/api.go#L15585-L15588
165,670
aws/aws-sdk-go
service/greengrass/api.go
SetSageMakerMachineLearningModelResourceData
func (s *ResourceDataContainer) SetSageMakerMachineLearningModelResourceData(v *SageMakerMachineLearningModelResourceData) *ResourceDataContainer { s.SageMakerMachineLearningModelResourceData = v return s }
go
func (s *ResourceDataContainer) SetSageMakerMachineLearningModelResourceData(v *SageMakerMachineLearningModelResourceData) *ResourceDataContainer { s.SageMakerMachineLearningModelResourceData = v return s }
[ "func", "(", "s", "*", "ResourceDataContainer", ")", "SetSageMakerMachineLearningModelResourceData", "(", "v", "*", "SageMakerMachineLearningModelResourceData", ")", "*", "ResourceDataContainer", "{", "s", ".", "SageMakerMachineLearningModelResourceData", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetSageMakerMachineLearningModelResourceData sets the SageMakerMachineLearningModelResourceData field's value.
[ "SetSageMakerMachineLearningModelResourceData", "sets", "the", "SageMakerMachineLearningModelResourceData", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/greengrass/api.go#L15591-L15594
165,671
aws/aws-sdk-go
service/greengrass/api.go
SetSecretsManagerSecretResourceData
func (s *ResourceDataContainer) SetSecretsManagerSecretResourceData(v *SecretsManagerSecretResourceData) *ResourceDataContainer { s.SecretsManagerSecretResourceData = v return s }
go
func (s *ResourceDataContainer) SetSecretsManagerSecretResourceData(v *SecretsManagerSecretResourceData) *ResourceDataContainer { s.SecretsManagerSecretResourceData = v return s }
[ "func", "(", "s", "*", "ResourceDataContainer", ")", "SetSecretsManagerSecretResourceData", "(", "v", "*", "SecretsManagerSecretResourceData", ")", "*", "ResourceDataContainer", "{", "s", ".", "SecretsManagerSecretResourceData", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetSecretsManagerSecretResourceData sets the SecretsManagerSecretResourceData field's value.
[ "SetSecretsManagerSecretResourceData", "sets", "the", "SecretsManagerSecretResourceData", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/greengrass/api.go#L15597-L15600
165,672
aws/aws-sdk-go
service/greengrass/api.go
SetSageMakerJobArn
func (s *SageMakerMachineLearningModelResourceData) SetSageMakerJobArn(v string) *SageMakerMachineLearningModelResourceData { s.SageMakerJobArn = &v return s }
go
func (s *SageMakerMachineLearningModelResourceData) SetSageMakerJobArn(v string) *SageMakerMachineLearningModelResourceData { s.SageMakerJobArn = &v return s }
[ "func", "(", "s", "*", "SageMakerMachineLearningModelResourceData", ")", "SetSageMakerJobArn", "(", "v", "string", ")", "*", "SageMakerMachineLearningModelResourceData", "{", "s", ".", "SageMakerJobArn", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetSageMakerJobArn sets the SageMakerJobArn field's value.
[ "SetSageMakerJobArn", "sets", "the", "SageMakerJobArn", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/greengrass/api.go#L15688-L15691
165,673
aws/aws-sdk-go
service/greengrass/api.go
SetAdditionalStagingLabelsToDownload
func (s *SecretsManagerSecretResourceData) SetAdditionalStagingLabelsToDownload(v []*string) *SecretsManagerSecretResourceData { s.AdditionalStagingLabelsToDownload = v return s }
go
func (s *SecretsManagerSecretResourceData) SetAdditionalStagingLabelsToDownload(v []*string) *SecretsManagerSecretResourceData { s.AdditionalStagingLabelsToDownload = v return s }
[ "func", "(", "s", "*", "SecretsManagerSecretResourceData", ")", "SetAdditionalStagingLabelsToDownload", "(", "v", "[", "]", "*", "string", ")", "*", "SecretsManagerSecretResourceData", "{", "s", ".", "AdditionalStagingLabelsToDownload", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetAdditionalStagingLabelsToDownload sets the AdditionalStagingLabelsToDownload field's value.
[ "SetAdditionalStagingLabelsToDownload", "sets", "the", "AdditionalStagingLabelsToDownload", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/greengrass/api.go#L15727-L15730
165,674
aws/aws-sdk-go
service/greengrass/api.go
SetInputFileUri
func (s *StartBulkDeploymentInput) SetInputFileUri(v string) *StartBulkDeploymentInput { s.InputFileUri = &v return s }
go
func (s *StartBulkDeploymentInput) SetInputFileUri(v string) *StartBulkDeploymentInput { s.InputFileUri = &v return s }
[ "func", "(", "s", "*", "StartBulkDeploymentInput", ")", "SetInputFileUri", "(", "v", "string", ")", "*", "StartBulkDeploymentInput", "{", "s", ".", "InputFileUri", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetInputFileUri sets the InputFileUri field's value.
[ "SetInputFileUri", "sets", "the", "InputFileUri", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/greengrass/api.go#L15779-L15782
165,675
aws/aws-sdk-go
service/dynamodbstreams/api.go
SetNextShardIterator
func (s *GetRecordsOutput) SetNextShardIterator(v string) *GetRecordsOutput { s.NextShardIterator = &v return s }
go
func (s *GetRecordsOutput) SetNextShardIterator(v string) *GetRecordsOutput { s.NextShardIterator = &v return s }
[ "func", "(", "s", "*", "GetRecordsOutput", ")", "SetNextShardIterator", "(", "v", "string", ")", "*", "GetRecordsOutput", "{", "s", ".", "NextShardIterator", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetNextShardIterator sets the NextShardIterator field's value.
[ "SetNextShardIterator", "sets", "the", "NextShardIterator", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/dynamodbstreams/api.go#L585-L588
165,676
aws/aws-sdk-go
service/dynamodbstreams/api.go
SetShardIteratorType
func (s *GetShardIteratorInput) SetShardIteratorType(v string) *GetShardIteratorInput { s.ShardIteratorType = &v return s }
go
func (s *GetShardIteratorInput) SetShardIteratorType(v string) *GetShardIteratorInput { s.ShardIteratorType = &v return s }
[ "func", "(", "s", "*", "GetShardIteratorInput", ")", "SetShardIteratorType", "(", "v", "string", ")", "*", "GetShardIteratorInput", "{", "s", ".", "ShardIteratorType", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetShardIteratorType sets the ShardIteratorType field's value.
[ "SetShardIteratorType", "sets", "the", "ShardIteratorType", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/dynamodbstreams/api.go#L686-L689
165,677
aws/aws-sdk-go
service/dynamodbstreams/api.go
SetExclusiveStartStreamArn
func (s *ListStreamsInput) SetExclusiveStartStreamArn(v string) *ListStreamsInput { s.ExclusiveStartStreamArn = &v return s }
go
func (s *ListStreamsInput) SetExclusiveStartStreamArn(v string) *ListStreamsInput { s.ExclusiveStartStreamArn = &v return s }
[ "func", "(", "s", "*", "ListStreamsInput", ")", "SetExclusiveStartStreamArn", "(", "v", "string", ")", "*", "ListStreamsInput", "{", "s", ".", "ExclusiveStartStreamArn", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetExclusiveStartStreamArn sets the ExclusiveStartStreamArn field's value.
[ "SetExclusiveStartStreamArn", "sets", "the", "ExclusiveStartStreamArn", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/dynamodbstreams/api.go#L804-L807
165,678
aws/aws-sdk-go
service/dynamodbstreams/api.go
SetLastEvaluatedStreamArn
func (s *ListStreamsOutput) SetLastEvaluatedStreamArn(v string) *ListStreamsOutput { s.LastEvaluatedStreamArn = &v return s }
go
func (s *ListStreamsOutput) SetLastEvaluatedStreamArn(v string) *ListStreamsOutput { s.LastEvaluatedStreamArn = &v return s }
[ "func", "(", "s", "*", "ListStreamsOutput", ")", "SetLastEvaluatedStreamArn", "(", "v", "string", ")", "*", "ListStreamsOutput", "{", "s", ".", "LastEvaluatedStreamArn", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetLastEvaluatedStreamArn sets the LastEvaluatedStreamArn field's value.
[ "SetLastEvaluatedStreamArn", "sets", "the", "LastEvaluatedStreamArn", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/dynamodbstreams/api.go#L852-L855
165,679
aws/aws-sdk-go
service/dynamodbstreams/api.go
SetDynamodb
func (s *Record) SetDynamodb(v *StreamRecord) *Record { s.Dynamodb = v return s }
go
func (s *Record) SetDynamodb(v *StreamRecord) *Record { s.Dynamodb = v return s }
[ "func", "(", "s", "*", "Record", ")", "SetDynamodb", "(", "v", "*", "StreamRecord", ")", "*", "Record", "{", "s", ".", "Dynamodb", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetDynamodb sets the Dynamodb field's value.
[ "SetDynamodb", "sets", "the", "Dynamodb", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/dynamodbstreams/api.go#L929-L932
165,680
aws/aws-sdk-go
service/dynamodbstreams/api.go
SetEventID
func (s *Record) SetEventID(v string) *Record { s.EventID = &v return s }
go
func (s *Record) SetEventID(v string) *Record { s.EventID = &v return s }
[ "func", "(", "s", "*", "Record", ")", "SetEventID", "(", "v", "string", ")", "*", "Record", "{", "s", ".", "EventID", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetEventID sets the EventID field's value.
[ "SetEventID", "sets", "the", "EventID", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/dynamodbstreams/api.go#L935-L938
165,681
aws/aws-sdk-go
service/dynamodbstreams/api.go
SetEventVersion
func (s *Record) SetEventVersion(v string) *Record { s.EventVersion = &v return s }
go
func (s *Record) SetEventVersion(v string) *Record { s.EventVersion = &v return s }
[ "func", "(", "s", "*", "Record", ")", "SetEventVersion", "(", "v", "string", ")", "*", "Record", "{", "s", ".", "EventVersion", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetEventVersion sets the EventVersion field's value.
[ "SetEventVersion", "sets", "the", "EventVersion", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/dynamodbstreams/api.go#L953-L956
165,682
aws/aws-sdk-go
service/dynamodbstreams/api.go
SetUserIdentity
func (s *Record) SetUserIdentity(v *Identity) *Record { s.UserIdentity = v return s }
go
func (s *Record) SetUserIdentity(v *Identity) *Record { s.UserIdentity = v return s }
[ "func", "(", "s", "*", "Record", ")", "SetUserIdentity", "(", "v", "*", "Identity", ")", "*", "Record", "{", "s", ".", "UserIdentity", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetUserIdentity sets the UserIdentity field's value.
[ "SetUserIdentity", "sets", "the", "UserIdentity", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/dynamodbstreams/api.go#L959-L962
165,683
aws/aws-sdk-go
service/dynamodbstreams/api.go
SetEndingSequenceNumber
func (s *SequenceNumberRange) SetEndingSequenceNumber(v string) *SequenceNumberRange { s.EndingSequenceNumber = &v return s }
go
func (s *SequenceNumberRange) SetEndingSequenceNumber(v string) *SequenceNumberRange { s.EndingSequenceNumber = &v return s }
[ "func", "(", "s", "*", "SequenceNumberRange", ")", "SetEndingSequenceNumber", "(", "v", "string", ")", "*", "SequenceNumberRange", "{", "s", ".", "EndingSequenceNumber", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetEndingSequenceNumber sets the EndingSequenceNumber field's value.
[ "SetEndingSequenceNumber", "sets", "the", "EndingSequenceNumber", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/dynamodbstreams/api.go#L987-L990
165,684
aws/aws-sdk-go
service/dynamodbstreams/api.go
SetParentShardId
func (s *Shard) SetParentShardId(v string) *Shard { s.ParentShardId = &v return s }
go
func (s *Shard) SetParentShardId(v string) *Shard { s.ParentShardId = &v return s }
[ "func", "(", "s", "*", "Shard", ")", "SetParentShardId", "(", "v", "string", ")", "*", "Shard", "{", "s", ".", "ParentShardId", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetParentShardId sets the ParentShardId field's value.
[ "SetParentShardId", "sets", "the", "ParentShardId", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/dynamodbstreams/api.go#L1023-L1026
165,685
aws/aws-sdk-go
service/dynamodbstreams/api.go
SetSequenceNumberRange
func (s *Shard) SetSequenceNumberRange(v *SequenceNumberRange) *Shard { s.SequenceNumberRange = v return s }
go
func (s *Shard) SetSequenceNumberRange(v *SequenceNumberRange) *Shard { s.SequenceNumberRange = v return s }
[ "func", "(", "s", "*", "Shard", ")", "SetSequenceNumberRange", "(", "v", "*", "SequenceNumberRange", ")", "*", "Shard", "{", "s", ".", "SequenceNumberRange", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetSequenceNumberRange sets the SequenceNumberRange field's value.
[ "SetSequenceNumberRange", "sets", "the", "SequenceNumberRange", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/dynamodbstreams/api.go#L1029-L1032
165,686
aws/aws-sdk-go
service/dynamodbstreams/api.go
SetCreationRequestDateTime
func (s *StreamDescription) SetCreationRequestDateTime(v time.Time) *StreamDescription { s.CreationRequestDateTime = &v return s }
go
func (s *StreamDescription) SetCreationRequestDateTime(v time.Time) *StreamDescription { s.CreationRequestDateTime = &v return s }
[ "func", "(", "s", "*", "StreamDescription", ")", "SetCreationRequestDateTime", "(", "v", "time", ".", "Time", ")", "*", "StreamDescription", "{", "s", ".", "CreationRequestDateTime", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetCreationRequestDateTime sets the CreationRequestDateTime field's value.
[ "SetCreationRequestDateTime", "sets", "the", "CreationRequestDateTime", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/dynamodbstreams/api.go#L1176-L1179
165,687
aws/aws-sdk-go
service/dynamodbstreams/api.go
SetLastEvaluatedShardId
func (s *StreamDescription) SetLastEvaluatedShardId(v string) *StreamDescription { s.LastEvaluatedShardId = &v return s }
go
func (s *StreamDescription) SetLastEvaluatedShardId(v string) *StreamDescription { s.LastEvaluatedShardId = &v return s }
[ "func", "(", "s", "*", "StreamDescription", ")", "SetLastEvaluatedShardId", "(", "v", "string", ")", "*", "StreamDescription", "{", "s", ".", "LastEvaluatedShardId", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetLastEvaluatedShardId sets the LastEvaluatedShardId field's value.
[ "SetLastEvaluatedShardId", "sets", "the", "LastEvaluatedShardId", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/dynamodbstreams/api.go#L1188-L1191
165,688
aws/aws-sdk-go
service/dynamodbstreams/api.go
SetApproximateCreationDateTime
func (s *StreamRecord) SetApproximateCreationDateTime(v time.Time) *StreamRecord { s.ApproximateCreationDateTime = &v return s }
go
func (s *StreamRecord) SetApproximateCreationDateTime(v time.Time) *StreamRecord { s.ApproximateCreationDateTime = &v return s }
[ "func", "(", "s", "*", "StreamRecord", ")", "SetApproximateCreationDateTime", "(", "v", "time", ".", "Time", ")", "*", "StreamRecord", "{", "s", ".", "ApproximateCreationDateTime", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetApproximateCreationDateTime sets the ApproximateCreationDateTime field's value.
[ "SetApproximateCreationDateTime", "sets", "the", "ApproximateCreationDateTime", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/dynamodbstreams/api.go#L1277-L1280
165,689
aws/aws-sdk-go
service/dynamodbstreams/api.go
SetNewImage
func (s *StreamRecord) SetNewImage(v map[string]*dynamodb.AttributeValue) *StreamRecord { s.NewImage = v return s }
go
func (s *StreamRecord) SetNewImage(v map[string]*dynamodb.AttributeValue) *StreamRecord { s.NewImage = v return s }
[ "func", "(", "s", "*", "StreamRecord", ")", "SetNewImage", "(", "v", "map", "[", "string", "]", "*", "dynamodb", ".", "AttributeValue", ")", "*", "StreamRecord", "{", "s", ".", "NewImage", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetNewImage sets the NewImage field's value.
[ "SetNewImage", "sets", "the", "NewImage", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/dynamodbstreams/api.go#L1289-L1292
165,690
aws/aws-sdk-go
service/dynamodbstreams/api.go
SetOldImage
func (s *StreamRecord) SetOldImage(v map[string]*dynamodb.AttributeValue) *StreamRecord { s.OldImage = v return s }
go
func (s *StreamRecord) SetOldImage(v map[string]*dynamodb.AttributeValue) *StreamRecord { s.OldImage = v return s }
[ "func", "(", "s", "*", "StreamRecord", ")", "SetOldImage", "(", "v", "map", "[", "string", "]", "*", "dynamodb", ".", "AttributeValue", ")", "*", "StreamRecord", "{", "s", ".", "OldImage", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetOldImage sets the OldImage field's value.
[ "SetOldImage", "sets", "the", "OldImage", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/dynamodbstreams/api.go#L1295-L1298
165,691
aws/aws-sdk-go
internal/s3err/error.go
NewRequestFailure
func NewRequestFailure(err awserr.RequestFailure, hostID string) *RequestFailure { return &RequestFailure{RequestFailure: err, hostID: hostID} }
go
func NewRequestFailure(err awserr.RequestFailure, hostID string) *RequestFailure { return &RequestFailure{RequestFailure: err, hostID: hostID} }
[ "func", "NewRequestFailure", "(", "err", "awserr", ".", "RequestFailure", ",", "hostID", "string", ")", "*", "RequestFailure", "{", "return", "&", "RequestFailure", "{", "RequestFailure", ":", "err", ",", "hostID", ":", "hostID", "}", "\n", "}" ]
// NewRequestFailure returns a request failure error decordated with S3 // specific metadata.
[ "NewRequestFailure", "returns", "a", "request", "failure", "error", "decordated", "with", "S3", "specific", "metadata", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/internal/s3err/error.go#L20-L22
165,692
aws/aws-sdk-go
internal/s3err/error.go
RequestFailureWrapperHandler
func RequestFailureWrapperHandler() request.NamedHandler { return request.NamedHandler{ Name: "awssdk.s3.errorHandler", Fn: func(req *request.Request) { reqErr, ok := req.Error.(awserr.RequestFailure) if !ok || reqErr == nil { return } hostID := req.HTTPResponse.Header.Get("X-Amz-Id-2") if req.Error == nil { return } req.Error = NewRequestFailure(reqErr, hostID) }, } }
go
func RequestFailureWrapperHandler() request.NamedHandler { return request.NamedHandler{ Name: "awssdk.s3.errorHandler", Fn: func(req *request.Request) { reqErr, ok := req.Error.(awserr.RequestFailure) if !ok || reqErr == nil { return } hostID := req.HTTPResponse.Header.Get("X-Amz-Id-2") if req.Error == nil { return } req.Error = NewRequestFailure(reqErr, hostID) }, } }
[ "func", "RequestFailureWrapperHandler", "(", ")", "request", ".", "NamedHandler", "{", "return", "request", ".", "NamedHandler", "{", "Name", ":", "\"", "\"", ",", "Fn", ":", "func", "(", "req", "*", "request", ".", "Request", ")", "{", "reqErr", ",", "ok", ":=", "req", ".", "Error", ".", "(", "awserr", ".", "RequestFailure", ")", "\n", "if", "!", "ok", "||", "reqErr", "==", "nil", "{", "return", "\n", "}", "\n\n", "hostID", ":=", "req", ".", "HTTPResponse", ".", "Header", ".", "Get", "(", "\"", "\"", ")", "\n", "if", "req", ".", "Error", "==", "nil", "{", "return", "\n", "}", "\n\n", "req", ".", "Error", "=", "NewRequestFailure", "(", "reqErr", ",", "hostID", ")", "\n", "}", ",", "}", "\n", "}" ]
// RequestFailureWrapperHandler returns a handler to rap an // awserr.RequestFailure with the S3 request ID 2 from the response.
[ "RequestFailureWrapperHandler", "returns", "a", "handler", "to", "rap", "an", "awserr", ".", "RequestFailure", "with", "the", "S3", "request", "ID", "2", "from", "the", "response", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/internal/s3err/error.go#L40-L57
165,693
aws/aws-sdk-go
service/cognitoidentity/api.go
SetIdentityIdsToDelete
func (s *DeleteIdentitiesInput) SetIdentityIdsToDelete(v []*string) *DeleteIdentitiesInput { s.IdentityIdsToDelete = v return s }
go
func (s *DeleteIdentitiesInput) SetIdentityIdsToDelete(v []*string) *DeleteIdentitiesInput { s.IdentityIdsToDelete = v return s }
[ "func", "(", "s", "*", "DeleteIdentitiesInput", ")", "SetIdentityIdsToDelete", "(", "v", "[", "]", "*", "string", ")", "*", "DeleteIdentitiesInput", "{", "s", ".", "IdentityIdsToDelete", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetIdentityIdsToDelete sets the IdentityIdsToDelete field's value.
[ "SetIdentityIdsToDelete", "sets", "the", "IdentityIdsToDelete", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cognitoidentity/api.go#L2382-L2385
165,694
aws/aws-sdk-go
service/cognitoidentity/api.go
SetUnprocessedIdentityIds
func (s *DeleteIdentitiesOutput) SetUnprocessedIdentityIds(v []*UnprocessedIdentityId) *DeleteIdentitiesOutput { s.UnprocessedIdentityIds = v return s }
go
func (s *DeleteIdentitiesOutput) SetUnprocessedIdentityIds(v []*UnprocessedIdentityId) *DeleteIdentitiesOutput { s.UnprocessedIdentityIds = v return s }
[ "func", "(", "s", "*", "DeleteIdentitiesOutput", ")", "SetUnprocessedIdentityIds", "(", "v", "[", "]", "*", "UnprocessedIdentityId", ")", "*", "DeleteIdentitiesOutput", "{", "s", ".", "UnprocessedIdentityIds", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetUnprocessedIdentityIds sets the UnprocessedIdentityIds field's value.
[ "SetUnprocessedIdentityIds", "sets", "the", "UnprocessedIdentityIds", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cognitoidentity/api.go#L2407-L2410
165,695
aws/aws-sdk-go
service/cognitoidentity/api.go
SetCustomRoleArn
func (s *GetCredentialsForIdentityInput) SetCustomRoleArn(v string) *GetCredentialsForIdentityInput { s.CustomRoleArn = &v return s }
go
func (s *GetCredentialsForIdentityInput) SetCustomRoleArn(v string) *GetCredentialsForIdentityInput { s.CustomRoleArn = &v return s }
[ "func", "(", "s", "*", "GetCredentialsForIdentityInput", ")", "SetCustomRoleArn", "(", "v", "string", ")", "*", "GetCredentialsForIdentityInput", "{", "s", ".", "CustomRoleArn", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetCustomRoleArn sets the CustomRoleArn field's value.
[ "SetCustomRoleArn", "sets", "the", "CustomRoleArn", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cognitoidentity/api.go#L2610-L2613
165,696
aws/aws-sdk-go
service/cognitoidentity/api.go
SetTokenDuration
func (s *GetOpenIdTokenForDeveloperIdentityInput) SetTokenDuration(v int64) *GetOpenIdTokenForDeveloperIdentityInput { s.TokenDuration = &v return s }
go
func (s *GetOpenIdTokenForDeveloperIdentityInput) SetTokenDuration(v int64) *GetOpenIdTokenForDeveloperIdentityInput { s.TokenDuration = &v return s }
[ "func", "(", "s", "*", "GetOpenIdTokenForDeveloperIdentityInput", ")", "SetTokenDuration", "(", "v", "int64", ")", "*", "GetOpenIdTokenForDeveloperIdentityInput", "{", "s", ".", "TokenDuration", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetTokenDuration sets the TokenDuration field's value.
[ "SetTokenDuration", "sets", "the", "TokenDuration", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cognitoidentity/api.go#L2939-L2942
165,697
aws/aws-sdk-go
service/cognitoidentity/api.go
SetHideDisabled
func (s *ListIdentitiesInput) SetHideDisabled(v bool) *ListIdentitiesInput { s.HideDisabled = &v return s }
go
func (s *ListIdentitiesInput) SetHideDisabled(v bool) *ListIdentitiesInput { s.HideDisabled = &v return s }
[ "func", "(", "s", "*", "ListIdentitiesInput", ")", "SetHideDisabled", "(", "v", "bool", ")", "*", "ListIdentitiesInput", "{", "s", ".", "HideDisabled", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetHideDisabled sets the HideDisabled field's value.
[ "SetHideDisabled", "sets", "the", "HideDisabled", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cognitoidentity/api.go#L3352-L3355
165,698
aws/aws-sdk-go
service/cognitoidentity/api.go
SetIdentityPools
func (s *ListIdentityPoolsOutput) SetIdentityPools(v []*IdentityPoolShortDescription) *ListIdentityPoolsOutput { s.IdentityPools = v return s }
go
func (s *ListIdentityPoolsOutput) SetIdentityPools(v []*IdentityPoolShortDescription) *ListIdentityPoolsOutput { s.IdentityPools = v return s }
[ "func", "(", "s", "*", "ListIdentityPoolsOutput", ")", "SetIdentityPools", "(", "v", "[", "]", "*", "IdentityPoolShortDescription", ")", "*", "ListIdentityPoolsOutput", "{", "s", ".", "IdentityPools", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetIdentityPools sets the IdentityPools field's value.
[ "SetIdentityPools", "sets", "the", "IdentityPools", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cognitoidentity/api.go#L3493-L3496
165,699
aws/aws-sdk-go
service/cognitoidentity/api.go
SetDeveloperUserIdentifierList
func (s *LookupDeveloperIdentityOutput) SetDeveloperUserIdentifierList(v []*string) *LookupDeveloperIdentityOutput { s.DeveloperUserIdentifierList = v return s }
go
func (s *LookupDeveloperIdentityOutput) SetDeveloperUserIdentifierList(v []*string) *LookupDeveloperIdentityOutput { s.DeveloperUserIdentifierList = v return s }
[ "func", "(", "s", "*", "LookupDeveloperIdentityOutput", ")", "SetDeveloperUserIdentifierList", "(", "v", "[", "]", "*", "string", ")", "*", "LookupDeveloperIdentityOutput", "{", "s", ".", "DeveloperUserIdentifierList", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetDeveloperUserIdentifierList sets the DeveloperUserIdentifierList field's value.
[ "SetDeveloperUserIdentifierList", "sets", "the", "DeveloperUserIdentifierList", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cognitoidentity/api.go#L3698-L3701