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
listlengths 21
1.41k
| docstring
stringlengths 6
2.61k
| docstring_tokens
listlengths 3
215
| sha
stringlengths 40
40
| url
stringlengths 85
252
|
---|---|---|---|---|---|---|---|---|---|---|---|
2,900 |
aws/aws-sdk-go
|
service/clouddirectory/api.go
|
SetObjectAttributeKey
|
func (s *ObjectAttributeUpdate) SetObjectAttributeKey(v *AttributeKey) *ObjectAttributeUpdate {
s.ObjectAttributeKey = v
return s
}
|
go
|
func (s *ObjectAttributeUpdate) SetObjectAttributeKey(v *AttributeKey) *ObjectAttributeUpdate {
s.ObjectAttributeKey = v
return s
}
|
[
"func",
"(",
"s",
"*",
"ObjectAttributeUpdate",
")",
"SetObjectAttributeKey",
"(",
"v",
"*",
"AttributeKey",
")",
"*",
"ObjectAttributeUpdate",
"{",
"s",
".",
"ObjectAttributeKey",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetObjectAttributeKey sets the ObjectAttributeKey field's value.
|
[
"SetObjectAttributeKey",
"sets",
"the",
"ObjectAttributeKey",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/clouddirectory/api.go#L18235-L18238
|
2,901 |
aws/aws-sdk-go
|
service/clouddirectory/api.go
|
SetDatetimeValue
|
func (s *TypedAttributeValue) SetDatetimeValue(v time.Time) *TypedAttributeValue {
s.DatetimeValue = &v
return s
}
|
go
|
func (s *TypedAttributeValue) SetDatetimeValue(v time.Time) *TypedAttributeValue {
s.DatetimeValue = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"TypedAttributeValue",
")",
"SetDatetimeValue",
"(",
"v",
"time",
".",
"Time",
")",
"*",
"TypedAttributeValue",
"{",
"s",
".",
"DatetimeValue",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetDatetimeValue sets the DatetimeValue field's value.
|
[
"SetDatetimeValue",
"sets",
"the",
"DatetimeValue",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/clouddirectory/api.go#L18920-L18923
|
2,902 |
aws/aws-sdk-go
|
service/clouddirectory/api.go
|
SetEndMode
|
func (s *TypedAttributeValueRange) SetEndMode(v string) *TypedAttributeValueRange {
s.EndMode = &v
return s
}
|
go
|
func (s *TypedAttributeValueRange) SetEndMode(v string) *TypedAttributeValueRange {
s.EndMode = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"TypedAttributeValueRange",
")",
"SetEndMode",
"(",
"v",
"string",
")",
"*",
"TypedAttributeValueRange",
"{",
"s",
".",
"EndMode",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetEndMode sets the EndMode field's value.
|
[
"SetEndMode",
"sets",
"the",
"EndMode",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/clouddirectory/api.go#L18985-L18988
|
2,903 |
aws/aws-sdk-go
|
service/clouddirectory/api.go
|
SetEndValue
|
func (s *TypedAttributeValueRange) SetEndValue(v *TypedAttributeValue) *TypedAttributeValueRange {
s.EndValue = v
return s
}
|
go
|
func (s *TypedAttributeValueRange) SetEndValue(v *TypedAttributeValue) *TypedAttributeValueRange {
s.EndValue = v
return s
}
|
[
"func",
"(",
"s",
"*",
"TypedAttributeValueRange",
")",
"SetEndValue",
"(",
"v",
"*",
"TypedAttributeValue",
")",
"*",
"TypedAttributeValueRange",
"{",
"s",
".",
"EndValue",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetEndValue sets the EndValue field's value.
|
[
"SetEndValue",
"sets",
"the",
"EndValue",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/clouddirectory/api.go#L18991-L18994
|
2,904 |
aws/aws-sdk-go
|
service/clouddirectory/api.go
|
SetStartMode
|
func (s *TypedAttributeValueRange) SetStartMode(v string) *TypedAttributeValueRange {
s.StartMode = &v
return s
}
|
go
|
func (s *TypedAttributeValueRange) SetStartMode(v string) *TypedAttributeValueRange {
s.StartMode = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"TypedAttributeValueRange",
")",
"SetStartMode",
"(",
"v",
"string",
")",
"*",
"TypedAttributeValueRange",
"{",
"s",
".",
"StartMode",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetStartMode sets the StartMode field's value.
|
[
"SetStartMode",
"sets",
"the",
"StartMode",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/clouddirectory/api.go#L18997-L19000
|
2,905 |
aws/aws-sdk-go
|
service/clouddirectory/api.go
|
SetStartValue
|
func (s *TypedAttributeValueRange) SetStartValue(v *TypedAttributeValue) *TypedAttributeValueRange {
s.StartValue = v
return s
}
|
go
|
func (s *TypedAttributeValueRange) SetStartValue(v *TypedAttributeValue) *TypedAttributeValueRange {
s.StartValue = v
return s
}
|
[
"func",
"(",
"s",
"*",
"TypedAttributeValueRange",
")",
"SetStartValue",
"(",
"v",
"*",
"TypedAttributeValue",
")",
"*",
"TypedAttributeValueRange",
"{",
"s",
".",
"StartValue",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetStartValue sets the StartValue field's value.
|
[
"SetStartValue",
"sets",
"the",
"StartValue",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/clouddirectory/api.go#L19003-L19006
|
2,906 |
aws/aws-sdk-go
|
service/clouddirectory/api.go
|
SetTypedLinkName
|
func (s *TypedLinkSchemaAndFacetName) SetTypedLinkName(v string) *TypedLinkSchemaAndFacetName {
s.TypedLinkName = &v
return s
}
|
go
|
func (s *TypedLinkSchemaAndFacetName) SetTypedLinkName(v string) *TypedLinkSchemaAndFacetName {
s.TypedLinkName = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"TypedLinkSchemaAndFacetName",
")",
"SetTypedLinkName",
"(",
"v",
"string",
")",
"*",
"TypedLinkSchemaAndFacetName",
"{",
"s",
".",
"TypedLinkName",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetTypedLinkName sets the TypedLinkName field's value.
|
[
"SetTypedLinkName",
"sets",
"the",
"TypedLinkName",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/clouddirectory/api.go#L19353-L19356
|
2,907 |
aws/aws-sdk-go
|
service/clouddirectory/api.go
|
SetIdentityAttributeValues
|
func (s *TypedLinkSpecifier) SetIdentityAttributeValues(v []*AttributeNameAndValue) *TypedLinkSpecifier {
s.IdentityAttributeValues = v
return s
}
|
go
|
func (s *TypedLinkSpecifier) SetIdentityAttributeValues(v []*AttributeNameAndValue) *TypedLinkSpecifier {
s.IdentityAttributeValues = v
return s
}
|
[
"func",
"(",
"s",
"*",
"TypedLinkSpecifier",
")",
"SetIdentityAttributeValues",
"(",
"v",
"[",
"]",
"*",
"AttributeNameAndValue",
")",
"*",
"TypedLinkSpecifier",
"{",
"s",
".",
"IdentityAttributeValues",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetIdentityAttributeValues sets the IdentityAttributeValues field's value.
|
[
"SetIdentityAttributeValues",
"sets",
"the",
"IdentityAttributeValues",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/clouddirectory/api.go#L19436-L19439
|
2,908 |
aws/aws-sdk-go
|
private/protocol/eventstream/header.go
|
Set
|
func (hs *Headers) Set(name string, value Value) {
var i int
for ; i < len(*hs); i++ {
if (*hs)[i].Name == name {
(*hs)[i].Value = value
return
}
}
*hs = append(*hs, Header{
Name: name, Value: value,
})
}
|
go
|
func (hs *Headers) Set(name string, value Value) {
var i int
for ; i < len(*hs); i++ {
if (*hs)[i].Name == name {
(*hs)[i].Value = value
return
}
}
*hs = append(*hs, Header{
Name: name, Value: value,
})
}
|
[
"func",
"(",
"hs",
"*",
"Headers",
")",
"Set",
"(",
"name",
"string",
",",
"value",
"Value",
")",
"{",
"var",
"i",
"int",
"\n",
"for",
";",
"i",
"<",
"len",
"(",
"*",
"hs",
")",
";",
"i",
"++",
"{",
"if",
"(",
"*",
"hs",
")",
"[",
"i",
"]",
".",
"Name",
"==",
"name",
"{",
"(",
"*",
"hs",
")",
"[",
"i",
"]",
".",
"Value",
"=",
"value",
"\n",
"return",
"\n",
"}",
"\n",
"}",
"\n\n",
"*",
"hs",
"=",
"append",
"(",
"*",
"hs",
",",
"Header",
"{",
"Name",
":",
"name",
",",
"Value",
":",
"value",
",",
"}",
")",
"\n",
"}"
] |
// Set associates the name with a value. If the header name already exists in
// the Headers the value will be replaced with the new one.
|
[
"Set",
"associates",
"the",
"name",
"with",
"a",
"value",
".",
"If",
"the",
"header",
"name",
"already",
"exists",
"in",
"the",
"Headers",
"the",
"value",
"will",
"be",
"replaced",
"with",
"the",
"new",
"one",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/private/protocol/eventstream/header.go#L20-L32
|
2,909 |
aws/aws-sdk-go
|
private/protocol/eventstream/header.go
|
Get
|
func (hs Headers) Get(name string) Value {
for i := 0; i < len(hs); i++ {
if h := hs[i]; h.Name == name {
return h.Value
}
}
return nil
}
|
go
|
func (hs Headers) Get(name string) Value {
for i := 0; i < len(hs); i++ {
if h := hs[i]; h.Name == name {
return h.Value
}
}
return nil
}
|
[
"func",
"(",
"hs",
"Headers",
")",
"Get",
"(",
"name",
"string",
")",
"Value",
"{",
"for",
"i",
":=",
"0",
";",
"i",
"<",
"len",
"(",
"hs",
")",
";",
"i",
"++",
"{",
"if",
"h",
":=",
"hs",
"[",
"i",
"]",
";",
"h",
".",
"Name",
"==",
"name",
"{",
"return",
"h",
".",
"Value",
"\n",
"}",
"\n",
"}",
"\n",
"return",
"nil",
"\n",
"}"
] |
// Get returns the Value associated with the header. Nil is returned if the
// value does not exist.
|
[
"Get",
"returns",
"the",
"Value",
"associated",
"with",
"the",
"header",
".",
"Nil",
"is",
"returned",
"if",
"the",
"value",
"does",
"not",
"exist",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/private/protocol/eventstream/header.go#L36-L43
|
2,910 |
aws/aws-sdk-go
|
private/protocol/eventstream/header.go
|
Del
|
func (hs *Headers) Del(name string) {
for i := 0; i < len(*hs); i++ {
if (*hs)[i].Name == name {
copy((*hs)[i:], (*hs)[i+1:])
(*hs) = (*hs)[:len(*hs)-1]
}
}
}
|
go
|
func (hs *Headers) Del(name string) {
for i := 0; i < len(*hs); i++ {
if (*hs)[i].Name == name {
copy((*hs)[i:], (*hs)[i+1:])
(*hs) = (*hs)[:len(*hs)-1]
}
}
}
|
[
"func",
"(",
"hs",
"*",
"Headers",
")",
"Del",
"(",
"name",
"string",
")",
"{",
"for",
"i",
":=",
"0",
";",
"i",
"<",
"len",
"(",
"*",
"hs",
")",
";",
"i",
"++",
"{",
"if",
"(",
"*",
"hs",
")",
"[",
"i",
"]",
".",
"Name",
"==",
"name",
"{",
"copy",
"(",
"(",
"*",
"hs",
")",
"[",
"i",
":",
"]",
",",
"(",
"*",
"hs",
")",
"[",
"i",
"+",
"1",
":",
"]",
")",
"\n",
"(",
"*",
"hs",
")",
"=",
"(",
"*",
"hs",
")",
"[",
":",
"len",
"(",
"*",
"hs",
")",
"-",
"1",
"]",
"\n",
"}",
"\n",
"}",
"\n",
"}"
] |
// Del deletes the value in the Headers if it exists.
|
[
"Del",
"deletes",
"the",
"value",
"in",
"the",
"Headers",
"if",
"it",
"exists",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/private/protocol/eventstream/header.go#L46-L53
|
2,911 |
aws/aws-sdk-go
|
aws/awsutil/path_value.go
|
ValuesAtPath
|
func ValuesAtPath(i interface{}, path string) ([]interface{}, error) {
result, err := jmespath.Search(path, i)
if err != nil {
return nil, err
}
v := reflect.ValueOf(result)
if !v.IsValid() || (v.Kind() == reflect.Ptr && v.IsNil()) {
return nil, nil
}
if s, ok := result.([]interface{}); ok {
return s, err
}
if v.Kind() == reflect.Map && v.Len() == 0 {
return nil, nil
}
if v.Kind() == reflect.Slice {
out := make([]interface{}, v.Len())
for i := 0; i < v.Len(); i++ {
out[i] = v.Index(i).Interface()
}
return out, nil
}
return []interface{}{result}, nil
}
|
go
|
func ValuesAtPath(i interface{}, path string) ([]interface{}, error) {
result, err := jmespath.Search(path, i)
if err != nil {
return nil, err
}
v := reflect.ValueOf(result)
if !v.IsValid() || (v.Kind() == reflect.Ptr && v.IsNil()) {
return nil, nil
}
if s, ok := result.([]interface{}); ok {
return s, err
}
if v.Kind() == reflect.Map && v.Len() == 0 {
return nil, nil
}
if v.Kind() == reflect.Slice {
out := make([]interface{}, v.Len())
for i := 0; i < v.Len(); i++ {
out[i] = v.Index(i).Interface()
}
return out, nil
}
return []interface{}{result}, nil
}
|
[
"func",
"ValuesAtPath",
"(",
"i",
"interface",
"{",
"}",
",",
"path",
"string",
")",
"(",
"[",
"]",
"interface",
"{",
"}",
",",
"error",
")",
"{",
"result",
",",
"err",
":=",
"jmespath",
".",
"Search",
"(",
"path",
",",
"i",
")",
"\n",
"if",
"err",
"!=",
"nil",
"{",
"return",
"nil",
",",
"err",
"\n",
"}",
"\n\n",
"v",
":=",
"reflect",
".",
"ValueOf",
"(",
"result",
")",
"\n",
"if",
"!",
"v",
".",
"IsValid",
"(",
")",
"||",
"(",
"v",
".",
"Kind",
"(",
")",
"==",
"reflect",
".",
"Ptr",
"&&",
"v",
".",
"IsNil",
"(",
")",
")",
"{",
"return",
"nil",
",",
"nil",
"\n",
"}",
"\n",
"if",
"s",
",",
"ok",
":=",
"result",
".",
"(",
"[",
"]",
"interface",
"{",
"}",
")",
";",
"ok",
"{",
"return",
"s",
",",
"err",
"\n",
"}",
"\n",
"if",
"v",
".",
"Kind",
"(",
")",
"==",
"reflect",
".",
"Map",
"&&",
"v",
".",
"Len",
"(",
")",
"==",
"0",
"{",
"return",
"nil",
",",
"nil",
"\n",
"}",
"\n",
"if",
"v",
".",
"Kind",
"(",
")",
"==",
"reflect",
".",
"Slice",
"{",
"out",
":=",
"make",
"(",
"[",
"]",
"interface",
"{",
"}",
",",
"v",
".",
"Len",
"(",
")",
")",
"\n",
"for",
"i",
":=",
"0",
";",
"i",
"<",
"v",
".",
"Len",
"(",
")",
";",
"i",
"++",
"{",
"out",
"[",
"i",
"]",
"=",
"v",
".",
"Index",
"(",
"i",
")",
".",
"Interface",
"(",
")",
"\n",
"}",
"\n",
"return",
"out",
",",
"nil",
"\n",
"}",
"\n\n",
"return",
"[",
"]",
"interface",
"{",
"}",
"{",
"result",
"}",
",",
"nil",
"\n",
"}"
] |
// ValuesAtPath returns a list of values at the case insensitive lexical
// path inside of a structure.
|
[
"ValuesAtPath",
"returns",
"a",
"list",
"of",
"values",
"at",
"the",
"case",
"insensitive",
"lexical",
"path",
"inside",
"of",
"a",
"structure",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/awsutil/path_value.go#L158-L183
|
2,912 |
aws/aws-sdk-go
|
aws/awsutil/path_value.go
|
SetValueAtPath
|
func SetValueAtPath(i interface{}, path string, v interface{}) {
if rvals := rValuesAtPath(i, path, true, false, v == nil); rvals != nil {
for _, rval := range rvals {
if rval.Kind() == reflect.Ptr && rval.IsNil() {
continue
}
setValue(rval, v)
}
}
}
|
go
|
func SetValueAtPath(i interface{}, path string, v interface{}) {
if rvals := rValuesAtPath(i, path, true, false, v == nil); rvals != nil {
for _, rval := range rvals {
if rval.Kind() == reflect.Ptr && rval.IsNil() {
continue
}
setValue(rval, v)
}
}
}
|
[
"func",
"SetValueAtPath",
"(",
"i",
"interface",
"{",
"}",
",",
"path",
"string",
",",
"v",
"interface",
"{",
"}",
")",
"{",
"if",
"rvals",
":=",
"rValuesAtPath",
"(",
"i",
",",
"path",
",",
"true",
",",
"false",
",",
"v",
"==",
"nil",
")",
";",
"rvals",
"!=",
"nil",
"{",
"for",
"_",
",",
"rval",
":=",
"range",
"rvals",
"{",
"if",
"rval",
".",
"Kind",
"(",
")",
"==",
"reflect",
".",
"Ptr",
"&&",
"rval",
".",
"IsNil",
"(",
")",
"{",
"continue",
"\n",
"}",
"\n",
"setValue",
"(",
"rval",
",",
"v",
")",
"\n",
"}",
"\n",
"}",
"\n",
"}"
] |
// SetValueAtPath sets a value at the case insensitive lexical path inside
// of a structure.
|
[
"SetValueAtPath",
"sets",
"a",
"value",
"at",
"the",
"case",
"insensitive",
"lexical",
"path",
"inside",
"of",
"a",
"structure",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/awsutil/path_value.go#L187-L196
|
2,913 |
aws/aws-sdk-go
|
internal/ini/ini_lexer.go
|
Tokenize
|
func (l *iniLexer) Tokenize(r io.Reader) ([]Token, error) {
b, err := ioutil.ReadAll(r)
if err != nil {
return nil, awserr.New(ErrCodeUnableToReadFile, "unable to read file", err)
}
return l.tokenize(b)
}
|
go
|
func (l *iniLexer) Tokenize(r io.Reader) ([]Token, error) {
b, err := ioutil.ReadAll(r)
if err != nil {
return nil, awserr.New(ErrCodeUnableToReadFile, "unable to read file", err)
}
return l.tokenize(b)
}
|
[
"func",
"(",
"l",
"*",
"iniLexer",
")",
"Tokenize",
"(",
"r",
"io",
".",
"Reader",
")",
"(",
"[",
"]",
"Token",
",",
"error",
")",
"{",
"b",
",",
"err",
":=",
"ioutil",
".",
"ReadAll",
"(",
"r",
")",
"\n",
"if",
"err",
"!=",
"nil",
"{",
"return",
"nil",
",",
"awserr",
".",
"New",
"(",
"ErrCodeUnableToReadFile",
",",
"\"",
"\"",
",",
"err",
")",
"\n",
"}",
"\n\n",
"return",
"l",
".",
"tokenize",
"(",
"b",
")",
"\n",
"}"
] |
// Tokenize will return a list of tokens during lexical analysis of the
// io.Reader.
|
[
"Tokenize",
"will",
"return",
"a",
"list",
"of",
"tokens",
"during",
"lexical",
"analysis",
"of",
"the",
"io",
".",
"Reader",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/internal/ini/ini_lexer.go#L59-L66
|
2,914 |
aws/aws-sdk-go
|
service/cloudwatchlogs/api.go
|
GetLogGroupFields
|
func (c *CloudWatchLogs) GetLogGroupFields(input *GetLogGroupFieldsInput) (*GetLogGroupFieldsOutput, error) {
req, out := c.GetLogGroupFieldsRequest(input)
return out, req.Send()
}
|
go
|
func (c *CloudWatchLogs) GetLogGroupFields(input *GetLogGroupFieldsInput) (*GetLogGroupFieldsOutput, error) {
req, out := c.GetLogGroupFieldsRequest(input)
return out, req.Send()
}
|
[
"func",
"(",
"c",
"*",
"CloudWatchLogs",
")",
"GetLogGroupFields",
"(",
"input",
"*",
"GetLogGroupFieldsInput",
")",
"(",
"*",
"GetLogGroupFieldsOutput",
",",
"error",
")",
"{",
"req",
",",
"out",
":=",
"c",
".",
"GetLogGroupFieldsRequest",
"(",
"input",
")",
"\n",
"return",
"out",
",",
"req",
".",
"Send",
"(",
")",
"\n",
"}"
] |
// GetLogGroupFields API operation for Amazon CloudWatch Logs.
//
// Returns a list of the fields that are included in log events in the specified
// log group, along with the percentage of log events that contain each field.
// The search is limited to a time period that you specify.
//
// In the results, fields that start with @ are fields generated by CloudWatch
// Logs. For example, @timestamp is the timestamp of each log event.
//
// The response results are sorted by the frequency percentage, starting with
// the highest percentage.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for Amazon CloudWatch Logs's
// API operation GetLogGroupFields for usage and error information.
//
// Returned Error Codes:
// * ErrCodeInvalidParameterException "InvalidParameterException"
// A parameter is specified incorrectly.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// You have reached the maximum number of resources that can be created.
//
// * ErrCodeResourceNotFoundException "ResourceNotFoundException"
// The specified resource does not exist.
//
// * ErrCodeServiceUnavailableException "ServiceUnavailableException"
// The service cannot complete the request.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/logs-2014-03-28/GetLogGroupFields
|
[
"GetLogGroupFields",
"API",
"operation",
"for",
"Amazon",
"CloudWatch",
"Logs",
".",
"Returns",
"a",
"list",
"of",
"the",
"fields",
"that",
"are",
"included",
"in",
"log",
"events",
"in",
"the",
"specified",
"log",
"group",
"along",
"with",
"the",
"percentage",
"of",
"log",
"events",
"that",
"contain",
"each",
"field",
".",
"The",
"search",
"is",
"limited",
"to",
"a",
"time",
"period",
"that",
"you",
"specify",
".",
"In",
"the",
"results",
"fields",
"that",
"start",
"with"
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudwatchlogs/api.go#L2591-L2594
|
2,915 |
aws/aws-sdk-go
|
service/cloudwatchlogs/api.go
|
SetDestinationNamePrefix
|
func (s *DescribeDestinationsInput) SetDestinationNamePrefix(v string) *DescribeDestinationsInput {
s.DestinationNamePrefix = &v
return s
}
|
go
|
func (s *DescribeDestinationsInput) SetDestinationNamePrefix(v string) *DescribeDestinationsInput {
s.DestinationNamePrefix = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"DescribeDestinationsInput",
")",
"SetDestinationNamePrefix",
"(",
"v",
"string",
")",
"*",
"DescribeDestinationsInput",
"{",
"s",
".",
"DestinationNamePrefix",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetDestinationNamePrefix sets the DestinationNamePrefix field's value.
|
[
"SetDestinationNamePrefix",
"sets",
"the",
"DestinationNamePrefix",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudwatchlogs/api.go#L4903-L4906
|
2,916 |
aws/aws-sdk-go
|
service/cloudwatchlogs/api.go
|
SetExportTasks
|
func (s *DescribeExportTasksOutput) SetExportTasks(v []*ExportTask) *DescribeExportTasksOutput {
s.ExportTasks = v
return s
}
|
go
|
func (s *DescribeExportTasksOutput) SetExportTasks(v []*ExportTask) *DescribeExportTasksOutput {
s.ExportTasks = v
return s
}
|
[
"func",
"(",
"s",
"*",
"DescribeExportTasksOutput",
")",
"SetExportTasks",
"(",
"v",
"[",
"]",
"*",
"ExportTask",
")",
"*",
"DescribeExportTasksOutput",
"{",
"s",
".",
"ExportTasks",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetExportTasks sets the ExportTasks field's value.
|
[
"SetExportTasks",
"sets",
"the",
"ExportTasks",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudwatchlogs/api.go#L5048-L5051
|
2,917 |
aws/aws-sdk-go
|
service/cloudwatchlogs/api.go
|
SetLogGroupNamePrefix
|
func (s *DescribeLogGroupsInput) SetLogGroupNamePrefix(v string) *DescribeLogGroupsInput {
s.LogGroupNamePrefix = &v
return s
}
|
go
|
func (s *DescribeLogGroupsInput) SetLogGroupNamePrefix(v string) *DescribeLogGroupsInput {
s.LogGroupNamePrefix = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"DescribeLogGroupsInput",
")",
"SetLogGroupNamePrefix",
"(",
"v",
"string",
")",
"*",
"DescribeLogGroupsInput",
"{",
"s",
".",
"LogGroupNamePrefix",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetLogGroupNamePrefix sets the LogGroupNamePrefix field's value.
|
[
"SetLogGroupNamePrefix",
"sets",
"the",
"LogGroupNamePrefix",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudwatchlogs/api.go#L5110-L5113
|
2,918 |
aws/aws-sdk-go
|
service/cloudwatchlogs/api.go
|
SetLogGroups
|
func (s *DescribeLogGroupsOutput) SetLogGroups(v []*LogGroup) *DescribeLogGroupsOutput {
s.LogGroups = v
return s
}
|
go
|
func (s *DescribeLogGroupsOutput) SetLogGroups(v []*LogGroup) *DescribeLogGroupsOutput {
s.LogGroups = v
return s
}
|
[
"func",
"(",
"s",
"*",
"DescribeLogGroupsOutput",
")",
"SetLogGroups",
"(",
"v",
"[",
"]",
"*",
"LogGroup",
")",
"*",
"DescribeLogGroupsOutput",
"{",
"s",
".",
"LogGroups",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetLogGroups sets the LogGroups field's value.
|
[
"SetLogGroups",
"sets",
"the",
"LogGroups",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudwatchlogs/api.go#L5143-L5146
|
2,919 |
aws/aws-sdk-go
|
service/cloudwatchlogs/api.go
|
SetDescending
|
func (s *DescribeLogStreamsInput) SetDescending(v bool) *DescribeLogStreamsInput {
s.Descending = &v
return s
}
|
go
|
func (s *DescribeLogStreamsInput) SetDescending(v bool) *DescribeLogStreamsInput {
s.Descending = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"DescribeLogStreamsInput",
")",
"SetDescending",
"(",
"v",
"bool",
")",
"*",
"DescribeLogStreamsInput",
"{",
"s",
".",
"Descending",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetDescending sets the Descending field's value.
|
[
"SetDescending",
"sets",
"the",
"Descending",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudwatchlogs/api.go#L5231-L5234
|
2,920 |
aws/aws-sdk-go
|
service/cloudwatchlogs/api.go
|
SetMetricFilters
|
func (s *DescribeMetricFiltersOutput) SetMetricFilters(v []*MetricFilter) *DescribeMetricFiltersOutput {
s.MetricFilters = v
return s
}
|
go
|
func (s *DescribeMetricFiltersOutput) SetMetricFilters(v []*MetricFilter) *DescribeMetricFiltersOutput {
s.MetricFilters = v
return s
}
|
[
"func",
"(",
"s",
"*",
"DescribeMetricFiltersOutput",
")",
"SetMetricFilters",
"(",
"v",
"[",
"]",
"*",
"MetricFilter",
")",
"*",
"DescribeMetricFiltersOutput",
"{",
"s",
".",
"MetricFilters",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetMetricFilters sets the MetricFilters field's value.
|
[
"SetMetricFilters",
"sets",
"the",
"MetricFilters",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudwatchlogs/api.go#L5417-L5420
|
2,921 |
aws/aws-sdk-go
|
service/cloudwatchlogs/api.go
|
SetQueries
|
func (s *DescribeQueriesOutput) SetQueries(v []*QueryInfo) *DescribeQueriesOutput {
s.Queries = v
return s
}
|
go
|
func (s *DescribeQueriesOutput) SetQueries(v []*QueryInfo) *DescribeQueriesOutput {
s.Queries = v
return s
}
|
[
"func",
"(",
"s",
"*",
"DescribeQueriesOutput",
")",
"SetQueries",
"(",
"v",
"[",
"]",
"*",
"QueryInfo",
")",
"*",
"DescribeQueriesOutput",
"{",
"s",
".",
"Queries",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetQueries sets the Queries field's value.
|
[
"SetQueries",
"sets",
"the",
"Queries",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudwatchlogs/api.go#L5527-L5530
|
2,922 |
aws/aws-sdk-go
|
service/cloudwatchlogs/api.go
|
SetResourcePolicies
|
func (s *DescribeResourcePoliciesOutput) SetResourcePolicies(v []*ResourcePolicy) *DescribeResourcePoliciesOutput {
s.ResourcePolicies = v
return s
}
|
go
|
func (s *DescribeResourcePoliciesOutput) SetResourcePolicies(v []*ResourcePolicy) *DescribeResourcePoliciesOutput {
s.ResourcePolicies = v
return s
}
|
[
"func",
"(",
"s",
"*",
"DescribeResourcePoliciesOutput",
")",
"SetResourcePolicies",
"(",
"v",
"[",
"]",
"*",
"ResourcePolicy",
")",
"*",
"DescribeResourcePoliciesOutput",
"{",
"s",
".",
"ResourcePolicies",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetResourcePolicies sets the ResourcePolicies field's value.
|
[
"SetResourcePolicies",
"sets",
"the",
"ResourcePolicies",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudwatchlogs/api.go#L5610-L5613
|
2,923 |
aws/aws-sdk-go
|
service/cloudwatchlogs/api.go
|
SetSubscriptionFilters
|
func (s *DescribeSubscriptionFiltersOutput) SetSubscriptionFilters(v []*SubscriptionFilter) *DescribeSubscriptionFiltersOutput {
s.SubscriptionFilters = v
return s
}
|
go
|
func (s *DescribeSubscriptionFiltersOutput) SetSubscriptionFilters(v []*SubscriptionFilter) *DescribeSubscriptionFiltersOutput {
s.SubscriptionFilters = v
return s
}
|
[
"func",
"(",
"s",
"*",
"DescribeSubscriptionFiltersOutput",
")",
"SetSubscriptionFilters",
"(",
"v",
"[",
"]",
"*",
"SubscriptionFilter",
")",
"*",
"DescribeSubscriptionFiltersOutput",
"{",
"s",
".",
"SubscriptionFilters",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetSubscriptionFilters sets the SubscriptionFilters field's value.
|
[
"SetSubscriptionFilters",
"sets",
"the",
"SubscriptionFilters",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudwatchlogs/api.go#L5722-L5725
|
2,924 |
aws/aws-sdk-go
|
service/cloudwatchlogs/api.go
|
SetInterleaved
|
func (s *FilterLogEventsInput) SetInterleaved(v bool) *FilterLogEventsInput {
s.Interleaved = &v
return s
}
|
go
|
func (s *FilterLogEventsInput) SetInterleaved(v bool) *FilterLogEventsInput {
s.Interleaved = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"FilterLogEventsInput",
")",
"SetInterleaved",
"(",
"v",
"bool",
")",
"*",
"FilterLogEventsInput",
"{",
"s",
".",
"Interleaved",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetInterleaved sets the Interleaved field's value.
|
[
"SetInterleaved",
"sets",
"the",
"Interleaved",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudwatchlogs/api.go#L6124-L6127
|
2,925 |
aws/aws-sdk-go
|
service/cloudwatchlogs/api.go
|
SetLogStreamNames
|
func (s *FilterLogEventsInput) SetLogStreamNames(v []*string) *FilterLogEventsInput {
s.LogStreamNames = v
return s
}
|
go
|
func (s *FilterLogEventsInput) SetLogStreamNames(v []*string) *FilterLogEventsInput {
s.LogStreamNames = v
return s
}
|
[
"func",
"(",
"s",
"*",
"FilterLogEventsInput",
")",
"SetLogStreamNames",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"FilterLogEventsInput",
"{",
"s",
".",
"LogStreamNames",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetLogStreamNames sets the LogStreamNames field's value.
|
[
"SetLogStreamNames",
"sets",
"the",
"LogStreamNames",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudwatchlogs/api.go#L6148-L6151
|
2,926 |
aws/aws-sdk-go
|
service/cloudwatchlogs/api.go
|
SetSearchedLogStreams
|
func (s *FilterLogEventsOutput) SetSearchedLogStreams(v []*SearchedLogStream) *FilterLogEventsOutput {
s.SearchedLogStreams = v
return s
}
|
go
|
func (s *FilterLogEventsOutput) SetSearchedLogStreams(v []*SearchedLogStream) *FilterLogEventsOutput {
s.SearchedLogStreams = v
return s
}
|
[
"func",
"(",
"s",
"*",
"FilterLogEventsOutput",
")",
"SetSearchedLogStreams",
"(",
"v",
"[",
"]",
"*",
"SearchedLogStream",
")",
"*",
"FilterLogEventsOutput",
"{",
"s",
".",
"SearchedLogStreams",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetSearchedLogStreams sets the SearchedLogStreams field's value.
|
[
"SetSearchedLogStreams",
"sets",
"the",
"SearchedLogStreams",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudwatchlogs/api.go#L6203-L6206
|
2,927 |
aws/aws-sdk-go
|
service/cloudwatchlogs/api.go
|
SetLogGroupFields
|
func (s *GetLogGroupFieldsOutput) SetLogGroupFields(v []*LogGroupField) *GetLogGroupFieldsOutput {
s.LogGroupFields = v
return s
}
|
go
|
func (s *GetLogGroupFieldsOutput) SetLogGroupFields(v []*LogGroupField) *GetLogGroupFieldsOutput {
s.LogGroupFields = v
return s
}
|
[
"func",
"(",
"s",
"*",
"GetLogGroupFieldsOutput",
")",
"SetLogGroupFields",
"(",
"v",
"[",
"]",
"*",
"LogGroupField",
")",
"*",
"GetLogGroupFieldsOutput",
"{",
"s",
".",
"LogGroupFields",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetLogGroupFields sets the LogGroupFields field's value.
|
[
"SetLogGroupFields",
"sets",
"the",
"LogGroupFields",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudwatchlogs/api.go#L6509-L6512
|
2,928 |
aws/aws-sdk-go
|
service/cloudwatchlogs/api.go
|
SetLogRecordPointer
|
func (s *GetLogRecordInput) SetLogRecordPointer(v string) *GetLogRecordInput {
s.LogRecordPointer = &v
return s
}
|
go
|
func (s *GetLogRecordInput) SetLogRecordPointer(v string) *GetLogRecordInput {
s.LogRecordPointer = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"GetLogRecordInput",
")",
"SetLogRecordPointer",
"(",
"v",
"string",
")",
"*",
"GetLogRecordInput",
"{",
"s",
".",
"LogRecordPointer",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetLogRecordPointer sets the LogRecordPointer field's value.
|
[
"SetLogRecordPointer",
"sets",
"the",
"LogRecordPointer",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudwatchlogs/api.go#L6550-L6553
|
2,929 |
aws/aws-sdk-go
|
service/cloudwatchlogs/api.go
|
SetLogRecord
|
func (s *GetLogRecordOutput) SetLogRecord(v map[string]*string) *GetLogRecordOutput {
s.LogRecord = v
return s
}
|
go
|
func (s *GetLogRecordOutput) SetLogRecord(v map[string]*string) *GetLogRecordOutput {
s.LogRecord = v
return s
}
|
[
"func",
"(",
"s",
"*",
"GetLogRecordOutput",
")",
"SetLogRecord",
"(",
"v",
"map",
"[",
"string",
"]",
"*",
"string",
")",
"*",
"GetLogRecordOutput",
"{",
"s",
".",
"LogRecord",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetLogRecord sets the LogRecord field's value.
|
[
"SetLogRecord",
"sets",
"the",
"LogRecord",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudwatchlogs/api.go#L6573-L6576
|
2,930 |
aws/aws-sdk-go
|
service/cloudwatchlogs/api.go
|
SetMetricFilterCount
|
func (s *LogGroup) SetMetricFilterCount(v int64) *LogGroup {
s.MetricFilterCount = &v
return s
}
|
go
|
func (s *LogGroup) SetMetricFilterCount(v int64) *LogGroup {
s.MetricFilterCount = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"LogGroup",
")",
"SetMetricFilterCount",
"(",
"v",
"int64",
")",
"*",
"LogGroup",
"{",
"s",
".",
"MetricFilterCount",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetMetricFilterCount sets the MetricFilterCount field's value.
|
[
"SetMetricFilterCount",
"sets",
"the",
"MetricFilterCount",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudwatchlogs/api.go#L6851-L6854
|
2,931 |
aws/aws-sdk-go
|
service/cloudwatchlogs/api.go
|
SetPercent
|
func (s *LogGroupField) SetPercent(v int64) *LogGroupField {
s.Percent = &v
return s
}
|
go
|
func (s *LogGroupField) SetPercent(v int64) *LogGroupField {
s.Percent = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"LogGroupField",
")",
"SetPercent",
"(",
"v",
"int64",
")",
"*",
"LogGroupField",
"{",
"s",
".",
"Percent",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetPercent sets the Percent field's value.
|
[
"SetPercent",
"sets",
"the",
"Percent",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudwatchlogs/api.go#L6897-L6900
|
2,932 |
aws/aws-sdk-go
|
service/cloudwatchlogs/api.go
|
SetFirstEventTimestamp
|
func (s *LogStream) SetFirstEventTimestamp(v int64) *LogStream {
s.FirstEventTimestamp = &v
return s
}
|
go
|
func (s *LogStream) SetFirstEventTimestamp(v int64) *LogStream {
s.FirstEventTimestamp = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"LogStream",
")",
"SetFirstEventTimestamp",
"(",
"v",
"int64",
")",
"*",
"LogStream",
"{",
"s",
".",
"FirstEventTimestamp",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetFirstEventTimestamp sets the FirstEventTimestamp field's value.
|
[
"SetFirstEventTimestamp",
"sets",
"the",
"FirstEventTimestamp",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudwatchlogs/api.go#L6962-L6965
|
2,933 |
aws/aws-sdk-go
|
service/cloudwatchlogs/api.go
|
SetLastEventTimestamp
|
func (s *LogStream) SetLastEventTimestamp(v int64) *LogStream {
s.LastEventTimestamp = &v
return s
}
|
go
|
func (s *LogStream) SetLastEventTimestamp(v int64) *LogStream {
s.LastEventTimestamp = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"LogStream",
")",
"SetLastEventTimestamp",
"(",
"v",
"int64",
")",
"*",
"LogStream",
"{",
"s",
".",
"LastEventTimestamp",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetLastEventTimestamp sets the LastEventTimestamp field's value.
|
[
"SetLastEventTimestamp",
"sets",
"the",
"LastEventTimestamp",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudwatchlogs/api.go#L6968-L6971
|
2,934 |
aws/aws-sdk-go
|
service/cloudwatchlogs/api.go
|
SetLastIngestionTime
|
func (s *LogStream) SetLastIngestionTime(v int64) *LogStream {
s.LastIngestionTime = &v
return s
}
|
go
|
func (s *LogStream) SetLastIngestionTime(v int64) *LogStream {
s.LastIngestionTime = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"LogStream",
")",
"SetLastIngestionTime",
"(",
"v",
"int64",
")",
"*",
"LogStream",
"{",
"s",
".",
"LastIngestionTime",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetLastIngestionTime sets the LastIngestionTime field's value.
|
[
"SetLastIngestionTime",
"sets",
"the",
"LastIngestionTime",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudwatchlogs/api.go#L6974-L6977
|
2,935 |
aws/aws-sdk-go
|
service/cloudwatchlogs/api.go
|
SetUploadSequenceToken
|
func (s *LogStream) SetUploadSequenceToken(v string) *LogStream {
s.UploadSequenceToken = &v
return s
}
|
go
|
func (s *LogStream) SetUploadSequenceToken(v string) *LogStream {
s.UploadSequenceToken = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"LogStream",
")",
"SetUploadSequenceToken",
"(",
"v",
"string",
")",
"*",
"LogStream",
"{",
"s",
".",
"UploadSequenceToken",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetUploadSequenceToken sets the UploadSequenceToken field's value.
|
[
"SetUploadSequenceToken",
"sets",
"the",
"UploadSequenceToken",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudwatchlogs/api.go#L6992-L6995
|
2,936 |
aws/aws-sdk-go
|
service/cloudwatchlogs/api.go
|
SetEventMessage
|
func (s *MetricFilterMatchRecord) SetEventMessage(v string) *MetricFilterMatchRecord {
s.EventMessage = &v
return s
}
|
go
|
func (s *MetricFilterMatchRecord) SetEventMessage(v string) *MetricFilterMatchRecord {
s.EventMessage = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"MetricFilterMatchRecord",
")",
"SetEventMessage",
"(",
"v",
"string",
")",
"*",
"MetricFilterMatchRecord",
"{",
"s",
".",
"EventMessage",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetEventMessage sets the EventMessage field's value.
|
[
"SetEventMessage",
"sets",
"the",
"EventMessage",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudwatchlogs/api.go#L7088-L7091
|
2,937 |
aws/aws-sdk-go
|
service/cloudwatchlogs/api.go
|
SetEventNumber
|
func (s *MetricFilterMatchRecord) SetEventNumber(v int64) *MetricFilterMatchRecord {
s.EventNumber = &v
return s
}
|
go
|
func (s *MetricFilterMatchRecord) SetEventNumber(v int64) *MetricFilterMatchRecord {
s.EventNumber = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"MetricFilterMatchRecord",
")",
"SetEventNumber",
"(",
"v",
"int64",
")",
"*",
"MetricFilterMatchRecord",
"{",
"s",
".",
"EventNumber",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetEventNumber sets the EventNumber field's value.
|
[
"SetEventNumber",
"sets",
"the",
"EventNumber",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudwatchlogs/api.go#L7094-L7097
|
2,938 |
aws/aws-sdk-go
|
service/cloudwatchlogs/api.go
|
SetExtractedValues
|
func (s *MetricFilterMatchRecord) SetExtractedValues(v map[string]*string) *MetricFilterMatchRecord {
s.ExtractedValues = v
return s
}
|
go
|
func (s *MetricFilterMatchRecord) SetExtractedValues(v map[string]*string) *MetricFilterMatchRecord {
s.ExtractedValues = v
return s
}
|
[
"func",
"(",
"s",
"*",
"MetricFilterMatchRecord",
")",
"SetExtractedValues",
"(",
"v",
"map",
"[",
"string",
"]",
"*",
"string",
")",
"*",
"MetricFilterMatchRecord",
"{",
"s",
".",
"ExtractedValues",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetExtractedValues sets the ExtractedValues field's value.
|
[
"SetExtractedValues",
"sets",
"the",
"ExtractedValues",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudwatchlogs/api.go#L7100-L7103
|
2,939 |
aws/aws-sdk-go
|
service/cloudwatchlogs/api.go
|
SetLogEvents
|
func (s *PutLogEventsInput) SetLogEvents(v []*InputLogEvent) *PutLogEventsInput {
s.LogEvents = v
return s
}
|
go
|
func (s *PutLogEventsInput) SetLogEvents(v []*InputLogEvent) *PutLogEventsInput {
s.LogEvents = v
return s
}
|
[
"func",
"(",
"s",
"*",
"PutLogEventsInput",
")",
"SetLogEvents",
"(",
"v",
"[",
"]",
"*",
"InputLogEvent",
")",
"*",
"PutLogEventsInput",
"{",
"s",
".",
"LogEvents",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetLogEvents sets the LogEvents field's value.
|
[
"SetLogEvents",
"sets",
"the",
"LogEvents",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudwatchlogs/api.go#L7478-L7481
|
2,940 |
aws/aws-sdk-go
|
service/cloudwatchlogs/api.go
|
SetSequenceToken
|
func (s *PutLogEventsInput) SetSequenceToken(v string) *PutLogEventsInput {
s.SequenceToken = &v
return s
}
|
go
|
func (s *PutLogEventsInput) SetSequenceToken(v string) *PutLogEventsInput {
s.SequenceToken = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"PutLogEventsInput",
")",
"SetSequenceToken",
"(",
"v",
"string",
")",
"*",
"PutLogEventsInput",
"{",
"s",
".",
"SequenceToken",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetSequenceToken sets the SequenceToken field's value.
|
[
"SetSequenceToken",
"sets",
"the",
"SequenceToken",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudwatchlogs/api.go#L7496-L7499
|
2,941 |
aws/aws-sdk-go
|
service/cloudwatchlogs/api.go
|
SetNextSequenceToken
|
func (s *PutLogEventsOutput) SetNextSequenceToken(v string) *PutLogEventsOutput {
s.NextSequenceToken = &v
return s
}
|
go
|
func (s *PutLogEventsOutput) SetNextSequenceToken(v string) *PutLogEventsOutput {
s.NextSequenceToken = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"PutLogEventsOutput",
")",
"SetNextSequenceToken",
"(",
"v",
"string",
")",
"*",
"PutLogEventsOutput",
"{",
"s",
".",
"NextSequenceToken",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetNextSequenceToken sets the NextSequenceToken field's value.
|
[
"SetNextSequenceToken",
"sets",
"the",
"NextSequenceToken",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudwatchlogs/api.go#L7522-L7525
|
2,942 |
aws/aws-sdk-go
|
service/cloudwatchlogs/api.go
|
SetRejectedLogEventsInfo
|
func (s *PutLogEventsOutput) SetRejectedLogEventsInfo(v *RejectedLogEventsInfo) *PutLogEventsOutput {
s.RejectedLogEventsInfo = v
return s
}
|
go
|
func (s *PutLogEventsOutput) SetRejectedLogEventsInfo(v *RejectedLogEventsInfo) *PutLogEventsOutput {
s.RejectedLogEventsInfo = v
return s
}
|
[
"func",
"(",
"s",
"*",
"PutLogEventsOutput",
")",
"SetRejectedLogEventsInfo",
"(",
"v",
"*",
"RejectedLogEventsInfo",
")",
"*",
"PutLogEventsOutput",
"{",
"s",
".",
"RejectedLogEventsInfo",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetRejectedLogEventsInfo sets the RejectedLogEventsInfo field's value.
|
[
"SetRejectedLogEventsInfo",
"sets",
"the",
"RejectedLogEventsInfo",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudwatchlogs/api.go#L7528-L7531
|
2,943 |
aws/aws-sdk-go
|
service/cloudwatchlogs/api.go
|
SetEndCharOffset
|
func (s *QueryCompileErrorLocation) SetEndCharOffset(v int64) *QueryCompileErrorLocation {
s.EndCharOffset = &v
return s
}
|
go
|
func (s *QueryCompileErrorLocation) SetEndCharOffset(v int64) *QueryCompileErrorLocation {
s.EndCharOffset = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"QueryCompileErrorLocation",
")",
"SetEndCharOffset",
"(",
"v",
"int64",
")",
"*",
"QueryCompileErrorLocation",
"{",
"s",
".",
"EndCharOffset",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetEndCharOffset sets the EndCharOffset field's value.
|
[
"SetEndCharOffset",
"sets",
"the",
"EndCharOffset",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudwatchlogs/api.go#L7995-L7998
|
2,944 |
aws/aws-sdk-go
|
service/cloudwatchlogs/api.go
|
SetStartCharOffset
|
func (s *QueryCompileErrorLocation) SetStartCharOffset(v int64) *QueryCompileErrorLocation {
s.StartCharOffset = &v
return s
}
|
go
|
func (s *QueryCompileErrorLocation) SetStartCharOffset(v int64) *QueryCompileErrorLocation {
s.StartCharOffset = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"QueryCompileErrorLocation",
")",
"SetStartCharOffset",
"(",
"v",
"int64",
")",
"*",
"QueryCompileErrorLocation",
"{",
"s",
".",
"StartCharOffset",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetStartCharOffset sets the StartCharOffset field's value.
|
[
"SetStartCharOffset",
"sets",
"the",
"StartCharOffset",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudwatchlogs/api.go#L8001-L8004
|
2,945 |
aws/aws-sdk-go
|
service/cloudwatchlogs/api.go
|
SetRecordsMatched
|
func (s *QueryStatistics) SetRecordsMatched(v float64) *QueryStatistics {
s.RecordsMatched = &v
return s
}
|
go
|
func (s *QueryStatistics) SetRecordsMatched(v float64) *QueryStatistics {
s.RecordsMatched = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"QueryStatistics",
")",
"SetRecordsMatched",
"(",
"v",
"float64",
")",
"*",
"QueryStatistics",
"{",
"s",
".",
"RecordsMatched",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetRecordsMatched sets the RecordsMatched field's value.
|
[
"SetRecordsMatched",
"sets",
"the",
"RecordsMatched",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudwatchlogs/api.go#L8101-L8104
|
2,946 |
aws/aws-sdk-go
|
service/cloudwatchlogs/api.go
|
SetRecordsScanned
|
func (s *QueryStatistics) SetRecordsScanned(v float64) *QueryStatistics {
s.RecordsScanned = &v
return s
}
|
go
|
func (s *QueryStatistics) SetRecordsScanned(v float64) *QueryStatistics {
s.RecordsScanned = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"QueryStatistics",
")",
"SetRecordsScanned",
"(",
"v",
"float64",
")",
"*",
"QueryStatistics",
"{",
"s",
".",
"RecordsScanned",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetRecordsScanned sets the RecordsScanned field's value.
|
[
"SetRecordsScanned",
"sets",
"the",
"RecordsScanned",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudwatchlogs/api.go#L8107-L8110
|
2,947 |
aws/aws-sdk-go
|
service/cloudwatchlogs/api.go
|
SetExpiredLogEventEndIndex
|
func (s *RejectedLogEventsInfo) SetExpiredLogEventEndIndex(v int64) *RejectedLogEventsInfo {
s.ExpiredLogEventEndIndex = &v
return s
}
|
go
|
func (s *RejectedLogEventsInfo) SetExpiredLogEventEndIndex(v int64) *RejectedLogEventsInfo {
s.ExpiredLogEventEndIndex = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"RejectedLogEventsInfo",
")",
"SetExpiredLogEventEndIndex",
"(",
"v",
"int64",
")",
"*",
"RejectedLogEventsInfo",
"{",
"s",
".",
"ExpiredLogEventEndIndex",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetExpiredLogEventEndIndex sets the ExpiredLogEventEndIndex field's value.
|
[
"SetExpiredLogEventEndIndex",
"sets",
"the",
"ExpiredLogEventEndIndex",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudwatchlogs/api.go#L8137-L8140
|
2,948 |
aws/aws-sdk-go
|
service/cloudwatchlogs/api.go
|
SetTooNewLogEventStartIndex
|
func (s *RejectedLogEventsInfo) SetTooNewLogEventStartIndex(v int64) *RejectedLogEventsInfo {
s.TooNewLogEventStartIndex = &v
return s
}
|
go
|
func (s *RejectedLogEventsInfo) SetTooNewLogEventStartIndex(v int64) *RejectedLogEventsInfo {
s.TooNewLogEventStartIndex = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"RejectedLogEventsInfo",
")",
"SetTooNewLogEventStartIndex",
"(",
"v",
"int64",
")",
"*",
"RejectedLogEventsInfo",
"{",
"s",
".",
"TooNewLogEventStartIndex",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetTooNewLogEventStartIndex sets the TooNewLogEventStartIndex field's value.
|
[
"SetTooNewLogEventStartIndex",
"sets",
"the",
"TooNewLogEventStartIndex",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudwatchlogs/api.go#L8143-L8146
|
2,949 |
aws/aws-sdk-go
|
service/cloudwatchlogs/api.go
|
SetTooOldLogEventEndIndex
|
func (s *RejectedLogEventsInfo) SetTooOldLogEventEndIndex(v int64) *RejectedLogEventsInfo {
s.TooOldLogEventEndIndex = &v
return s
}
|
go
|
func (s *RejectedLogEventsInfo) SetTooOldLogEventEndIndex(v int64) *RejectedLogEventsInfo {
s.TooOldLogEventEndIndex = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"RejectedLogEventsInfo",
")",
"SetTooOldLogEventEndIndex",
"(",
"v",
"int64",
")",
"*",
"RejectedLogEventsInfo",
"{",
"s",
".",
"TooOldLogEventEndIndex",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetTooOldLogEventEndIndex sets the TooOldLogEventEndIndex field's value.
|
[
"SetTooOldLogEventEndIndex",
"sets",
"the",
"TooOldLogEventEndIndex",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudwatchlogs/api.go#L8149-L8152
|
2,950 |
aws/aws-sdk-go
|
service/cloudwatchlogs/api.go
|
SetSearchedCompletely
|
func (s *SearchedLogStream) SetSearchedCompletely(v bool) *SearchedLogStream {
s.SearchedCompletely = &v
return s
}
|
go
|
func (s *SearchedLogStream) SetSearchedCompletely(v bool) *SearchedLogStream {
s.SearchedCompletely = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"SearchedLogStream",
")",
"SetSearchedCompletely",
"(",
"v",
"bool",
")",
"*",
"SearchedLogStream",
"{",
"s",
".",
"SearchedCompletely",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetSearchedCompletely sets the SearchedCompletely field's value.
|
[
"SetSearchedCompletely",
"sets",
"the",
"SearchedCompletely",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudwatchlogs/api.go#L8260-L8263
|
2,951 |
aws/aws-sdk-go
|
service/cloudwatchlogs/api.go
|
SetLogEventMessages
|
func (s *TestMetricFilterInput) SetLogEventMessages(v []*string) *TestMetricFilterInput {
s.LogEventMessages = v
return s
}
|
go
|
func (s *TestMetricFilterInput) SetLogEventMessages(v []*string) *TestMetricFilterInput {
s.LogEventMessages = v
return s
}
|
[
"func",
"(",
"s",
"*",
"TestMetricFilterInput",
")",
"SetLogEventMessages",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"TestMetricFilterInput",
"{",
"s",
".",
"LogEventMessages",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetLogEventMessages sets the LogEventMessages field's value.
|
[
"SetLogEventMessages",
"sets",
"the",
"LogEventMessages",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudwatchlogs/api.go#L8658-L8661
|
2,952 |
aws/aws-sdk-go
|
service/cloudwatchlogs/api.go
|
SetMatches
|
func (s *TestMetricFilterOutput) SetMatches(v []*MetricFilterMatchRecord) *TestMetricFilterOutput {
s.Matches = v
return s
}
|
go
|
func (s *TestMetricFilterOutput) SetMatches(v []*MetricFilterMatchRecord) *TestMetricFilterOutput {
s.Matches = v
return s
}
|
[
"func",
"(",
"s",
"*",
"TestMetricFilterOutput",
")",
"SetMatches",
"(",
"v",
"[",
"]",
"*",
"MetricFilterMatchRecord",
")",
"*",
"TestMetricFilterOutput",
"{",
"s",
".",
"Matches",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetMatches sets the Matches field's value.
|
[
"SetMatches",
"sets",
"the",
"Matches",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudwatchlogs/api.go#L8681-L8684
|
2,953 |
aws/aws-sdk-go
|
internal/ini/walker.go
|
Walk
|
func Walk(tree []AST, v Visitor) error {
for _, node := range tree {
switch node.Kind {
case ASTKindExpr,
ASTKindExprStatement:
if err := v.VisitExpr(node); err != nil {
return err
}
case ASTKindStatement,
ASTKindCompletedSectionStatement,
ASTKindNestedSectionStatement,
ASTKindCompletedNestedSectionStatement:
if err := v.VisitStatement(node); err != nil {
return err
}
}
}
return nil
}
|
go
|
func Walk(tree []AST, v Visitor) error {
for _, node := range tree {
switch node.Kind {
case ASTKindExpr,
ASTKindExprStatement:
if err := v.VisitExpr(node); err != nil {
return err
}
case ASTKindStatement,
ASTKindCompletedSectionStatement,
ASTKindNestedSectionStatement,
ASTKindCompletedNestedSectionStatement:
if err := v.VisitStatement(node); err != nil {
return err
}
}
}
return nil
}
|
[
"func",
"Walk",
"(",
"tree",
"[",
"]",
"AST",
",",
"v",
"Visitor",
")",
"error",
"{",
"for",
"_",
",",
"node",
":=",
"range",
"tree",
"{",
"switch",
"node",
".",
"Kind",
"{",
"case",
"ASTKindExpr",
",",
"ASTKindExprStatement",
":",
"if",
"err",
":=",
"v",
".",
"VisitExpr",
"(",
"node",
")",
";",
"err",
"!=",
"nil",
"{",
"return",
"err",
"\n",
"}",
"\n",
"case",
"ASTKindStatement",
",",
"ASTKindCompletedSectionStatement",
",",
"ASTKindNestedSectionStatement",
",",
"ASTKindCompletedNestedSectionStatement",
":",
"if",
"err",
":=",
"v",
".",
"VisitStatement",
"(",
"node",
")",
";",
"err",
"!=",
"nil",
"{",
"return",
"err",
"\n",
"}",
"\n",
"}",
"\n",
"}",
"\n\n",
"return",
"nil",
"\n",
"}"
] |
// Walk will traverse the AST using the v, the Visitor.
|
[
"Walk",
"will",
"traverse",
"the",
"AST",
"using",
"the",
"v",
"the",
"Visitor",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/internal/ini/walker.go#L4-L25
|
2,954 |
aws/aws-sdk-go
|
service/mq/api.go
|
SetEngineVersions
|
func (s *BrokerEngineType) SetEngineVersions(v []*EngineVersion) *BrokerEngineType {
s.EngineVersions = v
return s
}
|
go
|
func (s *BrokerEngineType) SetEngineVersions(v []*EngineVersion) *BrokerEngineType {
s.EngineVersions = v
return s
}
|
[
"func",
"(",
"s",
"*",
"BrokerEngineType",
")",
"SetEngineVersions",
"(",
"v",
"[",
"]",
"*",
"EngineVersion",
")",
"*",
"BrokerEngineType",
"{",
"s",
".",
"EngineVersions",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetEngineVersions sets the EngineVersions field's value.
|
[
"SetEngineVersions",
"sets",
"the",
"EngineVersions",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/mq/api.go#L2013-L2016
|
2,955 |
aws/aws-sdk-go
|
service/mq/api.go
|
SetConsoleURL
|
func (s *BrokerInstance) SetConsoleURL(v string) *BrokerInstance {
s.ConsoleURL = &v
return s
}
|
go
|
func (s *BrokerInstance) SetConsoleURL(v string) *BrokerInstance {
s.ConsoleURL = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"BrokerInstance",
")",
"SetConsoleURL",
"(",
"v",
"string",
")",
"*",
"BrokerInstance",
"{",
"s",
".",
"ConsoleURL",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetConsoleURL sets the ConsoleURL field's value.
|
[
"SetConsoleURL",
"sets",
"the",
"ConsoleURL",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/mq/api.go#L2043-L2046
|
2,956 |
aws/aws-sdk-go
|
service/mq/api.go
|
SetSupportedEngineVersions
|
func (s *BrokerInstanceOption) SetSupportedEngineVersions(v []*string) *BrokerInstanceOption {
s.SupportedEngineVersions = v
return s
}
|
go
|
func (s *BrokerInstanceOption) SetSupportedEngineVersions(v []*string) *BrokerInstanceOption {
s.SupportedEngineVersions = v
return s
}
|
[
"func",
"(",
"s",
"*",
"BrokerInstanceOption",
")",
"SetSupportedEngineVersions",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"BrokerInstanceOption",
"{",
"s",
".",
"SupportedEngineVersions",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetSupportedEngineVersions sets the SupportedEngineVersions field's value.
|
[
"SetSupportedEngineVersions",
"sets",
"the",
"SupportedEngineVersions",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/mq/api.go#L2106-L2109
|
2,957 |
aws/aws-sdk-go
|
service/mq/api.go
|
SetHistory
|
func (s *Configurations) SetHistory(v []*ConfigurationId) *Configurations {
s.History = v
return s
}
|
go
|
func (s *Configurations) SetHistory(v []*ConfigurationId) *Configurations {
s.History = v
return s
}
|
[
"func",
"(",
"s",
"*",
"Configurations",
")",
"SetHistory",
"(",
"v",
"[",
"]",
"*",
"ConfigurationId",
")",
"*",
"Configurations",
"{",
"s",
".",
"History",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetHistory sets the History field's value.
|
[
"SetHistory",
"sets",
"the",
"History",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/mq/api.go#L2398-L2401
|
2,958 |
aws/aws-sdk-go
|
service/mq/api.go
|
SetBrokerEngineTypes
|
func (s *DescribeBrokerEngineTypesOutput) SetBrokerEngineTypes(v []*BrokerEngineType) *DescribeBrokerEngineTypesOutput {
s.BrokerEngineTypes = v
return s
}
|
go
|
func (s *DescribeBrokerEngineTypesOutput) SetBrokerEngineTypes(v []*BrokerEngineType) *DescribeBrokerEngineTypesOutput {
s.BrokerEngineTypes = v
return s
}
|
[
"func",
"(",
"s",
"*",
"DescribeBrokerEngineTypesOutput",
")",
"SetBrokerEngineTypes",
"(",
"v",
"[",
"]",
"*",
"BrokerEngineType",
")",
"*",
"DescribeBrokerEngineTypesOutput",
"{",
"s",
".",
"BrokerEngineTypes",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetBrokerEngineTypes sets the BrokerEngineTypes field's value.
|
[
"SetBrokerEngineTypes",
"sets",
"the",
"BrokerEngineTypes",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/mq/api.go#L3100-L3103
|
2,959 |
aws/aws-sdk-go
|
service/mq/api.go
|
SetBrokerInstanceOptions
|
func (s *DescribeBrokerInstanceOptionsOutput) SetBrokerInstanceOptions(v []*BrokerInstanceOption) *DescribeBrokerInstanceOptionsOutput {
s.BrokerInstanceOptions = v
return s
}
|
go
|
func (s *DescribeBrokerInstanceOptionsOutput) SetBrokerInstanceOptions(v []*BrokerInstanceOption) *DescribeBrokerInstanceOptionsOutput {
s.BrokerInstanceOptions = v
return s
}
|
[
"func",
"(",
"s",
"*",
"DescribeBrokerInstanceOptionsOutput",
")",
"SetBrokerInstanceOptions",
"(",
"v",
"[",
"]",
"*",
"BrokerInstanceOption",
")",
"*",
"DescribeBrokerInstanceOptionsOutput",
"{",
"s",
".",
"BrokerInstanceOptions",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetBrokerInstanceOptions sets the BrokerInstanceOptions field's value.
|
[
"SetBrokerInstanceOptions",
"sets",
"the",
"BrokerInstanceOptions",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/mq/api.go#L3236-L3239
|
2,960 |
aws/aws-sdk-go
|
service/mq/api.go
|
SetBrokerInstances
|
func (s *DescribeBrokerResponse) SetBrokerInstances(v []*BrokerInstance) *DescribeBrokerResponse {
s.BrokerInstances = v
return s
}
|
go
|
func (s *DescribeBrokerResponse) SetBrokerInstances(v []*BrokerInstance) *DescribeBrokerResponse {
s.BrokerInstances = v
return s
}
|
[
"func",
"(",
"s",
"*",
"DescribeBrokerResponse",
")",
"SetBrokerInstances",
"(",
"v",
"[",
"]",
"*",
"BrokerInstance",
")",
"*",
"DescribeBrokerResponse",
"{",
"s",
".",
"BrokerInstances",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetBrokerInstances sets the BrokerInstances field's value.
|
[
"SetBrokerInstances",
"sets",
"the",
"BrokerInstances",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/mq/api.go#L3334-L3337
|
2,961 |
aws/aws-sdk-go
|
service/mq/api.go
|
SetPendingEngineVersion
|
func (s *DescribeBrokerResponse) SetPendingEngineVersion(v string) *DescribeBrokerResponse {
s.PendingEngineVersion = &v
return s
}
|
go
|
func (s *DescribeBrokerResponse) SetPendingEngineVersion(v string) *DescribeBrokerResponse {
s.PendingEngineVersion = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"DescribeBrokerResponse",
")",
"SetPendingEngineVersion",
"(",
"v",
"string",
")",
"*",
"DescribeBrokerResponse",
"{",
"s",
".",
"PendingEngineVersion",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetPendingEngineVersion sets the PendingEngineVersion field's value.
|
[
"SetPendingEngineVersion",
"sets",
"the",
"PendingEngineVersion",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/mq/api.go#L3400-L3403
|
2,962 |
aws/aws-sdk-go
|
service/mq/api.go
|
SetBrokerSummaries
|
func (s *ListBrokersResponse) SetBrokerSummaries(v []*BrokerSummary) *ListBrokersResponse {
s.BrokerSummaries = v
return s
}
|
go
|
func (s *ListBrokersResponse) SetBrokerSummaries(v []*BrokerSummary) *ListBrokersResponse {
s.BrokerSummaries = v
return s
}
|
[
"func",
"(",
"s",
"*",
"ListBrokersResponse",
")",
"SetBrokerSummaries",
"(",
"v",
"[",
"]",
"*",
"BrokerSummary",
")",
"*",
"ListBrokersResponse",
"{",
"s",
".",
"BrokerSummaries",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetBrokerSummaries sets the BrokerSummaries field's value.
|
[
"SetBrokerSummaries",
"sets",
"the",
"BrokerSummaries",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/mq/api.go#L3858-L3861
|
2,963 |
aws/aws-sdk-go
|
service/mq/api.go
|
SetAuditLogGroup
|
func (s *LogsSummary) SetAuditLogGroup(v string) *LogsSummary {
s.AuditLogGroup = &v
return s
}
|
go
|
func (s *LogsSummary) SetAuditLogGroup(v string) *LogsSummary {
s.AuditLogGroup = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"LogsSummary",
")",
"SetAuditLogGroup",
"(",
"v",
"string",
")",
"*",
"LogsSummary",
"{",
"s",
".",
"AuditLogGroup",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetAuditLogGroup sets the AuditLogGroup field's value.
|
[
"SetAuditLogGroup",
"sets",
"the",
"AuditLogGroup",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/mq/api.go#L4293-L4296
|
2,964 |
aws/aws-sdk-go
|
service/mq/api.go
|
SetGeneralLogGroup
|
func (s *LogsSummary) SetGeneralLogGroup(v string) *LogsSummary {
s.GeneralLogGroup = &v
return s
}
|
go
|
func (s *LogsSummary) SetGeneralLogGroup(v string) *LogsSummary {
s.GeneralLogGroup = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"LogsSummary",
")",
"SetGeneralLogGroup",
"(",
"v",
"string",
")",
"*",
"LogsSummary",
"{",
"s",
".",
"GeneralLogGroup",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetGeneralLogGroup sets the GeneralLogGroup field's value.
|
[
"SetGeneralLogGroup",
"sets",
"the",
"GeneralLogGroup",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/mq/api.go#L4305-L4308
|
2,965 |
aws/aws-sdk-go
|
service/mq/api.go
|
SetElementName
|
func (s *SanitizationWarning) SetElementName(v string) *SanitizationWarning {
s.ElementName = &v
return s
}
|
go
|
func (s *SanitizationWarning) SetElementName(v string) *SanitizationWarning {
s.ElementName = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"SanitizationWarning",
")",
"SetElementName",
"(",
"v",
"string",
")",
"*",
"SanitizationWarning",
"{",
"s",
".",
"ElementName",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetElementName sets the ElementName field's value.
|
[
"SetElementName",
"sets",
"the",
"ElementName",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/mq/api.go#L4435-L4438
|
2,966 |
aws/aws-sdk-go
|
service/mq/api.go
|
SetTimeOfDay
|
func (s *WeeklyStartTime) SetTimeOfDay(v string) *WeeklyStartTime {
s.TimeOfDay = &v
return s
}
|
go
|
func (s *WeeklyStartTime) SetTimeOfDay(v string) *WeeklyStartTime {
s.TimeOfDay = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"WeeklyStartTime",
")",
"SetTimeOfDay",
"(",
"v",
"string",
")",
"*",
"WeeklyStartTime",
"{",
"s",
".",
"TimeOfDay",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetTimeOfDay sets the TimeOfDay field's value.
|
[
"SetTimeOfDay",
"sets",
"the",
"TimeOfDay",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/mq/api.go#L4955-L4958
|
2,967 |
aws/aws-sdk-go
|
service/mediatailor/api.go
|
SetAdSegmentUrlPrefix
|
func (s *CdnConfiguration) SetAdSegmentUrlPrefix(v string) *CdnConfiguration {
s.AdSegmentUrlPrefix = &v
return s
}
|
go
|
func (s *CdnConfiguration) SetAdSegmentUrlPrefix(v string) *CdnConfiguration {
s.AdSegmentUrlPrefix = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"CdnConfiguration",
")",
"SetAdSegmentUrlPrefix",
"(",
"v",
"string",
")",
"*",
"CdnConfiguration",
"{",
"s",
".",
"AdSegmentUrlPrefix",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetAdSegmentUrlPrefix sets the AdSegmentUrlPrefix field's value.
|
[
"SetAdSegmentUrlPrefix",
"sets",
"the",
"AdSegmentUrlPrefix",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/mediatailor/api.go#L588-L591
|
2,968 |
aws/aws-sdk-go
|
service/mediatailor/api.go
|
SetContentSegmentUrlPrefix
|
func (s *CdnConfiguration) SetContentSegmentUrlPrefix(v string) *CdnConfiguration {
s.ContentSegmentUrlPrefix = &v
return s
}
|
go
|
func (s *CdnConfiguration) SetContentSegmentUrlPrefix(v string) *CdnConfiguration {
s.ContentSegmentUrlPrefix = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"CdnConfiguration",
")",
"SetContentSegmentUrlPrefix",
"(",
"v",
"string",
")",
"*",
"CdnConfiguration",
"{",
"s",
".",
"ContentSegmentUrlPrefix",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetContentSegmentUrlPrefix sets the ContentSegmentUrlPrefix field's value.
|
[
"SetContentSegmentUrlPrefix",
"sets",
"the",
"ContentSegmentUrlPrefix",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/mediatailor/api.go#L594-L597
|
2,969 |
aws/aws-sdk-go
|
service/polly/api.go
|
SetIncludeAdditionalLanguageCodes
|
func (s *DescribeVoicesInput) SetIncludeAdditionalLanguageCodes(v bool) *DescribeVoicesInput {
s.IncludeAdditionalLanguageCodes = &v
return s
}
|
go
|
func (s *DescribeVoicesInput) SetIncludeAdditionalLanguageCodes(v bool) *DescribeVoicesInput {
s.IncludeAdditionalLanguageCodes = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"DescribeVoicesInput",
")",
"SetIncludeAdditionalLanguageCodes",
"(",
"v",
"bool",
")",
"*",
"DescribeVoicesInput",
"{",
"s",
".",
"IncludeAdditionalLanguageCodes",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetIncludeAdditionalLanguageCodes sets the IncludeAdditionalLanguageCodes field's value.
|
[
"SetIncludeAdditionalLanguageCodes",
"sets",
"the",
"IncludeAdditionalLanguageCodes",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/polly/api.go#L1047-L1050
|
2,970 |
aws/aws-sdk-go
|
service/polly/api.go
|
SetVoices
|
func (s *DescribeVoicesOutput) SetVoices(v []*Voice) *DescribeVoicesOutput {
s.Voices = v
return s
}
|
go
|
func (s *DescribeVoicesOutput) SetVoices(v []*Voice) *DescribeVoicesOutput {
s.Voices = v
return s
}
|
[
"func",
"(",
"s",
"*",
"DescribeVoicesOutput",
")",
"SetVoices",
"(",
"v",
"[",
"]",
"*",
"Voice",
")",
"*",
"DescribeVoicesOutput",
"{",
"s",
".",
"Voices",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetVoices sets the Voices field's value.
|
[
"SetVoices",
"sets",
"the",
"Voices",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/polly/api.go#L1092-L1095
|
2,971 |
aws/aws-sdk-go
|
service/polly/api.go
|
SetLexicon
|
func (s *GetLexiconOutput) SetLexicon(v *Lexicon) *GetLexiconOutput {
s.Lexicon = v
return s
}
|
go
|
func (s *GetLexiconOutput) SetLexicon(v *Lexicon) *GetLexiconOutput {
s.Lexicon = v
return s
}
|
[
"func",
"(",
"s",
"*",
"GetLexiconOutput",
")",
"SetLexicon",
"(",
"v",
"*",
"Lexicon",
")",
"*",
"GetLexiconOutput",
"{",
"s",
".",
"Lexicon",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetLexicon sets the Lexicon field's value.
|
[
"SetLexicon",
"sets",
"the",
"Lexicon",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/polly/api.go#L1161-L1164
|
2,972 |
aws/aws-sdk-go
|
service/polly/api.go
|
SetLexiconAttributes
|
func (s *GetLexiconOutput) SetLexiconAttributes(v *LexiconAttributes) *GetLexiconOutput {
s.LexiconAttributes = v
return s
}
|
go
|
func (s *GetLexiconOutput) SetLexiconAttributes(v *LexiconAttributes) *GetLexiconOutput {
s.LexiconAttributes = v
return s
}
|
[
"func",
"(",
"s",
"*",
"GetLexiconOutput",
")",
"SetLexiconAttributes",
"(",
"v",
"*",
"LexiconAttributes",
")",
"*",
"GetLexiconOutput",
"{",
"s",
".",
"LexiconAttributes",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetLexiconAttributes sets the LexiconAttributes field's value.
|
[
"SetLexiconAttributes",
"sets",
"the",
"LexiconAttributes",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/polly/api.go#L1167-L1170
|
2,973 |
aws/aws-sdk-go
|
service/polly/api.go
|
SetAlphabet
|
func (s *LexiconAttributes) SetAlphabet(v string) *LexiconAttributes {
s.Alphabet = &v
return s
}
|
go
|
func (s *LexiconAttributes) SetAlphabet(v string) *LexiconAttributes {
s.Alphabet = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"LexiconAttributes",
")",
"SetAlphabet",
"(",
"v",
"string",
")",
"*",
"LexiconAttributes",
"{",
"s",
".",
"Alphabet",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetAlphabet sets the Alphabet field's value.
|
[
"SetAlphabet",
"sets",
"the",
"Alphabet",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/polly/api.go#L1309-L1312
|
2,974 |
aws/aws-sdk-go
|
service/polly/api.go
|
SetLexemesCount
|
func (s *LexiconAttributes) SetLexemesCount(v int64) *LexiconAttributes {
s.LexemesCount = &v
return s
}
|
go
|
func (s *LexiconAttributes) SetLexemesCount(v int64) *LexiconAttributes {
s.LexemesCount = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"LexiconAttributes",
")",
"SetLexemesCount",
"(",
"v",
"int64",
")",
"*",
"LexiconAttributes",
"{",
"s",
".",
"LexemesCount",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetLexemesCount sets the LexemesCount field's value.
|
[
"SetLexemesCount",
"sets",
"the",
"LexemesCount",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/polly/api.go#L1327-L1330
|
2,975 |
aws/aws-sdk-go
|
service/polly/api.go
|
SetLexiconArn
|
func (s *LexiconAttributes) SetLexiconArn(v string) *LexiconAttributes {
s.LexiconArn = &v
return s
}
|
go
|
func (s *LexiconAttributes) SetLexiconArn(v string) *LexiconAttributes {
s.LexiconArn = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"LexiconAttributes",
")",
"SetLexiconArn",
"(",
"v",
"string",
")",
"*",
"LexiconAttributes",
"{",
"s",
".",
"LexiconArn",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetLexiconArn sets the LexiconArn field's value.
|
[
"SetLexiconArn",
"sets",
"the",
"LexiconArn",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/polly/api.go#L1333-L1336
|
2,976 |
aws/aws-sdk-go
|
service/polly/api.go
|
SetLexicons
|
func (s *ListLexiconsOutput) SetLexicons(v []*LexiconDescription) *ListLexiconsOutput {
s.Lexicons = v
return s
}
|
go
|
func (s *ListLexiconsOutput) SetLexicons(v []*LexiconDescription) *ListLexiconsOutput {
s.Lexicons = v
return s
}
|
[
"func",
"(",
"s",
"*",
"ListLexiconsOutput",
")",
"SetLexicons",
"(",
"v",
"[",
"]",
"*",
"LexiconDescription",
")",
"*",
"ListLexiconsOutput",
"{",
"s",
".",
"Lexicons",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetLexicons sets the Lexicons field's value.
|
[
"SetLexicons",
"sets",
"the",
"Lexicons",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/polly/api.go#L1423-L1426
|
2,977 |
aws/aws-sdk-go
|
service/polly/api.go
|
SetSynthesisTasks
|
func (s *ListSpeechSynthesisTasksOutput) SetSynthesisTasks(v []*SynthesisTask) *ListSpeechSynthesisTasksOutput {
s.SynthesisTasks = v
return s
}
|
go
|
func (s *ListSpeechSynthesisTasksOutput) SetSynthesisTasks(v []*SynthesisTask) *ListSpeechSynthesisTasksOutput {
s.SynthesisTasks = v
return s
}
|
[
"func",
"(",
"s",
"*",
"ListSpeechSynthesisTasksOutput",
")",
"SetSynthesisTasks",
"(",
"v",
"[",
"]",
"*",
"SynthesisTask",
")",
"*",
"ListSpeechSynthesisTasksOutput",
"{",
"s",
".",
"SynthesisTasks",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetSynthesisTasks sets the SynthesisTasks field's value.
|
[
"SetSynthesisTasks",
"sets",
"the",
"SynthesisTasks",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/polly/api.go#L1519-L1522
|
2,978 |
aws/aws-sdk-go
|
service/polly/api.go
|
SetTaskStatusReason
|
func (s *SynthesisTask) SetTaskStatusReason(v string) *SynthesisTask {
s.TaskStatusReason = &v
return s
}
|
go
|
func (s *SynthesisTask) SetTaskStatusReason(v string) *SynthesisTask {
s.TaskStatusReason = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"SynthesisTask",
")",
"SetTaskStatusReason",
"(",
"v",
"string",
")",
"*",
"SynthesisTask",
"{",
"s",
".",
"TaskStatusReason",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetTaskStatusReason sets the TaskStatusReason field's value.
|
[
"SetTaskStatusReason",
"sets",
"the",
"TaskStatusReason",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/polly/api.go#L1924-L1927
|
2,979 |
aws/aws-sdk-go
|
service/polly/api.go
|
SetAdditionalLanguageCodes
|
func (s *Voice) SetAdditionalLanguageCodes(v []*string) *Voice {
s.AdditionalLanguageCodes = v
return s
}
|
go
|
func (s *Voice) SetAdditionalLanguageCodes(v []*string) *Voice {
s.AdditionalLanguageCodes = v
return s
}
|
[
"func",
"(",
"s",
"*",
"Voice",
")",
"SetAdditionalLanguageCodes",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"Voice",
"{",
"s",
".",
"AdditionalLanguageCodes",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetAdditionalLanguageCodes sets the AdditionalLanguageCodes field's value.
|
[
"SetAdditionalLanguageCodes",
"sets",
"the",
"AdditionalLanguageCodes",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/polly/api.go#L2172-L2175
|
2,980 |
aws/aws-sdk-go
|
service/polly/api.go
|
SetLanguageName
|
func (s *Voice) SetLanguageName(v string) *Voice {
s.LanguageName = &v
return s
}
|
go
|
func (s *Voice) SetLanguageName(v string) *Voice {
s.LanguageName = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"Voice",
")",
"SetLanguageName",
"(",
"v",
"string",
")",
"*",
"Voice",
"{",
"s",
".",
"LanguageName",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetLanguageName sets the LanguageName field's value.
|
[
"SetLanguageName",
"sets",
"the",
"LanguageName",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/polly/api.go#L2196-L2199
|
2,981 |
aws/aws-sdk-go
|
service/applicationautoscaling/api.go
|
SetScalableTargets
|
func (s *DescribeScalableTargetsOutput) SetScalableTargets(v []*ScalableTarget) *DescribeScalableTargetsOutput {
s.ScalableTargets = v
return s
}
|
go
|
func (s *DescribeScalableTargetsOutput) SetScalableTargets(v []*ScalableTarget) *DescribeScalableTargetsOutput {
s.ScalableTargets = v
return s
}
|
[
"func",
"(",
"s",
"*",
"DescribeScalableTargetsOutput",
")",
"SetScalableTargets",
"(",
"v",
"[",
"]",
"*",
"ScalableTarget",
")",
"*",
"DescribeScalableTargetsOutput",
"{",
"s",
".",
"ScalableTargets",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetScalableTargets sets the ScalableTargets field's value.
|
[
"SetScalableTargets",
"sets",
"the",
"ScalableTargets",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/applicationautoscaling/api.go#L2036-L2039
|
2,982 |
aws/aws-sdk-go
|
service/applicationautoscaling/api.go
|
SetScalingActivities
|
func (s *DescribeScalingActivitiesOutput) SetScalingActivities(v []*ScalingActivity) *DescribeScalingActivitiesOutput {
s.ScalingActivities = v
return s
}
|
go
|
func (s *DescribeScalingActivitiesOutput) SetScalingActivities(v []*ScalingActivity) *DescribeScalingActivitiesOutput {
s.ScalingActivities = v
return s
}
|
[
"func",
"(",
"s",
"*",
"DescribeScalingActivitiesOutput",
")",
"SetScalingActivities",
"(",
"v",
"[",
"]",
"*",
"ScalingActivity",
")",
"*",
"DescribeScalingActivitiesOutput",
"{",
"s",
".",
"ScalingActivities",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetScalingActivities sets the ScalingActivities field's value.
|
[
"SetScalingActivities",
"sets",
"the",
"ScalingActivities",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/applicationautoscaling/api.go#L2221-L2224
|
2,983 |
aws/aws-sdk-go
|
service/applicationautoscaling/api.go
|
SetScheduledActions
|
func (s *DescribeScheduledActionsOutput) SetScheduledActions(v []*ScheduledAction) *DescribeScheduledActionsOutput {
s.ScheduledActions = v
return s
}
|
go
|
func (s *DescribeScheduledActionsOutput) SetScheduledActions(v []*ScheduledAction) *DescribeScheduledActionsOutput {
s.ScheduledActions = v
return s
}
|
[
"func",
"(",
"s",
"*",
"DescribeScheduledActionsOutput",
")",
"SetScheduledActions",
"(",
"v",
"[",
"]",
"*",
"ScheduledAction",
")",
"*",
"DescribeScheduledActionsOutput",
"{",
"s",
".",
"ScheduledActions",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetScheduledActions sets the ScheduledActions field's value.
|
[
"SetScheduledActions",
"sets",
"the",
"ScheduledActions",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/applicationautoscaling/api.go#L2609-L2612
|
2,984 |
aws/aws-sdk-go
|
service/opsworkscm/api.go
|
SetS3DataSize
|
func (s *Backup) SetS3DataSize(v int64) *Backup {
s.S3DataSize = &v
return s
}
|
go
|
func (s *Backup) SetS3DataSize(v int64) *Backup {
s.S3DataSize = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"Backup",
")",
"SetS3DataSize",
"(",
"v",
"int64",
")",
"*",
"Backup",
"{",
"s",
".",
"S3DataSize",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetS3DataSize sets the S3DataSize field's value.
|
[
"SetS3DataSize",
"sets",
"the",
"S3DataSize",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworkscm/api.go#L1862-L1865
|
2,985 |
aws/aws-sdk-go
|
service/opsworkscm/api.go
|
SetS3DataUrl
|
func (s *Backup) SetS3DataUrl(v string) *Backup {
s.S3DataUrl = &v
return s
}
|
go
|
func (s *Backup) SetS3DataUrl(v string) *Backup {
s.S3DataUrl = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"Backup",
")",
"SetS3DataUrl",
"(",
"v",
"string",
")",
"*",
"Backup",
"{",
"s",
".",
"S3DataUrl",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetS3DataUrl sets the S3DataUrl field's value.
|
[
"SetS3DataUrl",
"sets",
"the",
"S3DataUrl",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworkscm/api.go#L1868-L1871
|
2,986 |
aws/aws-sdk-go
|
service/opsworkscm/api.go
|
SetS3LogUrl
|
func (s *Backup) SetS3LogUrl(v string) *Backup {
s.S3LogUrl = &v
return s
}
|
go
|
func (s *Backup) SetS3LogUrl(v string) *Backup {
s.S3LogUrl = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"Backup",
")",
"SetS3LogUrl",
"(",
"v",
"string",
")",
"*",
"Backup",
"{",
"s",
".",
"S3LogUrl",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetS3LogUrl sets the S3LogUrl field's value.
|
[
"SetS3LogUrl",
"sets",
"the",
"S3LogUrl",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworkscm/api.go#L1874-L1877
|
2,987 |
aws/aws-sdk-go
|
service/opsworkscm/api.go
|
SetStatusDescription
|
func (s *Backup) SetStatusDescription(v string) *Backup {
s.StatusDescription = &v
return s
}
|
go
|
func (s *Backup) SetStatusDescription(v string) *Backup {
s.StatusDescription = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"Backup",
")",
"SetStatusDescription",
"(",
"v",
"string",
")",
"*",
"Backup",
"{",
"s",
".",
"StatusDescription",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetStatusDescription sets the StatusDescription field's value.
|
[
"SetStatusDescription",
"sets",
"the",
"StatusDescription",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworkscm/api.go#L1904-L1907
|
2,988 |
aws/aws-sdk-go
|
service/opsworkscm/api.go
|
SetToolsVersion
|
func (s *Backup) SetToolsVersion(v string) *Backup {
s.ToolsVersion = &v
return s
}
|
go
|
func (s *Backup) SetToolsVersion(v string) *Backup {
s.ToolsVersion = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"Backup",
")",
"SetToolsVersion",
"(",
"v",
"string",
")",
"*",
"Backup",
"{",
"s",
".",
"ToolsVersion",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetToolsVersion sets the ToolsVersion field's value.
|
[
"SetToolsVersion",
"sets",
"the",
"ToolsVersion",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworkscm/api.go#L1916-L1919
|
2,989 |
aws/aws-sdk-go
|
service/opsworkscm/api.go
|
SetServerEvents
|
func (s *DescribeEventsOutput) SetServerEvents(v []*ServerEvent) *DescribeEventsOutput {
s.ServerEvents = v
return s
}
|
go
|
func (s *DescribeEventsOutput) SetServerEvents(v []*ServerEvent) *DescribeEventsOutput {
s.ServerEvents = v
return s
}
|
[
"func",
"(",
"s",
"*",
"DescribeEventsOutput",
")",
"SetServerEvents",
"(",
"v",
"[",
"]",
"*",
"ServerEvent",
")",
"*",
"DescribeEventsOutput",
"{",
"s",
".",
"ServerEvents",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetServerEvents sets the ServerEvents field's value.
|
[
"SetServerEvents",
"sets",
"the",
"ServerEvents",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworkscm/api.go#L2664-L2667
|
2,990 |
aws/aws-sdk-go
|
service/opsworkscm/api.go
|
SetNodeAssociationStatus
|
func (s *DescribeNodeAssociationStatusOutput) SetNodeAssociationStatus(v string) *DescribeNodeAssociationStatusOutput {
s.NodeAssociationStatus = &v
return s
}
|
go
|
func (s *DescribeNodeAssociationStatusOutput) SetNodeAssociationStatus(v string) *DescribeNodeAssociationStatusOutput {
s.NodeAssociationStatus = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"DescribeNodeAssociationStatusOutput",
")",
"SetNodeAssociationStatus",
"(",
"v",
"string",
")",
"*",
"DescribeNodeAssociationStatusOutput",
"{",
"s",
".",
"NodeAssociationStatus",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetNodeAssociationStatus sets the NodeAssociationStatus field's value.
|
[
"SetNodeAssociationStatus",
"sets",
"the",
"NodeAssociationStatus",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworkscm/api.go#L2760-L2763
|
2,991 |
aws/aws-sdk-go
|
service/opsworkscm/api.go
|
SetExportAttributeName
|
func (s *ExportServerEngineAttributeInput) SetExportAttributeName(v string) *ExportServerEngineAttributeInput {
s.ExportAttributeName = &v
return s
}
|
go
|
func (s *ExportServerEngineAttributeInput) SetExportAttributeName(v string) *ExportServerEngineAttributeInput {
s.ExportAttributeName = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"ExportServerEngineAttributeInput",
")",
"SetExportAttributeName",
"(",
"v",
"string",
")",
"*",
"ExportServerEngineAttributeInput",
"{",
"s",
".",
"ExportAttributeName",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetExportAttributeName sets the ExportAttributeName field's value.
|
[
"SetExportAttributeName",
"sets",
"the",
"ExportAttributeName",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworkscm/api.go#L3053-L3056
|
2,992 |
aws/aws-sdk-go
|
service/opsworkscm/api.go
|
SetInputAttributes
|
func (s *ExportServerEngineAttributeInput) SetInputAttributes(v []*EngineAttribute) *ExportServerEngineAttributeInput {
s.InputAttributes = v
return s
}
|
go
|
func (s *ExportServerEngineAttributeInput) SetInputAttributes(v []*EngineAttribute) *ExportServerEngineAttributeInput {
s.InputAttributes = v
return s
}
|
[
"func",
"(",
"s",
"*",
"ExportServerEngineAttributeInput",
")",
"SetInputAttributes",
"(",
"v",
"[",
"]",
"*",
"EngineAttribute",
")",
"*",
"ExportServerEngineAttributeInput",
"{",
"s",
".",
"InputAttributes",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetInputAttributes sets the InputAttributes field's value.
|
[
"SetInputAttributes",
"sets",
"the",
"InputAttributes",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworkscm/api.go#L3059-L3062
|
2,993 |
aws/aws-sdk-go
|
service/opsworkscm/api.go
|
SetEngineAttribute
|
func (s *ExportServerEngineAttributeOutput) SetEngineAttribute(v *EngineAttribute) *ExportServerEngineAttributeOutput {
s.EngineAttribute = v
return s
}
|
go
|
func (s *ExportServerEngineAttributeOutput) SetEngineAttribute(v *EngineAttribute) *ExportServerEngineAttributeOutput {
s.EngineAttribute = v
return s
}
|
[
"func",
"(",
"s",
"*",
"ExportServerEngineAttributeOutput",
")",
"SetEngineAttribute",
"(",
"v",
"*",
"EngineAttribute",
")",
"*",
"ExportServerEngineAttributeOutput",
"{",
"s",
".",
"EngineAttribute",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetEngineAttribute sets the EngineAttribute field's value.
|
[
"SetEngineAttribute",
"sets",
"the",
"EngineAttribute",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworkscm/api.go#L3091-L3094
|
2,994 |
aws/aws-sdk-go
|
service/opsworkscm/api.go
|
SetCloudFormationStackArn
|
func (s *Server) SetCloudFormationStackArn(v string) *Server {
s.CloudFormationStackArn = &v
return s
}
|
go
|
func (s *Server) SetCloudFormationStackArn(v string) *Server {
s.CloudFormationStackArn = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"Server",
")",
"SetCloudFormationStackArn",
"(",
"v",
"string",
")",
"*",
"Server",
"{",
"s",
".",
"CloudFormationStackArn",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetCloudFormationStackArn sets the CloudFormationStackArn field's value.
|
[
"SetCloudFormationStackArn",
"sets",
"the",
"CloudFormationStackArn",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworkscm/api.go#L3325-L3328
|
2,995 |
aws/aws-sdk-go
|
service/opsworkscm/api.go
|
SetMaintenanceStatus
|
func (s *Server) SetMaintenanceStatus(v string) *Server {
s.MaintenanceStatus = &v
return s
}
|
go
|
func (s *Server) SetMaintenanceStatus(v string) *Server {
s.MaintenanceStatus = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"Server",
")",
"SetMaintenanceStatus",
"(",
"v",
"string",
")",
"*",
"Server",
"{",
"s",
".",
"MaintenanceStatus",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetMaintenanceStatus sets the MaintenanceStatus field's value.
|
[
"SetMaintenanceStatus",
"sets",
"the",
"MaintenanceStatus",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworkscm/api.go#L3391-L3394
|
2,996 |
aws/aws-sdk-go
|
service/opsworkscm/api.go
|
SetServerArn
|
func (s *Server) SetServerArn(v string) *Server {
s.ServerArn = &v
return s
}
|
go
|
func (s *Server) SetServerArn(v string) *Server {
s.ServerArn = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"Server",
")",
"SetServerArn",
"(",
"v",
"string",
")",
"*",
"Server",
"{",
"s",
".",
"ServerArn",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetServerArn sets the ServerArn field's value.
|
[
"SetServerArn",
"sets",
"the",
"ServerArn",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/opsworkscm/api.go#L3415-L3418
|
2,997 |
aws/aws-sdk-go
|
service/securityhub/api.go
|
SetIamInstanceProfileArn
|
func (s *AwsEc2InstanceDetails) SetIamInstanceProfileArn(v string) *AwsEc2InstanceDetails {
s.IamInstanceProfileArn = &v
return s
}
|
go
|
func (s *AwsEc2InstanceDetails) SetIamInstanceProfileArn(v string) *AwsEc2InstanceDetails {
s.IamInstanceProfileArn = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"AwsEc2InstanceDetails",
")",
"SetIamInstanceProfileArn",
"(",
"v",
"string",
")",
"*",
"AwsEc2InstanceDetails",
"{",
"s",
".",
"IamInstanceProfileArn",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetIamInstanceProfileArn sets the IamInstanceProfileArn field's value.
|
[
"SetIamInstanceProfileArn",
"sets",
"the",
"IamInstanceProfileArn",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/securityhub/api.go#L2999-L3002
|
2,998 |
aws/aws-sdk-go
|
service/securityhub/api.go
|
SetIpV4Addresses
|
func (s *AwsEc2InstanceDetails) SetIpV4Addresses(v []*string) *AwsEc2InstanceDetails {
s.IpV4Addresses = v
return s
}
|
go
|
func (s *AwsEc2InstanceDetails) SetIpV4Addresses(v []*string) *AwsEc2InstanceDetails {
s.IpV4Addresses = v
return s
}
|
[
"func",
"(",
"s",
"*",
"AwsEc2InstanceDetails",
")",
"SetIpV4Addresses",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"AwsEc2InstanceDetails",
"{",
"s",
".",
"IpV4Addresses",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetIpV4Addresses sets the IpV4Addresses field's value.
|
[
"SetIpV4Addresses",
"sets",
"the",
"IpV4Addresses",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/securityhub/api.go#L3011-L3014
|
2,999 |
aws/aws-sdk-go
|
service/securityhub/api.go
|
SetIpV6Addresses
|
func (s *AwsEc2InstanceDetails) SetIpV6Addresses(v []*string) *AwsEc2InstanceDetails {
s.IpV6Addresses = v
return s
}
|
go
|
func (s *AwsEc2InstanceDetails) SetIpV6Addresses(v []*string) *AwsEc2InstanceDetails {
s.IpV6Addresses = v
return s
}
|
[
"func",
"(",
"s",
"*",
"AwsEc2InstanceDetails",
")",
"SetIpV6Addresses",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"AwsEc2InstanceDetails",
"{",
"s",
".",
"IpV6Addresses",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetIpV6Addresses sets the IpV6Addresses field's value.
|
[
"SetIpV6Addresses",
"sets",
"the",
"IpV6Addresses",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/securityhub/api.go#L3017-L3020
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.