id
int32
0
167k
repo
stringlengths
5
54
path
stringlengths
4
155
func_name
stringlengths
1
118
original_string
stringlengths
52
85.5k
language
stringclasses
1 value
code
stringlengths
52
85.5k
code_tokens
sequencelengths
21
1.41k
docstring
stringlengths
6
2.61k
docstring_tokens
sequencelengths
3
215
sha
stringlengths
40
40
url
stringlengths
85
252
165,500
aws/aws-sdk-go
service/autoscaling/api.go
SetMetricIntervalUpperBound
func (s *StepAdjustment) SetMetricIntervalUpperBound(v float64) *StepAdjustment { s.MetricIntervalUpperBound = &v return s }
go
func (s *StepAdjustment) SetMetricIntervalUpperBound(v float64) *StepAdjustment { s.MetricIntervalUpperBound = &v return s }
[ "func", "(", "s", "*", "StepAdjustment", ")", "SetMetricIntervalUpperBound", "(", "v", "float64", ")", "*", "StepAdjustment", "{", "s", ".", "MetricIntervalUpperBound", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetMetricIntervalUpperBound sets the MetricIntervalUpperBound field's value.
[ "SetMetricIntervalUpperBound", "sets", "the", "MetricIntervalUpperBound", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/autoscaling/api.go#L12864-L12867
165,501
aws/aws-sdk-go
service/autoscaling/api.go
SetSuspensionReason
func (s *SuspendedProcess) SetSuspensionReason(v string) *SuspendedProcess { s.SuspensionReason = &v return s }
go
func (s *SuspendedProcess) SetSuspensionReason(v string) *SuspendedProcess { s.SuspensionReason = &v return s }
[ "func", "(", "s", "*", "SuspendedProcess", ")", "SetSuspensionReason", "(", "v", "string", ")", "*", "SuspendedProcess", "{", "s", ".", "SuspensionReason", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetSuspensionReason sets the SuspensionReason field's value.
[ "SetSuspensionReason", "sets", "the", "SuspensionReason", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/autoscaling/api.go#L12918-L12921
165,502
aws/aws-sdk-go
service/autoscaling/api.go
SetActivity
func (s *TerminateInstanceInAutoScalingGroupOutput) SetActivity(v *Activity) *TerminateInstanceInAutoScalingGroupOutput { s.Activity = v return s }
go
func (s *TerminateInstanceInAutoScalingGroupOutput) SetActivity(v *Activity) *TerminateInstanceInAutoScalingGroupOutput { s.Activity = v return s }
[ "func", "(", "s", "*", "TerminateInstanceInAutoScalingGroupOutput", ")", "SetActivity", "(", "v", "*", "Activity", ")", "*", "TerminateInstanceInAutoScalingGroupOutput", "{", "s", ".", "Activity", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetActivity sets the Activity field's value.
[ "SetActivity", "sets", "the", "Activity", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/autoscaling/api.go#L13219-L13222
165,503
aws/aws-sdk-go
internal/ini/comment_token.go
newCommentToken
func newCommentToken(b []rune) (Token, int, error) { i := 0 for ; i < len(b); i++ { if b[i] == '\n' { break } if len(b)-i > 2 && b[i] == '\r' && b[i+1] == '\n' { break } } return newToken(TokenComment, b[:i], NoneType), i, nil }
go
func newCommentToken(b []rune) (Token, int, error) { i := 0 for ; i < len(b); i++ { if b[i] == '\n' { break } if len(b)-i > 2 && b[i] == '\r' && b[i+1] == '\n' { break } } return newToken(TokenComment, b[:i], NoneType), i, nil }
[ "func", "newCommentToken", "(", "b", "[", "]", "rune", ")", "(", "Token", ",", "int", ",", "error", ")", "{", "i", ":=", "0", "\n", "for", ";", "i", "<", "len", "(", "b", ")", ";", "i", "++", "{", "if", "b", "[", "i", "]", "==", "'\\n'", "{", "break", "\n", "}", "\n\n", "if", "len", "(", "b", ")", "-", "i", ">", "2", "&&", "b", "[", "i", "]", "==", "'\\r'", "&&", "b", "[", "i", "+", "1", "]", "==", "'\\n'", "{", "break", "\n", "}", "\n", "}", "\n\n", "return", "newToken", "(", "TokenComment", ",", "b", "[", ":", "i", "]", ",", "NoneType", ")", ",", "i", ",", "nil", "\n", "}" ]
// newCommentToken will create a comment token and // return how many bytes were read.
[ "newCommentToken", "will", "create", "a", "comment", "token", "and", "return", "how", "many", "bytes", "were", "read", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/internal/ini/comment_token.go#L22-L35
165,504
aws/aws-sdk-go
aws/credentials/stscreds/assume_role_provider.go
StdinTokenProvider
func StdinTokenProvider() (string, error) { var v string fmt.Fprintf(os.Stderr, "Assume Role MFA token code: ") _, err := fmt.Scanln(&v) return v, err }
go
func StdinTokenProvider() (string, error) { var v string fmt.Fprintf(os.Stderr, "Assume Role MFA token code: ") _, err := fmt.Scanln(&v) return v, err }
[ "func", "StdinTokenProvider", "(", ")", "(", "string", ",", "error", ")", "{", "var", "v", "string", "\n", "fmt", ".", "Fprintf", "(", "os", ".", "Stderr", ",", "\"", "\"", ")", "\n", "_", ",", "err", ":=", "fmt", ".", "Scanln", "(", "&", "v", ")", "\n\n", "return", "v", ",", "err", "\n", "}" ]
// StdinTokenProvider will prompt on stderr and read from stdin for a string value. // An error is returned if reading from stdin fails. // // Use this function go read MFA tokens from stdin. The function makes no attempt // to make atomic prompts from stdin across multiple gorouties. // // Using StdinTokenProvider with multiple AssumeRoleProviders, or Credentials will // have undesirable results as the StdinTokenProvider will not be synchronized. A // single Credentials with an AssumeRoleProvider can be shared safely // // Will wait forever until something is provided on the stdin.
[ "StdinTokenProvider", "will", "prompt", "on", "stderr", "and", "read", "from", "stdin", "for", "a", "string", "value", ".", "An", "error", "is", "returned", "if", "reading", "from", "stdin", "fails", ".", "Use", "this", "function", "go", "read", "MFA", "tokens", "from", "stdin", ".", "The", "function", "makes", "no", "attempt", "to", "make", "atomic", "prompts", "from", "stdin", "across", "multiple", "gorouties", ".", "Using", "StdinTokenProvider", "with", "multiple", "AssumeRoleProviders", "or", "Credentials", "will", "have", "undesirable", "results", "as", "the", "StdinTokenProvider", "will", "not", "be", "synchronized", ".", "A", "single", "Credentials", "with", "an", "AssumeRoleProvider", "can", "be", "shared", "safely", "Will", "wait", "forever", "until", "something", "is", "provided", "on", "the", "stdin", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/credentials/stscreds/assume_role_provider.go#L105-L111
165,505
aws/aws-sdk-go
aws/credentials/stscreds/assume_role_provider.go
NewCredentials
func NewCredentials(c client.ConfigProvider, roleARN string, options ...func(*AssumeRoleProvider)) *credentials.Credentials { p := &AssumeRoleProvider{ Client: sts.New(c), RoleARN: roleARN, Duration: DefaultDuration, } for _, option := range options { option(p) } return credentials.NewCredentials(p) }
go
func NewCredentials(c client.ConfigProvider, roleARN string, options ...func(*AssumeRoleProvider)) *credentials.Credentials { p := &AssumeRoleProvider{ Client: sts.New(c), RoleARN: roleARN, Duration: DefaultDuration, } for _, option := range options { option(p) } return credentials.NewCredentials(p) }
[ "func", "NewCredentials", "(", "c", "client", ".", "ConfigProvider", ",", "roleARN", "string", ",", "options", "...", "func", "(", "*", "AssumeRoleProvider", ")", ")", "*", "credentials", ".", "Credentials", "{", "p", ":=", "&", "AssumeRoleProvider", "{", "Client", ":", "sts", ".", "New", "(", "c", ")", ",", "RoleARN", ":", "roleARN", ",", "Duration", ":", "DefaultDuration", ",", "}", "\n\n", "for", "_", ",", "option", ":=", "range", "options", "{", "option", "(", "p", ")", "\n", "}", "\n\n", "return", "credentials", ".", "NewCredentials", "(", "p", ")", "\n", "}" ]
// NewCredentials returns a pointer to a new Credentials object wrapping the // AssumeRoleProvider. The credentials will expire every 15 minutes and the // role will be named after a nanosecond timestamp of this operation. // // Takes a Config provider to create the STS client. The ConfigProvider is // satisfied by the session.Session type. // // It is safe to share the returned Credentials with multiple Sessions and // service clients. All access to the credentials and refreshing them // will be synchronized.
[ "NewCredentials", "returns", "a", "pointer", "to", "a", "new", "Credentials", "object", "wrapping", "the", "AssumeRoleProvider", ".", "The", "credentials", "will", "expire", "every", "15", "minutes", "and", "the", "role", "will", "be", "named", "after", "a", "nanosecond", "timestamp", "of", "this", "operation", ".", "Takes", "a", "Config", "provider", "to", "create", "the", "STS", "client", ".", "The", "ConfigProvider", "is", "satisfied", "by", "the", "session", ".", "Session", "type", ".", "It", "is", "safe", "to", "share", "the", "returned", "Credentials", "with", "multiple", "Sessions", "and", "service", "clients", ".", "All", "access", "to", "the", "credentials", "and", "refreshing", "them", "will", "be", "synchronized", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/credentials/stscreds/assume_role_provider.go#L222-L234
165,506
aws/aws-sdk-go
aws/credentials/stscreds/assume_role_provider.go
NewCredentialsWithClient
func NewCredentialsWithClient(svc AssumeRoler, roleARN string, options ...func(*AssumeRoleProvider)) *credentials.Credentials { p := &AssumeRoleProvider{ Client: svc, RoleARN: roleARN, Duration: DefaultDuration, } for _, option := range options { option(p) } return credentials.NewCredentials(p) }
go
func NewCredentialsWithClient(svc AssumeRoler, roleARN string, options ...func(*AssumeRoleProvider)) *credentials.Credentials { p := &AssumeRoleProvider{ Client: svc, RoleARN: roleARN, Duration: DefaultDuration, } for _, option := range options { option(p) } return credentials.NewCredentials(p) }
[ "func", "NewCredentialsWithClient", "(", "svc", "AssumeRoler", ",", "roleARN", "string", ",", "options", "...", "func", "(", "*", "AssumeRoleProvider", ")", ")", "*", "credentials", ".", "Credentials", "{", "p", ":=", "&", "AssumeRoleProvider", "{", "Client", ":", "svc", ",", "RoleARN", ":", "roleARN", ",", "Duration", ":", "DefaultDuration", ",", "}", "\n\n", "for", "_", ",", "option", ":=", "range", "options", "{", "option", "(", "p", ")", "\n", "}", "\n\n", "return", "credentials", ".", "NewCredentials", "(", "p", ")", "\n", "}" ]
// NewCredentialsWithClient returns a pointer to a new Credentials object wrapping the // AssumeRoleProvider. The credentials will expire every 15 minutes and the // role will be named after a nanosecond timestamp of this operation. // // Takes an AssumeRoler which can be satisfied by the STS client. // // It is safe to share the returned Credentials with multiple Sessions and // service clients. All access to the credentials and refreshing them // will be synchronized.
[ "NewCredentialsWithClient", "returns", "a", "pointer", "to", "a", "new", "Credentials", "object", "wrapping", "the", "AssumeRoleProvider", ".", "The", "credentials", "will", "expire", "every", "15", "minutes", "and", "the", "role", "will", "be", "named", "after", "a", "nanosecond", "timestamp", "of", "this", "operation", ".", "Takes", "an", "AssumeRoler", "which", "can", "be", "satisfied", "by", "the", "STS", "client", ".", "It", "is", "safe", "to", "share", "the", "returned", "Credentials", "with", "multiple", "Sessions", "and", "service", "clients", ".", "All", "access", "to", "the", "credentials", "and", "refreshing", "them", "will", "be", "synchronized", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/credentials/stscreds/assume_role_provider.go#L245-L257
165,507
aws/aws-sdk-go
aws/credentials/stscreds/assume_role_provider.go
Retrieve
func (p *AssumeRoleProvider) Retrieve() (credentials.Value, error) { // Apply defaults where parameters are not set. if p.RoleSessionName == "" { // Try to work out a role name that will hopefully end up unique. p.RoleSessionName = fmt.Sprintf("%d", time.Now().UTC().UnixNano()) } if p.Duration == 0 { // Expire as often as AWS permits. p.Duration = DefaultDuration } jitter := time.Duration(sdkrand.SeededRand.Float64() * p.MaxJitterFrac * float64(p.Duration)) input := &sts.AssumeRoleInput{ DurationSeconds: aws.Int64(int64((p.Duration - jitter) / time.Second)), RoleArn: aws.String(p.RoleARN), RoleSessionName: aws.String(p.RoleSessionName), ExternalId: p.ExternalID, } if p.Policy != nil { input.Policy = p.Policy } if p.SerialNumber != nil { if p.TokenCode != nil { input.SerialNumber = p.SerialNumber input.TokenCode = p.TokenCode } else if p.TokenProvider != nil { input.SerialNumber = p.SerialNumber code, err := p.TokenProvider() if err != nil { return credentials.Value{ProviderName: ProviderName}, err } input.TokenCode = aws.String(code) } else { return credentials.Value{ProviderName: ProviderName}, awserr.New("AssumeRoleTokenNotAvailable", "assume role with MFA enabled, but neither TokenCode nor TokenProvider are set", nil) } } roleOutput, err := p.Client.AssumeRole(input) if err != nil { return credentials.Value{ProviderName: ProviderName}, err } // We will proactively generate new credentials before they expire. p.SetExpiration(*roleOutput.Credentials.Expiration, p.ExpiryWindow) return credentials.Value{ AccessKeyID: *roleOutput.Credentials.AccessKeyId, SecretAccessKey: *roleOutput.Credentials.SecretAccessKey, SessionToken: *roleOutput.Credentials.SessionToken, ProviderName: ProviderName, }, nil }
go
func (p *AssumeRoleProvider) Retrieve() (credentials.Value, error) { // Apply defaults where parameters are not set. if p.RoleSessionName == "" { // Try to work out a role name that will hopefully end up unique. p.RoleSessionName = fmt.Sprintf("%d", time.Now().UTC().UnixNano()) } if p.Duration == 0 { // Expire as often as AWS permits. p.Duration = DefaultDuration } jitter := time.Duration(sdkrand.SeededRand.Float64() * p.MaxJitterFrac * float64(p.Duration)) input := &sts.AssumeRoleInput{ DurationSeconds: aws.Int64(int64((p.Duration - jitter) / time.Second)), RoleArn: aws.String(p.RoleARN), RoleSessionName: aws.String(p.RoleSessionName), ExternalId: p.ExternalID, } if p.Policy != nil { input.Policy = p.Policy } if p.SerialNumber != nil { if p.TokenCode != nil { input.SerialNumber = p.SerialNumber input.TokenCode = p.TokenCode } else if p.TokenProvider != nil { input.SerialNumber = p.SerialNumber code, err := p.TokenProvider() if err != nil { return credentials.Value{ProviderName: ProviderName}, err } input.TokenCode = aws.String(code) } else { return credentials.Value{ProviderName: ProviderName}, awserr.New("AssumeRoleTokenNotAvailable", "assume role with MFA enabled, but neither TokenCode nor TokenProvider are set", nil) } } roleOutput, err := p.Client.AssumeRole(input) if err != nil { return credentials.Value{ProviderName: ProviderName}, err } // We will proactively generate new credentials before they expire. p.SetExpiration(*roleOutput.Credentials.Expiration, p.ExpiryWindow) return credentials.Value{ AccessKeyID: *roleOutput.Credentials.AccessKeyId, SecretAccessKey: *roleOutput.Credentials.SecretAccessKey, SessionToken: *roleOutput.Credentials.SessionToken, ProviderName: ProviderName, }, nil }
[ "func", "(", "p", "*", "AssumeRoleProvider", ")", "Retrieve", "(", ")", "(", "credentials", ".", "Value", ",", "error", ")", "{", "// Apply defaults where parameters are not set.", "if", "p", ".", "RoleSessionName", "==", "\"", "\"", "{", "// Try to work out a role name that will hopefully end up unique.", "p", ".", "RoleSessionName", "=", "fmt", ".", "Sprintf", "(", "\"", "\"", ",", "time", ".", "Now", "(", ")", ".", "UTC", "(", ")", ".", "UnixNano", "(", ")", ")", "\n", "}", "\n", "if", "p", ".", "Duration", "==", "0", "{", "// Expire as often as AWS permits.", "p", ".", "Duration", "=", "DefaultDuration", "\n", "}", "\n", "jitter", ":=", "time", ".", "Duration", "(", "sdkrand", ".", "SeededRand", ".", "Float64", "(", ")", "*", "p", ".", "MaxJitterFrac", "*", "float64", "(", "p", ".", "Duration", ")", ")", "\n", "input", ":=", "&", "sts", ".", "AssumeRoleInput", "{", "DurationSeconds", ":", "aws", ".", "Int64", "(", "int64", "(", "(", "p", ".", "Duration", "-", "jitter", ")", "/", "time", ".", "Second", ")", ")", ",", "RoleArn", ":", "aws", ".", "String", "(", "p", ".", "RoleARN", ")", ",", "RoleSessionName", ":", "aws", ".", "String", "(", "p", ".", "RoleSessionName", ")", ",", "ExternalId", ":", "p", ".", "ExternalID", ",", "}", "\n", "if", "p", ".", "Policy", "!=", "nil", "{", "input", ".", "Policy", "=", "p", ".", "Policy", "\n", "}", "\n", "if", "p", ".", "SerialNumber", "!=", "nil", "{", "if", "p", ".", "TokenCode", "!=", "nil", "{", "input", ".", "SerialNumber", "=", "p", ".", "SerialNumber", "\n", "input", ".", "TokenCode", "=", "p", ".", "TokenCode", "\n", "}", "else", "if", "p", ".", "TokenProvider", "!=", "nil", "{", "input", ".", "SerialNumber", "=", "p", ".", "SerialNumber", "\n", "code", ",", "err", ":=", "p", ".", "TokenProvider", "(", ")", "\n", "if", "err", "!=", "nil", "{", "return", "credentials", ".", "Value", "{", "ProviderName", ":", "ProviderName", "}", ",", "err", "\n", "}", "\n", "input", ".", "TokenCode", "=", "aws", ".", "String", "(", "code", ")", "\n", "}", "else", "{", "return", "credentials", ".", "Value", "{", "ProviderName", ":", "ProviderName", "}", ",", "awserr", ".", "New", "(", "\"", "\"", ",", "\"", "\"", ",", "nil", ")", "\n", "}", "\n", "}", "\n\n", "roleOutput", ",", "err", ":=", "p", ".", "Client", ".", "AssumeRole", "(", "input", ")", "\n", "if", "err", "!=", "nil", "{", "return", "credentials", ".", "Value", "{", "ProviderName", ":", "ProviderName", "}", ",", "err", "\n", "}", "\n\n", "// We will proactively generate new credentials before they expire.", "p", ".", "SetExpiration", "(", "*", "roleOutput", ".", "Credentials", ".", "Expiration", ",", "p", ".", "ExpiryWindow", ")", "\n\n", "return", "credentials", ".", "Value", "{", "AccessKeyID", ":", "*", "roleOutput", ".", "Credentials", ".", "AccessKeyId", ",", "SecretAccessKey", ":", "*", "roleOutput", ".", "Credentials", ".", "SecretAccessKey", ",", "SessionToken", ":", "*", "roleOutput", ".", "Credentials", ".", "SessionToken", ",", "ProviderName", ":", "ProviderName", ",", "}", ",", "nil", "\n", "}" ]
// Retrieve generates a new set of temporary credentials using STS.
[ "Retrieve", "generates", "a", "new", "set", "of", "temporary", "credentials", "using", "STS", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/credentials/stscreds/assume_role_provider.go#L260-L313
165,508
aws/aws-sdk-go
aws/context_sleep.go
SleepWithContext
func SleepWithContext(ctx Context, dur time.Duration) error { t := time.NewTimer(dur) defer t.Stop() select { case <-t.C: break case <-ctx.Done(): return ctx.Err() } return nil }
go
func SleepWithContext(ctx Context, dur time.Duration) error { t := time.NewTimer(dur) defer t.Stop() select { case <-t.C: break case <-ctx.Done(): return ctx.Err() } return nil }
[ "func", "SleepWithContext", "(", "ctx", "Context", ",", "dur", "time", ".", "Duration", ")", "error", "{", "t", ":=", "time", ".", "NewTimer", "(", "dur", ")", "\n", "defer", "t", ".", "Stop", "(", ")", "\n\n", "select", "{", "case", "<-", "t", ".", "C", ":", "break", "\n", "case", "<-", "ctx", ".", "Done", "(", ")", ":", "return", "ctx", ".", "Err", "(", ")", "\n", "}", "\n\n", "return", "nil", "\n", "}" ]
// SleepWithContext will wait for the timer duration to expire, or the context // is canceled. Which ever happens first. If the context is canceled the Context's // error will be returned. // // Expects Context to always return a non-nil error if the Done channel is closed.
[ "SleepWithContext", "will", "wait", "for", "the", "timer", "duration", "to", "expire", "or", "the", "context", "is", "canceled", ".", "Which", "ever", "happens", "first", ".", "If", "the", "context", "is", "canceled", "the", "Context", "s", "error", "will", "be", "returned", ".", "Expects", "Context", "to", "always", "return", "a", "non", "-", "nil", "error", "if", "the", "Done", "channel", "is", "closed", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/context_sleep.go#L12-L24
165,509
aws/aws-sdk-go
service/emr/api.go
SetInstanceGroupIds
func (s *AddInstanceGroupsOutput) SetInstanceGroupIds(v []*string) *AddInstanceGroupsOutput { s.InstanceGroupIds = v return s }
go
func (s *AddInstanceGroupsOutput) SetInstanceGroupIds(v []*string) *AddInstanceGroupsOutput { s.InstanceGroupIds = v return s }
[ "func", "(", "s", "*", "AddInstanceGroupsOutput", ")", "SetInstanceGroupIds", "(", "v", "[", "]", "*", "string", ")", "*", "AddInstanceGroupsOutput", "{", "s", ".", "InstanceGroupIds", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetInstanceGroupIds sets the InstanceGroupIds field's value.
[ "SetInstanceGroupIds", "sets", "the", "InstanceGroupIds", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/emr/api.go#L2922-L2925
165,510
aws/aws-sdk-go
service/emr/api.go
SetScriptBootstrapAction
func (s *BootstrapActionConfig) SetScriptBootstrapAction(v *ScriptBootstrapActionConfig) *BootstrapActionConfig { s.ScriptBootstrapAction = v return s }
go
func (s *BootstrapActionConfig) SetScriptBootstrapAction(v *ScriptBootstrapActionConfig) *BootstrapActionConfig { s.ScriptBootstrapAction = v return s }
[ "func", "(", "s", "*", "BootstrapActionConfig", ")", "SetScriptBootstrapAction", "(", "v", "*", "ScriptBootstrapActionConfig", ")", "*", "BootstrapActionConfig", "{", "s", ".", "ScriptBootstrapAction", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetScriptBootstrapAction sets the ScriptBootstrapAction field's value.
[ "SetScriptBootstrapAction", "sets", "the", "ScriptBootstrapAction", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/emr/api.go#L3397-L3400
165,511
aws/aws-sdk-go
service/emr/api.go
SetBootstrapActionConfig
func (s *BootstrapActionDetail) SetBootstrapActionConfig(v *BootstrapActionConfig) *BootstrapActionDetail { s.BootstrapActionConfig = v return s }
go
func (s *BootstrapActionDetail) SetBootstrapActionConfig(v *BootstrapActionConfig) *BootstrapActionDetail { s.BootstrapActionConfig = v return s }
[ "func", "(", "s", "*", "BootstrapActionDetail", ")", "SetBootstrapActionConfig", "(", "v", "*", "BootstrapActionConfig", ")", "*", "BootstrapActionDetail", "{", "s", ".", "BootstrapActionConfig", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetBootstrapActionConfig sets the BootstrapActionConfig field's value.
[ "SetBootstrapActionConfig", "sets", "the", "BootstrapActionConfig", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/emr/api.go#L3421-L3424
165,512
aws/aws-sdk-go
service/emr/api.go
SetCancelStepsInfoList
func (s *CancelStepsOutput) SetCancelStepsInfoList(v []*CancelStepsInfo) *CancelStepsOutput { s.CancelStepsInfoList = v return s }
go
func (s *CancelStepsOutput) SetCancelStepsInfoList(v []*CancelStepsInfo) *CancelStepsOutput { s.CancelStepsInfoList = v return s }
[ "func", "(", "s", "*", "CancelStepsOutput", ")", "SetCancelStepsInfoList", "(", "v", "[", "]", "*", "CancelStepsInfo", ")", "*", "CancelStepsOutput", "{", "s", ".", "CancelStepsInfoList", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetCancelStepsInfoList sets the CancelStepsInfoList field's value.
[ "SetCancelStepsInfoList", "sets", "the", "CancelStepsInfoList", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/emr/api.go#L3524-L3527
165,513
aws/aws-sdk-go
service/emr/api.go
SetAutoTerminate
func (s *Cluster) SetAutoTerminate(v bool) *Cluster { s.AutoTerminate = &v return s }
go
func (s *Cluster) SetAutoTerminate(v bool) *Cluster { s.AutoTerminate = &v return s }
[ "func", "(", "s", "*", "Cluster", ")", "SetAutoTerminate", "(", "v", "bool", ")", "*", "Cluster", "{", "s", ".", "AutoTerminate", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetAutoTerminate sets the AutoTerminate field's value.
[ "SetAutoTerminate", "sets", "the", "AutoTerminate", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/emr/api.go#L3816-L3819
165,514
aws/aws-sdk-go
service/emr/api.go
SetEc2InstanceAttributes
func (s *Cluster) SetEc2InstanceAttributes(v *Ec2InstanceAttributes) *Cluster { s.Ec2InstanceAttributes = v return s }
go
func (s *Cluster) SetEc2InstanceAttributes(v *Ec2InstanceAttributes) *Cluster { s.Ec2InstanceAttributes = v return s }
[ "func", "(", "s", "*", "Cluster", ")", "SetEc2InstanceAttributes", "(", "v", "*", "Ec2InstanceAttributes", ")", "*", "Cluster", "{", "s", ".", "Ec2InstanceAttributes", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetEc2InstanceAttributes sets the Ec2InstanceAttributes field's value.
[ "SetEc2InstanceAttributes", "sets", "the", "Ec2InstanceAttributes", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/emr/api.go#L3840-L3843
165,515
aws/aws-sdk-go
service/emr/api.go
SetInstanceCollectionType
func (s *Cluster) SetInstanceCollectionType(v string) *Cluster { s.InstanceCollectionType = &v return s }
go
func (s *Cluster) SetInstanceCollectionType(v string) *Cluster { s.InstanceCollectionType = &v return s }
[ "func", "(", "s", "*", "Cluster", ")", "SetInstanceCollectionType", "(", "v", "string", ")", "*", "Cluster", "{", "s", ".", "InstanceCollectionType", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetInstanceCollectionType sets the InstanceCollectionType field's value.
[ "SetInstanceCollectionType", "sets", "the", "InstanceCollectionType", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/emr/api.go#L3852-L3855
165,516
aws/aws-sdk-go
service/emr/api.go
SetRequestedAmiVersion
func (s *Cluster) SetRequestedAmiVersion(v string) *Cluster { s.RequestedAmiVersion = &v return s }
go
func (s *Cluster) SetRequestedAmiVersion(v string) *Cluster { s.RequestedAmiVersion = &v return s }
[ "func", "(", "s", "*", "Cluster", ")", "SetRequestedAmiVersion", "(", "v", "string", ")", "*", "Cluster", "{", "s", ".", "RequestedAmiVersion", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetRequestedAmiVersion sets the RequestedAmiVersion field's value.
[ "SetRequestedAmiVersion", "sets", "the", "RequestedAmiVersion", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/emr/api.go#L3900-L3903
165,517
aws/aws-sdk-go
service/emr/api.go
SetRunningAmiVersion
func (s *Cluster) SetRunningAmiVersion(v string) *Cluster { s.RunningAmiVersion = &v return s }
go
func (s *Cluster) SetRunningAmiVersion(v string) *Cluster { s.RunningAmiVersion = &v return s }
[ "func", "(", "s", "*", "Cluster", ")", "SetRunningAmiVersion", "(", "v", "string", ")", "*", "Cluster", "{", "s", ".", "RunningAmiVersion", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetRunningAmiVersion sets the RunningAmiVersion field's value.
[ "SetRunningAmiVersion", "sets", "the", "RunningAmiVersion", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/emr/api.go#L3906-L3909
165,518
aws/aws-sdk-go
service/emr/api.go
SetScriptPath
func (s *Command) SetScriptPath(v string) *Command { s.ScriptPath = &v return s }
go
func (s *Command) SetScriptPath(v string) *Command { s.ScriptPath = &v return s }
[ "func", "(", "s", "*", "Command", ")", "SetScriptPath", "(", "v", "string", ")", "*", "Command", "{", "s", ".", "ScriptPath", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetScriptPath sets the ScriptPath field's value.
[ "SetScriptPath", "sets", "the", "ScriptPath", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/emr/api.go#L4164-L4167
165,519
aws/aws-sdk-go
service/emr/api.go
SetJobFlowStates
func (s *DescribeJobFlowsInput) SetJobFlowStates(v []*string) *DescribeJobFlowsInput { s.JobFlowStates = v return s }
go
func (s *DescribeJobFlowsInput) SetJobFlowStates(v []*string) *DescribeJobFlowsInput { s.JobFlowStates = v return s }
[ "func", "(", "s", "*", "DescribeJobFlowsInput", ")", "SetJobFlowStates", "(", "v", "[", "]", "*", "string", ")", "*", "DescribeJobFlowsInput", "{", "s", ".", "JobFlowStates", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetJobFlowStates sets the JobFlowStates field's value.
[ "SetJobFlowStates", "sets", "the", "JobFlowStates", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/emr/api.go#L4469-L4472
165,520
aws/aws-sdk-go
service/emr/api.go
SetJobFlows
func (s *DescribeJobFlowsOutput) SetJobFlows(v []*JobFlowDetail) *DescribeJobFlowsOutput { s.JobFlows = v return s }
go
func (s *DescribeJobFlowsOutput) SetJobFlows(v []*JobFlowDetail) *DescribeJobFlowsOutput { s.JobFlows = v return s }
[ "func", "(", "s", "*", "DescribeJobFlowsOutput", ")", "SetJobFlows", "(", "v", "[", "]", "*", "JobFlowDetail", ")", "*", "DescribeJobFlowsOutput", "{", "s", ".", "JobFlows", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetJobFlows sets the JobFlows field's value.
[ "SetJobFlows", "sets", "the", "JobFlows", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/emr/api.go#L4493-L4496
165,521
aws/aws-sdk-go
service/emr/api.go
SetVolumesPerInstance
func (s *EbsBlockDeviceConfig) SetVolumesPerInstance(v int64) *EbsBlockDeviceConfig { s.VolumesPerInstance = &v return s }
go
func (s *EbsBlockDeviceConfig) SetVolumesPerInstance(v int64) *EbsBlockDeviceConfig { s.VolumesPerInstance = &v return s }
[ "func", "(", "s", "*", "EbsBlockDeviceConfig", ")", "SetVolumesPerInstance", "(", "v", "int64", ")", "*", "EbsBlockDeviceConfig", "{", "s", ".", "VolumesPerInstance", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetVolumesPerInstance sets the VolumesPerInstance field's value.
[ "SetVolumesPerInstance", "sets", "the", "VolumesPerInstance", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/emr/api.go#L4740-L4743
165,522
aws/aws-sdk-go
service/emr/api.go
SetEbsBlockDeviceConfigs
func (s *EbsConfiguration) SetEbsBlockDeviceConfigs(v []*EbsBlockDeviceConfig) *EbsConfiguration { s.EbsBlockDeviceConfigs = v return s }
go
func (s *EbsConfiguration) SetEbsBlockDeviceConfigs(v []*EbsBlockDeviceConfig) *EbsConfiguration { s.EbsBlockDeviceConfigs = v return s }
[ "func", "(", "s", "*", "EbsConfiguration", ")", "SetEbsBlockDeviceConfigs", "(", "v", "[", "]", "*", "EbsBlockDeviceConfig", ")", "*", "EbsConfiguration", "{", "s", ".", "EbsBlockDeviceConfigs", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetEbsBlockDeviceConfigs sets the EbsBlockDeviceConfigs field's value.
[ "SetEbsBlockDeviceConfigs", "sets", "the", "EbsBlockDeviceConfigs", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/emr/api.go#L4787-L4790
165,523
aws/aws-sdk-go
service/emr/api.go
SetEc2AvailabilityZone
func (s *Ec2InstanceAttributes) SetEc2AvailabilityZone(v string) *Ec2InstanceAttributes { s.Ec2AvailabilityZone = &v return s }
go
func (s *Ec2InstanceAttributes) SetEc2AvailabilityZone(v string) *Ec2InstanceAttributes { s.Ec2AvailabilityZone = &v return s }
[ "func", "(", "s", "*", "Ec2InstanceAttributes", ")", "SetEc2AvailabilityZone", "(", "v", "string", ")", "*", "Ec2InstanceAttributes", "{", "s", ".", "Ec2AvailabilityZone", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetEc2AvailabilityZone sets the Ec2AvailabilityZone field's value.
[ "SetEc2AvailabilityZone", "sets", "the", "Ec2AvailabilityZone", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/emr/api.go#L4920-L4923
165,524
aws/aws-sdk-go
service/emr/api.go
SetRequestedEc2AvailabilityZones
func (s *Ec2InstanceAttributes) SetRequestedEc2AvailabilityZones(v []*string) *Ec2InstanceAttributes { s.RequestedEc2AvailabilityZones = v return s }
go
func (s *Ec2InstanceAttributes) SetRequestedEc2AvailabilityZones(v []*string) *Ec2InstanceAttributes { s.RequestedEc2AvailabilityZones = v return s }
[ "func", "(", "s", "*", "Ec2InstanceAttributes", ")", "SetRequestedEc2AvailabilityZones", "(", "v", "[", "]", "*", "string", ")", "*", "Ec2InstanceAttributes", "{", "s", ".", "RequestedEc2AvailabilityZones", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetRequestedEc2AvailabilityZones sets the RequestedEc2AvailabilityZones field's value.
[ "SetRequestedEc2AvailabilityZones", "sets", "the", "RequestedEc2AvailabilityZones", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/emr/api.go#L4956-L4959
165,525
aws/aws-sdk-go
service/emr/api.go
SetRequestedEc2SubnetIds
func (s *Ec2InstanceAttributes) SetRequestedEc2SubnetIds(v []*string) *Ec2InstanceAttributes { s.RequestedEc2SubnetIds = v return s }
go
func (s *Ec2InstanceAttributes) SetRequestedEc2SubnetIds(v []*string) *Ec2InstanceAttributes { s.RequestedEc2SubnetIds = v return s }
[ "func", "(", "s", "*", "Ec2InstanceAttributes", ")", "SetRequestedEc2SubnetIds", "(", "v", "[", "]", "*", "string", ")", "*", "Ec2InstanceAttributes", "{", "s", ".", "RequestedEc2SubnetIds", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetRequestedEc2SubnetIds sets the RequestedEc2SubnetIds field's value.
[ "SetRequestedEc2SubnetIds", "sets", "the", "RequestedEc2SubnetIds", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/emr/api.go#L4962-L4965
165,526
aws/aws-sdk-go
service/emr/api.go
SetEbsVolumes
func (s *Instance) SetEbsVolumes(v []*EbsVolume) *Instance { s.EbsVolumes = v return s }
go
func (s *Instance) SetEbsVolumes(v []*EbsVolume) *Instance { s.EbsVolumes = v return s }
[ "func", "(", "s", "*", "Instance", ")", "SetEbsVolumes", "(", "v", "[", "]", "*", "EbsVolume", ")", "*", "Instance", "{", "s", ".", "EbsVolumes", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetEbsVolumes sets the EbsVolumes field's value.
[ "SetEbsVolumes", "sets", "the", "EbsVolumes", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/emr/api.go#L5200-L5203
165,527
aws/aws-sdk-go
service/emr/api.go
SetPublicIpAddress
func (s *Instance) SetPublicIpAddress(v string) *Instance { s.PublicIpAddress = &v return s }
go
func (s *Instance) SetPublicIpAddress(v string) *Instance { s.PublicIpAddress = &v return s }
[ "func", "(", "s", "*", "Instance", ")", "SetPublicIpAddress", "(", "v", "string", ")", "*", "Instance", "{", "s", ".", "PublicIpAddress", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetPublicIpAddress sets the PublicIpAddress field's value.
[ "SetPublicIpAddress", "sets", "the", "PublicIpAddress", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/emr/api.go#L5260-L5263
165,528
aws/aws-sdk-go
service/emr/api.go
SetInstanceTypeSpecifications
func (s *InstanceFleet) SetInstanceTypeSpecifications(v []*InstanceTypeSpecification) *InstanceFleet { s.InstanceTypeSpecifications = v return s }
go
func (s *InstanceFleet) SetInstanceTypeSpecifications(v []*InstanceTypeSpecification) *InstanceFleet { s.InstanceTypeSpecifications = v return s }
[ "func", "(", "s", "*", "InstanceFleet", ")", "SetInstanceTypeSpecifications", "(", "v", "[", "]", "*", "InstanceTypeSpecification", ")", "*", "InstanceFleet", "{", "s", ".", "InstanceTypeSpecifications", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetInstanceTypeSpecifications sets the InstanceTypeSpecifications field's value.
[ "SetInstanceTypeSpecifications", "sets", "the", "InstanceTypeSpecifications", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/emr/api.go#L5375-L5378
165,529
aws/aws-sdk-go
service/emr/api.go
SetProvisionedOnDemandCapacity
func (s *InstanceFleet) SetProvisionedOnDemandCapacity(v int64) *InstanceFleet { s.ProvisionedOnDemandCapacity = &v return s }
go
func (s *InstanceFleet) SetProvisionedOnDemandCapacity(v int64) *InstanceFleet { s.ProvisionedOnDemandCapacity = &v return s }
[ "func", "(", "s", "*", "InstanceFleet", ")", "SetProvisionedOnDemandCapacity", "(", "v", "int64", ")", "*", "InstanceFleet", "{", "s", ".", "ProvisionedOnDemandCapacity", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetProvisionedOnDemandCapacity sets the ProvisionedOnDemandCapacity field's value.
[ "SetProvisionedOnDemandCapacity", "sets", "the", "ProvisionedOnDemandCapacity", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/emr/api.go#L5393-L5396
165,530
aws/aws-sdk-go
service/emr/api.go
SetProvisionedSpotCapacity
func (s *InstanceFleet) SetProvisionedSpotCapacity(v int64) *InstanceFleet { s.ProvisionedSpotCapacity = &v return s }
go
func (s *InstanceFleet) SetProvisionedSpotCapacity(v int64) *InstanceFleet { s.ProvisionedSpotCapacity = &v return s }
[ "func", "(", "s", "*", "InstanceFleet", ")", "SetProvisionedSpotCapacity", "(", "v", "int64", ")", "*", "InstanceFleet", "{", "s", ".", "ProvisionedSpotCapacity", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetProvisionedSpotCapacity sets the ProvisionedSpotCapacity field's value.
[ "SetProvisionedSpotCapacity", "sets", "the", "ProvisionedSpotCapacity", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/emr/api.go#L5399-L5402
165,531
aws/aws-sdk-go
service/emr/api.go
SetInstanceTypeConfigs
func (s *InstanceFleetConfig) SetInstanceTypeConfigs(v []*InstanceTypeConfig) *InstanceFleetConfig { s.InstanceTypeConfigs = v return s }
go
func (s *InstanceFleetConfig) SetInstanceTypeConfigs(v []*InstanceTypeConfig) *InstanceFleetConfig { s.InstanceTypeConfigs = v return s }
[ "func", "(", "s", "*", "InstanceFleetConfig", ")", "SetInstanceTypeConfigs", "(", "v", "[", "]", "*", "InstanceTypeConfig", ")", "*", "InstanceFleetConfig", "{", "s", ".", "InstanceTypeConfigs", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetInstanceTypeConfigs sets the InstanceTypeConfigs field's value.
[ "SetInstanceTypeConfigs", "sets", "the", "InstanceTypeConfigs", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/emr/api.go#L5526-L5529
165,532
aws/aws-sdk-go
service/emr/api.go
SetSpotSpecification
func (s *InstanceFleetProvisioningSpecifications) SetSpotSpecification(v *SpotProvisioningSpecification) *InstanceFleetProvisioningSpecifications { s.SpotSpecification = v return s }
go
func (s *InstanceFleetProvisioningSpecifications) SetSpotSpecification(v *SpotProvisioningSpecification) *InstanceFleetProvisioningSpecifications { s.SpotSpecification = v return s }
[ "func", "(", "s", "*", "InstanceFleetProvisioningSpecifications", ")", "SetSpotSpecification", "(", "v", "*", "SpotProvisioningSpecification", ")", "*", "InstanceFleetProvisioningSpecifications", "{", "s", ".", "SpotSpecification", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetSpotSpecification sets the SpotSpecification field's value.
[ "SetSpotSpecification", "sets", "the", "SpotSpecification", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/emr/api.go#L5661-L5664
165,533
aws/aws-sdk-go
service/emr/api.go
SetConfigurationsVersion
func (s *InstanceGroup) SetConfigurationsVersion(v int64) *InstanceGroup { s.ConfigurationsVersion = &v return s }
go
func (s *InstanceGroup) SetConfigurationsVersion(v int64) *InstanceGroup { s.ConfigurationsVersion = &v return s }
[ "func", "(", "s", "*", "InstanceGroup", ")", "SetConfigurationsVersion", "(", "v", "int64", ")", "*", "InstanceGroup", "{", "s", ".", "ConfigurationsVersion", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetConfigurationsVersion sets the ConfigurationsVersion field's value.
[ "SetConfigurationsVersion", "sets", "the", "ConfigurationsVersion", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/emr/api.go#L5918-L5921
165,534
aws/aws-sdk-go
service/emr/api.go
SetInstanceGroupType
func (s *InstanceGroup) SetInstanceGroupType(v string) *InstanceGroup { s.InstanceGroupType = &v return s }
go
func (s *InstanceGroup) SetInstanceGroupType(v string) *InstanceGroup { s.InstanceGroupType = &v return s }
[ "func", "(", "s", "*", "InstanceGroup", ")", "SetInstanceGroupType", "(", "v", "string", ")", "*", "InstanceGroup", "{", "s", ".", "InstanceGroupType", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetInstanceGroupType sets the InstanceGroupType field's value.
[ "SetInstanceGroupType", "sets", "the", "InstanceGroupType", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/emr/api.go#L5942-L5945
165,535
aws/aws-sdk-go
service/emr/api.go
SetLastSuccessfullyAppliedConfigurations
func (s *InstanceGroup) SetLastSuccessfullyAppliedConfigurations(v []*Configuration) *InstanceGroup { s.LastSuccessfullyAppliedConfigurations = v return s }
go
func (s *InstanceGroup) SetLastSuccessfullyAppliedConfigurations(v []*Configuration) *InstanceGroup { s.LastSuccessfullyAppliedConfigurations = v return s }
[ "func", "(", "s", "*", "InstanceGroup", ")", "SetLastSuccessfullyAppliedConfigurations", "(", "v", "[", "]", "*", "Configuration", ")", "*", "InstanceGroup", "{", "s", ".", "LastSuccessfullyAppliedConfigurations", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetLastSuccessfullyAppliedConfigurations sets the LastSuccessfullyAppliedConfigurations field's value.
[ "SetLastSuccessfullyAppliedConfigurations", "sets", "the", "LastSuccessfullyAppliedConfigurations", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/emr/api.go#L5954-L5957
165,536
aws/aws-sdk-go
service/emr/api.go
SetLastSuccessfullyAppliedConfigurationsVersion
func (s *InstanceGroup) SetLastSuccessfullyAppliedConfigurationsVersion(v int64) *InstanceGroup { s.LastSuccessfullyAppliedConfigurationsVersion = &v return s }
go
func (s *InstanceGroup) SetLastSuccessfullyAppliedConfigurationsVersion(v int64) *InstanceGroup { s.LastSuccessfullyAppliedConfigurationsVersion = &v return s }
[ "func", "(", "s", "*", "InstanceGroup", ")", "SetLastSuccessfullyAppliedConfigurationsVersion", "(", "v", "int64", ")", "*", "InstanceGroup", "{", "s", ".", "LastSuccessfullyAppliedConfigurationsVersion", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetLastSuccessfullyAppliedConfigurationsVersion sets the LastSuccessfullyAppliedConfigurationsVersion field's value.
[ "SetLastSuccessfullyAppliedConfigurationsVersion", "sets", "the", "LastSuccessfullyAppliedConfigurationsVersion", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/emr/api.go#L5960-L5963
165,537
aws/aws-sdk-go
service/emr/api.go
SetRequestedInstanceCount
func (s *InstanceGroup) SetRequestedInstanceCount(v int64) *InstanceGroup { s.RequestedInstanceCount = &v return s }
go
func (s *InstanceGroup) SetRequestedInstanceCount(v int64) *InstanceGroup { s.RequestedInstanceCount = &v return s }
[ "func", "(", "s", "*", "InstanceGroup", ")", "SetRequestedInstanceCount", "(", "v", "int64", ")", "*", "InstanceGroup", "{", "s", ".", "RequestedInstanceCount", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetRequestedInstanceCount sets the RequestedInstanceCount field's value.
[ "SetRequestedInstanceCount", "sets", "the", "RequestedInstanceCount", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/emr/api.go#L5978-L5981
165,538
aws/aws-sdk-go
service/emr/api.go
SetRunningInstanceCount
func (s *InstanceGroup) SetRunningInstanceCount(v int64) *InstanceGroup { s.RunningInstanceCount = &v return s }
go
func (s *InstanceGroup) SetRunningInstanceCount(v int64) *InstanceGroup { s.RunningInstanceCount = &v return s }
[ "func", "(", "s", "*", "InstanceGroup", ")", "SetRunningInstanceCount", "(", "v", "int64", ")", "*", "InstanceGroup", "{", "s", ".", "RunningInstanceCount", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetRunningInstanceCount sets the RunningInstanceCount field's value.
[ "SetRunningInstanceCount", "sets", "the", "RunningInstanceCount", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/emr/api.go#L5984-L5987
165,539
aws/aws-sdk-go
service/emr/api.go
SetInstanceRequestCount
func (s *InstanceGroupDetail) SetInstanceRequestCount(v int64) *InstanceGroupDetail { s.InstanceRequestCount = &v return s }
go
func (s *InstanceGroupDetail) SetInstanceRequestCount(v int64) *InstanceGroupDetail { s.InstanceRequestCount = &v return s }
[ "func", "(", "s", "*", "InstanceGroupDetail", ")", "SetInstanceRequestCount", "(", "v", "int64", ")", "*", "InstanceGroupDetail", "{", "s", ".", "InstanceRequestCount", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetInstanceRequestCount sets the InstanceRequestCount field's value.
[ "SetInstanceRequestCount", "sets", "the", "InstanceRequestCount", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/emr/api.go#L6249-L6252
165,540
aws/aws-sdk-go
service/emr/api.go
SetInstanceRunningCount
func (s *InstanceGroupDetail) SetInstanceRunningCount(v int64) *InstanceGroupDetail { s.InstanceRunningCount = &v return s }
go
func (s *InstanceGroupDetail) SetInstanceRunningCount(v int64) *InstanceGroupDetail { s.InstanceRunningCount = &v return s }
[ "func", "(", "s", "*", "InstanceGroupDetail", ")", "SetInstanceRunningCount", "(", "v", "int64", ")", "*", "InstanceGroupDetail", "{", "s", ".", "InstanceRunningCount", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetInstanceRunningCount sets the InstanceRunningCount field's value.
[ "SetInstanceRunningCount", "sets", "the", "InstanceRunningCount", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/emr/api.go#L6261-L6264
165,541
aws/aws-sdk-go
service/emr/api.go
SetEC2InstanceIdsToTerminate
func (s *InstanceGroupModifyConfig) SetEC2InstanceIdsToTerminate(v []*string) *InstanceGroupModifyConfig { s.EC2InstanceIdsToTerminate = v return s }
go
func (s *InstanceGroupModifyConfig) SetEC2InstanceIdsToTerminate(v []*string) *InstanceGroupModifyConfig { s.EC2InstanceIdsToTerminate = v return s }
[ "func", "(", "s", "*", "InstanceGroupModifyConfig", ")", "SetEC2InstanceIdsToTerminate", "(", "v", "[", "]", "*", "string", ")", "*", "InstanceGroupModifyConfig", "{", "s", ".", "EC2InstanceIdsToTerminate", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetEC2InstanceIdsToTerminate sets the EC2InstanceIdsToTerminate field's value.
[ "SetEC2InstanceIdsToTerminate", "sets", "the", "EC2InstanceIdsToTerminate", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/emr/api.go#L6361-L6364
165,542
aws/aws-sdk-go
service/emr/api.go
SetInstanceTerminationTimeout
func (s *InstanceResizePolicy) SetInstanceTerminationTimeout(v int64) *InstanceResizePolicy { s.InstanceTerminationTimeout = &v return s }
go
func (s *InstanceResizePolicy) SetInstanceTerminationTimeout(v int64) *InstanceResizePolicy { s.InstanceTerminationTimeout = &v return s }
[ "func", "(", "s", "*", "InstanceResizePolicy", ")", "SetInstanceTerminationTimeout", "(", "v", "int64", ")", "*", "InstanceResizePolicy", "{", "s", ".", "InstanceTerminationTimeout", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetInstanceTerminationTimeout sets the InstanceTerminationTimeout field's value.
[ "SetInstanceTerminationTimeout", "sets", "the", "InstanceTerminationTimeout", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/emr/api.go#L6528-L6531
165,543
aws/aws-sdk-go
service/emr/api.go
SetInstancesToProtect
func (s *InstanceResizePolicy) SetInstancesToProtect(v []*string) *InstanceResizePolicy { s.InstancesToProtect = v return s }
go
func (s *InstanceResizePolicy) SetInstancesToProtect(v []*string) *InstanceResizePolicy { s.InstancesToProtect = v return s }
[ "func", "(", "s", "*", "InstanceResizePolicy", ")", "SetInstancesToProtect", "(", "v", "[", "]", "*", "string", ")", "*", "InstanceResizePolicy", "{", "s", ".", "InstancesToProtect", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetInstancesToProtect sets the InstancesToProtect field's value.
[ "SetInstancesToProtect", "sets", "the", "InstancesToProtect", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/emr/api.go#L6534-L6537
165,544
aws/aws-sdk-go
service/emr/api.go
SetInstancesToTerminate
func (s *InstanceResizePolicy) SetInstancesToTerminate(v []*string) *InstanceResizePolicy { s.InstancesToTerminate = v return s }
go
func (s *InstanceResizePolicy) SetInstancesToTerminate(v []*string) *InstanceResizePolicy { s.InstancesToTerminate = v return s }
[ "func", "(", "s", "*", "InstanceResizePolicy", ")", "SetInstancesToTerminate", "(", "v", "[", "]", "*", "string", ")", "*", "InstanceResizePolicy", "{", "s", ".", "InstancesToTerminate", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetInstancesToTerminate sets the InstancesToTerminate field's value.
[ "SetInstancesToTerminate", "sets", "the", "InstancesToTerminate", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/emr/api.go#L6540-L6543
165,545
aws/aws-sdk-go
service/emr/api.go
SetEc2SubnetIds
func (s *JobFlowInstancesConfig) SetEc2SubnetIds(v []*string) *JobFlowInstancesConfig { s.Ec2SubnetIds = v return s }
go
func (s *JobFlowInstancesConfig) SetEc2SubnetIds(v []*string) *JobFlowInstancesConfig { s.Ec2SubnetIds = v return s }
[ "func", "(", "s", "*", "JobFlowInstancesConfig", ")", "SetEc2SubnetIds", "(", "v", "[", "]", "*", "string", ")", "*", "JobFlowInstancesConfig", "{", "s", ".", "Ec2SubnetIds", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetEc2SubnetIds sets the Ec2SubnetIds field's value.
[ "SetEc2SubnetIds", "sets", "the", "Ec2SubnetIds", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/emr/api.go#L7269-L7272
165,546
aws/aws-sdk-go
service/emr/api.go
SetMasterInstanceId
func (s *JobFlowInstancesDetail) SetMasterInstanceId(v string) *JobFlowInstancesDetail { s.MasterInstanceId = &v return s }
go
func (s *JobFlowInstancesDetail) SetMasterInstanceId(v string) *JobFlowInstancesDetail { s.MasterInstanceId = &v return s }
[ "func", "(", "s", "*", "JobFlowInstancesDetail", ")", "SetMasterInstanceId", "(", "v", "string", ")", "*", "JobFlowInstancesDetail", "{", "s", ".", "MasterInstanceId", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetMasterInstanceId sets the MasterInstanceId field's value.
[ "SetMasterInstanceId", "sets", "the", "MasterInstanceId", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/emr/api.go#L7458-L7461
165,547
aws/aws-sdk-go
service/emr/api.go
SetADDomainJoinPassword
func (s *KerberosAttributes) SetADDomainJoinPassword(v string) *KerberosAttributes { s.ADDomainJoinPassword = &v return s }
go
func (s *KerberosAttributes) SetADDomainJoinPassword(v string) *KerberosAttributes { s.ADDomainJoinPassword = &v return s }
[ "func", "(", "s", "*", "KerberosAttributes", ")", "SetADDomainJoinPassword", "(", "v", "string", ")", "*", "KerberosAttributes", "{", "s", ".", "ADDomainJoinPassword", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetADDomainJoinPassword sets the ADDomainJoinPassword field's value.
[ "SetADDomainJoinPassword", "sets", "the", "ADDomainJoinPassword", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/emr/api.go#L7559-L7562
165,548
aws/aws-sdk-go
service/emr/api.go
SetADDomainJoinUser
func (s *KerberosAttributes) SetADDomainJoinUser(v string) *KerberosAttributes { s.ADDomainJoinUser = &v return s }
go
func (s *KerberosAttributes) SetADDomainJoinUser(v string) *KerberosAttributes { s.ADDomainJoinUser = &v return s }
[ "func", "(", "s", "*", "KerberosAttributes", ")", "SetADDomainJoinUser", "(", "v", "string", ")", "*", "KerberosAttributes", "{", "s", ".", "ADDomainJoinUser", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetADDomainJoinUser sets the ADDomainJoinUser field's value.
[ "SetADDomainJoinUser", "sets", "the", "ADDomainJoinUser", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/emr/api.go#L7565-L7568
165,549
aws/aws-sdk-go
service/emr/api.go
SetCrossRealmTrustPrincipalPassword
func (s *KerberosAttributes) SetCrossRealmTrustPrincipalPassword(v string) *KerberosAttributes { s.CrossRealmTrustPrincipalPassword = &v return s }
go
func (s *KerberosAttributes) SetCrossRealmTrustPrincipalPassword(v string) *KerberosAttributes { s.CrossRealmTrustPrincipalPassword = &v return s }
[ "func", "(", "s", "*", "KerberosAttributes", ")", "SetCrossRealmTrustPrincipalPassword", "(", "v", "string", ")", "*", "KerberosAttributes", "{", "s", ".", "CrossRealmTrustPrincipalPassword", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetCrossRealmTrustPrincipalPassword sets the CrossRealmTrustPrincipalPassword field's value.
[ "SetCrossRealmTrustPrincipalPassword", "sets", "the", "CrossRealmTrustPrincipalPassword", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/emr/api.go#L7571-L7574
165,550
aws/aws-sdk-go
service/emr/api.go
SetKdcAdminPassword
func (s *KerberosAttributes) SetKdcAdminPassword(v string) *KerberosAttributes { s.KdcAdminPassword = &v return s }
go
func (s *KerberosAttributes) SetKdcAdminPassword(v string) *KerberosAttributes { s.KdcAdminPassword = &v return s }
[ "func", "(", "s", "*", "KerberosAttributes", ")", "SetKdcAdminPassword", "(", "v", "string", ")", "*", "KerberosAttributes", "{", "s", ".", "KdcAdminPassword", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetKdcAdminPassword sets the KdcAdminPassword field's value.
[ "SetKdcAdminPassword", "sets", "the", "KdcAdminPassword", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/emr/api.go#L7577-L7580
165,551
aws/aws-sdk-go
service/emr/api.go
SetRealm
func (s *KerberosAttributes) SetRealm(v string) *KerberosAttributes { s.Realm = &v return s }
go
func (s *KerberosAttributes) SetRealm(v string) *KerberosAttributes { s.Realm = &v return s }
[ "func", "(", "s", "*", "KerberosAttributes", ")", "SetRealm", "(", "v", "string", ")", "*", "KerberosAttributes", "{", "s", ".", "Realm", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetRealm sets the Realm field's value.
[ "SetRealm", "sets", "the", "Realm", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/emr/api.go#L7583-L7586
165,552
aws/aws-sdk-go
service/emr/api.go
SetClusterStates
func (s *ListClustersInput) SetClusterStates(v []*string) *ListClustersInput { s.ClusterStates = v return s }
go
func (s *ListClustersInput) SetClusterStates(v []*string) *ListClustersInput { s.ClusterStates = v return s }
[ "func", "(", "s", "*", "ListClustersInput", ")", "SetClusterStates", "(", "v", "[", "]", "*", "string", ")", "*", "ListClustersInput", "{", "s", ".", "ClusterStates", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetClusterStates sets the ClusterStates field's value.
[ "SetClusterStates", "sets", "the", "ClusterStates", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/emr/api.go#L7731-L7734
165,553
aws/aws-sdk-go
service/emr/api.go
SetInstanceGroupTypes
func (s *ListInstancesInput) SetInstanceGroupTypes(v []*string) *ListInstancesInput { s.InstanceGroupTypes = v return s }
go
func (s *ListInstancesInput) SetInstanceGroupTypes(v []*string) *ListInstancesInput { s.InstanceGroupTypes = v return s }
[ "func", "(", "s", "*", "ListInstancesInput", ")", "SetInstanceGroupTypes", "(", "v", "[", "]", "*", "string", ")", "*", "ListInstancesInput", "{", "s", ".", "InstanceGroupTypes", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetInstanceGroupTypes sets the InstanceGroupTypes field's value.
[ "SetInstanceGroupTypes", "sets", "the", "InstanceGroupTypes", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/emr/api.go#L8025-L8028
165,554
aws/aws-sdk-go
service/emr/api.go
SetStepStates
func (s *ListStepsInput) SetStepStates(v []*string) *ListStepsInput { s.StepStates = v return s }
go
func (s *ListStepsInput) SetStepStates(v []*string) *ListStepsInput { s.StepStates = v return s }
[ "func", "(", "s", "*", "ListStepsInput", ")", "SetStepStates", "(", "v", "[", "]", "*", "string", ")", "*", "ListStepsInput", "{", "s", ".", "StepStates", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetStepStates sets the StepStates field's value.
[ "SetStepStates", "sets", "the", "StepStates", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/emr/api.go#L8193-L8196
165,555
aws/aws-sdk-go
service/emr/api.go
SetNewSupportedProducts
func (s *RunJobFlowInput) SetNewSupportedProducts(v []*SupportedProductConfig) *RunJobFlowInput { s.NewSupportedProducts = v return s }
go
func (s *RunJobFlowInput) SetNewSupportedProducts(v []*SupportedProductConfig) *RunJobFlowInput { s.NewSupportedProducts = v return s }
[ "func", "(", "s", "*", "RunJobFlowInput", ")", "SetNewSupportedProducts", "(", "v", "[", "]", "*", "SupportedProductConfig", ")", "*", "RunJobFlowInput", "{", "s", ".", "NewSupportedProducts", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetNewSupportedProducts sets the NewSupportedProducts field's value.
[ "SetNewSupportedProducts", "sets", "the", "NewSupportedProducts", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/emr/api.go#L8999-L9002
165,556
aws/aws-sdk-go
service/emr/api.go
SetSimpleScalingPolicyConfiguration
func (s *ScalingAction) SetSimpleScalingPolicyConfiguration(v *SimpleScalingPolicyConfiguration) *ScalingAction { s.SimpleScalingPolicyConfiguration = v return s }
go
func (s *ScalingAction) SetSimpleScalingPolicyConfiguration(v *SimpleScalingPolicyConfiguration) *ScalingAction { s.SimpleScalingPolicyConfiguration = v return s }
[ "func", "(", "s", "*", "ScalingAction", ")", "SetSimpleScalingPolicyConfiguration", "(", "v", "*", "SimpleScalingPolicyConfiguration", ")", "*", "ScalingAction", "{", "s", ".", "SimpleScalingPolicyConfiguration", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetSimpleScalingPolicyConfiguration sets the SimpleScalingPolicyConfiguration field's value.
[ "SetSimpleScalingPolicyConfiguration", "sets", "the", "SimpleScalingPolicyConfiguration", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/emr/api.go#L9133-L9136
165,557
aws/aws-sdk-go
service/emr/api.go
SetCloudWatchAlarmDefinition
func (s *ScalingTrigger) SetCloudWatchAlarmDefinition(v *CloudWatchAlarmDefinition) *ScalingTrigger { s.CloudWatchAlarmDefinition = v return s }
go
func (s *ScalingTrigger) SetCloudWatchAlarmDefinition(v *CloudWatchAlarmDefinition) *ScalingTrigger { s.CloudWatchAlarmDefinition = v return s }
[ "func", "(", "s", "*", "ScalingTrigger", ")", "SetCloudWatchAlarmDefinition", "(", "v", "*", "CloudWatchAlarmDefinition", ")", "*", "ScalingTrigger", "{", "s", ".", "CloudWatchAlarmDefinition", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetCloudWatchAlarmDefinition sets the CloudWatchAlarmDefinition field's value.
[ "SetCloudWatchAlarmDefinition", "sets", "the", "CloudWatchAlarmDefinition", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/emr/api.go#L9328-L9331
165,558
aws/aws-sdk-go
service/emr/api.go
SetDecommissionTimeout
func (s *ShrinkPolicy) SetDecommissionTimeout(v int64) *ShrinkPolicy { s.DecommissionTimeout = &v return s }
go
func (s *ShrinkPolicy) SetDecommissionTimeout(v int64) *ShrinkPolicy { s.DecommissionTimeout = &v return s }
[ "func", "(", "s", "*", "ShrinkPolicy", ")", "SetDecommissionTimeout", "(", "v", "int64", ")", "*", "ShrinkPolicy", "{", "s", ".", "DecommissionTimeout", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetDecommissionTimeout sets the DecommissionTimeout field's value.
[ "SetDecommissionTimeout", "sets", "the", "DecommissionTimeout", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/emr/api.go#L9582-L9585
165,559
aws/aws-sdk-go
service/emr/api.go
SetInstanceResizePolicy
func (s *ShrinkPolicy) SetInstanceResizePolicy(v *InstanceResizePolicy) *ShrinkPolicy { s.InstanceResizePolicy = v return s }
go
func (s *ShrinkPolicy) SetInstanceResizePolicy(v *InstanceResizePolicy) *ShrinkPolicy { s.InstanceResizePolicy = v return s }
[ "func", "(", "s", "*", "ShrinkPolicy", ")", "SetInstanceResizePolicy", "(", "v", "*", "InstanceResizePolicy", ")", "*", "ShrinkPolicy", "{", "s", ".", "InstanceResizePolicy", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetInstanceResizePolicy sets the InstanceResizePolicy field's value.
[ "SetInstanceResizePolicy", "sets", "the", "InstanceResizePolicy", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/emr/api.go#L9588-L9591
165,560
aws/aws-sdk-go
service/emr/api.go
SetCoolDown
func (s *SimpleScalingPolicyConfiguration) SetCoolDown(v int64) *SimpleScalingPolicyConfiguration { s.CoolDown = &v return s }
go
func (s *SimpleScalingPolicyConfiguration) SetCoolDown(v int64) *SimpleScalingPolicyConfiguration { s.CoolDown = &v return s }
[ "func", "(", "s", "*", "SimpleScalingPolicyConfiguration", ")", "SetCoolDown", "(", "v", "int64", ")", "*", "SimpleScalingPolicyConfiguration", "{", "s", ".", "CoolDown", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetCoolDown sets the CoolDown field's value.
[ "SetCoolDown", "sets", "the", "CoolDown", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/emr/api.go#L9659-L9662
165,561
aws/aws-sdk-go
service/emr/api.go
SetBlockDurationMinutes
func (s *SpotProvisioningSpecification) SetBlockDurationMinutes(v int64) *SpotProvisioningSpecification { s.BlockDurationMinutes = &v return s }
go
func (s *SpotProvisioningSpecification) SetBlockDurationMinutes(v int64) *SpotProvisioningSpecification { s.BlockDurationMinutes = &v return s }
[ "func", "(", "s", "*", "SpotProvisioningSpecification", ")", "SetBlockDurationMinutes", "(", "v", "int64", ")", "*", "SpotProvisioningSpecification", "{", "s", ".", "BlockDurationMinutes", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetBlockDurationMinutes sets the BlockDurationMinutes field's value.
[ "SetBlockDurationMinutes", "sets", "the", "BlockDurationMinutes", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/emr/api.go#L9734-L9737
165,562
aws/aws-sdk-go
service/emr/api.go
SetTimeoutDurationMinutes
func (s *SpotProvisioningSpecification) SetTimeoutDurationMinutes(v int64) *SpotProvisioningSpecification { s.TimeoutDurationMinutes = &v return s }
go
func (s *SpotProvisioningSpecification) SetTimeoutDurationMinutes(v int64) *SpotProvisioningSpecification { s.TimeoutDurationMinutes = &v return s }
[ "func", "(", "s", "*", "SpotProvisioningSpecification", ")", "SetTimeoutDurationMinutes", "(", "v", "int64", ")", "*", "SpotProvisioningSpecification", "{", "s", ".", "TimeoutDurationMinutes", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetTimeoutDurationMinutes sets the TimeoutDurationMinutes field's value.
[ "SetTimeoutDurationMinutes", "sets", "the", "TimeoutDurationMinutes", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/emr/api.go#L9746-L9749
165,563
aws/aws-sdk-go
service/emr/api.go
SetHadoopJarStep
func (s *StepConfig) SetHadoopJarStep(v *HadoopJarStepConfig) *StepConfig { s.HadoopJarStep = v return s }
go
func (s *StepConfig) SetHadoopJarStep(v *HadoopJarStepConfig) *StepConfig { s.HadoopJarStep = v return s }
[ "func", "(", "s", "*", "StepConfig", ")", "SetHadoopJarStep", "(", "v", "*", "HadoopJarStepConfig", ")", "*", "StepConfig", "{", "s", ".", "HadoopJarStep", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetHadoopJarStep sets the HadoopJarStep field's value.
[ "SetHadoopJarStep", "sets", "the", "HadoopJarStep", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/emr/api.go#L9871-L9874
165,564
aws/aws-sdk-go
service/emr/api.go
SetStepConfig
func (s *StepDetail) SetStepConfig(v *StepConfig) *StepDetail { s.StepConfig = v return s }
go
func (s *StepDetail) SetStepConfig(v *StepConfig) *StepDetail { s.StepConfig = v return s }
[ "func", "(", "s", "*", "StepDetail", ")", "SetStepConfig", "(", "v", "*", "StepConfig", ")", "*", "StepDetail", "{", "s", ".", "StepConfig", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetStepConfig sets the StepConfig field's value.
[ "SetStepConfig", "sets", "the", "StepConfig", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/emr/api.go#L9914-L9917
165,565
aws/aws-sdk-go
service/emr/api.go
SetSizeInGB
func (s *VolumeSpecification) SetSizeInGB(v int64) *VolumeSpecification { s.SizeInGB = &v return s }
go
func (s *VolumeSpecification) SetSizeInGB(v int64) *VolumeSpecification { s.SizeInGB = &v return s }
[ "func", "(", "s", "*", "VolumeSpecification", ")", "SetSizeInGB", "(", "v", "int64", ")", "*", "VolumeSpecification", "{", "s", ".", "SizeInGB", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetSizeInGB sets the SizeInGB field's value.
[ "SetSizeInGB", "sets", "the", "SizeInGB", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/emr/api.go#L10352-L10355
165,566
aws/aws-sdk-go
service/connect/api.go
SetAccessTokenExpiration
func (s *Credentials) SetAccessTokenExpiration(v time.Time) *Credentials { s.AccessTokenExpiration = &v return s }
go
func (s *Credentials) SetAccessTokenExpiration(v time.Time) *Credentials { s.AccessTokenExpiration = &v return s }
[ "func", "(", "s", "*", "Credentials", ")", "SetAccessTokenExpiration", "(", "v", "time", ".", "Time", ")", "*", "Credentials", "{", "s", ".", "AccessTokenExpiration", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetAccessTokenExpiration sets the AccessTokenExpiration field's value.
[ "SetAccessTokenExpiration", "sets", "the", "AccessTokenExpiration", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/connect/api.go#L2337-L2340
165,567
aws/aws-sdk-go
service/connect/api.go
SetRefreshTokenExpiration
func (s *Credentials) SetRefreshTokenExpiration(v time.Time) *Credentials { s.RefreshTokenExpiration = &v return s }
go
func (s *Credentials) SetRefreshTokenExpiration(v time.Time) *Credentials { s.RefreshTokenExpiration = &v return s }
[ "func", "(", "s", "*", "Credentials", ")", "SetRefreshTokenExpiration", "(", "v", "time", ".", "Time", ")", "*", "Credentials", "{", "s", ".", "RefreshTokenExpiration", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetRefreshTokenExpiration sets the RefreshTokenExpiration field's value.
[ "SetRefreshTokenExpiration", "sets", "the", "RefreshTokenExpiration", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/connect/api.go#L2349-L2352
165,568
aws/aws-sdk-go
service/connect/api.go
SetHierarchyGroup
func (s *DescribeUserHierarchyGroupOutput) SetHierarchyGroup(v *HierarchyGroup) *DescribeUserHierarchyGroupOutput { s.HierarchyGroup = v return s }
go
func (s *DescribeUserHierarchyGroupOutput) SetHierarchyGroup(v *HierarchyGroup) *DescribeUserHierarchyGroupOutput { s.HierarchyGroup = v return s }
[ "func", "(", "s", "*", "DescribeUserHierarchyGroupOutput", ")", "SetHierarchyGroup", "(", "v", "*", "HierarchyGroup", ")", "*", "DescribeUserHierarchyGroupOutput", "{", "s", ".", "HierarchyGroup", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetHierarchyGroup sets the HierarchyGroup field's value.
[ "SetHierarchyGroup", "sets", "the", "HierarchyGroup", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/connect/api.go#L2609-L2612
165,569
aws/aws-sdk-go
service/connect/api.go
SetHierarchyStructure
func (s *DescribeUserHierarchyStructureOutput) SetHierarchyStructure(v *HierarchyStructure) *DescribeUserHierarchyStructureOutput { s.HierarchyStructure = v return s }
go
func (s *DescribeUserHierarchyStructureOutput) SetHierarchyStructure(v *HierarchyStructure) *DescribeUserHierarchyStructureOutput { s.HierarchyStructure = v return s }
[ "func", "(", "s", "*", "DescribeUserHierarchyStructureOutput", ")", "SetHierarchyStructure", "(", "v", "*", "HierarchyStructure", ")", "*", "DescribeUserHierarchyStructureOutput", "{", "s", ".", "HierarchyStructure", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetHierarchyStructure sets the HierarchyStructure field's value.
[ "SetHierarchyStructure", "sets", "the", "HierarchyStructure", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/connect/api.go#L2677-L2680
165,570
aws/aws-sdk-go
service/connect/api.go
SetCurrentMetrics
func (s *GetCurrentMetricDataInput) SetCurrentMetrics(v []*CurrentMetric) *GetCurrentMetricDataInput { s.CurrentMetrics = v return s }
go
func (s *GetCurrentMetricDataInput) SetCurrentMetrics(v []*CurrentMetric) *GetCurrentMetricDataInput { s.CurrentMetrics = v return s }
[ "func", "(", "s", "*", "GetCurrentMetricDataInput", ")", "SetCurrentMetrics", "(", "v", "[", "]", "*", "CurrentMetric", ")", "*", "GetCurrentMetricDataInput", "{", "s", ".", "CurrentMetrics", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetCurrentMetrics sets the CurrentMetrics field's value.
[ "SetCurrentMetrics", "sets", "the", "CurrentMetrics", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/connect/api.go#L3050-L3053
165,571
aws/aws-sdk-go
service/connect/api.go
SetDataSnapshotTime
func (s *GetCurrentMetricDataOutput) SetDataSnapshotTime(v time.Time) *GetCurrentMetricDataOutput { s.DataSnapshotTime = &v return s }
go
func (s *GetCurrentMetricDataOutput) SetDataSnapshotTime(v time.Time) *GetCurrentMetricDataOutput { s.DataSnapshotTime = &v return s }
[ "func", "(", "s", "*", "GetCurrentMetricDataOutput", ")", "SetDataSnapshotTime", "(", "v", "time", ".", "Time", ")", "*", "GetCurrentMetricDataOutput", "{", "s", ".", "DataSnapshotTime", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetDataSnapshotTime sets the DataSnapshotTime field's value.
[ "SetDataSnapshotTime", "sets", "the", "DataSnapshotTime", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/connect/api.go#L3124-L3127
165,572
aws/aws-sdk-go
service/connect/api.go
SetHistoricalMetrics
func (s *GetMetricDataInput) SetHistoricalMetrics(v []*HistoricalMetric) *GetMetricDataInput { s.HistoricalMetrics = v return s }
go
func (s *GetMetricDataInput) SetHistoricalMetrics(v []*HistoricalMetric) *GetMetricDataInput { s.HistoricalMetrics = v return s }
[ "func", "(", "s", "*", "GetMetricDataInput", ")", "SetHistoricalMetrics", "(", "v", "[", "]", "*", "HistoricalMetric", ")", "*", "GetMetricDataInput", "{", "s", ".", "HistoricalMetrics", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetHistoricalMetrics sets the HistoricalMetrics field's value.
[ "SetHistoricalMetrics", "sets", "the", "HistoricalMetrics", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/connect/api.go#L3463-L3466
165,573
aws/aws-sdk-go
service/connect/api.go
SetHierarchyPath
func (s *HierarchyGroup) SetHierarchyPath(v *HierarchyPath) *HierarchyGroup { s.HierarchyPath = v return s }
go
func (s *HierarchyGroup) SetHierarchyPath(v *HierarchyPath) *HierarchyGroup { s.HierarchyPath = v return s }
[ "func", "(", "s", "*", "HierarchyGroup", ")", "SetHierarchyPath", "(", "v", "*", "HierarchyPath", ")", "*", "HierarchyGroup", "{", "s", ".", "HierarchyPath", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetHierarchyPath sets the HierarchyPath field's value.
[ "SetHierarchyPath", "sets", "the", "HierarchyPath", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/connect/api.go#L3575-L3578
165,574
aws/aws-sdk-go
service/connect/api.go
SetLevelId
func (s *HierarchyGroup) SetLevelId(v string) *HierarchyGroup { s.LevelId = &v return s }
go
func (s *HierarchyGroup) SetLevelId(v string) *HierarchyGroup { s.LevelId = &v return s }
[ "func", "(", "s", "*", "HierarchyGroup", ")", "SetLevelId", "(", "v", "string", ")", "*", "HierarchyGroup", "{", "s", ".", "LevelId", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetLevelId sets the LevelId field's value.
[ "SetLevelId", "sets", "the", "LevelId", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/connect/api.go#L3587-L3590
165,575
aws/aws-sdk-go
service/connect/api.go
SetRoutingProfileSummaryList
func (s *ListRoutingProfilesOutput) SetRoutingProfileSummaryList(v []*RoutingProfileSummary) *ListRoutingProfilesOutput { s.RoutingProfileSummaryList = v return s }
go
func (s *ListRoutingProfilesOutput) SetRoutingProfileSummaryList(v []*RoutingProfileSummary) *ListRoutingProfilesOutput { s.RoutingProfileSummaryList = v return s }
[ "func", "(", "s", "*", "ListRoutingProfilesOutput", ")", "SetRoutingProfileSummaryList", "(", "v", "[", "]", "*", "RoutingProfileSummary", ")", "*", "ListRoutingProfilesOutput", "{", "s", ".", "RoutingProfileSummaryList", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetRoutingProfileSummaryList sets the RoutingProfileSummaryList field's value.
[ "SetRoutingProfileSummaryList", "sets", "the", "RoutingProfileSummaryList", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/connect/api.go#L4031-L4034
165,576
aws/aws-sdk-go
service/connect/api.go
SetSecurityProfileSummaryList
func (s *ListSecurityProfilesOutput) SetSecurityProfileSummaryList(v []*SecurityProfileSummary) *ListSecurityProfilesOutput { s.SecurityProfileSummaryList = v return s }
go
func (s *ListSecurityProfilesOutput) SetSecurityProfileSummaryList(v []*SecurityProfileSummary) *ListSecurityProfilesOutput { s.SecurityProfileSummaryList = v return s }
[ "func", "(", "s", "*", "ListSecurityProfilesOutput", ")", "SetSecurityProfileSummaryList", "(", "v", "[", "]", "*", "SecurityProfileSummary", ")", "*", "ListSecurityProfilesOutput", "{", "s", ".", "SecurityProfileSummaryList", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetSecurityProfileSummaryList sets the SecurityProfileSummaryList field's value.
[ "SetSecurityProfileSummaryList", "sets", "the", "SecurityProfileSummaryList", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/connect/api.go#L4132-L4135
165,577
aws/aws-sdk-go
service/connect/api.go
SetUserHierarchyGroupSummaryList
func (s *ListUserHierarchyGroupsOutput) SetUserHierarchyGroupSummaryList(v []*HierarchyGroupSummary) *ListUserHierarchyGroupsOutput { s.UserHierarchyGroupSummaryList = v return s }
go
func (s *ListUserHierarchyGroupsOutput) SetUserHierarchyGroupSummaryList(v []*HierarchyGroupSummary) *ListUserHierarchyGroupsOutput { s.UserHierarchyGroupSummaryList = v return s }
[ "func", "(", "s", "*", "ListUserHierarchyGroupsOutput", ")", "SetUserHierarchyGroupSummaryList", "(", "v", "[", "]", "*", "HierarchyGroupSummary", ")", "*", "ListUserHierarchyGroupsOutput", "{", "s", ".", "UserHierarchyGroupSummaryList", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetUserHierarchyGroupSummaryList sets the UserHierarchyGroupSummaryList field's value.
[ "SetUserHierarchyGroupSummaryList", "sets", "the", "UserHierarchyGroupSummaryList", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/connect/api.go#L4233-L4236
165,578
aws/aws-sdk-go
service/connect/api.go
SetUserSummaryList
func (s *ListUsersOutput) SetUserSummaryList(v []*UserSummary) *ListUsersOutput { s.UserSummaryList = v return s }
go
func (s *ListUsersOutput) SetUserSummaryList(v []*UserSummary) *ListUsersOutput { s.UserSummaryList = v return s }
[ "func", "(", "s", "*", "ListUsersOutput", ")", "SetUserSummaryList", "(", "v", "[", "]", "*", "UserSummary", ")", "*", "ListUsersOutput", "{", "s", ".", "UserSummaryList", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetUserSummaryList sets the UserSummaryList field's value.
[ "SetUserSummaryList", "sets", "the", "UserSummaryList", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/connect/api.go#L4335-L4338
165,579
aws/aws-sdk-go
service/connect/api.go
SetContactFlowId
func (s *StartOutboundVoiceContactInput) SetContactFlowId(v string) *StartOutboundVoiceContactInput { s.ContactFlowId = &v return s }
go
func (s *StartOutboundVoiceContactInput) SetContactFlowId(v string) *StartOutboundVoiceContactInput { s.ContactFlowId = &v return s }
[ "func", "(", "s", "*", "StartOutboundVoiceContactInput", ")", "SetContactFlowId", "(", "v", "string", ")", "*", "StartOutboundVoiceContactInput", "{", "s", ".", "ContactFlowId", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetContactFlowId sets the ContactFlowId field's value.
[ "SetContactFlowId", "sets", "the", "ContactFlowId", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/connect/api.go#L4564-L4567
165,580
aws/aws-sdk-go
service/connect/api.go
SetQueueId
func (s *StartOutboundVoiceContactInput) SetQueueId(v string) *StartOutboundVoiceContactInput { s.QueueId = &v return s }
go
func (s *StartOutboundVoiceContactInput) SetQueueId(v string) *StartOutboundVoiceContactInput { s.QueueId = &v return s }
[ "func", "(", "s", "*", "StartOutboundVoiceContactInput", ")", "SetQueueId", "(", "v", "string", ")", "*", "StartOutboundVoiceContactInput", "{", "s", ".", "QueueId", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetQueueId sets the QueueId field's value.
[ "SetQueueId", "sets", "the", "QueueId", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/connect/api.go#L4582-L4585
165,581
aws/aws-sdk-go
service/connect/api.go
SetSourcePhoneNumber
func (s *StartOutboundVoiceContactInput) SetSourcePhoneNumber(v string) *StartOutboundVoiceContactInput { s.SourcePhoneNumber = &v return s }
go
func (s *StartOutboundVoiceContactInput) SetSourcePhoneNumber(v string) *StartOutboundVoiceContactInput { s.SourcePhoneNumber = &v return s }
[ "func", "(", "s", "*", "StartOutboundVoiceContactInput", ")", "SetSourcePhoneNumber", "(", "v", "string", ")", "*", "StartOutboundVoiceContactInput", "{", "s", ".", "SourcePhoneNumber", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetSourcePhoneNumber sets the SourcePhoneNumber field's value.
[ "SetSourcePhoneNumber", "sets", "the", "SourcePhoneNumber", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/connect/api.go#L4588-L4591
165,582
aws/aws-sdk-go
service/connect/api.go
SetThresholdValue
func (s *Threshold) SetThresholdValue(v float64) *Threshold { s.ThresholdValue = &v return s }
go
func (s *Threshold) SetThresholdValue(v float64) *Threshold { s.ThresholdValue = &v return s }
[ "func", "(", "s", "*", "Threshold", ")", "SetThresholdValue", "(", "v", "float64", ")", "*", "Threshold", "{", "s", ".", "ThresholdValue", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetThresholdValue sets the ThresholdValue field's value.
[ "SetThresholdValue", "sets", "the", "ThresholdValue", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/connect/api.go#L4723-L4726
165,583
aws/aws-sdk-go
service/connect/api.go
SetAfterContactWorkTimeLimit
func (s *UserPhoneConfig) SetAfterContactWorkTimeLimit(v int64) *UserPhoneConfig { s.AfterContactWorkTimeLimit = &v return s }
go
func (s *UserPhoneConfig) SetAfterContactWorkTimeLimit(v int64) *UserPhoneConfig { s.AfterContactWorkTimeLimit = &v return s }
[ "func", "(", "s", "*", "UserPhoneConfig", ")", "SetAfterContactWorkTimeLimit", "(", "v", "int64", ")", "*", "UserPhoneConfig", "{", "s", ".", "AfterContactWorkTimeLimit", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetAfterContactWorkTimeLimit sets the AfterContactWorkTimeLimit field's value.
[ "SetAfterContactWorkTimeLimit", "sets", "the", "AfterContactWorkTimeLimit", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/connect/api.go#L5488-L5491
165,584
aws/aws-sdk-go
service/connect/api.go
SetAutoAccept
func (s *UserPhoneConfig) SetAutoAccept(v bool) *UserPhoneConfig { s.AutoAccept = &v return s }
go
func (s *UserPhoneConfig) SetAutoAccept(v bool) *UserPhoneConfig { s.AutoAccept = &v return s }
[ "func", "(", "s", "*", "UserPhoneConfig", ")", "SetAutoAccept", "(", "v", "bool", ")", "*", "UserPhoneConfig", "{", "s", ".", "AutoAccept", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetAutoAccept sets the AutoAccept field's value.
[ "SetAutoAccept", "sets", "the", "AutoAccept", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/connect/api.go#L5494-L5497
165,585
aws/aws-sdk-go
service/connect/api.go
SetDeskPhoneNumber
func (s *UserPhoneConfig) SetDeskPhoneNumber(v string) *UserPhoneConfig { s.DeskPhoneNumber = &v return s }
go
func (s *UserPhoneConfig) SetDeskPhoneNumber(v string) *UserPhoneConfig { s.DeskPhoneNumber = &v return s }
[ "func", "(", "s", "*", "UserPhoneConfig", ")", "SetDeskPhoneNumber", "(", "v", "string", ")", "*", "UserPhoneConfig", "{", "s", ".", "DeskPhoneNumber", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetDeskPhoneNumber sets the DeskPhoneNumber field's value.
[ "SetDeskPhoneNumber", "sets", "the", "DeskPhoneNumber", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/connect/api.go#L5500-L5503
165,586
aws/aws-sdk-go
aws/convert_types.go
StringSlice
func StringSlice(src []string) []*string { dst := make([]*string, len(src)) for i := 0; i < len(src); i++ { dst[i] = &(src[i]) } return dst }
go
func StringSlice(src []string) []*string { dst := make([]*string, len(src)) for i := 0; i < len(src); i++ { dst[i] = &(src[i]) } return dst }
[ "func", "StringSlice", "(", "src", "[", "]", "string", ")", "[", "]", "*", "string", "{", "dst", ":=", "make", "(", "[", "]", "*", "string", ",", "len", "(", "src", ")", ")", "\n", "for", "i", ":=", "0", ";", "i", "<", "len", "(", "src", ")", ";", "i", "++", "{", "dst", "[", "i", "]", "=", "&", "(", "src", "[", "i", "]", ")", "\n", "}", "\n", "return", "dst", "\n", "}" ]
// StringSlice converts a slice of string values into a slice of // string pointers
[ "StringSlice", "converts", "a", "slice", "of", "string", "values", "into", "a", "slice", "of", "string", "pointers" ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/convert_types.go#L21-L27
165,587
aws/aws-sdk-go
aws/convert_types.go
StringValueSlice
func StringValueSlice(src []*string) []string { dst := make([]string, len(src)) for i := 0; i < len(src); i++ { if src[i] != nil { dst[i] = *(src[i]) } } return dst }
go
func StringValueSlice(src []*string) []string { dst := make([]string, len(src)) for i := 0; i < len(src); i++ { if src[i] != nil { dst[i] = *(src[i]) } } return dst }
[ "func", "StringValueSlice", "(", "src", "[", "]", "*", "string", ")", "[", "]", "string", "{", "dst", ":=", "make", "(", "[", "]", "string", ",", "len", "(", "src", ")", ")", "\n", "for", "i", ":=", "0", ";", "i", "<", "len", "(", "src", ")", ";", "i", "++", "{", "if", "src", "[", "i", "]", "!=", "nil", "{", "dst", "[", "i", "]", "=", "*", "(", "src", "[", "i", "]", ")", "\n", "}", "\n", "}", "\n", "return", "dst", "\n", "}" ]
// StringValueSlice converts a slice of string pointers into a slice of // string values
[ "StringValueSlice", "converts", "a", "slice", "of", "string", "pointers", "into", "a", "slice", "of", "string", "values" ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/convert_types.go#L31-L39
165,588
aws/aws-sdk-go
aws/convert_types.go
StringMap
func StringMap(src map[string]string) map[string]*string { dst := make(map[string]*string) for k, val := range src { v := val dst[k] = &v } return dst }
go
func StringMap(src map[string]string) map[string]*string { dst := make(map[string]*string) for k, val := range src { v := val dst[k] = &v } return dst }
[ "func", "StringMap", "(", "src", "map", "[", "string", "]", "string", ")", "map", "[", "string", "]", "*", "string", "{", "dst", ":=", "make", "(", "map", "[", "string", "]", "*", "string", ")", "\n", "for", "k", ",", "val", ":=", "range", "src", "{", "v", ":=", "val", "\n", "dst", "[", "k", "]", "=", "&", "v", "\n", "}", "\n", "return", "dst", "\n", "}" ]
// StringMap converts a string map of string values into a string // map of string pointers
[ "StringMap", "converts", "a", "string", "map", "of", "string", "values", "into", "a", "string", "map", "of", "string", "pointers" ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/convert_types.go#L43-L50
165,589
aws/aws-sdk-go
aws/convert_types.go
StringValueMap
func StringValueMap(src map[string]*string) map[string]string { dst := make(map[string]string) for k, val := range src { if val != nil { dst[k] = *val } } return dst }
go
func StringValueMap(src map[string]*string) map[string]string { dst := make(map[string]string) for k, val := range src { if val != nil { dst[k] = *val } } return dst }
[ "func", "StringValueMap", "(", "src", "map", "[", "string", "]", "*", "string", ")", "map", "[", "string", "]", "string", "{", "dst", ":=", "make", "(", "map", "[", "string", "]", "string", ")", "\n", "for", "k", ",", "val", ":=", "range", "src", "{", "if", "val", "!=", "nil", "{", "dst", "[", "k", "]", "=", "*", "val", "\n", "}", "\n", "}", "\n", "return", "dst", "\n", "}" ]
// StringValueMap converts a string map of string pointers into a string // map of string values
[ "StringValueMap", "converts", "a", "string", "map", "of", "string", "pointers", "into", "a", "string", "map", "of", "string", "values" ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/convert_types.go#L54-L62
165,590
aws/aws-sdk-go
aws/convert_types.go
BoolSlice
func BoolSlice(src []bool) []*bool { dst := make([]*bool, len(src)) for i := 0; i < len(src); i++ { dst[i] = &(src[i]) } return dst }
go
func BoolSlice(src []bool) []*bool { dst := make([]*bool, len(src)) for i := 0; i < len(src); i++ { dst[i] = &(src[i]) } return dst }
[ "func", "BoolSlice", "(", "src", "[", "]", "bool", ")", "[", "]", "*", "bool", "{", "dst", ":=", "make", "(", "[", "]", "*", "bool", ",", "len", "(", "src", ")", ")", "\n", "for", "i", ":=", "0", ";", "i", "<", "len", "(", "src", ")", ";", "i", "++", "{", "dst", "[", "i", "]", "=", "&", "(", "src", "[", "i", "]", ")", "\n", "}", "\n", "return", "dst", "\n", "}" ]
// BoolSlice converts a slice of bool values into a slice of // bool pointers
[ "BoolSlice", "converts", "a", "slice", "of", "bool", "values", "into", "a", "slice", "of", "bool", "pointers" ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/convert_types.go#L80-L86
165,591
aws/aws-sdk-go
aws/convert_types.go
BoolValueSlice
func BoolValueSlice(src []*bool) []bool { dst := make([]bool, len(src)) for i := 0; i < len(src); i++ { if src[i] != nil { dst[i] = *(src[i]) } } return dst }
go
func BoolValueSlice(src []*bool) []bool { dst := make([]bool, len(src)) for i := 0; i < len(src); i++ { if src[i] != nil { dst[i] = *(src[i]) } } return dst }
[ "func", "BoolValueSlice", "(", "src", "[", "]", "*", "bool", ")", "[", "]", "bool", "{", "dst", ":=", "make", "(", "[", "]", "bool", ",", "len", "(", "src", ")", ")", "\n", "for", "i", ":=", "0", ";", "i", "<", "len", "(", "src", ")", ";", "i", "++", "{", "if", "src", "[", "i", "]", "!=", "nil", "{", "dst", "[", "i", "]", "=", "*", "(", "src", "[", "i", "]", ")", "\n", "}", "\n", "}", "\n", "return", "dst", "\n", "}" ]
// BoolValueSlice converts a slice of bool pointers into a slice of // bool values
[ "BoolValueSlice", "converts", "a", "slice", "of", "bool", "pointers", "into", "a", "slice", "of", "bool", "values" ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/convert_types.go#L90-L98
165,592
aws/aws-sdk-go
aws/convert_types.go
BoolMap
func BoolMap(src map[string]bool) map[string]*bool { dst := make(map[string]*bool) for k, val := range src { v := val dst[k] = &v } return dst }
go
func BoolMap(src map[string]bool) map[string]*bool { dst := make(map[string]*bool) for k, val := range src { v := val dst[k] = &v } return dst }
[ "func", "BoolMap", "(", "src", "map", "[", "string", "]", "bool", ")", "map", "[", "string", "]", "*", "bool", "{", "dst", ":=", "make", "(", "map", "[", "string", "]", "*", "bool", ")", "\n", "for", "k", ",", "val", ":=", "range", "src", "{", "v", ":=", "val", "\n", "dst", "[", "k", "]", "=", "&", "v", "\n", "}", "\n", "return", "dst", "\n", "}" ]
// BoolMap converts a string map of bool values into a string // map of bool pointers
[ "BoolMap", "converts", "a", "string", "map", "of", "bool", "values", "into", "a", "string", "map", "of", "bool", "pointers" ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/convert_types.go#L102-L109
165,593
aws/aws-sdk-go
aws/convert_types.go
BoolValueMap
func BoolValueMap(src map[string]*bool) map[string]bool { dst := make(map[string]bool) for k, val := range src { if val != nil { dst[k] = *val } } return dst }
go
func BoolValueMap(src map[string]*bool) map[string]bool { dst := make(map[string]bool) for k, val := range src { if val != nil { dst[k] = *val } } return dst }
[ "func", "BoolValueMap", "(", "src", "map", "[", "string", "]", "*", "bool", ")", "map", "[", "string", "]", "bool", "{", "dst", ":=", "make", "(", "map", "[", "string", "]", "bool", ")", "\n", "for", "k", ",", "val", ":=", "range", "src", "{", "if", "val", "!=", "nil", "{", "dst", "[", "k", "]", "=", "*", "val", "\n", "}", "\n", "}", "\n", "return", "dst", "\n", "}" ]
// BoolValueMap converts a string map of bool pointers into a string // map of bool values
[ "BoolValueMap", "converts", "a", "string", "map", "of", "bool", "pointers", "into", "a", "string", "map", "of", "bool", "values" ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/convert_types.go#L113-L121
165,594
aws/aws-sdk-go
aws/convert_types.go
IntSlice
func IntSlice(src []int) []*int { dst := make([]*int, len(src)) for i := 0; i < len(src); i++ { dst[i] = &(src[i]) } return dst }
go
func IntSlice(src []int) []*int { dst := make([]*int, len(src)) for i := 0; i < len(src); i++ { dst[i] = &(src[i]) } return dst }
[ "func", "IntSlice", "(", "src", "[", "]", "int", ")", "[", "]", "*", "int", "{", "dst", ":=", "make", "(", "[", "]", "*", "int", ",", "len", "(", "src", ")", ")", "\n", "for", "i", ":=", "0", ";", "i", "<", "len", "(", "src", ")", ";", "i", "++", "{", "dst", "[", "i", "]", "=", "&", "(", "src", "[", "i", "]", ")", "\n", "}", "\n", "return", "dst", "\n", "}" ]
// IntSlice converts a slice of int values into a slice of // int pointers
[ "IntSlice", "converts", "a", "slice", "of", "int", "values", "into", "a", "slice", "of", "int", "pointers" ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/convert_types.go#L139-L145
165,595
aws/aws-sdk-go
aws/convert_types.go
IntValueSlice
func IntValueSlice(src []*int) []int { dst := make([]int, len(src)) for i := 0; i < len(src); i++ { if src[i] != nil { dst[i] = *(src[i]) } } return dst }
go
func IntValueSlice(src []*int) []int { dst := make([]int, len(src)) for i := 0; i < len(src); i++ { if src[i] != nil { dst[i] = *(src[i]) } } return dst }
[ "func", "IntValueSlice", "(", "src", "[", "]", "*", "int", ")", "[", "]", "int", "{", "dst", ":=", "make", "(", "[", "]", "int", ",", "len", "(", "src", ")", ")", "\n", "for", "i", ":=", "0", ";", "i", "<", "len", "(", "src", ")", ";", "i", "++", "{", "if", "src", "[", "i", "]", "!=", "nil", "{", "dst", "[", "i", "]", "=", "*", "(", "src", "[", "i", "]", ")", "\n", "}", "\n", "}", "\n", "return", "dst", "\n", "}" ]
// IntValueSlice converts a slice of int pointers into a slice of // int values
[ "IntValueSlice", "converts", "a", "slice", "of", "int", "pointers", "into", "a", "slice", "of", "int", "values" ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/convert_types.go#L149-L157
165,596
aws/aws-sdk-go
aws/convert_types.go
IntMap
func IntMap(src map[string]int) map[string]*int { dst := make(map[string]*int) for k, val := range src { v := val dst[k] = &v } return dst }
go
func IntMap(src map[string]int) map[string]*int { dst := make(map[string]*int) for k, val := range src { v := val dst[k] = &v } return dst }
[ "func", "IntMap", "(", "src", "map", "[", "string", "]", "int", ")", "map", "[", "string", "]", "*", "int", "{", "dst", ":=", "make", "(", "map", "[", "string", "]", "*", "int", ")", "\n", "for", "k", ",", "val", ":=", "range", "src", "{", "v", ":=", "val", "\n", "dst", "[", "k", "]", "=", "&", "v", "\n", "}", "\n", "return", "dst", "\n", "}" ]
// IntMap converts a string map of int values into a string // map of int pointers
[ "IntMap", "converts", "a", "string", "map", "of", "int", "values", "into", "a", "string", "map", "of", "int", "pointers" ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/convert_types.go#L161-L168
165,597
aws/aws-sdk-go
aws/convert_types.go
IntValueMap
func IntValueMap(src map[string]*int) map[string]int { dst := make(map[string]int) for k, val := range src { if val != nil { dst[k] = *val } } return dst }
go
func IntValueMap(src map[string]*int) map[string]int { dst := make(map[string]int) for k, val := range src { if val != nil { dst[k] = *val } } return dst }
[ "func", "IntValueMap", "(", "src", "map", "[", "string", "]", "*", "int", ")", "map", "[", "string", "]", "int", "{", "dst", ":=", "make", "(", "map", "[", "string", "]", "int", ")", "\n", "for", "k", ",", "val", ":=", "range", "src", "{", "if", "val", "!=", "nil", "{", "dst", "[", "k", "]", "=", "*", "val", "\n", "}", "\n", "}", "\n", "return", "dst", "\n", "}" ]
// IntValueMap converts a string map of int pointers into a string // map of int values
[ "IntValueMap", "converts", "a", "string", "map", "of", "int", "pointers", "into", "a", "string", "map", "of", "int", "values" ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/convert_types.go#L172-L180
165,598
aws/aws-sdk-go
aws/convert_types.go
Int64Slice
func Int64Slice(src []int64) []*int64 { dst := make([]*int64, len(src)) for i := 0; i < len(src); i++ { dst[i] = &(src[i]) } return dst }
go
func Int64Slice(src []int64) []*int64 { dst := make([]*int64, len(src)) for i := 0; i < len(src); i++ { dst[i] = &(src[i]) } return dst }
[ "func", "Int64Slice", "(", "src", "[", "]", "int64", ")", "[", "]", "*", "int64", "{", "dst", ":=", "make", "(", "[", "]", "*", "int64", ",", "len", "(", "src", ")", ")", "\n", "for", "i", ":=", "0", ";", "i", "<", "len", "(", "src", ")", ";", "i", "++", "{", "dst", "[", "i", "]", "=", "&", "(", "src", "[", "i", "]", ")", "\n", "}", "\n", "return", "dst", "\n", "}" ]
// Int64Slice converts a slice of int64 values into a slice of // int64 pointers
[ "Int64Slice", "converts", "a", "slice", "of", "int64", "values", "into", "a", "slice", "of", "int64", "pointers" ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/convert_types.go#L198-L204
165,599
aws/aws-sdk-go
aws/convert_types.go
Int64ValueSlice
func Int64ValueSlice(src []*int64) []int64 { dst := make([]int64, len(src)) for i := 0; i < len(src); i++ { if src[i] != nil { dst[i] = *(src[i]) } } return dst }
go
func Int64ValueSlice(src []*int64) []int64 { dst := make([]int64, len(src)) for i := 0; i < len(src); i++ { if src[i] != nil { dst[i] = *(src[i]) } } return dst }
[ "func", "Int64ValueSlice", "(", "src", "[", "]", "*", "int64", ")", "[", "]", "int64", "{", "dst", ":=", "make", "(", "[", "]", "int64", ",", "len", "(", "src", ")", ")", "\n", "for", "i", ":=", "0", ";", "i", "<", "len", "(", "src", ")", ";", "i", "++", "{", "if", "src", "[", "i", "]", "!=", "nil", "{", "dst", "[", "i", "]", "=", "*", "(", "src", "[", "i", "]", ")", "\n", "}", "\n", "}", "\n", "return", "dst", "\n", "}" ]
// Int64ValueSlice converts a slice of int64 pointers into a slice of // int64 values
[ "Int64ValueSlice", "converts", "a", "slice", "of", "int64", "pointers", "into", "a", "slice", "of", "int64", "values" ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/convert_types.go#L208-L216