id
int32
0
167k
repo
stringlengths
5
54
path
stringlengths
4
155
func_name
stringlengths
1
118
original_string
stringlengths
52
85.5k
language
stringclasses
1 value
code
stringlengths
52
85.5k
code_tokens
sequencelengths
21
1.41k
docstring
stringlengths
6
2.61k
docstring_tokens
sequencelengths
3
215
sha
stringlengths
40
40
url
stringlengths
85
252
2,800
aws/aws-sdk-go
service/iotanalytics/api.go
SetPipelineActivity
func (s *RunPipelineActivityInput) SetPipelineActivity(v *PipelineActivity) *RunPipelineActivityInput { s.PipelineActivity = v return s }
go
func (s *RunPipelineActivityInput) SetPipelineActivity(v *PipelineActivity) *RunPipelineActivityInput { s.PipelineActivity = v return s }
[ "func", "(", "s", "*", "RunPipelineActivityInput", ")", "SetPipelineActivity", "(", "v", "*", "PipelineActivity", ")", "*", "RunPipelineActivityInput", "{", "s", ".", "PipelineActivity", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetPipelineActivity sets the PipelineActivity field's value.
[ "SetPipelineActivity", "sets", "the", "PipelineActivity", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/iotanalytics/api.go#L8162-L8165
2,801
aws/aws-sdk-go
service/iotanalytics/api.go
SetMaxMessages
func (s *SampleChannelDataInput) SetMaxMessages(v int64) *SampleChannelDataInput { s.MaxMessages = &v return s }
go
func (s *SampleChannelDataInput) SetMaxMessages(v int64) *SampleChannelDataInput { s.MaxMessages = &v return s }
[ "func", "(", "s", "*", "SampleChannelDataInput", ")", "SetMaxMessages", "(", "v", "int64", ")", "*", "SampleChannelDataInput", "{", "s", ".", "MaxMessages", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetMaxMessages sets the MaxMessages field's value.
[ "SetMaxMessages", "sets", "the", "MaxMessages", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/iotanalytics/api.go#L8262-L8265
2,802
aws/aws-sdk-go
service/iotanalytics/api.go
SetSqlQuery
func (s *SqlQueryDatasetAction) SetSqlQuery(v string) *SqlQueryDatasetAction { s.SqlQuery = &v return s }
go
func (s *SqlQueryDatasetAction) SetSqlQuery(v string) *SqlQueryDatasetAction { s.SqlQuery = &v return s }
[ "func", "(", "s", "*", "SqlQueryDatasetAction", ")", "SetSqlQuery", "(", "v", "string", ")", "*", "SqlQueryDatasetAction", "{", "s", ".", "SqlQuery", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetSqlQuery sets the SqlQuery field's value.
[ "SetSqlQuery", "sets", "the", "SqlQuery", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/iotanalytics/api.go#L8448-L8451
2,803
aws/aws-sdk-go
service/iotanalytics/api.go
SetDatasetContentVersionValue
func (s *Variable) SetDatasetContentVersionValue(v *DatasetContentVersionValue) *Variable { s.DatasetContentVersionValue = v return s }
go
func (s *Variable) SetDatasetContentVersionValue(v *DatasetContentVersionValue) *Variable { s.DatasetContentVersionValue = v return s }
[ "func", "(", "s", "*", "Variable", ")", "SetDatasetContentVersionValue", "(", "v", "*", "DatasetContentVersionValue", ")", "*", "Variable", "{", "s", ".", "DatasetContentVersionValue", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetDatasetContentVersionValue sets the DatasetContentVersionValue field's value.
[ "SetDatasetContentVersionValue", "sets", "the", "DatasetContentVersionValue", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/iotanalytics/api.go#L9238-L9241
2,804
aws/aws-sdk-go
service/iotanalytics/api.go
SetOutputFileUriValue
func (s *Variable) SetOutputFileUriValue(v *OutputFileUriValue) *Variable { s.OutputFileUriValue = v return s }
go
func (s *Variable) SetOutputFileUriValue(v *OutputFileUriValue) *Variable { s.OutputFileUriValue = v return s }
[ "func", "(", "s", "*", "Variable", ")", "SetOutputFileUriValue", "(", "v", "*", "OutputFileUriValue", ")", "*", "Variable", "{", "s", ".", "OutputFileUriValue", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetOutputFileUriValue sets the OutputFileUriValue field's value.
[ "SetOutputFileUriValue", "sets", "the", "OutputFileUriValue", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/iotanalytics/api.go#L9256-L9259
2,805
aws/aws-sdk-go
service/iotanalytics/api.go
SetMaxVersions
func (s *VersioningConfiguration) SetMaxVersions(v int64) *VersioningConfiguration { s.MaxVersions = &v return s }
go
func (s *VersioningConfiguration) SetMaxVersions(v int64) *VersioningConfiguration { s.MaxVersions = &v return s }
[ "func", "(", "s", "*", "VersioningConfiguration", ")", "SetMaxVersions", "(", "v", "int64", ")", "*", "VersioningConfiguration", "{", "s", ".", "MaxVersions", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetMaxVersions sets the MaxVersions field's value.
[ "SetMaxVersions", "sets", "the", "MaxVersions", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/iotanalytics/api.go#L9302-L9305
2,806
aws/aws-sdk-go
private/model/api/shape_validation.go
GoCode
func (sv ShapeValidation) GoCode() string { var err error w := &bytes.Buffer{} switch sv.Type { case ShapeValidationRequired: err = validationGoCodeTmpls.ExecuteTemplate(w, "requiredValue", sv) case ShapeValidationMinVal: switch sv.Ref.Shape.Type { case "list", "map", "blob": err = validationGoCodeTmpls.ExecuteTemplate(w, "minLen", sv) case "string": err = validationGoCodeTmpls.ExecuteTemplate(w, "minLenString", sv) case "integer", "long", "float", "double": err = validationGoCodeTmpls.ExecuteTemplate(w, "minVal", sv) default: panic(fmt.Sprintf("ShapeValidation.GoCode, %s's type %s, no min value handling", sv.Name, sv.Ref.Shape.Type)) } case ShapeValidationNested: switch sv.Ref.Shape.Type { case "map", "list": err = validationGoCodeTmpls.ExecuteTemplate(w, "nestedMapList", sv) default: err = validationGoCodeTmpls.ExecuteTemplate(w, "nestedStruct", sv) } default: panic(fmt.Sprintf("ShapeValidation.GoCode, %s's type %d, unknown validation type", sv.Name, sv.Type)) } if err != nil { panic(fmt.Sprintf("ShapeValidation.GoCode failed, err: %v", err)) } return w.String() }
go
func (sv ShapeValidation) GoCode() string { var err error w := &bytes.Buffer{} switch sv.Type { case ShapeValidationRequired: err = validationGoCodeTmpls.ExecuteTemplate(w, "requiredValue", sv) case ShapeValidationMinVal: switch sv.Ref.Shape.Type { case "list", "map", "blob": err = validationGoCodeTmpls.ExecuteTemplate(w, "minLen", sv) case "string": err = validationGoCodeTmpls.ExecuteTemplate(w, "minLenString", sv) case "integer", "long", "float", "double": err = validationGoCodeTmpls.ExecuteTemplate(w, "minVal", sv) default: panic(fmt.Sprintf("ShapeValidation.GoCode, %s's type %s, no min value handling", sv.Name, sv.Ref.Shape.Type)) } case ShapeValidationNested: switch sv.Ref.Shape.Type { case "map", "list": err = validationGoCodeTmpls.ExecuteTemplate(w, "nestedMapList", sv) default: err = validationGoCodeTmpls.ExecuteTemplate(w, "nestedStruct", sv) } default: panic(fmt.Sprintf("ShapeValidation.GoCode, %s's type %d, unknown validation type", sv.Name, sv.Type)) } if err != nil { panic(fmt.Sprintf("ShapeValidation.GoCode failed, err: %v", err)) } return w.String() }
[ "func", "(", "sv", "ShapeValidation", ")", "GoCode", "(", ")", "string", "{", "var", "err", "error", "\n\n", "w", ":=", "&", "bytes", ".", "Buffer", "{", "}", "\n", "switch", "sv", ".", "Type", "{", "case", "ShapeValidationRequired", ":", "err", "=", "validationGoCodeTmpls", ".", "ExecuteTemplate", "(", "w", ",", "\"", "\"", ",", "sv", ")", "\n", "case", "ShapeValidationMinVal", ":", "switch", "sv", ".", "Ref", ".", "Shape", ".", "Type", "{", "case", "\"", "\"", ",", "\"", "\"", ",", "\"", "\"", ":", "err", "=", "validationGoCodeTmpls", ".", "ExecuteTemplate", "(", "w", ",", "\"", "\"", ",", "sv", ")", "\n", "case", "\"", "\"", ":", "err", "=", "validationGoCodeTmpls", ".", "ExecuteTemplate", "(", "w", ",", "\"", "\"", ",", "sv", ")", "\n", "case", "\"", "\"", ",", "\"", "\"", ",", "\"", "\"", ",", "\"", "\"", ":", "err", "=", "validationGoCodeTmpls", ".", "ExecuteTemplate", "(", "w", ",", "\"", "\"", ",", "sv", ")", "\n", "default", ":", "panic", "(", "fmt", ".", "Sprintf", "(", "\"", "\"", ",", "sv", ".", "Name", ",", "sv", ".", "Ref", ".", "Shape", ".", "Type", ")", ")", "\n", "}", "\n", "case", "ShapeValidationNested", ":", "switch", "sv", ".", "Ref", ".", "Shape", ".", "Type", "{", "case", "\"", "\"", ",", "\"", "\"", ":", "err", "=", "validationGoCodeTmpls", ".", "ExecuteTemplate", "(", "w", ",", "\"", "\"", ",", "sv", ")", "\n", "default", ":", "err", "=", "validationGoCodeTmpls", ".", "ExecuteTemplate", "(", "w", ",", "\"", "\"", ",", "sv", ")", "\n", "}", "\n", "default", ":", "panic", "(", "fmt", ".", "Sprintf", "(", "\"", "\"", ",", "sv", ".", "Name", ",", "sv", ".", "Type", ")", ")", "\n", "}", "\n\n", "if", "err", "!=", "nil", "{", "panic", "(", "fmt", ".", "Sprintf", "(", "\"", "\"", ",", "err", ")", ")", "\n", "}", "\n\n", "return", "w", ".", "String", "(", ")", "\n", "}" ]
// GoCode returns the generated Go code for the Shape with its validation type.
[ "GoCode", "returns", "the", "generated", "Go", "code", "for", "the", "Shape", "with", "its", "validation", "type", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/private/model/api/shape_validation.go#L93-L129
2,807
aws/aws-sdk-go
private/model/api/shape_validation.go
GoCode
func (vs ShapeValidations) GoCode(shape *Shape) string { buf := &bytes.Buffer{} validateShapeTmpl.Execute(buf, map[string]interface{}{ "Shape": shape, "Validations": vs, }) return buf.String() }
go
func (vs ShapeValidations) GoCode(shape *Shape) string { buf := &bytes.Buffer{} validateShapeTmpl.Execute(buf, map[string]interface{}{ "Shape": shape, "Validations": vs, }) return buf.String() }
[ "func", "(", "vs", "ShapeValidations", ")", "GoCode", "(", "shape", "*", "Shape", ")", "string", "{", "buf", ":=", "&", "bytes", ".", "Buffer", "{", "}", "\n", "validateShapeTmpl", ".", "Execute", "(", "buf", ",", "map", "[", "string", "]", "interface", "{", "}", "{", "\"", "\"", ":", "shape", ",", "\"", "\"", ":", "vs", ",", "}", ")", "\n", "return", "buf", ".", "String", "(", ")", "\n", "}" ]
// GoCode generates the Go code needed to perform validations for the // shape and its nested fields.
[ "GoCode", "generates", "the", "Go", "code", "needed", "to", "perform", "validations", "for", "the", "shape", "and", "its", "nested", "fields", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/private/model/api/shape_validation.go#L151-L158
2,808
aws/aws-sdk-go
private/model/api/shape_validation.go
Has
func (vs ShapeValidations) Has(ref *ShapeRef, typ ShapeValidationType) bool { for _, v := range vs { if v.Ref == ref && v.Type == typ { return true } } return false }
go
func (vs ShapeValidations) Has(ref *ShapeRef, typ ShapeValidationType) bool { for _, v := range vs { if v.Ref == ref && v.Type == typ { return true } } return false }
[ "func", "(", "vs", "ShapeValidations", ")", "Has", "(", "ref", "*", "ShapeRef", ",", "typ", "ShapeValidationType", ")", "bool", "{", "for", "_", ",", "v", ":=", "range", "vs", "{", "if", "v", ".", "Ref", "==", "ref", "&&", "v", ".", "Type", "==", "typ", "{", "return", "true", "\n", "}", "\n", "}", "\n", "return", "false", "\n", "}" ]
// Has returns true or false if the ShapeValidations already contains the // the reference and validation type.
[ "Has", "returns", "true", "or", "false", "if", "the", "ShapeValidations", "already", "contains", "the", "the", "reference", "and", "validation", "type", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/private/model/api/shape_validation.go#L162-L169
2,809
aws/aws-sdk-go
service/organizations/api.go
SetJoinedMethod
func (s *Account) SetJoinedMethod(v string) *Account { s.JoinedMethod = &v return s }
go
func (s *Account) SetJoinedMethod(v string) *Account { s.JoinedMethod = &v return s }
[ "func", "(", "s", "*", "Account", ")", "SetJoinedMethod", "(", "v", "string", ")", "*", "Account", "{", "s", ".", "JoinedMethod", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetJoinedMethod sets the JoinedMethod field's value.
[ "SetJoinedMethod", "sets", "the", "JoinedMethod", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/organizations/api.go#L10191-L10194
2,810
aws/aws-sdk-go
service/organizations/api.go
SetJoinedTimestamp
func (s *Account) SetJoinedTimestamp(v time.Time) *Account { s.JoinedTimestamp = &v return s }
go
func (s *Account) SetJoinedTimestamp(v time.Time) *Account { s.JoinedTimestamp = &v return s }
[ "func", "(", "s", "*", "Account", ")", "SetJoinedTimestamp", "(", "v", "time", ".", "Time", ")", "*", "Account", "{", "s", ".", "JoinedTimestamp", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetJoinedTimestamp sets the JoinedTimestamp field's value.
[ "SetJoinedTimestamp", "sets", "the", "JoinedTimestamp", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/organizations/api.go#L10197-L10200
2,811
aws/aws-sdk-go
service/organizations/api.go
SetCompletedTimestamp
func (s *CreateAccountStatus) SetCompletedTimestamp(v time.Time) *CreateAccountStatus { s.CompletedTimestamp = &v return s }
go
func (s *CreateAccountStatus) SetCompletedTimestamp(v time.Time) *CreateAccountStatus { s.CompletedTimestamp = &v return s }
[ "func", "(", "s", "*", "CreateAccountStatus", ")", "SetCompletedTimestamp", "(", "v", "time", ".", "Time", ")", "*", "CreateAccountStatus", "{", "s", ".", "CompletedTimestamp", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetCompletedTimestamp sets the CompletedTimestamp field's value.
[ "SetCompletedTimestamp", "sets", "the", "CompletedTimestamp", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/organizations/api.go#L10622-L10625
2,812
aws/aws-sdk-go
service/organizations/api.go
SetGovCloudAccountId
func (s *CreateAccountStatus) SetGovCloudAccountId(v string) *CreateAccountStatus { s.GovCloudAccountId = &v return s }
go
func (s *CreateAccountStatus) SetGovCloudAccountId(v string) *CreateAccountStatus { s.GovCloudAccountId = &v return s }
[ "func", "(", "s", "*", "CreateAccountStatus", ")", "SetGovCloudAccountId", "(", "v", "string", ")", "*", "CreateAccountStatus", "{", "s", ".", "GovCloudAccountId", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetGovCloudAccountId sets the GovCloudAccountId field's value.
[ "SetGovCloudAccountId", "sets", "the", "GovCloudAccountId", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/organizations/api.go#L10634-L10637
2,813
aws/aws-sdk-go
service/organizations/api.go
SetCreateAccountRequestId
func (s *DescribeCreateAccountStatusInput) SetCreateAccountRequestId(v string) *DescribeCreateAccountStatusInput { s.CreateAccountRequestId = &v return s }
go
func (s *DescribeCreateAccountStatusInput) SetCreateAccountRequestId(v string) *DescribeCreateAccountStatusInput { s.CreateAccountRequestId = &v return s }
[ "func", "(", "s", "*", "DescribeCreateAccountStatusInput", ")", "SetCreateAccountRequestId", "(", "v", "string", ")", "*", "DescribeCreateAccountStatusInput", "{", "s", ".", "CreateAccountRequestId", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetCreateAccountRequestId sets the CreateAccountRequestId field's value.
[ "SetCreateAccountRequestId", "sets", "the", "CreateAccountRequestId", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/organizations/api.go#L11378-L11381
2,814
aws/aws-sdk-go
service/organizations/api.go
SetDateEnabled
func (s *EnabledServicePrincipal) SetDateEnabled(v time.Time) *EnabledServicePrincipal { s.DateEnabled = &v return s }
go
func (s *EnabledServicePrincipal) SetDateEnabled(v time.Time) *EnabledServicePrincipal { s.DateEnabled = &v return s }
[ "func", "(", "s", "*", "EnabledServicePrincipal", ")", "SetDateEnabled", "(", "v", "time", ".", "Time", ")", "*", "EnabledServicePrincipal", "{", "s", ".", "DateEnabled", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetDateEnabled sets the DateEnabled field's value.
[ "SetDateEnabled", "sets", "the", "DateEnabled", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/organizations/api.go#L12061-L12064
2,815
aws/aws-sdk-go
service/organizations/api.go
SetExpirationTimestamp
func (s *Handshake) SetExpirationTimestamp(v time.Time) *Handshake { s.ExpirationTimestamp = &v return s }
go
func (s *Handshake) SetExpirationTimestamp(v time.Time) *Handshake { s.ExpirationTimestamp = &v return s }
[ "func", "(", "s", "*", "Handshake", ")", "SetExpirationTimestamp", "(", "v", "time", ".", "Time", ")", "*", "Handshake", "{", "s", ".", "ExpirationTimestamp", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetExpirationTimestamp sets the ExpirationTimestamp field's value.
[ "SetExpirationTimestamp", "sets", "the", "ExpirationTimestamp", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/organizations/api.go#L12179-L12182
2,816
aws/aws-sdk-go
service/organizations/api.go
SetParties
func (s *Handshake) SetParties(v []*HandshakeParty) *Handshake { s.Parties = v return s }
go
func (s *Handshake) SetParties(v []*HandshakeParty) *Handshake { s.Parties = v return s }
[ "func", "(", "s", "*", "Handshake", ")", "SetParties", "(", "v", "[", "]", "*", "HandshakeParty", ")", "*", "Handshake", "{", "s", ".", "Parties", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetParties sets the Parties field's value.
[ "SetParties", "sets", "the", "Parties", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/organizations/api.go#L12191-L12194
2,817
aws/aws-sdk-go
service/organizations/api.go
SetParentHandshakeId
func (s *HandshakeFilter) SetParentHandshakeId(v string) *HandshakeFilter { s.ParentHandshakeId = &v return s }
go
func (s *HandshakeFilter) SetParentHandshakeId(v string) *HandshakeFilter { s.ParentHandshakeId = &v return s }
[ "func", "(", "s", "*", "HandshakeFilter", ")", "SetParentHandshakeId", "(", "v", "string", ")", "*", "HandshakeFilter", "{", "s", ".", "ParentHandshakeId", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetParentHandshakeId sets the ParentHandshakeId field's value.
[ "SetParentHandshakeId", "sets", "the", "ParentHandshakeId", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/organizations/api.go#L12250-L12253
2,818
aws/aws-sdk-go
service/organizations/api.go
SetNotes
func (s *InviteAccountToOrganizationInput) SetNotes(v string) *InviteAccountToOrganizationInput { s.Notes = &v return s }
go
func (s *InviteAccountToOrganizationInput) SetNotes(v string) *InviteAccountToOrganizationInput { s.Notes = &v return s }
[ "func", "(", "s", "*", "InviteAccountToOrganizationInput", ")", "SetNotes", "(", "v", "string", ")", "*", "InviteAccountToOrganizationInput", "{", "s", ".", "Notes", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetNotes sets the Notes field's value.
[ "SetNotes", "sets", "the", "Notes", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/organizations/api.go#L12430-L12433
2,819
aws/aws-sdk-go
service/organizations/api.go
SetEnabledServicePrincipals
func (s *ListAWSServiceAccessForOrganizationOutput) SetEnabledServicePrincipals(v []*EnabledServicePrincipal) *ListAWSServiceAccessForOrganizationOutput { s.EnabledServicePrincipals = v return s }
go
func (s *ListAWSServiceAccessForOrganizationOutput) SetEnabledServicePrincipals(v []*EnabledServicePrincipal) *ListAWSServiceAccessForOrganizationOutput { s.EnabledServicePrincipals = v return s }
[ "func", "(", "s", "*", "ListAWSServiceAccessForOrganizationOutput", ")", "SetEnabledServicePrincipals", "(", "v", "[", "]", "*", "EnabledServicePrincipal", ")", "*", "ListAWSServiceAccessForOrganizationOutput", "{", "s", ".", "EnabledServicePrincipals", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetEnabledServicePrincipals sets the EnabledServicePrincipals field's value.
[ "SetEnabledServicePrincipals", "sets", "the", "EnabledServicePrincipals", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/organizations/api.go#L12576-L12579
2,820
aws/aws-sdk-go
service/organizations/api.go
SetChildType
func (s *ListChildrenInput) SetChildType(v string) *ListChildrenInput { s.ChildType = &v return s }
go
func (s *ListChildrenInput) SetChildType(v string) *ListChildrenInput { s.ChildType = &v return s }
[ "func", "(", "s", "*", "ListChildrenInput", ")", "SetChildType", "(", "v", "string", ")", "*", "ListChildrenInput", "{", "s", ".", "ChildType", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetChildType sets the ChildType field's value.
[ "SetChildType", "sets", "the", "ChildType", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/organizations/api.go#L12859-L12862
2,821
aws/aws-sdk-go
service/organizations/api.go
SetCreateAccountStatuses
func (s *ListCreateAccountStatusOutput) SetCreateAccountStatuses(v []*CreateAccountStatus) *ListCreateAccountStatusOutput { s.CreateAccountStatuses = v return s }
go
func (s *ListCreateAccountStatusOutput) SetCreateAccountStatuses(v []*CreateAccountStatus) *ListCreateAccountStatusOutput { s.CreateAccountStatuses = v return s }
[ "func", "(", "s", "*", "ListCreateAccountStatusOutput", ")", "SetCreateAccountStatuses", "(", "v", "[", "]", "*", "CreateAccountStatus", ")", "*", "ListCreateAccountStatusOutput", "{", "s", ".", "CreateAccountStatuses", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetCreateAccountStatuses sets the CreateAccountStatuses field's value.
[ "SetCreateAccountStatuses", "sets", "the", "CreateAccountStatuses", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/organizations/api.go#L13011-L13014
2,822
aws/aws-sdk-go
service/organizations/api.go
SetOrganizationalUnits
func (s *ListOrganizationalUnitsForParentOutput) SetOrganizationalUnits(v []*OrganizationalUnit) *ListOrganizationalUnitsForParentOutput { s.OrganizationalUnits = v return s }
go
func (s *ListOrganizationalUnitsForParentOutput) SetOrganizationalUnits(v []*OrganizationalUnit) *ListOrganizationalUnitsForParentOutput { s.OrganizationalUnits = v return s }
[ "func", "(", "s", "*", "ListOrganizationalUnitsForParentOutput", ")", "SetOrganizationalUnits", "(", "v", "[", "]", "*", "OrganizationalUnit", ")", "*", "ListOrganizationalUnitsForParentOutput", "{", "s", ".", "OrganizationalUnits", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetOrganizationalUnits sets the OrganizationalUnits field's value.
[ "SetOrganizationalUnits", "sets", "the", "OrganizationalUnits", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/organizations/api.go#L13349-L13352
2,823
aws/aws-sdk-go
service/organizations/api.go
SetChildId
func (s *ListParentsInput) SetChildId(v string) *ListParentsInput { s.ChildId = &v return s }
go
func (s *ListParentsInput) SetChildId(v string) *ListParentsInput { s.ChildId = &v return s }
[ "func", "(", "s", "*", "ListParentsInput", ")", "SetChildId", "(", "v", "string", ")", "*", "ListParentsInput", "{", "s", ".", "ChildId", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetChildId sets the ChildId field's value.
[ "SetChildId", "sets", "the", "ChildId", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/organizations/api.go#L13418-L13421
2,824
aws/aws-sdk-go
service/organizations/api.go
SetRoots
func (s *ListRootsOutput) SetRoots(v []*Root) *ListRootsOutput { s.Roots = v return s }
go
func (s *ListRootsOutput) SetRoots(v []*Root) *ListRootsOutput { s.Roots = v return s }
[ "func", "(", "s", "*", "ListRootsOutput", ")", "SetRoots", "(", "v", "[", "]", "*", "Root", ")", "*", "ListRootsOutput", "{", "s", ".", "Roots", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetRoots sets the Roots field's value.
[ "SetRoots", "sets", "the", "Roots", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/organizations/api.go#L13800-L13803
2,825
aws/aws-sdk-go
service/organizations/api.go
SetDestinationParentId
func (s *MoveAccountInput) SetDestinationParentId(v string) *MoveAccountInput { s.DestinationParentId = &v return s }
go
func (s *MoveAccountInput) SetDestinationParentId(v string) *MoveAccountInput { s.DestinationParentId = &v return s }
[ "func", "(", "s", "*", "MoveAccountInput", ")", "SetDestinationParentId", "(", "v", "string", ")", "*", "MoveAccountInput", "{", "s", ".", "DestinationParentId", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetDestinationParentId sets the DestinationParentId field's value.
[ "SetDestinationParentId", "sets", "the", "DestinationParentId", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/organizations/api.go#L13997-L14000
2,826
aws/aws-sdk-go
service/organizations/api.go
SetSourceParentId
func (s *MoveAccountInput) SetSourceParentId(v string) *MoveAccountInput { s.SourceParentId = &v return s }
go
func (s *MoveAccountInput) SetSourceParentId(v string) *MoveAccountInput { s.SourceParentId = &v return s }
[ "func", "(", "s", "*", "MoveAccountInput", ")", "SetSourceParentId", "(", "v", "string", ")", "*", "MoveAccountInput", "{", "s", ".", "SourceParentId", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetSourceParentId sets the SourceParentId field's value.
[ "SetSourceParentId", "sets", "the", "SourceParentId", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/organizations/api.go#L14003-L14006
2,827
aws/aws-sdk-go
service/organizations/api.go
SetAvailablePolicyTypes
func (s *Organization) SetAvailablePolicyTypes(v []*PolicyTypeSummary) *Organization { s.AvailablePolicyTypes = v return s }
go
func (s *Organization) SetAvailablePolicyTypes(v []*PolicyTypeSummary) *Organization { s.AvailablePolicyTypes = v return s }
[ "func", "(", "s", "*", "Organization", ")", "SetAvailablePolicyTypes", "(", "v", "[", "]", "*", "PolicyTypeSummary", ")", "*", "Organization", "{", "s", ".", "AvailablePolicyTypes", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetAvailablePolicyTypes sets the AvailablePolicyTypes field's value.
[ "SetAvailablePolicyTypes", "sets", "the", "AvailablePolicyTypes", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/organizations/api.go#L14096-L14099
2,828
aws/aws-sdk-go
service/organizations/api.go
SetMasterAccountArn
func (s *Organization) SetMasterAccountArn(v string) *Organization { s.MasterAccountArn = &v return s }
go
func (s *Organization) SetMasterAccountArn(v string) *Organization { s.MasterAccountArn = &v return s }
[ "func", "(", "s", "*", "Organization", ")", "SetMasterAccountArn", "(", "v", "string", ")", "*", "Organization", "{", "s", ".", "MasterAccountArn", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetMasterAccountArn sets the MasterAccountArn field's value.
[ "SetMasterAccountArn", "sets", "the", "MasterAccountArn", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/organizations/api.go#L14114-L14117
2,829
aws/aws-sdk-go
service/organizations/api.go
SetMasterAccountEmail
func (s *Organization) SetMasterAccountEmail(v string) *Organization { s.MasterAccountEmail = &v return s }
go
func (s *Organization) SetMasterAccountEmail(v string) *Organization { s.MasterAccountEmail = &v return s }
[ "func", "(", "s", "*", "Organization", ")", "SetMasterAccountEmail", "(", "v", "string", ")", "*", "Organization", "{", "s", ".", "MasterAccountEmail", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetMasterAccountEmail sets the MasterAccountEmail field's value.
[ "SetMasterAccountEmail", "sets", "the", "MasterAccountEmail", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/organizations/api.go#L14120-L14123
2,830
aws/aws-sdk-go
service/organizations/api.go
SetMasterAccountId
func (s *Organization) SetMasterAccountId(v string) *Organization { s.MasterAccountId = &v return s }
go
func (s *Organization) SetMasterAccountId(v string) *Organization { s.MasterAccountId = &v return s }
[ "func", "(", "s", "*", "Organization", ")", "SetMasterAccountId", "(", "v", "string", ")", "*", "Organization", "{", "s", ".", "MasterAccountId", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetMasterAccountId sets the MasterAccountId field's value.
[ "SetMasterAccountId", "sets", "the", "MasterAccountId", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/organizations/api.go#L14126-L14129
2,831
aws/aws-sdk-go
service/organizations/api.go
SetPolicySummary
func (s *Policy) SetPolicySummary(v *PolicySummary) *Policy { s.PolicySummary = v return s }
go
func (s *Policy) SetPolicySummary(v *PolicySummary) *Policy { s.PolicySummary = v return s }
[ "func", "(", "s", "*", "Policy", ")", "SetPolicySummary", "(", "v", "*", "PolicySummary", ")", "*", "Policy", "{", "s", ".", "PolicySummary", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetPolicySummary sets the PolicySummary field's value.
[ "SetPolicySummary", "sets", "the", "PolicySummary", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/organizations/api.go#L14263-L14266
2,832
aws/aws-sdk-go
service/organizations/api.go
SetAwsManaged
func (s *PolicySummary) SetAwsManaged(v bool) *PolicySummary { s.AwsManaged = &v return s }
go
func (s *PolicySummary) SetAwsManaged(v bool) *PolicySummary { s.AwsManaged = &v return s }
[ "func", "(", "s", "*", "PolicySummary", ")", "SetAwsManaged", "(", "v", "bool", ")", "*", "PolicySummary", "{", "s", ".", "AwsManaged", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetAwsManaged sets the AwsManaged field's value.
[ "SetAwsManaged", "sets", "the", "AwsManaged", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/organizations/api.go#L14322-L14325
2,833
aws/aws-sdk-go
service/elasticache/waiters.go
WaitUntilCacheClusterAvailable
func (c *ElastiCache) WaitUntilCacheClusterAvailable(input *DescribeCacheClustersInput) error { return c.WaitUntilCacheClusterAvailableWithContext(aws.BackgroundContext(), input) }
go
func (c *ElastiCache) WaitUntilCacheClusterAvailable(input *DescribeCacheClustersInput) error { return c.WaitUntilCacheClusterAvailableWithContext(aws.BackgroundContext(), input) }
[ "func", "(", "c", "*", "ElastiCache", ")", "WaitUntilCacheClusterAvailable", "(", "input", "*", "DescribeCacheClustersInput", ")", "error", "{", "return", "c", ".", "WaitUntilCacheClusterAvailableWithContext", "(", "aws", ".", "BackgroundContext", "(", ")", ",", "input", ")", "\n", "}" ]
// WaitUntilCacheClusterAvailable uses the Amazon ElastiCache API operation // DescribeCacheClusters to wait for a condition to be met before returning. // If the condition is not met within the max attempt window, an error will // be returned.
[ "WaitUntilCacheClusterAvailable", "uses", "the", "Amazon", "ElastiCache", "API", "operation", "DescribeCacheClusters", "to", "wait", "for", "a", "condition", "to", "be", "met", "before", "returning", ".", "If", "the", "condition", "is", "not", "met", "within", "the", "max", "attempt", "window", "an", "error", "will", "be", "returned", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticache/waiters.go#L16-L18
2,834
aws/aws-sdk-go
service/elasticache/waiters.go
WaitUntilCacheClusterDeleted
func (c *ElastiCache) WaitUntilCacheClusterDeleted(input *DescribeCacheClustersInput) error { return c.WaitUntilCacheClusterDeletedWithContext(aws.BackgroundContext(), input) }
go
func (c *ElastiCache) WaitUntilCacheClusterDeleted(input *DescribeCacheClustersInput) error { return c.WaitUntilCacheClusterDeletedWithContext(aws.BackgroundContext(), input) }
[ "func", "(", "c", "*", "ElastiCache", ")", "WaitUntilCacheClusterDeleted", "(", "input", "*", "DescribeCacheClustersInput", ")", "error", "{", "return", "c", ".", "WaitUntilCacheClusterDeletedWithContext", "(", "aws", ".", "BackgroundContext", "(", ")", ",", "input", ")", "\n", "}" ]
// WaitUntilCacheClusterDeleted uses the Amazon ElastiCache API operation // DescribeCacheClusters to wait for a condition to be met before returning. // If the condition is not met within the max attempt window, an error will // be returned.
[ "WaitUntilCacheClusterDeleted", "uses", "the", "Amazon", "ElastiCache", "API", "operation", "DescribeCacheClusters", "to", "wait", "for", "a", "condition", "to", "be", "met", "before", "returning", ".", "If", "the", "condition", "is", "not", "met", "within", "the", "max", "attempt", "window", "an", "error", "will", "be", "returned", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticache/waiters.go#L82-L84
2,835
aws/aws-sdk-go
service/elasticache/waiters.go
WaitUntilReplicationGroupAvailable
func (c *ElastiCache) WaitUntilReplicationGroupAvailable(input *DescribeReplicationGroupsInput) error { return c.WaitUntilReplicationGroupAvailableWithContext(aws.BackgroundContext(), input) }
go
func (c *ElastiCache) WaitUntilReplicationGroupAvailable(input *DescribeReplicationGroupsInput) error { return c.WaitUntilReplicationGroupAvailableWithContext(aws.BackgroundContext(), input) }
[ "func", "(", "c", "*", "ElastiCache", ")", "WaitUntilReplicationGroupAvailable", "(", "input", "*", "DescribeReplicationGroupsInput", ")", "error", "{", "return", "c", ".", "WaitUntilReplicationGroupAvailableWithContext", "(", "aws", ".", "BackgroundContext", "(", ")", ",", "input", ")", "\n", "}" ]
// WaitUntilReplicationGroupAvailable uses the Amazon ElastiCache API operation // DescribeReplicationGroups to wait for a condition to be met before returning. // If the condition is not met within the max attempt window, an error will // be returned.
[ "WaitUntilReplicationGroupAvailable", "uses", "the", "Amazon", "ElastiCache", "API", "operation", "DescribeReplicationGroups", "to", "wait", "for", "a", "condition", "to", "be", "met", "before", "returning", ".", "If", "the", "condition", "is", "not", "met", "within", "the", "max", "attempt", "window", "an", "error", "will", "be", "returned", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticache/waiters.go#L163-L165
2,836
aws/aws-sdk-go
service/elasticache/waiters.go
WaitUntilReplicationGroupDeleted
func (c *ElastiCache) WaitUntilReplicationGroupDeleted(input *DescribeReplicationGroupsInput) error { return c.WaitUntilReplicationGroupDeletedWithContext(aws.BackgroundContext(), input) }
go
func (c *ElastiCache) WaitUntilReplicationGroupDeleted(input *DescribeReplicationGroupsInput) error { return c.WaitUntilReplicationGroupDeletedWithContext(aws.BackgroundContext(), input) }
[ "func", "(", "c", "*", "ElastiCache", ")", "WaitUntilReplicationGroupDeleted", "(", "input", "*", "DescribeReplicationGroupsInput", ")", "error", "{", "return", "c", ".", "WaitUntilReplicationGroupDeletedWithContext", "(", "aws", ".", "BackgroundContext", "(", ")", ",", "input", ")", "\n", "}" ]
// WaitUntilReplicationGroupDeleted uses the Amazon ElastiCache API operation // DescribeReplicationGroups to wait for a condition to be met before returning. // If the condition is not met within the max attempt window, an error will // be returned.
[ "WaitUntilReplicationGroupDeleted", "uses", "the", "Amazon", "ElastiCache", "API", "operation", "DescribeReplicationGroups", "to", "wait", "for", "a", "condition", "to", "be", "met", "before", "returning", ".", "If", "the", "condition", "is", "not", "met", "within", "the", "max", "attempt", "window", "an", "error", "will", "be", "returned", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticache/waiters.go#L214-L216
2,837
aws/aws-sdk-go
service/elasticache/api.go
SetCacheNodes
func (s *CacheCluster) SetCacheNodes(v []*CacheNode) *CacheCluster { s.CacheNodes = v return s }
go
func (s *CacheCluster) SetCacheNodes(v []*CacheNode) *CacheCluster { s.CacheNodes = v return s }
[ "func", "(", "s", "*", "CacheCluster", ")", "SetCacheNodes", "(", "v", "[", "]", "*", "CacheNode", ")", "*", "CacheCluster", "{", "s", ".", "CacheNodes", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetCacheNodes sets the CacheNodes field's value.
[ "SetCacheNodes", "sets", "the", "CacheNodes", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticache/api.go#L5395-L5398
2,838
aws/aws-sdk-go
service/elasticache/api.go
SetClientDownloadLandingPage
func (s *CacheCluster) SetClientDownloadLandingPage(v string) *CacheCluster { s.ClientDownloadLandingPage = &v return s }
go
func (s *CacheCluster) SetClientDownloadLandingPage(v string) *CacheCluster { s.ClientDownloadLandingPage = &v return s }
[ "func", "(", "s", "*", "CacheCluster", ")", "SetClientDownloadLandingPage", "(", "v", "string", ")", "*", "CacheCluster", "{", "s", ".", "ClientDownloadLandingPage", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetClientDownloadLandingPage sets the ClientDownloadLandingPage field's value.
[ "SetClientDownloadLandingPage", "sets", "the", "ClientDownloadLandingPage", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticache/api.go#L5419-L5422
2,839
aws/aws-sdk-go
service/elasticache/api.go
SetCacheEngineDescription
func (s *CacheEngineVersion) SetCacheEngineDescription(v string) *CacheEngineVersion { s.CacheEngineDescription = &v return s }
go
func (s *CacheEngineVersion) SetCacheEngineDescription(v string) *CacheEngineVersion { s.CacheEngineDescription = &v return s }
[ "func", "(", "s", "*", "CacheEngineVersion", ")", "SetCacheEngineDescription", "(", "v", "string", ")", "*", "CacheEngineVersion", "{", "s", ".", "CacheEngineDescription", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetCacheEngineDescription sets the CacheEngineDescription field's value.
[ "SetCacheEngineDescription", "sets", "the", "CacheEngineDescription", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticache/api.go#L5535-L5538
2,840
aws/aws-sdk-go
service/elasticache/api.go
SetCacheEngineVersionDescription
func (s *CacheEngineVersion) SetCacheEngineVersionDescription(v string) *CacheEngineVersion { s.CacheEngineVersionDescription = &v return s }
go
func (s *CacheEngineVersion) SetCacheEngineVersionDescription(v string) *CacheEngineVersion { s.CacheEngineVersionDescription = &v return s }
[ "func", "(", "s", "*", "CacheEngineVersion", ")", "SetCacheEngineVersionDescription", "(", "v", "string", ")", "*", "CacheEngineVersion", "{", "s", ".", "CacheEngineVersionDescription", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetCacheEngineVersionDescription sets the CacheEngineVersionDescription field's value.
[ "SetCacheEngineVersionDescription", "sets", "the", "CacheEngineVersionDescription", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticache/api.go#L5541-L5544
2,841
aws/aws-sdk-go
service/elasticache/api.go
SetCacheNodeStatus
func (s *CacheNode) SetCacheNodeStatus(v string) *CacheNode { s.CacheNodeStatus = &v return s }
go
func (s *CacheNode) SetCacheNodeStatus(v string) *CacheNode { s.CacheNodeStatus = &v return s }
[ "func", "(", "s", "*", "CacheNode", ")", "SetCacheNodeStatus", "(", "v", "string", ")", "*", "CacheNode", "{", "s", ".", "CacheNodeStatus", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetCacheNodeStatus sets the CacheNodeStatus field's value.
[ "SetCacheNodeStatus", "sets", "the", "CacheNodeStatus", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticache/api.go#L5681-L5684
2,842
aws/aws-sdk-go
service/elasticache/api.go
SetCustomerAvailabilityZone
func (s *CacheNode) SetCustomerAvailabilityZone(v string) *CacheNode { s.CustomerAvailabilityZone = &v return s }
go
func (s *CacheNode) SetCustomerAvailabilityZone(v string) *CacheNode { s.CustomerAvailabilityZone = &v return s }
[ "func", "(", "s", "*", "CacheNode", ")", "SetCustomerAvailabilityZone", "(", "v", "string", ")", "*", "CacheNode", "{", "s", ".", "CustomerAvailabilityZone", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetCustomerAvailabilityZone sets the CustomerAvailabilityZone field's value.
[ "SetCustomerAvailabilityZone", "sets", "the", "CustomerAvailabilityZone", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticache/api.go#L5687-L5690
2,843
aws/aws-sdk-go
service/elasticache/api.go
SetSourceCacheNodeId
func (s *CacheNode) SetSourceCacheNodeId(v string) *CacheNode { s.SourceCacheNodeId = &v return s }
go
func (s *CacheNode) SetSourceCacheNodeId(v string) *CacheNode { s.SourceCacheNodeId = &v return s }
[ "func", "(", "s", "*", "CacheNode", ")", "SetSourceCacheNodeId", "(", "v", "string", ")", "*", "CacheNode", "{", "s", ".", "SourceCacheNodeId", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetSourceCacheNodeId sets the SourceCacheNodeId field's value.
[ "SetSourceCacheNodeId", "sets", "the", "SourceCacheNodeId", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticache/api.go#L5705-L5708
2,844
aws/aws-sdk-go
service/elasticache/api.go
SetCacheNodeTypeSpecificValues
func (s *CacheNodeTypeSpecificParameter) SetCacheNodeTypeSpecificValues(v []*CacheNodeTypeSpecificValue) *CacheNodeTypeSpecificParameter { s.CacheNodeTypeSpecificValues = v return s }
go
func (s *CacheNodeTypeSpecificParameter) SetCacheNodeTypeSpecificValues(v []*CacheNodeTypeSpecificValue) *CacheNodeTypeSpecificParameter { s.CacheNodeTypeSpecificValues = v return s }
[ "func", "(", "s", "*", "CacheNodeTypeSpecificParameter", ")", "SetCacheNodeTypeSpecificValues", "(", "v", "[", "]", "*", "CacheNodeTypeSpecificValue", ")", "*", "CacheNodeTypeSpecificParameter", "{", "s", ".", "CacheNodeTypeSpecificValues", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetCacheNodeTypeSpecificValues sets the CacheNodeTypeSpecificValues field's value.
[ "SetCacheNodeTypeSpecificValues", "sets", "the", "CacheNodeTypeSpecificValues", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticache/api.go#L5766-L5769
2,845
aws/aws-sdk-go
service/elasticache/api.go
SetNumCacheClusters
func (s *CreateReplicationGroupInput) SetNumCacheClusters(v int64) *CreateReplicationGroupInput { s.NumCacheClusters = &v return s }
go
func (s *CreateReplicationGroupInput) SetNumCacheClusters(v int64) *CreateReplicationGroupInput { s.NumCacheClusters = &v return s }
[ "func", "(", "s", "*", "CreateReplicationGroupInput", ")", "SetNumCacheClusters", "(", "v", "int64", ")", "*", "CreateReplicationGroupInput", "{", "s", ".", "NumCacheClusters", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetNumCacheClusters sets the NumCacheClusters field's value.
[ "SetNumCacheClusters", "sets", "the", "NumCacheClusters", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticache/api.go#L7494-L7497
2,846
aws/aws-sdk-go
service/elasticache/api.go
SetPreferredCacheClusterAZs
func (s *CreateReplicationGroupInput) SetPreferredCacheClusterAZs(v []*string) *CreateReplicationGroupInput { s.PreferredCacheClusterAZs = v return s }
go
func (s *CreateReplicationGroupInput) SetPreferredCacheClusterAZs(v []*string) *CreateReplicationGroupInput { s.PreferredCacheClusterAZs = v return s }
[ "func", "(", "s", "*", "CreateReplicationGroupInput", ")", "SetPreferredCacheClusterAZs", "(", "v", "[", "]", "*", "string", ")", "*", "CreateReplicationGroupInput", "{", "s", ".", "PreferredCacheClusterAZs", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetPreferredCacheClusterAZs sets the PreferredCacheClusterAZs field's value.
[ "SetPreferredCacheClusterAZs", "sets", "the", "PreferredCacheClusterAZs", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticache/api.go#L7512-L7515
2,847
aws/aws-sdk-go
service/elasticache/api.go
SetReplicasPerNodeGroup
func (s *CreateReplicationGroupInput) SetReplicasPerNodeGroup(v int64) *CreateReplicationGroupInput { s.ReplicasPerNodeGroup = &v return s }
go
func (s *CreateReplicationGroupInput) SetReplicasPerNodeGroup(v int64) *CreateReplicationGroupInput { s.ReplicasPerNodeGroup = &v return s }
[ "func", "(", "s", "*", "CreateReplicationGroupInput", ")", "SetReplicasPerNodeGroup", "(", "v", "int64", ")", "*", "CreateReplicationGroupInput", "{", "s", ".", "ReplicasPerNodeGroup", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetReplicasPerNodeGroup sets the ReplicasPerNodeGroup field's value.
[ "SetReplicasPerNodeGroup", "sets", "the", "ReplicasPerNodeGroup", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticache/api.go#L7530-L7533
2,848
aws/aws-sdk-go
service/elasticache/api.go
SetReplicasToRemove
func (s *DecreaseReplicaCountInput) SetReplicasToRemove(v []*string) *DecreaseReplicaCountInput { s.ReplicasToRemove = v return s }
go
func (s *DecreaseReplicaCountInput) SetReplicasToRemove(v []*string) *DecreaseReplicaCountInput { s.ReplicasToRemove = v return s }
[ "func", "(", "s", "*", "DecreaseReplicaCountInput", ")", "SetReplicasToRemove", "(", "v", "[", "]", "*", "string", ")", "*", "DecreaseReplicaCountInput", "{", "s", ".", "ReplicasToRemove", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetReplicasToRemove sets the ReplicasToRemove field's value.
[ "SetReplicasToRemove", "sets", "the", "ReplicasToRemove", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticache/api.go#L7792-L7795
2,849
aws/aws-sdk-go
service/elasticache/api.go
SetRetainPrimaryCluster
func (s *DeleteReplicationGroupInput) SetRetainPrimaryCluster(v bool) *DeleteReplicationGroupInput { s.RetainPrimaryCluster = &v return s }
go
func (s *DeleteReplicationGroupInput) SetRetainPrimaryCluster(v bool) *DeleteReplicationGroupInput { s.RetainPrimaryCluster = &v return s }
[ "func", "(", "s", "*", "DeleteReplicationGroupInput", ")", "SetRetainPrimaryCluster", "(", "v", "bool", ")", "*", "DeleteReplicationGroupInput", "{", "s", ".", "RetainPrimaryCluster", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetRetainPrimaryCluster sets the RetainPrimaryCluster field's value.
[ "SetRetainPrimaryCluster", "sets", "the", "RetainPrimaryCluster", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticache/api.go#L8122-L8125
2,850
aws/aws-sdk-go
service/elasticache/api.go
SetShowCacheClustersNotInReplicationGroups
func (s *DescribeCacheClustersInput) SetShowCacheClustersNotInReplicationGroups(v bool) *DescribeCacheClustersInput { s.ShowCacheClustersNotInReplicationGroups = &v return s }
go
func (s *DescribeCacheClustersInput) SetShowCacheClustersNotInReplicationGroups(v bool) *DescribeCacheClustersInput { s.ShowCacheClustersNotInReplicationGroups = &v return s }
[ "func", "(", "s", "*", "DescribeCacheClustersInput", ")", "SetShowCacheClustersNotInReplicationGroups", "(", "v", "bool", ")", "*", "DescribeCacheClustersInput", "{", "s", ".", "ShowCacheClustersNotInReplicationGroups", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetShowCacheClustersNotInReplicationGroups sets the ShowCacheClustersNotInReplicationGroups field's value.
[ "SetShowCacheClustersNotInReplicationGroups", "sets", "the", "ShowCacheClustersNotInReplicationGroups", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticache/api.go#L8275-L8278
2,851
aws/aws-sdk-go
service/elasticache/api.go
SetShowCacheNodeInfo
func (s *DescribeCacheClustersInput) SetShowCacheNodeInfo(v bool) *DescribeCacheClustersInput { s.ShowCacheNodeInfo = &v return s }
go
func (s *DescribeCacheClustersInput) SetShowCacheNodeInfo(v bool) *DescribeCacheClustersInput { s.ShowCacheNodeInfo = &v return s }
[ "func", "(", "s", "*", "DescribeCacheClustersInput", ")", "SetShowCacheNodeInfo", "(", "v", "bool", ")", "*", "DescribeCacheClustersInput", "{", "s", ".", "ShowCacheNodeInfo", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetShowCacheNodeInfo sets the ShowCacheNodeInfo field's value.
[ "SetShowCacheNodeInfo", "sets", "the", "ShowCacheNodeInfo", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticache/api.go#L8281-L8284
2,852
aws/aws-sdk-go
service/elasticache/api.go
SetCacheClusters
func (s *DescribeCacheClustersOutput) SetCacheClusters(v []*CacheCluster) *DescribeCacheClustersOutput { s.CacheClusters = v return s }
go
func (s *DescribeCacheClustersOutput) SetCacheClusters(v []*CacheCluster) *DescribeCacheClustersOutput { s.CacheClusters = v return s }
[ "func", "(", "s", "*", "DescribeCacheClustersOutput", ")", "SetCacheClusters", "(", "v", "[", "]", "*", "CacheCluster", ")", "*", "DescribeCacheClustersOutput", "{", "s", ".", "CacheClusters", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetCacheClusters sets the CacheClusters field's value.
[ "SetCacheClusters", "sets", "the", "CacheClusters", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticache/api.go#L8309-L8312
2,853
aws/aws-sdk-go
service/elasticache/api.go
SetCacheEngineVersions
func (s *DescribeCacheEngineVersionsOutput) SetCacheEngineVersions(v []*CacheEngineVersion) *DescribeCacheEngineVersionsOutput { s.CacheEngineVersions = v return s }
go
func (s *DescribeCacheEngineVersionsOutput) SetCacheEngineVersions(v []*CacheEngineVersion) *DescribeCacheEngineVersionsOutput { s.CacheEngineVersions = v return s }
[ "func", "(", "s", "*", "DescribeCacheEngineVersionsOutput", ")", "SetCacheEngineVersions", "(", "v", "[", "]", "*", "CacheEngineVersion", ")", "*", "DescribeCacheEngineVersionsOutput", "{", "s", ".", "CacheEngineVersions", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetCacheEngineVersions sets the CacheEngineVersions field's value.
[ "SetCacheEngineVersions", "sets", "the", "CacheEngineVersions", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticache/api.go#L8433-L8436
2,854
aws/aws-sdk-go
service/elasticache/api.go
SetCacheParameterGroups
func (s *DescribeCacheParameterGroupsOutput) SetCacheParameterGroups(v []*CacheParameterGroup) *DescribeCacheParameterGroupsOutput { s.CacheParameterGroups = v return s }
go
func (s *DescribeCacheParameterGroupsOutput) SetCacheParameterGroups(v []*CacheParameterGroup) *DescribeCacheParameterGroupsOutput { s.CacheParameterGroups = v return s }
[ "func", "(", "s", "*", "DescribeCacheParameterGroupsOutput", ")", "SetCacheParameterGroups", "(", "v", "[", "]", "*", "CacheParameterGroup", ")", "*", "DescribeCacheParameterGroupsOutput", "{", "s", ".", "CacheParameterGroups", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetCacheParameterGroups sets the CacheParameterGroups field's value.
[ "SetCacheParameterGroups", "sets", "the", "CacheParameterGroups", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticache/api.go#L8517-L8520
2,855
aws/aws-sdk-go
service/elasticache/api.go
SetCacheSubnetGroups
func (s *DescribeCacheSubnetGroupsOutput) SetCacheSubnetGroups(v []*CacheSubnetGroup) *DescribeCacheSubnetGroupsOutput { s.CacheSubnetGroups = v return s }
go
func (s *DescribeCacheSubnetGroupsOutput) SetCacheSubnetGroups(v []*CacheSubnetGroup) *DescribeCacheSubnetGroupsOutput { s.CacheSubnetGroups = v return s }
[ "func", "(", "s", "*", "DescribeCacheSubnetGroupsOutput", ")", "SetCacheSubnetGroups", "(", "v", "[", "]", "*", "CacheSubnetGroup", ")", "*", "DescribeCacheSubnetGroupsOutput", "{", "s", ".", "CacheSubnetGroups", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetCacheSubnetGroups sets the CacheSubnetGroups field's value.
[ "SetCacheSubnetGroups", "sets", "the", "CacheSubnetGroups", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticache/api.go#L8804-L8807
2,856
aws/aws-sdk-go
service/elasticache/api.go
SetReplicationGroups
func (s *DescribeReplicationGroupsOutput) SetReplicationGroups(v []*ReplicationGroup) *DescribeReplicationGroupsOutput { s.ReplicationGroups = v return s }
go
func (s *DescribeReplicationGroupsOutput) SetReplicationGroups(v []*ReplicationGroup) *DescribeReplicationGroupsOutput { s.ReplicationGroups = v return s }
[ "func", "(", "s", "*", "DescribeReplicationGroupsOutput", ")", "SetReplicationGroups", "(", "v", "[", "]", "*", "ReplicationGroup", ")", "*", "DescribeReplicationGroupsOutput", "{", "s", ".", "ReplicationGroups", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetReplicationGroups sets the ReplicationGroups field's value.
[ "SetReplicationGroups", "sets", "the", "ReplicationGroups", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticache/api.go#L9116-L9119
2,857
aws/aws-sdk-go
service/elasticache/api.go
SetReservedCacheNodesOfferings
func (s *DescribeReservedCacheNodesOfferingsOutput) SetReservedCacheNodesOfferings(v []*ReservedCacheNodesOffering) *DescribeReservedCacheNodesOfferingsOutput { s.ReservedCacheNodesOfferings = v return s }
go
func (s *DescribeReservedCacheNodesOfferingsOutput) SetReservedCacheNodesOfferings(v []*ReservedCacheNodesOffering) *DescribeReservedCacheNodesOfferingsOutput { s.ReservedCacheNodesOfferings = v return s }
[ "func", "(", "s", "*", "DescribeReservedCacheNodesOfferingsOutput", ")", "SetReservedCacheNodesOfferings", "(", "v", "[", "]", "*", "ReservedCacheNodesOffering", ")", "*", "DescribeReservedCacheNodesOfferingsOutput", "{", "s", ".", "ReservedCacheNodesOfferings", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetReservedCacheNodesOfferings sets the ReservedCacheNodesOfferings field's value.
[ "SetReservedCacheNodesOfferings", "sets", "the", "ReservedCacheNodesOfferings", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticache/api.go#L9478-L9481
2,858
aws/aws-sdk-go
service/elasticache/api.go
SetReservedCacheNodes
func (s *DescribeReservedCacheNodesOutput) SetReservedCacheNodes(v []*ReservedCacheNode) *DescribeReservedCacheNodesOutput { s.ReservedCacheNodes = v return s }
go
func (s *DescribeReservedCacheNodesOutput) SetReservedCacheNodes(v []*ReservedCacheNode) *DescribeReservedCacheNodesOutput { s.ReservedCacheNodes = v return s }
[ "func", "(", "s", "*", "DescribeReservedCacheNodesOutput", ")", "SetReservedCacheNodes", "(", "v", "[", "]", "*", "ReservedCacheNode", ")", "*", "DescribeReservedCacheNodesOutput", "{", "s", ".", "ReservedCacheNodes", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetReservedCacheNodes sets the ReservedCacheNodes field's value.
[ "SetReservedCacheNodes", "sets", "the", "ReservedCacheNodes", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticache/api.go#L9512-L9515
2,859
aws/aws-sdk-go
service/elasticache/api.go
SetShowNodeGroupConfig
func (s *DescribeSnapshotsInput) SetShowNodeGroupConfig(v bool) *DescribeSnapshotsInput { s.ShowNodeGroupConfig = &v return s }
go
func (s *DescribeSnapshotsInput) SetShowNodeGroupConfig(v bool) *DescribeSnapshotsInput { s.ShowNodeGroupConfig = &v return s }
[ "func", "(", "s", "*", "DescribeSnapshotsInput", ")", "SetShowNodeGroupConfig", "(", "v", "bool", ")", "*", "DescribeSnapshotsInput", "{", "s", ".", "ShowNodeGroupConfig", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetShowNodeGroupConfig sets the ShowNodeGroupConfig field's value.
[ "SetShowNodeGroupConfig", "sets", "the", "ShowNodeGroupConfig", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticache/api.go#L9593-L9596
2,860
aws/aws-sdk-go
service/elasticache/api.go
SetScaleUpModifications
func (s *ListAllowedNodeTypeModificationsOutput) SetScaleUpModifications(v []*string) *ListAllowedNodeTypeModificationsOutput { s.ScaleUpModifications = v return s }
go
func (s *ListAllowedNodeTypeModificationsOutput) SetScaleUpModifications(v []*string) *ListAllowedNodeTypeModificationsOutput { s.ScaleUpModifications = v return s }
[ "func", "(", "s", "*", "ListAllowedNodeTypeModificationsOutput", ")", "SetScaleUpModifications", "(", "v", "[", "]", "*", "string", ")", "*", "ListAllowedNodeTypeModificationsOutput", "{", "s", ".", "ScaleUpModifications", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetScaleUpModifications sets the ScaleUpModifications field's value.
[ "SetScaleUpModifications", "sets", "the", "ScaleUpModifications", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticache/api.go#L10009-L10012
2,861
aws/aws-sdk-go
service/elasticache/api.go
SetNewAvailabilityZones
func (s *ModifyCacheClusterInput) SetNewAvailabilityZones(v []*string) *ModifyCacheClusterInput { s.NewAvailabilityZones = v return s }
go
func (s *ModifyCacheClusterInput) SetNewAvailabilityZones(v []*string) *ModifyCacheClusterInput { s.NewAvailabilityZones = v return s }
[ "func", "(", "s", "*", "ModifyCacheClusterInput", ")", "SetNewAvailabilityZones", "(", "v", "[", "]", "*", "string", ")", "*", "ModifyCacheClusterInput", "{", "s", ".", "NewAvailabilityZones", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetNewAvailabilityZones sets the NewAvailabilityZones field's value.
[ "SetNewAvailabilityZones", "sets", "the", "NewAvailabilityZones", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticache/api.go#L10378-L10381
2,862
aws/aws-sdk-go
service/elasticache/api.go
SetNodeGroupCount
func (s *ModifyReplicationGroupShardConfigurationInput) SetNodeGroupCount(v int64) *ModifyReplicationGroupShardConfigurationInput { s.NodeGroupCount = &v return s }
go
func (s *ModifyReplicationGroupShardConfigurationInput) SetNodeGroupCount(v int64) *ModifyReplicationGroupShardConfigurationInput { s.NodeGroupCount = &v return s }
[ "func", "(", "s", "*", "ModifyReplicationGroupShardConfigurationInput", ")", "SetNodeGroupCount", "(", "v", "int64", ")", "*", "ModifyReplicationGroupShardConfigurationInput", "{", "s", ".", "NodeGroupCount", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetNodeGroupCount sets the NodeGroupCount field's value.
[ "SetNodeGroupCount", "sets", "the", "NodeGroupCount", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticache/api.go#L10992-L10995
2,863
aws/aws-sdk-go
service/elasticache/api.go
SetNodeGroupsToRemove
func (s *ModifyReplicationGroupShardConfigurationInput) SetNodeGroupsToRemove(v []*string) *ModifyReplicationGroupShardConfigurationInput { s.NodeGroupsToRemove = v return s }
go
func (s *ModifyReplicationGroupShardConfigurationInput) SetNodeGroupsToRemove(v []*string) *ModifyReplicationGroupShardConfigurationInput { s.NodeGroupsToRemove = v return s }
[ "func", "(", "s", "*", "ModifyReplicationGroupShardConfigurationInput", ")", "SetNodeGroupsToRemove", "(", "v", "[", "]", "*", "string", ")", "*", "ModifyReplicationGroupShardConfigurationInput", "{", "s", ".", "NodeGroupsToRemove", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetNodeGroupsToRemove sets the NodeGroupsToRemove field's value.
[ "SetNodeGroupsToRemove", "sets", "the", "NodeGroupsToRemove", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticache/api.go#L10998-L11001
2,864
aws/aws-sdk-go
service/elasticache/api.go
SetNodeGroupsToRetain
func (s *ModifyReplicationGroupShardConfigurationInput) SetNodeGroupsToRetain(v []*string) *ModifyReplicationGroupShardConfigurationInput { s.NodeGroupsToRetain = v return s }
go
func (s *ModifyReplicationGroupShardConfigurationInput) SetNodeGroupsToRetain(v []*string) *ModifyReplicationGroupShardConfigurationInput { s.NodeGroupsToRetain = v return s }
[ "func", "(", "s", "*", "ModifyReplicationGroupShardConfigurationInput", ")", "SetNodeGroupsToRetain", "(", "v", "[", "]", "*", "string", ")", "*", "ModifyReplicationGroupShardConfigurationInput", "{", "s", ".", "NodeGroupsToRetain", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetNodeGroupsToRetain sets the NodeGroupsToRetain field's value.
[ "SetNodeGroupsToRetain", "sets", "the", "NodeGroupsToRetain", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticache/api.go#L11004-L11007
2,865
aws/aws-sdk-go
service/elasticache/api.go
SetReshardingConfiguration
func (s *ModifyReplicationGroupShardConfigurationInput) SetReshardingConfiguration(v []*ReshardingConfiguration) *ModifyReplicationGroupShardConfigurationInput { s.ReshardingConfiguration = v return s }
go
func (s *ModifyReplicationGroupShardConfigurationInput) SetReshardingConfiguration(v []*ReshardingConfiguration) *ModifyReplicationGroupShardConfigurationInput { s.ReshardingConfiguration = v return s }
[ "func", "(", "s", "*", "ModifyReplicationGroupShardConfigurationInput", ")", "SetReshardingConfiguration", "(", "v", "[", "]", "*", "ReshardingConfiguration", ")", "*", "ModifyReplicationGroupShardConfigurationInput", "{", "s", ".", "ReshardingConfiguration", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetReshardingConfiguration sets the ReshardingConfiguration field's value.
[ "SetReshardingConfiguration", "sets", "the", "ReshardingConfiguration", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticache/api.go#L11016-L11019
2,866
aws/aws-sdk-go
service/elasticache/api.go
SetNodeGroupMembers
func (s *NodeGroup) SetNodeGroupMembers(v []*NodeGroupMember) *NodeGroup { s.NodeGroupMembers = v return s }
go
func (s *NodeGroup) SetNodeGroupMembers(v []*NodeGroupMember) *NodeGroup { s.NodeGroupMembers = v return s }
[ "func", "(", "s", "*", "NodeGroup", ")", "SetNodeGroupMembers", "(", "v", "[", "]", "*", "NodeGroupMember", ")", "*", "NodeGroup", "{", "s", ".", "NodeGroupMembers", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetNodeGroupMembers sets the NodeGroupMembers field's value.
[ "SetNodeGroupMembers", "sets", "the", "NodeGroupMembers", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticache/api.go#L11087-L11090
2,867
aws/aws-sdk-go
service/elasticache/api.go
SetPrimaryEndpoint
func (s *NodeGroup) SetPrimaryEndpoint(v *Endpoint) *NodeGroup { s.PrimaryEndpoint = v return s }
go
func (s *NodeGroup) SetPrimaryEndpoint(v *Endpoint) *NodeGroup { s.PrimaryEndpoint = v return s }
[ "func", "(", "s", "*", "NodeGroup", ")", "SetPrimaryEndpoint", "(", "v", "*", "Endpoint", ")", "*", "NodeGroup", "{", "s", ".", "PrimaryEndpoint", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetPrimaryEndpoint sets the PrimaryEndpoint field's value.
[ "SetPrimaryEndpoint", "sets", "the", "PrimaryEndpoint", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticache/api.go#L11093-L11096
2,868
aws/aws-sdk-go
service/elasticache/api.go
SetPrimaryAvailabilityZone
func (s *NodeGroupConfiguration) SetPrimaryAvailabilityZone(v string) *NodeGroupConfiguration { s.PrimaryAvailabilityZone = &v return s }
go
func (s *NodeGroupConfiguration) SetPrimaryAvailabilityZone(v string) *NodeGroupConfiguration { s.PrimaryAvailabilityZone = &v return s }
[ "func", "(", "s", "*", "NodeGroupConfiguration", ")", "SetPrimaryAvailabilityZone", "(", "v", "string", ")", "*", "NodeGroupConfiguration", "{", "s", ".", "PrimaryAvailabilityZone", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetPrimaryAvailabilityZone sets the PrimaryAvailabilityZone field's value.
[ "SetPrimaryAvailabilityZone", "sets", "the", "PrimaryAvailabilityZone", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticache/api.go#L11168-L11171
2,869
aws/aws-sdk-go
service/elasticache/api.go
SetReplicaAvailabilityZones
func (s *NodeGroupConfiguration) SetReplicaAvailabilityZones(v []*string) *NodeGroupConfiguration { s.ReplicaAvailabilityZones = v return s }
go
func (s *NodeGroupConfiguration) SetReplicaAvailabilityZones(v []*string) *NodeGroupConfiguration { s.ReplicaAvailabilityZones = v return s }
[ "func", "(", "s", "*", "NodeGroupConfiguration", ")", "SetReplicaAvailabilityZones", "(", "v", "[", "]", "*", "string", ")", "*", "NodeGroupConfiguration", "{", "s", ".", "ReplicaAvailabilityZones", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetReplicaAvailabilityZones sets the ReplicaAvailabilityZones field's value.
[ "SetReplicaAvailabilityZones", "sets", "the", "ReplicaAvailabilityZones", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticache/api.go#L11174-L11177
2,870
aws/aws-sdk-go
service/elasticache/api.go
SetReplicaCount
func (s *NodeGroupConfiguration) SetReplicaCount(v int64) *NodeGroupConfiguration { s.ReplicaCount = &v return s }
go
func (s *NodeGroupConfiguration) SetReplicaCount(v int64) *NodeGroupConfiguration { s.ReplicaCount = &v return s }
[ "func", "(", "s", "*", "NodeGroupConfiguration", ")", "SetReplicaCount", "(", "v", "int64", ")", "*", "NodeGroupConfiguration", "{", "s", ".", "ReplicaCount", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetReplicaCount sets the ReplicaCount field's value.
[ "SetReplicaCount", "sets", "the", "ReplicaCount", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticache/api.go#L11180-L11183
2,871
aws/aws-sdk-go
service/elasticache/api.go
SetCurrentRole
func (s *NodeGroupMember) SetCurrentRole(v string) *NodeGroupMember { s.CurrentRole = &v return s }
go
func (s *NodeGroupMember) SetCurrentRole(v string) *NodeGroupMember { s.CurrentRole = &v return s }
[ "func", "(", "s", "*", "NodeGroupMember", ")", "SetCurrentRole", "(", "v", "string", ")", "*", "NodeGroupMember", "{", "s", ".", "CurrentRole", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetCurrentRole sets the CurrentRole field's value.
[ "SetCurrentRole", "sets", "the", "CurrentRole", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticache/api.go#L11238-L11241
2,872
aws/aws-sdk-go
service/elasticache/api.go
SetReadEndpoint
func (s *NodeGroupMember) SetReadEndpoint(v *Endpoint) *NodeGroupMember { s.ReadEndpoint = v return s }
go
func (s *NodeGroupMember) SetReadEndpoint(v *Endpoint) *NodeGroupMember { s.ReadEndpoint = v return s }
[ "func", "(", "s", "*", "NodeGroupMember", ")", "SetReadEndpoint", "(", "v", "*", "Endpoint", ")", "*", "NodeGroupMember", "{", "s", ".", "ReadEndpoint", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetReadEndpoint sets the ReadEndpoint field's value.
[ "SetReadEndpoint", "sets", "the", "ReadEndpoint", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticache/api.go#L11250-L11253
2,873
aws/aws-sdk-go
service/elasticache/api.go
SetCacheSize
func (s *NodeSnapshot) SetCacheSize(v string) *NodeSnapshot { s.CacheSize = &v return s }
go
func (s *NodeSnapshot) SetCacheSize(v string) *NodeSnapshot { s.CacheSize = &v return s }
[ "func", "(", "s", "*", "NodeSnapshot", ")", "SetCacheSize", "(", "v", "string", ")", "*", "NodeSnapshot", "{", "s", ".", "CacheSize", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetCacheSize sets the CacheSize field's value.
[ "SetCacheSize", "sets", "the", "CacheSize", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticache/api.go#L11311-L11314
2,874
aws/aws-sdk-go
service/elasticache/api.go
SetReservedCacheNode
func (s *PurchaseReservedCacheNodesOfferingOutput) SetReservedCacheNode(v *ReservedCacheNode) *PurchaseReservedCacheNodesOfferingOutput { s.ReservedCacheNode = v return s }
go
func (s *PurchaseReservedCacheNodesOfferingOutput) SetReservedCacheNode(v *ReservedCacheNode) *PurchaseReservedCacheNodesOfferingOutput { s.ReservedCacheNode = v return s }
[ "func", "(", "s", "*", "PurchaseReservedCacheNodesOfferingOutput", ")", "SetReservedCacheNode", "(", "v", "*", "ReservedCacheNode", ")", "*", "PurchaseReservedCacheNodesOfferingOutput", "{", "s", ".", "ReservedCacheNode", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetReservedCacheNode sets the ReservedCacheNode field's value.
[ "SetReservedCacheNode", "sets", "the", "ReservedCacheNode", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticache/api.go#L11645-L11648
2,875
aws/aws-sdk-go
service/elasticache/api.go
SetClusterEnabled
func (s *ReplicationGroup) SetClusterEnabled(v bool) *ReplicationGroup { s.ClusterEnabled = &v return s }
go
func (s *ReplicationGroup) SetClusterEnabled(v bool) *ReplicationGroup { s.ClusterEnabled = &v return s }
[ "func", "(", "s", "*", "ReplicationGroup", ")", "SetClusterEnabled", "(", "v", "bool", ")", "*", "ReplicationGroup", "{", "s", ".", "ClusterEnabled", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetClusterEnabled sets the ClusterEnabled field's value.
[ "SetClusterEnabled", "sets", "the", "ClusterEnabled", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticache/api.go#L11962-L11965
2,876
aws/aws-sdk-go
service/elasticache/api.go
SetMemberClusters
func (s *ReplicationGroup) SetMemberClusters(v []*string) *ReplicationGroup { s.MemberClusters = v return s }
go
func (s *ReplicationGroup) SetMemberClusters(v []*string) *ReplicationGroup { s.MemberClusters = v return s }
[ "func", "(", "s", "*", "ReplicationGroup", ")", "SetMemberClusters", "(", "v", "[", "]", "*", "string", ")", "*", "ReplicationGroup", "{", "s", ".", "MemberClusters", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetMemberClusters sets the MemberClusters field's value.
[ "SetMemberClusters", "sets", "the", "MemberClusters", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticache/api.go#L11980-L11983
2,877
aws/aws-sdk-go
service/elasticache/api.go
SetNodeGroups
func (s *ReplicationGroup) SetNodeGroups(v []*NodeGroup) *ReplicationGroup { s.NodeGroups = v return s }
go
func (s *ReplicationGroup) SetNodeGroups(v []*NodeGroup) *ReplicationGroup { s.NodeGroups = v return s }
[ "func", "(", "s", "*", "ReplicationGroup", ")", "SetNodeGroups", "(", "v", "[", "]", "*", "NodeGroup", ")", "*", "ReplicationGroup", "{", "s", ".", "NodeGroups", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetNodeGroups sets the NodeGroups field's value.
[ "SetNodeGroups", "sets", "the", "NodeGroups", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticache/api.go#L11986-L11989
2,878
aws/aws-sdk-go
service/elasticache/api.go
SetAutomaticFailoverStatus
func (s *ReplicationGroupPendingModifiedValues) SetAutomaticFailoverStatus(v string) *ReplicationGroupPendingModifiedValues { s.AutomaticFailoverStatus = &v return s }
go
func (s *ReplicationGroupPendingModifiedValues) SetAutomaticFailoverStatus(v string) *ReplicationGroupPendingModifiedValues { s.AutomaticFailoverStatus = &v return s }
[ "func", "(", "s", "*", "ReplicationGroupPendingModifiedValues", ")", "SetAutomaticFailoverStatus", "(", "v", "string", ")", "*", "ReplicationGroupPendingModifiedValues", "{", "s", ".", "AutomaticFailoverStatus", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetAutomaticFailoverStatus sets the AutomaticFailoverStatus field's value.
[ "SetAutomaticFailoverStatus", "sets", "the", "AutomaticFailoverStatus", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticache/api.go#L12070-L12073
2,879
aws/aws-sdk-go
service/elasticache/api.go
SetResharding
func (s *ReplicationGroupPendingModifiedValues) SetResharding(v *ReshardingStatus) *ReplicationGroupPendingModifiedValues { s.Resharding = v return s }
go
func (s *ReplicationGroupPendingModifiedValues) SetResharding(v *ReshardingStatus) *ReplicationGroupPendingModifiedValues { s.Resharding = v return s }
[ "func", "(", "s", "*", "ReplicationGroupPendingModifiedValues", ")", "SetResharding", "(", "v", "*", "ReshardingStatus", ")", "*", "ReplicationGroupPendingModifiedValues", "{", "s", ".", "Resharding", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetResharding sets the Resharding field's value.
[ "SetResharding", "sets", "the", "Resharding", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticache/api.go#L12082-L12085
2,880
aws/aws-sdk-go
service/elasticache/api.go
SetReservationARN
func (s *ReservedCacheNode) SetReservationARN(v string) *ReservedCacheNode { s.ReservationARN = &v return s }
go
func (s *ReservedCacheNode) SetReservationARN(v string) *ReservedCacheNode { s.ReservationARN = &v return s }
[ "func", "(", "s", "*", "ReservedCacheNode", ")", "SetReservationARN", "(", "v", "string", ")", "*", "ReservedCacheNode", "{", "s", ".", "ReservationARN", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetReservationARN sets the ReservationARN field's value.
[ "SetReservationARN", "sets", "the", "ReservationARN", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticache/api.go#L12249-L12252
2,881
aws/aws-sdk-go
service/elasticache/api.go
SetSlotMigration
func (s *ReshardingStatus) SetSlotMigration(v *SlotMigration) *ReshardingStatus { s.SlotMigration = v return s }
go
func (s *ReshardingStatus) SetSlotMigration(v *SlotMigration) *ReshardingStatus { s.SlotMigration = v return s }
[ "func", "(", "s", "*", "ReshardingStatus", ")", "SetSlotMigration", "(", "v", "*", "SlotMigration", ")", "*", "ReshardingStatus", "{", "s", ".", "SlotMigration", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetSlotMigration sets the SlotMigration field's value.
[ "SetSlotMigration", "sets", "the", "SlotMigration", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticache/api.go#L12563-L12566
2,882
aws/aws-sdk-go
service/elasticache/api.go
SetProgressPercentage
func (s *SlotMigration) SetProgressPercentage(v float64) *SlotMigration { s.ProgressPercentage = &v return s }
go
func (s *SlotMigration) SetProgressPercentage(v float64) *SlotMigration { s.ProgressPercentage = &v return s }
[ "func", "(", "s", "*", "SlotMigration", ")", "SetProgressPercentage", "(", "v", "float64", ")", "*", "SlotMigration", "{", "s", ".", "ProgressPercentage", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetProgressPercentage sets the ProgressPercentage field's value.
[ "SetProgressPercentage", "sets", "the", "ProgressPercentage", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticache/api.go#L12720-L12723
2,883
aws/aws-sdk-go
service/elasticache/api.go
SetNodeSnapshots
func (s *Snapshot) SetNodeSnapshots(v []*NodeSnapshot) *Snapshot { s.NodeSnapshots = v return s }
go
func (s *Snapshot) SetNodeSnapshots(v []*NodeSnapshot) *Snapshot { s.NodeSnapshots = v return s }
[ "func", "(", "s", "*", "Snapshot", ")", "SetNodeSnapshots", "(", "v", "[", "]", "*", "NodeSnapshot", ")", "*", "Snapshot", "{", "s", ".", "NodeSnapshots", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetNodeSnapshots sets the NodeSnapshots field's value.
[ "SetNodeSnapshots", "sets", "the", "NodeSnapshots", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticache/api.go#L12981-L12984
2,884
aws/aws-sdk-go
internal/ini/ini_parser.go
trimSpaces
func trimSpaces(k AST) AST { // trim left hand side of spaces for i := 0; i < len(k.Root.raw); i++ { if !isWhitespace(k.Root.raw[i]) { break } k.Root.raw = k.Root.raw[1:] i-- } // trim right hand side of spaces for i := len(k.Root.raw) - 1; i >= 0; i-- { if !isWhitespace(k.Root.raw[i]) { break } k.Root.raw = k.Root.raw[:len(k.Root.raw)-1] } return k }
go
func trimSpaces(k AST) AST { // trim left hand side of spaces for i := 0; i < len(k.Root.raw); i++ { if !isWhitespace(k.Root.raw[i]) { break } k.Root.raw = k.Root.raw[1:] i-- } // trim right hand side of spaces for i := len(k.Root.raw) - 1; i >= 0; i-- { if !isWhitespace(k.Root.raw[i]) { break } k.Root.raw = k.Root.raw[:len(k.Root.raw)-1] } return k }
[ "func", "trimSpaces", "(", "k", "AST", ")", "AST", "{", "// trim left hand side of spaces", "for", "i", ":=", "0", ";", "i", "<", "len", "(", "k", ".", "Root", ".", "raw", ")", ";", "i", "++", "{", "if", "!", "isWhitespace", "(", "k", ".", "Root", ".", "raw", "[", "i", "]", ")", "{", "break", "\n", "}", "\n\n", "k", ".", "Root", ".", "raw", "=", "k", ".", "Root", ".", "raw", "[", "1", ":", "]", "\n", "i", "--", "\n", "}", "\n\n", "// trim right hand side of spaces", "for", "i", ":=", "len", "(", "k", ".", "Root", ".", "raw", ")", "-", "1", ";", "i", ">=", "0", ";", "i", "--", "{", "if", "!", "isWhitespace", "(", "k", ".", "Root", ".", "raw", "[", "i", "]", ")", "{", "break", "\n", "}", "\n\n", "k", ".", "Root", ".", "raw", "=", "k", ".", "Root", ".", "raw", "[", ":", "len", "(", "k", ".", "Root", ".", "raw", ")", "-", "1", "]", "\n", "}", "\n\n", "return", "k", "\n", "}" ]
// trimSpaces will trim spaces on the left and right hand side of // the literal.
[ "trimSpaces", "will", "trim", "spaces", "on", "the", "left", "and", "right", "hand", "side", "of", "the", "literal", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/internal/ini/ini_parser.go#L326-L347
2,885
aws/aws-sdk-go
service/clouddirectory/api.go
SetExceptionResponse
func (s *BatchReadOperationResponse) SetExceptionResponse(v *BatchReadException) *BatchReadOperationResponse { s.ExceptionResponse = v return s }
go
func (s *BatchReadOperationResponse) SetExceptionResponse(v *BatchReadException) *BatchReadOperationResponse { s.ExceptionResponse = v return s }
[ "func", "(", "s", "*", "BatchReadOperationResponse", ")", "SetExceptionResponse", "(", "v", "*", "BatchReadException", ")", "*", "BatchReadOperationResponse", "{", "s", ".", "ExceptionResponse", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetExceptionResponse sets the ExceptionResponse field's value.
[ "SetExceptionResponse", "sets", "the", "ExceptionResponse", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/clouddirectory/api.go#L12298-L12301
2,886
aws/aws-sdk-go
service/clouddirectory/api.go
SetSuccessfulResponse
func (s *BatchReadOperationResponse) SetSuccessfulResponse(v *BatchReadSuccessfulResponse) *BatchReadOperationResponse { s.SuccessfulResponse = v return s }
go
func (s *BatchReadOperationResponse) SetSuccessfulResponse(v *BatchReadSuccessfulResponse) *BatchReadOperationResponse { s.SuccessfulResponse = v return s }
[ "func", "(", "s", "*", "BatchReadOperationResponse", ")", "SetSuccessfulResponse", "(", "v", "*", "BatchReadSuccessfulResponse", ")", "*", "BatchReadOperationResponse", "{", "s", ".", "SuccessfulResponse", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetSuccessfulResponse sets the SuccessfulResponse field's value.
[ "SetSuccessfulResponse", "sets", "the", "SuccessfulResponse", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/clouddirectory/api.go#L12304-L12307
2,887
aws/aws-sdk-go
service/clouddirectory/api.go
SetAttributeDefinition
func (s *FacetAttribute) SetAttributeDefinition(v *FacetAttributeDefinition) *FacetAttribute { s.AttributeDefinition = v return s }
go
func (s *FacetAttribute) SetAttributeDefinition(v *FacetAttributeDefinition) *FacetAttribute { s.AttributeDefinition = v return s }
[ "func", "(", "s", "*", "FacetAttribute", ")", "SetAttributeDefinition", "(", "v", "*", "FacetAttributeDefinition", ")", "*", "FacetAttribute", "{", "s", ".", "AttributeDefinition", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetAttributeDefinition sets the AttributeDefinition field's value.
[ "SetAttributeDefinition", "sets", "the", "AttributeDefinition", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/clouddirectory/api.go#L14786-L14789
2,888
aws/aws-sdk-go
service/clouddirectory/api.go
SetAttributeReference
func (s *FacetAttribute) SetAttributeReference(v *FacetAttributeReference) *FacetAttribute { s.AttributeReference = v return s }
go
func (s *FacetAttribute) SetAttributeReference(v *FacetAttributeReference) *FacetAttribute { s.AttributeReference = v return s }
[ "func", "(", "s", "*", "FacetAttribute", ")", "SetAttributeReference", "(", "v", "*", "FacetAttributeReference", ")", "*", "FacetAttribute", "{", "s", ".", "AttributeReference", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetAttributeReference sets the AttributeReference field's value.
[ "SetAttributeReference", "sets", "the", "AttributeReference", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/clouddirectory/api.go#L14792-L14795
2,889
aws/aws-sdk-go
service/clouddirectory/api.go
SetTargetAttributeName
func (s *FacetAttributeReference) SetTargetAttributeName(v string) *FacetAttributeReference { s.TargetAttributeName = &v return s }
go
func (s *FacetAttributeReference) SetTargetAttributeName(v string) *FacetAttributeReference { s.TargetAttributeName = &v return s }
[ "func", "(", "s", "*", "FacetAttributeReference", ")", "SetTargetAttributeName", "(", "v", "string", ")", "*", "FacetAttributeReference", "{", "s", ".", "TargetAttributeName", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetTargetAttributeName sets the TargetAttributeName field's value.
[ "SetTargetAttributeName", "sets", "the", "TargetAttributeName", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/clouddirectory/api.go#L14929-L14932
2,890
aws/aws-sdk-go
service/clouddirectory/api.go
SetTargetFacetName
func (s *FacetAttributeReference) SetTargetFacetName(v string) *FacetAttributeReference { s.TargetFacetName = &v return s }
go
func (s *FacetAttributeReference) SetTargetFacetName(v string) *FacetAttributeReference { s.TargetFacetName = &v return s }
[ "func", "(", "s", "*", "FacetAttributeReference", ")", "SetTargetFacetName", "(", "v", "string", ")", "*", "FacetAttributeReference", "{", "s", ".", "TargetFacetName", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetTargetFacetName sets the TargetFacetName field's value.
[ "SetTargetFacetName", "sets", "the", "TargetFacetName", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/clouddirectory/api.go#L14935-L14938
2,891
aws/aws-sdk-go
service/clouddirectory/api.go
SetDirectory
func (s *GetDirectoryOutput) SetDirectory(v *Directory) *GetDirectoryOutput { s.Directory = v return s }
go
func (s *GetDirectoryOutput) SetDirectory(v *Directory) *GetDirectoryOutput { s.Directory = v return s }
[ "func", "(", "s", "*", "GetDirectoryOutput", ")", "SetDirectory", "(", "v", "*", "Directory", ")", "*", "GetDirectoryOutput", "{", "s", ".", "Directory", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetDirectory sets the Directory field's value.
[ "SetDirectory", "sets", "the", "Directory", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/clouddirectory/api.go#L15108-L15111
2,892
aws/aws-sdk-go
service/clouddirectory/api.go
SetIndexedAttributes
func (s *IndexAttachment) SetIndexedAttributes(v []*AttributeKeyAndValue) *IndexAttachment { s.IndexedAttributes = v return s }
go
func (s *IndexAttachment) SetIndexedAttributes(v []*AttributeKeyAndValue) *IndexAttachment { s.IndexedAttributes = v return s }
[ "func", "(", "s", "*", "IndexAttachment", ")", "SetIndexedAttributes", "(", "v", "[", "]", "*", "AttributeKeyAndValue", ")", "*", "IndexAttachment", "{", "s", ".", "IndexedAttributes", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetIndexedAttributes sets the IndexedAttributes field's value.
[ "SetIndexedAttributes", "sets", "the", "IndexedAttributes", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/clouddirectory/api.go#L15688-L15691
2,893
aws/aws-sdk-go
service/clouddirectory/api.go
SetAttributeActionType
func (s *LinkAttributeAction) SetAttributeActionType(v string) *LinkAttributeAction { s.AttributeActionType = &v return s }
go
func (s *LinkAttributeAction) SetAttributeActionType(v string) *LinkAttributeAction { s.AttributeActionType = &v return s }
[ "func", "(", "s", "*", "LinkAttributeAction", ")", "SetAttributeActionType", "(", "v", "string", ")", "*", "LinkAttributeAction", "{", "s", ".", "AttributeActionType", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetAttributeActionType sets the AttributeActionType field's value.
[ "SetAttributeActionType", "sets", "the", "AttributeActionType", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/clouddirectory/api.go#L15722-L15725
2,894
aws/aws-sdk-go
service/clouddirectory/api.go
SetAttributeUpdateValue
func (s *LinkAttributeAction) SetAttributeUpdateValue(v *TypedAttributeValue) *LinkAttributeAction { s.AttributeUpdateValue = v return s }
go
func (s *LinkAttributeAction) SetAttributeUpdateValue(v *TypedAttributeValue) *LinkAttributeAction { s.AttributeUpdateValue = v return s }
[ "func", "(", "s", "*", "LinkAttributeAction", ")", "SetAttributeUpdateValue", "(", "v", "*", "TypedAttributeValue", ")", "*", "LinkAttributeAction", "{", "s", ".", "AttributeUpdateValue", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetAttributeUpdateValue sets the AttributeUpdateValue field's value.
[ "SetAttributeUpdateValue", "sets", "the", "AttributeUpdateValue", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/clouddirectory/api.go#L15728-L15731
2,895
aws/aws-sdk-go
service/clouddirectory/api.go
SetAttributeAction
func (s *LinkAttributeUpdate) SetAttributeAction(v *LinkAttributeAction) *LinkAttributeUpdate { s.AttributeAction = v return s }
go
func (s *LinkAttributeUpdate) SetAttributeAction(v *LinkAttributeAction) *LinkAttributeUpdate { s.AttributeAction = v return s }
[ "func", "(", "s", "*", "LinkAttributeUpdate", ")", "SetAttributeAction", "(", "v", "*", "LinkAttributeAction", ")", "*", "LinkAttributeUpdate", "{", "s", ".", "AttributeAction", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetAttributeAction sets the AttributeAction field's value.
[ "SetAttributeAction", "sets", "the", "AttributeAction", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/clouddirectory/api.go#L15770-L15773
2,896
aws/aws-sdk-go
service/clouddirectory/api.go
SetIncludeAllLinksToEachParent
func (s *ListObjectParentsInput) SetIncludeAllLinksToEachParent(v bool) *ListObjectParentsInput { s.IncludeAllLinksToEachParent = &v return s }
go
func (s *ListObjectParentsInput) SetIncludeAllLinksToEachParent(v bool) *ListObjectParentsInput { s.IncludeAllLinksToEachParent = &v return s }
[ "func", "(", "s", "*", "ListObjectParentsInput", ")", "SetIncludeAllLinksToEachParent", "(", "v", "bool", ")", "*", "ListObjectParentsInput", "{", "s", ".", "IncludeAllLinksToEachParent", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetIncludeAllLinksToEachParent sets the IncludeAllLinksToEachParent field's value.
[ "SetIncludeAllLinksToEachParent", "sets", "the", "IncludeAllLinksToEachParent", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/clouddirectory/api.go#L17167-L17170
2,897
aws/aws-sdk-go
service/clouddirectory/api.go
SetObjectAttributeActionType
func (s *ObjectAttributeAction) SetObjectAttributeActionType(v string) *ObjectAttributeAction { s.ObjectAttributeActionType = &v return s }
go
func (s *ObjectAttributeAction) SetObjectAttributeActionType(v string) *ObjectAttributeAction { s.ObjectAttributeActionType = &v return s }
[ "func", "(", "s", "*", "ObjectAttributeAction", ")", "SetObjectAttributeActionType", "(", "v", "string", ")", "*", "ObjectAttributeAction", "{", "s", ".", "ObjectAttributeActionType", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetObjectAttributeActionType sets the ObjectAttributeActionType field's value.
[ "SetObjectAttributeActionType", "sets", "the", "ObjectAttributeActionType", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/clouddirectory/api.go#L18128-L18131
2,898
aws/aws-sdk-go
service/clouddirectory/api.go
SetObjectAttributeUpdateValue
func (s *ObjectAttributeAction) SetObjectAttributeUpdateValue(v *TypedAttributeValue) *ObjectAttributeAction { s.ObjectAttributeUpdateValue = v return s }
go
func (s *ObjectAttributeAction) SetObjectAttributeUpdateValue(v *TypedAttributeValue) *ObjectAttributeAction { s.ObjectAttributeUpdateValue = v return s }
[ "func", "(", "s", "*", "ObjectAttributeAction", ")", "SetObjectAttributeUpdateValue", "(", "v", "*", "TypedAttributeValue", ")", "*", "ObjectAttributeAction", "{", "s", ".", "ObjectAttributeUpdateValue", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetObjectAttributeUpdateValue sets the ObjectAttributeUpdateValue field's value.
[ "SetObjectAttributeUpdateValue", "sets", "the", "ObjectAttributeUpdateValue", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/clouddirectory/api.go#L18134-L18137
2,899
aws/aws-sdk-go
service/clouddirectory/api.go
SetObjectAttributeAction
func (s *ObjectAttributeUpdate) SetObjectAttributeAction(v *ObjectAttributeAction) *ObjectAttributeUpdate { s.ObjectAttributeAction = v return s }
go
func (s *ObjectAttributeUpdate) SetObjectAttributeAction(v *ObjectAttributeAction) *ObjectAttributeUpdate { s.ObjectAttributeAction = v return s }
[ "func", "(", "s", "*", "ObjectAttributeUpdate", ")", "SetObjectAttributeAction", "(", "v", "*", "ObjectAttributeAction", ")", "*", "ObjectAttributeUpdate", "{", "s", ".", "ObjectAttributeAction", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetObjectAttributeAction sets the ObjectAttributeAction field's value.
[ "SetObjectAttributeAction", "sets", "the", "ObjectAttributeAction", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/clouddirectory/api.go#L18229-L18232