id
int32 0
167k
| repo
stringlengths 5
54
| path
stringlengths 4
155
| func_name
stringlengths 1
118
| original_string
stringlengths 52
85.5k
| language
stringclasses 1
value | code
stringlengths 52
85.5k
| code_tokens
listlengths 21
1.41k
| docstring
stringlengths 6
2.61k
| docstring_tokens
listlengths 3
215
| sha
stringlengths 40
40
| url
stringlengths 85
252
|
---|---|---|---|---|---|---|---|---|---|---|---|
167,100 |
aws/aws-sdk-go
|
example/aws/request/httptrace/main.go
|
publishMessage
|
func publishMessage(ctx context.Context, svc *sns.SNS, topic, msg string) (*RequestTrace, error) {
traceCtx := NewRequestTrace(ctx)
defer traceCtx.RequestDone()
_, err := svc.PublishWithContext(traceCtx, &sns.PublishInput{
TopicArn: &topic,
Message: &msg,
})
if err != nil {
return nil, err
}
return traceCtx, nil
}
|
go
|
func publishMessage(ctx context.Context, svc *sns.SNS, topic, msg string) (*RequestTrace, error) {
traceCtx := NewRequestTrace(ctx)
defer traceCtx.RequestDone()
_, err := svc.PublishWithContext(traceCtx, &sns.PublishInput{
TopicArn: &topic,
Message: &msg,
})
if err != nil {
return nil, err
}
return traceCtx, nil
}
|
[
"func",
"publishMessage",
"(",
"ctx",
"context",
".",
"Context",
",",
"svc",
"*",
"sns",
".",
"SNS",
",",
"topic",
",",
"msg",
"string",
")",
"(",
"*",
"RequestTrace",
",",
"error",
")",
"{",
"traceCtx",
":=",
"NewRequestTrace",
"(",
"ctx",
")",
"\n",
"defer",
"traceCtx",
".",
"RequestDone",
"(",
")",
"\n\n",
"_",
",",
"err",
":=",
"svc",
".",
"PublishWithContext",
"(",
"traceCtx",
",",
"&",
"sns",
".",
"PublishInput",
"{",
"TopicArn",
":",
"&",
"topic",
",",
"Message",
":",
"&",
"msg",
",",
"}",
")",
"\n",
"if",
"err",
"!=",
"nil",
"{",
"return",
"nil",
",",
"err",
"\n",
"}",
"\n\n",
"return",
"traceCtx",
",",
"nil",
"\n",
"}"
] |
// publishMessage will send the message to the SNS topic returning an request
// trace for metrics.
|
[
"publishMessage",
"will",
"send",
"the",
"message",
"to",
"the",
"SNS",
"topic",
"returning",
"an",
"request",
"trace",
"for",
"metrics",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/example/aws/request/httptrace/main.go#L75-L88
|
167,101 |
aws/aws-sdk-go
|
service/transfer/api.go
|
SetHostKeyFingerprint
|
func (s *DescribedServer) SetHostKeyFingerprint(v string) *DescribedServer {
s.HostKeyFingerprint = &v
return s
}
|
go
|
func (s *DescribedServer) SetHostKeyFingerprint(v string) *DescribedServer {
s.HostKeyFingerprint = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"DescribedServer",
")",
"SetHostKeyFingerprint",
"(",
"v",
"string",
")",
"*",
"DescribedServer",
"{",
"s",
".",
"HostKeyFingerprint",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetHostKeyFingerprint sets the HostKeyFingerprint field's value.
|
[
"SetHostKeyFingerprint",
"sets",
"the",
"HostKeyFingerprint",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/transfer/api.go#L2635-L2638
|
167,102 |
aws/aws-sdk-go
|
service/transfer/api.go
|
SetSshPublicKeys
|
func (s *DescribedUser) SetSshPublicKeys(v []*SshPublicKey) *DescribedUser {
s.SshPublicKeys = v
return s
}
|
go
|
func (s *DescribedUser) SetSshPublicKeys(v []*SshPublicKey) *DescribedUser {
s.SshPublicKeys = v
return s
}
|
[
"func",
"(",
"s",
"*",
"DescribedUser",
")",
"SetSshPublicKeys",
"(",
"v",
"[",
"]",
"*",
"SshPublicKey",
")",
"*",
"DescribedUser",
"{",
"s",
".",
"SshPublicKeys",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetSshPublicKeys sets the SshPublicKeys field's value.
|
[
"SetSshPublicKeys",
"sets",
"the",
"SshPublicKeys",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/transfer/api.go#L2757-L2760
|
167,103 |
aws/aws-sdk-go
|
service/transfer/api.go
|
SetVpcEndpointId
|
func (s *EndpointDetails) SetVpcEndpointId(v string) *EndpointDetails {
s.VpcEndpointId = &v
return s
}
|
go
|
func (s *EndpointDetails) SetVpcEndpointId(v string) *EndpointDetails {
s.VpcEndpointId = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"EndpointDetails",
")",
"SetVpcEndpointId",
"(",
"v",
"string",
")",
"*",
"EndpointDetails",
"{",
"s",
".",
"VpcEndpointId",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetVpcEndpointId sets the VpcEndpointId field's value.
|
[
"SetVpcEndpointId",
"sets",
"the",
"VpcEndpointId",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/transfer/api.go#L2794-L2797
|
167,104 |
aws/aws-sdk-go
|
service/transfer/api.go
|
SetSshPublicKeyCount
|
func (s *ListedUser) SetSshPublicKeyCount(v int64) *ListedUser {
s.SshPublicKeyCount = &v
return s
}
|
go
|
func (s *ListedUser) SetSshPublicKeyCount(v int64) *ListedUser {
s.SshPublicKeyCount = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"ListedUser",
")",
"SetSshPublicKeyCount",
"(",
"v",
"int64",
")",
"*",
"ListedUser",
"{",
"s",
".",
"SshPublicKeyCount",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetSshPublicKeyCount sets the SshPublicKeyCount field's value.
|
[
"SetSshPublicKeyCount",
"sets",
"the",
"SshPublicKeyCount",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/transfer/api.go#L3420-L3423
|
167,105 |
aws/aws-sdk-go
|
service/transfer/api.go
|
SetDateImported
|
func (s *SshPublicKey) SetDateImported(v time.Time) *SshPublicKey {
s.DateImported = &v
return s
}
|
go
|
func (s *SshPublicKey) SetDateImported(v time.Time) *SshPublicKey {
s.DateImported = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"SshPublicKey",
")",
"SetDateImported",
"(",
"v",
"time",
".",
"Time",
")",
"*",
"SshPublicKey",
"{",
"s",
".",
"DateImported",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetDateImported sets the DateImported field's value.
|
[
"SetDateImported",
"sets",
"the",
"DateImported",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/transfer/api.go#L3466-L3469
|
167,106 |
aws/aws-sdk-go
|
service/transfer/api.go
|
SetUserPassword
|
func (s *TestIdentityProviderInput) SetUserPassword(v string) *TestIdentityProviderInput {
s.UserPassword = &v
return s
}
|
go
|
func (s *TestIdentityProviderInput) SetUserPassword(v string) *TestIdentityProviderInput {
s.UserPassword = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"TestIdentityProviderInput",
")",
"SetUserPassword",
"(",
"v",
"string",
")",
"*",
"TestIdentityProviderInput",
"{",
"s",
".",
"UserPassword",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetUserPassword sets the UserPassword field's value.
|
[
"SetUserPassword",
"sets",
"the",
"UserPassword",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/transfer/api.go#L3788-L3791
|
167,107 |
aws/aws-sdk-go
|
service/codestar/api.go
|
SetCodeCommit
|
func (s *CodeDestination) SetCodeCommit(v *CodeCommitCodeDestination) *CodeDestination {
s.CodeCommit = v
return s
}
|
go
|
func (s *CodeDestination) SetCodeCommit(v *CodeCommitCodeDestination) *CodeDestination {
s.CodeCommit = v
return s
}
|
[
"func",
"(",
"s",
"*",
"CodeDestination",
")",
"SetCodeCommit",
"(",
"v",
"*",
"CodeCommitCodeDestination",
")",
"*",
"CodeDestination",
"{",
"s",
".",
"CodeCommit",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetCodeCommit sets the CodeCommit field's value.
|
[
"SetCodeCommit",
"sets",
"the",
"CodeCommit",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codestar/api.go#L1891-L1894
|
167,108 |
aws/aws-sdk-go
|
service/codestar/api.go
|
SetGitHub
|
func (s *CodeDestination) SetGitHub(v *GitHubCodeDestination) *CodeDestination {
s.GitHub = v
return s
}
|
go
|
func (s *CodeDestination) SetGitHub(v *GitHubCodeDestination) *CodeDestination {
s.GitHub = v
return s
}
|
[
"func",
"(",
"s",
"*",
"CodeDestination",
")",
"SetGitHub",
"(",
"v",
"*",
"GitHubCodeDestination",
")",
"*",
"CodeDestination",
"{",
"s",
".",
"GitHub",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetGitHub sets the GitHub field's value.
|
[
"SetGitHub",
"sets",
"the",
"GitHub",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codestar/api.go#L1897-L1900
|
167,109 |
aws/aws-sdk-go
|
service/codestar/api.go
|
SetSourceCode
|
func (s *CreateProjectInput) SetSourceCode(v []*Code) *CreateProjectInput {
s.SourceCode = v
return s
}
|
go
|
func (s *CreateProjectInput) SetSourceCode(v []*Code) *CreateProjectInput {
s.SourceCode = v
return s
}
|
[
"func",
"(",
"s",
"*",
"CreateProjectInput",
")",
"SetSourceCode",
"(",
"v",
"[",
"]",
"*",
"Code",
")",
"*",
"CreateProjectInput",
"{",
"s",
".",
"SourceCode",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetSourceCode sets the SourceCode field's value.
|
[
"SetSourceCode",
"sets",
"the",
"SourceCode",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codestar/api.go#L2056-L2059
|
167,110 |
aws/aws-sdk-go
|
service/codestar/api.go
|
SetToolchain
|
func (s *CreateProjectInput) SetToolchain(v *Toolchain) *CreateProjectInput {
s.Toolchain = v
return s
}
|
go
|
func (s *CreateProjectInput) SetToolchain(v *Toolchain) *CreateProjectInput {
s.Toolchain = v
return s
}
|
[
"func",
"(",
"s",
"*",
"CreateProjectInput",
")",
"SetToolchain",
"(",
"v",
"*",
"Toolchain",
")",
"*",
"CreateProjectInput",
"{",
"s",
".",
"Toolchain",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetToolchain sets the Toolchain field's value.
|
[
"SetToolchain",
"sets",
"the",
"Toolchain",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codestar/api.go#L2068-L2071
|
167,111 |
aws/aws-sdk-go
|
service/codestar/api.go
|
SetDeleteStack
|
func (s *DeleteProjectInput) SetDeleteStack(v bool) *DeleteProjectInput {
s.DeleteStack = &v
return s
}
|
go
|
func (s *DeleteProjectInput) SetDeleteStack(v bool) *DeleteProjectInput {
s.DeleteStack = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"DeleteProjectInput",
")",
"SetDeleteStack",
"(",
"v",
"bool",
")",
"*",
"DeleteProjectInput",
"{",
"s",
".",
"DeleteStack",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetDeleteStack sets the DeleteStack field's value.
|
[
"SetDeleteStack",
"sets",
"the",
"DeleteStack",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codestar/api.go#L2344-L2347
|
167,112 |
aws/aws-sdk-go
|
service/codestar/api.go
|
SetIssuesEnabled
|
func (s *GitHubCodeDestination) SetIssuesEnabled(v bool) *GitHubCodeDestination {
s.IssuesEnabled = &v
return s
}
|
go
|
func (s *GitHubCodeDestination) SetIssuesEnabled(v bool) *GitHubCodeDestination {
s.IssuesEnabled = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"GitHubCodeDestination",
")",
"SetIssuesEnabled",
"(",
"v",
"bool",
")",
"*",
"GitHubCodeDestination",
"{",
"s",
".",
"IssuesEnabled",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetIssuesEnabled sets the IssuesEnabled field's value.
|
[
"SetIssuesEnabled",
"sets",
"the",
"IssuesEnabled",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codestar/api.go#L2893-L2896
|
167,113 |
aws/aws-sdk-go
|
service/codestar/api.go
|
SetPrivateRepository
|
func (s *GitHubCodeDestination) SetPrivateRepository(v bool) *GitHubCodeDestination {
s.PrivateRepository = &v
return s
}
|
go
|
func (s *GitHubCodeDestination) SetPrivateRepository(v bool) *GitHubCodeDestination {
s.PrivateRepository = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"GitHubCodeDestination",
")",
"SetPrivateRepository",
"(",
"v",
"bool",
")",
"*",
"GitHubCodeDestination",
"{",
"s",
".",
"PrivateRepository",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetPrivateRepository sets the PrivateRepository field's value.
|
[
"SetPrivateRepository",
"sets",
"the",
"PrivateRepository",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codestar/api.go#L2911-L2914
|
167,114 |
aws/aws-sdk-go
|
service/codestar/api.go
|
SetTeamMembers
|
func (s *ListTeamMembersOutput) SetTeamMembers(v []*TeamMember) *ListTeamMembersOutput {
s.TeamMembers = v
return s
}
|
go
|
func (s *ListTeamMembersOutput) SetTeamMembers(v []*TeamMember) *ListTeamMembersOutput {
s.TeamMembers = v
return s
}
|
[
"func",
"(",
"s",
"*",
"ListTeamMembersOutput",
")",
"SetTeamMembers",
"(",
"v",
"[",
"]",
"*",
"TeamMember",
")",
"*",
"ListTeamMembersOutput",
"{",
"s",
".",
"TeamMembers",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetTeamMembers sets the TeamMembers field's value.
|
[
"SetTeamMembers",
"sets",
"the",
"TeamMembers",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codestar/api.go#L3304-L3307
|
167,115 |
aws/aws-sdk-go
|
service/codestar/api.go
|
SetBucketKey
|
func (s *S3Location) SetBucketKey(v string) *S3Location {
s.BucketKey = &v
return s
}
|
go
|
func (s *S3Location) SetBucketKey(v string) *S3Location {
s.BucketKey = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"S3Location",
")",
"SetBucketKey",
"(",
"v",
"string",
")",
"*",
"S3Location",
"{",
"s",
".",
"BucketKey",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetBucketKey sets the BucketKey field's value.
|
[
"SetBucketKey",
"sets",
"the",
"BucketKey",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codestar/api.go#L3525-L3528
|
167,116 |
aws/aws-sdk-go
|
service/codestar/api.go
|
SetStackParameters
|
func (s *Toolchain) SetStackParameters(v map[string]*string) *Toolchain {
s.StackParameters = v
return s
}
|
go
|
func (s *Toolchain) SetStackParameters(v map[string]*string) *Toolchain {
s.StackParameters = v
return s
}
|
[
"func",
"(",
"s",
"*",
"Toolchain",
")",
"SetStackParameters",
"(",
"v",
"map",
"[",
"string",
"]",
"*",
"string",
")",
"*",
"Toolchain",
"{",
"s",
".",
"StackParameters",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetStackParameters sets the StackParameters field's value.
|
[
"SetStackParameters",
"sets",
"the",
"StackParameters",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codestar/api.go#L3728-L3731
|
167,117 |
aws/aws-sdk-go
|
aws/awserr/error.go
|
New
|
func New(code, message string, origErr error) Error {
var errs []error
if origErr != nil {
errs = append(errs, origErr)
}
return newBaseError(code, message, errs)
}
|
go
|
func New(code, message string, origErr error) Error {
var errs []error
if origErr != nil {
errs = append(errs, origErr)
}
return newBaseError(code, message, errs)
}
|
[
"func",
"New",
"(",
"code",
",",
"message",
"string",
",",
"origErr",
"error",
")",
"Error",
"{",
"var",
"errs",
"[",
"]",
"error",
"\n",
"if",
"origErr",
"!=",
"nil",
"{",
"errs",
"=",
"append",
"(",
"errs",
",",
"origErr",
")",
"\n",
"}",
"\n",
"return",
"newBaseError",
"(",
"code",
",",
"message",
",",
"errs",
")",
"\n",
"}"
] |
// New returns an Error object described by the code, message, and origErr.
//
// If origErr satisfies the Error interface it will not be wrapped within a new
// Error object and will instead be returned.
|
[
"New",
"returns",
"an",
"Error",
"object",
"described",
"by",
"the",
"code",
"message",
"and",
"origErr",
".",
"If",
"origErr",
"satisfies",
"the",
"Error",
"interface",
"it",
"will",
"not",
"be",
"wrapped",
"within",
"a",
"new",
"Error",
"object",
"and",
"will",
"instead",
"be",
"returned",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/awserr/error.go#L82-L88
|
167,118 |
aws/aws-sdk-go
|
aws/awserr/error.go
|
NewBatchError
|
func NewBatchError(code, message string, errs []error) BatchedErrors {
return newBaseError(code, message, errs)
}
|
go
|
func NewBatchError(code, message string, errs []error) BatchedErrors {
return newBaseError(code, message, errs)
}
|
[
"func",
"NewBatchError",
"(",
"code",
",",
"message",
"string",
",",
"errs",
"[",
"]",
"error",
")",
"BatchedErrors",
"{",
"return",
"newBaseError",
"(",
"code",
",",
"message",
",",
"errs",
")",
"\n",
"}"
] |
// NewBatchError returns an BatchedErrors with a collection of errors as an
// array of errors.
|
[
"NewBatchError",
"returns",
"an",
"BatchedErrors",
"with",
"a",
"collection",
"of",
"errors",
"as",
"an",
"array",
"of",
"errors",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/awserr/error.go#L92-L94
|
167,119 |
aws/aws-sdk-go
|
aws/awserr/error.go
|
NewRequestFailure
|
func NewRequestFailure(err Error, statusCode int, reqID string) RequestFailure {
return newRequestError(err, statusCode, reqID)
}
|
go
|
func NewRequestFailure(err Error, statusCode int, reqID string) RequestFailure {
return newRequestError(err, statusCode, reqID)
}
|
[
"func",
"NewRequestFailure",
"(",
"err",
"Error",
",",
"statusCode",
"int",
",",
"reqID",
"string",
")",
"RequestFailure",
"{",
"return",
"newRequestError",
"(",
"err",
",",
"statusCode",
",",
"reqID",
")",
"\n",
"}"
] |
// NewRequestFailure returns a new request error wrapper for the given Error
// provided.
|
[
"NewRequestFailure",
"returns",
"a",
"new",
"request",
"error",
"wrapper",
"for",
"the",
"given",
"Error",
"provided",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/awserr/error.go#L143-L145
|
167,120 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetMinPower
|
func (s *Blueprint) SetMinPower(v int64) *Blueprint {
s.MinPower = &v
return s
}
|
go
|
func (s *Blueprint) SetMinPower(v int64) *Blueprint {
s.MinPower = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"Blueprint",
")",
"SetMinPower",
"(",
"v",
"int64",
")",
"*",
"Blueprint",
"{",
"s",
".",
"MinPower",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetMinPower sets the MinPower field's value.
|
[
"SetMinPower",
"sets",
"the",
"MinPower",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L11411-L11414
|
167,121 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetProductUrl
|
func (s *Blueprint) SetProductUrl(v string) *Blueprint {
s.ProductUrl = &v
return s
}
|
go
|
func (s *Blueprint) SetProductUrl(v string) *Blueprint {
s.ProductUrl = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"Blueprint",
")",
"SetProductUrl",
"(",
"v",
"string",
")",
"*",
"Blueprint",
"{",
"s",
".",
"ProductUrl",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetProductUrl sets the ProductUrl field's value.
|
[
"SetProductUrl",
"sets",
"the",
"ProductUrl",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L11429-L11432
|
167,122 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetVersionCode
|
func (s *Blueprint) SetVersionCode(v string) *Blueprint {
s.VersionCode = &v
return s
}
|
go
|
func (s *Blueprint) SetVersionCode(v string) *Blueprint {
s.VersionCode = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"Blueprint",
")",
"SetVersionCode",
"(",
"v",
"string",
")",
"*",
"Blueprint",
"{",
"s",
".",
"VersionCode",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetVersionCode sets the VersionCode field's value.
|
[
"SetVersionCode",
"sets",
"the",
"VersionCode",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L11447-L11450
|
167,123 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetPower
|
func (s *Bundle) SetPower(v int64) *Bundle {
s.Power = &v
return s
}
|
go
|
func (s *Bundle) SetPower(v int64) *Bundle {
s.Power = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"Bundle",
")",
"SetPower",
"(",
"v",
"int64",
")",
"*",
"Bundle",
"{",
"s",
".",
"Power",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetPower sets the Power field's value.
|
[
"SetPower",
"sets",
"the",
"Power",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L11545-L11548
|
167,124 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetTargetSnapshotName
|
func (s *CopySnapshotInput) SetTargetSnapshotName(v string) *CopySnapshotInput {
s.TargetSnapshotName = &v
return s
}
|
go
|
func (s *CopySnapshotInput) SetTargetSnapshotName(v string) *CopySnapshotInput {
s.TargetSnapshotName = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"CopySnapshotInput",
")",
"SetTargetSnapshotName",
"(",
"v",
"string",
")",
"*",
"CopySnapshotInput",
"{",
"s",
".",
"TargetSnapshotName",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetTargetSnapshotName sets the TargetSnapshotName field's value.
|
[
"SetTargetSnapshotName",
"sets",
"the",
"TargetSnapshotName",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L11848-L11851
|
167,125 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetAttachedDiskMapping
|
func (s *CreateInstancesFromSnapshotInput) SetAttachedDiskMapping(v map[string][]*DiskMap) *CreateInstancesFromSnapshotInput {
s.AttachedDiskMapping = v
return s
}
|
go
|
func (s *CreateInstancesFromSnapshotInput) SetAttachedDiskMapping(v map[string][]*DiskMap) *CreateInstancesFromSnapshotInput {
s.AttachedDiskMapping = v
return s
}
|
[
"func",
"(",
"s",
"*",
"CreateInstancesFromSnapshotInput",
")",
"SetAttachedDiskMapping",
"(",
"v",
"map",
"[",
"string",
"]",
"[",
"]",
"*",
"DiskMap",
")",
"*",
"CreateInstancesFromSnapshotInput",
"{",
"s",
".",
"AttachedDiskMapping",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetAttachedDiskMapping sets the AttachedDiskMapping field's value.
|
[
"SetAttachedDiskMapping",
"sets",
"the",
"AttachedDiskMapping",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L12599-L12602
|
167,126 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetCustomImageName
|
func (s *CreateInstancesInput) SetCustomImageName(v string) *CreateInstancesInput {
s.CustomImageName = &v
return s
}
|
go
|
func (s *CreateInstancesInput) SetCustomImageName(v string) *CreateInstancesInput {
s.CustomImageName = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"CreateInstancesInput",
")",
"SetCustomImageName",
"(",
"v",
"string",
")",
"*",
"CreateInstancesInput",
"{",
"s",
".",
"CustomImageName",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetCustomImageName sets the CustomImageName field's value.
|
[
"SetCustomImageName",
"sets",
"the",
"CustomImageName",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L12778-L12781
|
167,127 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetSourceRelationalDatabaseName
|
func (s *CreateRelationalDatabaseFromSnapshotInput) SetSourceRelationalDatabaseName(v string) *CreateRelationalDatabaseFromSnapshotInput {
s.SourceRelationalDatabaseName = &v
return s
}
|
go
|
func (s *CreateRelationalDatabaseFromSnapshotInput) SetSourceRelationalDatabaseName(v string) *CreateRelationalDatabaseFromSnapshotInput {
s.SourceRelationalDatabaseName = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"CreateRelationalDatabaseFromSnapshotInput",
")",
"SetSourceRelationalDatabaseName",
"(",
"v",
"string",
")",
"*",
"CreateRelationalDatabaseFromSnapshotInput",
"{",
"s",
".",
"SourceRelationalDatabaseName",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetSourceRelationalDatabaseName sets the SourceRelationalDatabaseName field's value.
|
[
"SetSourceRelationalDatabaseName",
"sets",
"the",
"SourceRelationalDatabaseName",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L13318-L13321
|
167,128 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetFinalRelationalDatabaseSnapshotName
|
func (s *DeleteRelationalDatabaseInput) SetFinalRelationalDatabaseSnapshotName(v string) *DeleteRelationalDatabaseInput {
s.FinalRelationalDatabaseSnapshotName = &v
return s
}
|
go
|
func (s *DeleteRelationalDatabaseInput) SetFinalRelationalDatabaseSnapshotName(v string) *DeleteRelationalDatabaseInput {
s.FinalRelationalDatabaseSnapshotName = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"DeleteRelationalDatabaseInput",
")",
"SetFinalRelationalDatabaseSnapshotName",
"(",
"v",
"string",
")",
"*",
"DeleteRelationalDatabaseInput",
"{",
"s",
".",
"FinalRelationalDatabaseSnapshotName",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetFinalRelationalDatabaseSnapshotName sets the FinalRelationalDatabaseSnapshotName field's value.
|
[
"SetFinalRelationalDatabaseSnapshotName",
"sets",
"the",
"FinalRelationalDatabaseSnapshotName",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L14417-L14420
|
167,129 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetGbInUse
|
func (s *Disk) SetGbInUse(v int64) *Disk {
s.GbInUse = &v
return s
}
|
go
|
func (s *Disk) SetGbInUse(v int64) *Disk {
s.GbInUse = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"Disk",
")",
"SetGbInUse",
"(",
"v",
"int64",
")",
"*",
"Disk",
"{",
"s",
".",
"GbInUse",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetGbInUse sets the GbInUse field's value.
|
[
"SetGbInUse",
"sets",
"the",
"GbInUse",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L14855-L14858
|
167,130 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetNewDiskName
|
func (s *DiskMap) SetNewDiskName(v string) *DiskMap {
s.NewDiskName = &v
return s
}
|
go
|
func (s *DiskMap) SetNewDiskName(v string) *DiskMap {
s.NewDiskName = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"DiskMap",
")",
"SetNewDiskName",
"(",
"v",
"string",
")",
"*",
"DiskMap",
"{",
"s",
".",
"NewDiskName",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetNewDiskName sets the NewDiskName field's value.
|
[
"SetNewDiskName",
"sets",
"the",
"NewDiskName",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L15000-L15003
|
167,131 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetOriginalDiskPath
|
func (s *DiskMap) SetOriginalDiskPath(v string) *DiskMap {
s.OriginalDiskPath = &v
return s
}
|
go
|
func (s *DiskMap) SetOriginalDiskPath(v string) *DiskMap {
s.OriginalDiskPath = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"DiskMap",
")",
"SetOriginalDiskPath",
"(",
"v",
"string",
")",
"*",
"DiskMap",
"{",
"s",
".",
"OriginalDiskPath",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetOriginalDiskPath sets the OriginalDiskPath field's value.
|
[
"SetOriginalDiskPath",
"sets",
"the",
"OriginalDiskPath",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L15006-L15009
|
167,132 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetFromDiskArn
|
func (s *DiskSnapshot) SetFromDiskArn(v string) *DiskSnapshot {
s.FromDiskArn = &v
return s
}
|
go
|
func (s *DiskSnapshot) SetFromDiskArn(v string) *DiskSnapshot {
s.FromDiskArn = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"DiskSnapshot",
")",
"SetFromDiskArn",
"(",
"v",
"string",
")",
"*",
"DiskSnapshot",
"{",
"s",
".",
"FromDiskArn",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetFromDiskArn sets the FromDiskArn field's value.
|
[
"SetFromDiskArn",
"sets",
"the",
"FromDiskArn",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L15087-L15090
|
167,133 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetFromDiskName
|
func (s *DiskSnapshot) SetFromDiskName(v string) *DiskSnapshot {
s.FromDiskName = &v
return s
}
|
go
|
func (s *DiskSnapshot) SetFromDiskName(v string) *DiskSnapshot {
s.FromDiskName = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"DiskSnapshot",
")",
"SetFromDiskName",
"(",
"v",
"string",
")",
"*",
"DiskSnapshot",
"{",
"s",
".",
"FromDiskName",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetFromDiskName sets the FromDiskName field's value.
|
[
"SetFromDiskName",
"sets",
"the",
"FromDiskName",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L15093-L15096
|
167,134 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetDomainEntries
|
func (s *Domain) SetDomainEntries(v []*DomainEntry) *Domain {
s.DomainEntries = v
return s
}
|
go
|
func (s *Domain) SetDomainEntries(v []*DomainEntry) *Domain {
s.DomainEntries = v
return s
}
|
[
"func",
"(",
"s",
"*",
"Domain",
")",
"SetDomainEntries",
"(",
"v",
"[",
"]",
"*",
"DomainEntry",
")",
"*",
"Domain",
"{",
"s",
".",
"DomainEntries",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetDomainEntries sets the DomainEntries field's value.
|
[
"SetDomainEntries",
"sets",
"the",
"DomainEntries",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L15237-L15240
|
167,135 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetIsAlias
|
func (s *DomainEntry) SetIsAlias(v bool) *DomainEntry {
s.IsAlias = &v
return s
}
|
go
|
func (s *DomainEntry) SetIsAlias(v bool) *DomainEntry {
s.IsAlias = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"DomainEntry",
")",
"SetIsAlias",
"(",
"v",
"bool",
")",
"*",
"DomainEntry",
"{",
"s",
".",
"IsAlias",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetIsAlias sets the IsAlias field's value.
|
[
"SetIsAlias",
"sets",
"the",
"IsAlias",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L15342-L15345
|
167,136 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetDiskSnapshotInfo
|
func (s *ExportSnapshotRecordSourceInfo) SetDiskSnapshotInfo(v *DiskSnapshotInfo) *ExportSnapshotRecordSourceInfo {
s.DiskSnapshotInfo = v
return s
}
|
go
|
func (s *ExportSnapshotRecordSourceInfo) SetDiskSnapshotInfo(v *DiskSnapshotInfo) *ExportSnapshotRecordSourceInfo {
s.DiskSnapshotInfo = v
return s
}
|
[
"func",
"(",
"s",
"*",
"ExportSnapshotRecordSourceInfo",
")",
"SetDiskSnapshotInfo",
"(",
"v",
"*",
"DiskSnapshotInfo",
")",
"*",
"ExportSnapshotRecordSourceInfo",
"{",
"s",
".",
"DiskSnapshotInfo",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetDiskSnapshotInfo sets the DiskSnapshotInfo field's value.
|
[
"SetDiskSnapshotInfo",
"sets",
"the",
"DiskSnapshotInfo",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L15618-L15621
|
167,137 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetFromResourceArn
|
func (s *ExportSnapshotRecordSourceInfo) SetFromResourceArn(v string) *ExportSnapshotRecordSourceInfo {
s.FromResourceArn = &v
return s
}
|
go
|
func (s *ExportSnapshotRecordSourceInfo) SetFromResourceArn(v string) *ExportSnapshotRecordSourceInfo {
s.FromResourceArn = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"ExportSnapshotRecordSourceInfo",
")",
"SetFromResourceArn",
"(",
"v",
"string",
")",
"*",
"ExportSnapshotRecordSourceInfo",
"{",
"s",
".",
"FromResourceArn",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetFromResourceArn sets the FromResourceArn field's value.
|
[
"SetFromResourceArn",
"sets",
"the",
"FromResourceArn",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L15624-L15627
|
167,138 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetFromResourceName
|
func (s *ExportSnapshotRecordSourceInfo) SetFromResourceName(v string) *ExportSnapshotRecordSourceInfo {
s.FromResourceName = &v
return s
}
|
go
|
func (s *ExportSnapshotRecordSourceInfo) SetFromResourceName(v string) *ExportSnapshotRecordSourceInfo {
s.FromResourceName = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"ExportSnapshotRecordSourceInfo",
")",
"SetFromResourceName",
"(",
"v",
"string",
")",
"*",
"ExportSnapshotRecordSourceInfo",
"{",
"s",
".",
"FromResourceName",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetFromResourceName sets the FromResourceName field's value.
|
[
"SetFromResourceName",
"sets",
"the",
"FromResourceName",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L15630-L15633
|
167,139 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetInstanceSnapshotInfo
|
func (s *ExportSnapshotRecordSourceInfo) SetInstanceSnapshotInfo(v *InstanceSnapshotInfo) *ExportSnapshotRecordSourceInfo {
s.InstanceSnapshotInfo = v
return s
}
|
go
|
func (s *ExportSnapshotRecordSourceInfo) SetInstanceSnapshotInfo(v *InstanceSnapshotInfo) *ExportSnapshotRecordSourceInfo {
s.InstanceSnapshotInfo = v
return s
}
|
[
"func",
"(",
"s",
"*",
"ExportSnapshotRecordSourceInfo",
")",
"SetInstanceSnapshotInfo",
"(",
"v",
"*",
"InstanceSnapshotInfo",
")",
"*",
"ExportSnapshotRecordSourceInfo",
"{",
"s",
".",
"InstanceSnapshotInfo",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetInstanceSnapshotInfo sets the InstanceSnapshotInfo field's value.
|
[
"SetInstanceSnapshotInfo",
"sets",
"the",
"InstanceSnapshotInfo",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L15636-L15639
|
167,140 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetActiveNames
|
func (s *GetActiveNamesOutput) SetActiveNames(v []*string) *GetActiveNamesOutput {
s.ActiveNames = v
return s
}
|
go
|
func (s *GetActiveNamesOutput) SetActiveNames(v []*string) *GetActiveNamesOutput {
s.ActiveNames = v
return s
}
|
[
"func",
"(",
"s",
"*",
"GetActiveNamesOutput",
")",
"SetActiveNames",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"GetActiveNamesOutput",
"{",
"s",
".",
"ActiveNames",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetActiveNames sets the ActiveNames field's value.
|
[
"SetActiveNames",
"sets",
"the",
"ActiveNames",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L15698-L15701
|
167,141 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetCloudFormationStackRecords
|
func (s *GetCloudFormationStackRecordsOutput) SetCloudFormationStackRecords(v []*CloudFormationStackRecord) *GetCloudFormationStackRecordsOutput {
s.CloudFormationStackRecords = v
return s
}
|
go
|
func (s *GetCloudFormationStackRecordsOutput) SetCloudFormationStackRecords(v []*CloudFormationStackRecord) *GetCloudFormationStackRecordsOutput {
s.CloudFormationStackRecords = v
return s
}
|
[
"func",
"(",
"s",
"*",
"GetCloudFormationStackRecordsOutput",
")",
"SetCloudFormationStackRecords",
"(",
"v",
"[",
"]",
"*",
"CloudFormationStackRecord",
")",
"*",
"GetCloudFormationStackRecordsOutput",
"{",
"s",
".",
"CloudFormationStackRecords",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetCloudFormationStackRecords sets the CloudFormationStackRecords field's value.
|
[
"SetCloudFormationStackRecords",
"sets",
"the",
"CloudFormationStackRecords",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L15890-L15893
|
167,142 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetDisk
|
func (s *GetDiskOutput) SetDisk(v *Disk) *GetDiskOutput {
s.Disk = v
return s
}
|
go
|
func (s *GetDiskOutput) SetDisk(v *Disk) *GetDiskOutput {
s.Disk = v
return s
}
|
[
"func",
"(",
"s",
"*",
"GetDiskOutput",
")",
"SetDisk",
"(",
"v",
"*",
"Disk",
")",
"*",
"GetDiskOutput",
"{",
"s",
".",
"Disk",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetDisk sets the Disk field's value.
|
[
"SetDisk",
"sets",
"the",
"Disk",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L15957-L15960
|
167,143 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetDiskSnapshot
|
func (s *GetDiskSnapshotOutput) SetDiskSnapshot(v *DiskSnapshot) *GetDiskSnapshotOutput {
s.DiskSnapshot = v
return s
}
|
go
|
func (s *GetDiskSnapshotOutput) SetDiskSnapshot(v *DiskSnapshot) *GetDiskSnapshotOutput {
s.DiskSnapshot = v
return s
}
|
[
"func",
"(",
"s",
"*",
"GetDiskSnapshotOutput",
")",
"SetDiskSnapshot",
"(",
"v",
"*",
"DiskSnapshot",
")",
"*",
"GetDiskSnapshotOutput",
"{",
"s",
".",
"DiskSnapshot",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetDiskSnapshot sets the DiskSnapshot field's value.
|
[
"SetDiskSnapshot",
"sets",
"the",
"DiskSnapshot",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L16018-L16021
|
167,144 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetDiskSnapshots
|
func (s *GetDiskSnapshotsOutput) SetDiskSnapshots(v []*DiskSnapshot) *GetDiskSnapshotsOutput {
s.DiskSnapshots = v
return s
}
|
go
|
func (s *GetDiskSnapshotsOutput) SetDiskSnapshots(v []*DiskSnapshot) *GetDiskSnapshotsOutput {
s.DiskSnapshots = v
return s
}
|
[
"func",
"(",
"s",
"*",
"GetDiskSnapshotsOutput",
")",
"SetDiskSnapshots",
"(",
"v",
"[",
"]",
"*",
"DiskSnapshot",
")",
"*",
"GetDiskSnapshotsOutput",
"{",
"s",
".",
"DiskSnapshots",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetDiskSnapshots sets the DiskSnapshots field's value.
|
[
"SetDiskSnapshots",
"sets",
"the",
"DiskSnapshots",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L16069-L16072
|
167,145 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetExportSnapshotRecords
|
func (s *GetExportSnapshotRecordsOutput) SetExportSnapshotRecords(v []*ExportSnapshotRecord) *GetExportSnapshotRecordsOutput {
s.ExportSnapshotRecords = v
return s
}
|
go
|
func (s *GetExportSnapshotRecordsOutput) SetExportSnapshotRecords(v []*ExportSnapshotRecord) *GetExportSnapshotRecordsOutput {
s.ExportSnapshotRecords = v
return s
}
|
[
"func",
"(",
"s",
"*",
"GetExportSnapshotRecordsOutput",
")",
"SetExportSnapshotRecords",
"(",
"v",
"[",
"]",
"*",
"ExportSnapshotRecord",
")",
"*",
"GetExportSnapshotRecordsOutput",
"{",
"s",
".",
"ExportSnapshotRecords",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetExportSnapshotRecords sets the ExportSnapshotRecords field's value.
|
[
"SetExportSnapshotRecords",
"sets",
"the",
"ExportSnapshotRecords",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L16303-L16306
|
167,146 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetAccessDetails
|
func (s *GetInstanceAccessDetailsOutput) SetAccessDetails(v *InstanceAccessDetails) *GetInstanceAccessDetailsOutput {
s.AccessDetails = v
return s
}
|
go
|
func (s *GetInstanceAccessDetailsOutput) SetAccessDetails(v *InstanceAccessDetails) *GetInstanceAccessDetailsOutput {
s.AccessDetails = v
return s
}
|
[
"func",
"(",
"s",
"*",
"GetInstanceAccessDetailsOutput",
")",
"SetAccessDetails",
"(",
"v",
"*",
"InstanceAccessDetails",
")",
"*",
"GetInstanceAccessDetailsOutput",
"{",
"s",
".",
"AccessDetails",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetAccessDetails sets the AccessDetails field's value.
|
[
"SetAccessDetails",
"sets",
"the",
"AccessDetails",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L16380-L16383
|
167,147 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetPortStates
|
func (s *GetInstancePortStatesOutput) SetPortStates(v []*InstancePortState) *GetInstancePortStatesOutput {
s.PortStates = v
return s
}
|
go
|
func (s *GetInstancePortStatesOutput) SetPortStates(v []*InstancePortState) *GetInstancePortStatesOutput {
s.PortStates = v
return s
}
|
[
"func",
"(",
"s",
"*",
"GetInstancePortStatesOutput",
")",
"SetPortStates",
"(",
"v",
"[",
"]",
"*",
"InstancePortState",
")",
"*",
"GetInstancePortStatesOutput",
"{",
"s",
".",
"PortStates",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetPortStates sets the PortStates field's value.
|
[
"SetPortStates",
"sets",
"the",
"PortStates",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L16660-L16663
|
167,148 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetInstanceSnapshot
|
func (s *GetInstanceSnapshotOutput) SetInstanceSnapshot(v *InstanceSnapshot) *GetInstanceSnapshotOutput {
s.InstanceSnapshot = v
return s
}
|
go
|
func (s *GetInstanceSnapshotOutput) SetInstanceSnapshot(v *InstanceSnapshot) *GetInstanceSnapshotOutput {
s.InstanceSnapshot = v
return s
}
|
[
"func",
"(",
"s",
"*",
"GetInstanceSnapshotOutput",
")",
"SetInstanceSnapshot",
"(",
"v",
"*",
"InstanceSnapshot",
")",
"*",
"GetInstanceSnapshotOutput",
"{",
"s",
".",
"InstanceSnapshot",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetInstanceSnapshot sets the InstanceSnapshot field's value.
|
[
"SetInstanceSnapshot",
"sets",
"the",
"InstanceSnapshot",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L16722-L16725
|
167,149 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetInstanceSnapshots
|
func (s *GetInstanceSnapshotsOutput) SetInstanceSnapshots(v []*InstanceSnapshot) *GetInstanceSnapshotsOutput {
s.InstanceSnapshots = v
return s
}
|
go
|
func (s *GetInstanceSnapshotsOutput) SetInstanceSnapshots(v []*InstanceSnapshot) *GetInstanceSnapshotsOutput {
s.InstanceSnapshots = v
return s
}
|
[
"func",
"(",
"s",
"*",
"GetInstanceSnapshotsOutput",
")",
"SetInstanceSnapshots",
"(",
"v",
"[",
"]",
"*",
"InstanceSnapshot",
")",
"*",
"GetInstanceSnapshotsOutput",
"{",
"s",
".",
"InstanceSnapshots",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetInstanceSnapshots sets the InstanceSnapshots field's value.
|
[
"SetInstanceSnapshots",
"sets",
"the",
"InstanceSnapshots",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L16774-L16777
|
167,150 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetKeyPairs
|
func (s *GetKeyPairsOutput) SetKeyPairs(v []*KeyPair) *GetKeyPairsOutput {
s.KeyPairs = v
return s
}
|
go
|
func (s *GetKeyPairsOutput) SetKeyPairs(v []*KeyPair) *GetKeyPairsOutput {
s.KeyPairs = v
return s
}
|
[
"func",
"(",
"s",
"*",
"GetKeyPairsOutput",
")",
"SetKeyPairs",
"(",
"v",
"[",
"]",
"*",
"KeyPair",
")",
"*",
"GetKeyPairsOutput",
"{",
"s",
".",
"KeyPairs",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetKeyPairs sets the KeyPairs field's value.
|
[
"SetKeyPairs",
"sets",
"the",
"KeyPairs",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L17010-L17013
|
167,151 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetTlsCertificates
|
func (s *GetLoadBalancerTlsCertificatesOutput) SetTlsCertificates(v []*LoadBalancerTlsCertificate) *GetLoadBalancerTlsCertificatesOutput {
s.TlsCertificates = v
return s
}
|
go
|
func (s *GetLoadBalancerTlsCertificatesOutput) SetTlsCertificates(v []*LoadBalancerTlsCertificate) *GetLoadBalancerTlsCertificatesOutput {
s.TlsCertificates = v
return s
}
|
[
"func",
"(",
"s",
"*",
"GetLoadBalancerTlsCertificatesOutput",
")",
"SetTlsCertificates",
"(",
"v",
"[",
"]",
"*",
"LoadBalancerTlsCertificate",
")",
"*",
"GetLoadBalancerTlsCertificatesOutput",
"{",
"s",
".",
"TlsCertificates",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetTlsCertificates sets the TlsCertificates field's value.
|
[
"SetTlsCertificates",
"sets",
"the",
"TlsCertificates",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L17474-L17477
|
167,152 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetNextPageCount
|
func (s *GetOperationsForResourceOutput) SetNextPageCount(v string) *GetOperationsForResourceOutput {
s.NextPageCount = &v
return s
}
|
go
|
func (s *GetOperationsForResourceOutput) SetNextPageCount(v string) *GetOperationsForResourceOutput {
s.NextPageCount = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"GetOperationsForResourceOutput",
")",
"SetNextPageCount",
"(",
"v",
"string",
")",
"*",
"GetOperationsForResourceOutput",
"{",
"s",
".",
"NextPageCount",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetNextPageCount sets the NextPageCount field's value.
|
[
"SetNextPageCount",
"sets",
"the",
"NextPageCount",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L17676-L17679
|
167,153 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetIncludeAvailabilityZones
|
func (s *GetRegionsInput) SetIncludeAvailabilityZones(v bool) *GetRegionsInput {
s.IncludeAvailabilityZones = &v
return s
}
|
go
|
func (s *GetRegionsInput) SetIncludeAvailabilityZones(v bool) *GetRegionsInput {
s.IncludeAvailabilityZones = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"GetRegionsInput",
")",
"SetIncludeAvailabilityZones",
"(",
"v",
"bool",
")",
"*",
"GetRegionsInput",
"{",
"s",
".",
"IncludeAvailabilityZones",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetIncludeAvailabilityZones sets the IncludeAvailabilityZones field's value.
|
[
"SetIncludeAvailabilityZones",
"sets",
"the",
"IncludeAvailabilityZones",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L17776-L17779
|
167,154 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetIncludeRelationalDatabaseAvailabilityZones
|
func (s *GetRegionsInput) SetIncludeRelationalDatabaseAvailabilityZones(v bool) *GetRegionsInput {
s.IncludeRelationalDatabaseAvailabilityZones = &v
return s
}
|
go
|
func (s *GetRegionsInput) SetIncludeRelationalDatabaseAvailabilityZones(v bool) *GetRegionsInput {
s.IncludeRelationalDatabaseAvailabilityZones = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"GetRegionsInput",
")",
"SetIncludeRelationalDatabaseAvailabilityZones",
"(",
"v",
"bool",
")",
"*",
"GetRegionsInput",
"{",
"s",
".",
"IncludeRelationalDatabaseAvailabilityZones",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetIncludeRelationalDatabaseAvailabilityZones sets the IncludeRelationalDatabaseAvailabilityZones field's value.
|
[
"SetIncludeRelationalDatabaseAvailabilityZones",
"sets",
"the",
"IncludeRelationalDatabaseAvailabilityZones",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L17782-L17785
|
167,155 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetDurationInMinutes
|
func (s *GetRelationalDatabaseEventsInput) SetDurationInMinutes(v int64) *GetRelationalDatabaseEventsInput {
s.DurationInMinutes = &v
return s
}
|
go
|
func (s *GetRelationalDatabaseEventsInput) SetDurationInMinutes(v int64) *GetRelationalDatabaseEventsInput {
s.DurationInMinutes = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"GetRelationalDatabaseEventsInput",
")",
"SetDurationInMinutes",
"(",
"v",
"int64",
")",
"*",
"GetRelationalDatabaseEventsInput",
"{",
"s",
".",
"DurationInMinutes",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetDurationInMinutes sets the DurationInMinutes field's value.
|
[
"SetDurationInMinutes",
"sets",
"the",
"DurationInMinutes",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L17971-L17974
|
167,156 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetRelationalDatabaseEvents
|
func (s *GetRelationalDatabaseEventsOutput) SetRelationalDatabaseEvents(v []*RelationalDatabaseEvent) *GetRelationalDatabaseEventsOutput {
s.RelationalDatabaseEvents = v
return s
}
|
go
|
func (s *GetRelationalDatabaseEventsOutput) SetRelationalDatabaseEvents(v []*RelationalDatabaseEvent) *GetRelationalDatabaseEventsOutput {
s.RelationalDatabaseEvents = v
return s
}
|
[
"func",
"(",
"s",
"*",
"GetRelationalDatabaseEventsOutput",
")",
"SetRelationalDatabaseEvents",
"(",
"v",
"[",
"]",
"*",
"RelationalDatabaseEvent",
")",
"*",
"GetRelationalDatabaseEventsOutput",
"{",
"s",
".",
"RelationalDatabaseEvents",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetRelationalDatabaseEvents sets the RelationalDatabaseEvents field's value.
|
[
"SetRelationalDatabaseEvents",
"sets",
"the",
"RelationalDatabaseEvents",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L18016-L18019
|
167,157 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetResourceLogEvents
|
func (s *GetRelationalDatabaseLogEventsOutput) SetResourceLogEvents(v []*LogEvent) *GetRelationalDatabaseLogEventsOutput {
s.ResourceLogEvents = v
return s
}
|
go
|
func (s *GetRelationalDatabaseLogEventsOutput) SetResourceLogEvents(v []*LogEvent) *GetRelationalDatabaseLogEventsOutput {
s.ResourceLogEvents = v
return s
}
|
[
"func",
"(",
"s",
"*",
"GetRelationalDatabaseLogEventsOutput",
")",
"SetResourceLogEvents",
"(",
"v",
"[",
"]",
"*",
"LogEvent",
")",
"*",
"GetRelationalDatabaseLogEventsOutput",
"{",
"s",
".",
"ResourceLogEvents",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetResourceLogEvents sets the ResourceLogEvents field's value.
|
[
"SetResourceLogEvents",
"sets",
"the",
"ResourceLogEvents",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L18212-L18215
|
167,158 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetPasswordVersion
|
func (s *GetRelationalDatabaseMasterUserPasswordInput) SetPasswordVersion(v string) *GetRelationalDatabaseMasterUserPasswordInput {
s.PasswordVersion = &v
return s
}
|
go
|
func (s *GetRelationalDatabaseMasterUserPasswordInput) SetPasswordVersion(v string) *GetRelationalDatabaseMasterUserPasswordInput {
s.PasswordVersion = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"GetRelationalDatabaseMasterUserPasswordInput",
")",
"SetPasswordVersion",
"(",
"v",
"string",
")",
"*",
"GetRelationalDatabaseMasterUserPasswordInput",
"{",
"s",
".",
"PasswordVersion",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetPasswordVersion sets the PasswordVersion field's value.
|
[
"SetPasswordVersion",
"sets",
"the",
"PasswordVersion",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L18322-L18325
|
167,159 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetRelationalDatabase
|
func (s *GetRelationalDatabaseOutput) SetRelationalDatabase(v *RelationalDatabase) *GetRelationalDatabaseOutput {
s.RelationalDatabase = v
return s
}
|
go
|
func (s *GetRelationalDatabaseOutput) SetRelationalDatabase(v *RelationalDatabase) *GetRelationalDatabaseOutput {
s.RelationalDatabase = v
return s
}
|
[
"func",
"(",
"s",
"*",
"GetRelationalDatabaseOutput",
")",
"SetRelationalDatabase",
"(",
"v",
"*",
"RelationalDatabase",
")",
"*",
"GetRelationalDatabaseOutput",
"{",
"s",
".",
"RelationalDatabase",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetRelationalDatabase sets the RelationalDatabase field's value.
|
[
"SetRelationalDatabase",
"sets",
"the",
"RelationalDatabase",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L18560-L18563
|
167,160 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetRelationalDatabaseSnapshot
|
func (s *GetRelationalDatabaseSnapshotOutput) SetRelationalDatabaseSnapshot(v *RelationalDatabaseSnapshot) *GetRelationalDatabaseSnapshotOutput {
s.RelationalDatabaseSnapshot = v
return s
}
|
go
|
func (s *GetRelationalDatabaseSnapshotOutput) SetRelationalDatabaseSnapshot(v *RelationalDatabaseSnapshot) *GetRelationalDatabaseSnapshotOutput {
s.RelationalDatabaseSnapshot = v
return s
}
|
[
"func",
"(",
"s",
"*",
"GetRelationalDatabaseSnapshotOutput",
")",
"SetRelationalDatabaseSnapshot",
"(",
"v",
"*",
"RelationalDatabaseSnapshot",
")",
"*",
"GetRelationalDatabaseSnapshotOutput",
"{",
"s",
".",
"RelationalDatabaseSnapshot",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetRelationalDatabaseSnapshot sets the RelationalDatabaseSnapshot field's value.
|
[
"SetRelationalDatabaseSnapshot",
"sets",
"the",
"RelationalDatabaseSnapshot",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L18703-L18706
|
167,161 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetRelationalDatabaseSnapshots
|
func (s *GetRelationalDatabaseSnapshotsOutput) SetRelationalDatabaseSnapshots(v []*RelationalDatabaseSnapshot) *GetRelationalDatabaseSnapshotsOutput {
s.RelationalDatabaseSnapshots = v
return s
}
|
go
|
func (s *GetRelationalDatabaseSnapshotsOutput) SetRelationalDatabaseSnapshots(v []*RelationalDatabaseSnapshot) *GetRelationalDatabaseSnapshotsOutput {
s.RelationalDatabaseSnapshots = v
return s
}
|
[
"func",
"(",
"s",
"*",
"GetRelationalDatabaseSnapshotsOutput",
")",
"SetRelationalDatabaseSnapshots",
"(",
"v",
"[",
"]",
"*",
"RelationalDatabaseSnapshot",
")",
"*",
"GetRelationalDatabaseSnapshotsOutput",
"{",
"s",
".",
"RelationalDatabaseSnapshots",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetRelationalDatabaseSnapshots sets the RelationalDatabaseSnapshots field's value.
|
[
"SetRelationalDatabaseSnapshots",
"sets",
"the",
"RelationalDatabaseSnapshots",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L18761-L18764
|
167,162 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetRelationalDatabases
|
func (s *GetRelationalDatabasesOutput) SetRelationalDatabases(v []*RelationalDatabase) *GetRelationalDatabasesOutput {
s.RelationalDatabases = v
return s
}
|
go
|
func (s *GetRelationalDatabasesOutput) SetRelationalDatabases(v []*RelationalDatabase) *GetRelationalDatabasesOutput {
s.RelationalDatabases = v
return s
}
|
[
"func",
"(",
"s",
"*",
"GetRelationalDatabasesOutput",
")",
"SetRelationalDatabases",
"(",
"v",
"[",
"]",
"*",
"RelationalDatabase",
")",
"*",
"GetRelationalDatabasesOutput",
"{",
"s",
".",
"RelationalDatabases",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetRelationalDatabases sets the RelationalDatabases field's value.
|
[
"SetRelationalDatabases",
"sets",
"the",
"RelationalDatabases",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L18818-L18821
|
167,163 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetStaticIp
|
func (s *GetStaticIpOutput) SetStaticIp(v *StaticIp) *GetStaticIpOutput {
s.StaticIp = v
return s
}
|
go
|
func (s *GetStaticIpOutput) SetStaticIp(v *StaticIp) *GetStaticIpOutput {
s.StaticIp = v
return s
}
|
[
"func",
"(",
"s",
"*",
"GetStaticIpOutput",
")",
"SetStaticIp",
"(",
"v",
"*",
"StaticIp",
")",
"*",
"GetStaticIpOutput",
"{",
"s",
".",
"StaticIp",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetStaticIp sets the StaticIp field's value.
|
[
"SetStaticIp",
"sets",
"the",
"StaticIp",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L18880-L18883
|
167,164 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetStaticIps
|
func (s *GetStaticIpsOutput) SetStaticIps(v []*StaticIp) *GetStaticIpsOutput {
s.StaticIps = v
return s
}
|
go
|
func (s *GetStaticIpsOutput) SetStaticIps(v []*StaticIp) *GetStaticIpsOutput {
s.StaticIps = v
return s
}
|
[
"func",
"(",
"s",
"*",
"GetStaticIpsOutput",
")",
"SetStaticIps",
"(",
"v",
"[",
"]",
"*",
"StaticIp",
")",
"*",
"GetStaticIpsOutput",
"{",
"s",
".",
"StaticIps",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetStaticIps sets the StaticIps field's value.
|
[
"SetStaticIps",
"sets",
"the",
"StaticIps",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L18938-L18941
|
167,165 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetFingerprintSHA1
|
func (s *HostKeyAttributes) SetFingerprintSHA1(v string) *HostKeyAttributes {
s.FingerprintSHA1 = &v
return s
}
|
go
|
func (s *HostKeyAttributes) SetFingerprintSHA1(v string) *HostKeyAttributes {
s.FingerprintSHA1 = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"HostKeyAttributes",
")",
"SetFingerprintSHA1",
"(",
"v",
"string",
")",
"*",
"HostKeyAttributes",
"{",
"s",
".",
"FingerprintSHA1",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetFingerprintSHA1 sets the FingerprintSHA1 field's value.
|
[
"SetFingerprintSHA1",
"sets",
"the",
"FingerprintSHA1",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L19009-L19012
|
167,166 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetFingerprintSHA256
|
func (s *HostKeyAttributes) SetFingerprintSHA256(v string) *HostKeyAttributes {
s.FingerprintSHA256 = &v
return s
}
|
go
|
func (s *HostKeyAttributes) SetFingerprintSHA256(v string) *HostKeyAttributes {
s.FingerprintSHA256 = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"HostKeyAttributes",
")",
"SetFingerprintSHA256",
"(",
"v",
"string",
")",
"*",
"HostKeyAttributes",
"{",
"s",
".",
"FingerprintSHA256",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetFingerprintSHA256 sets the FingerprintSHA256 field's value.
|
[
"SetFingerprintSHA256",
"sets",
"the",
"FingerprintSHA256",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L19015-L19018
|
167,167 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetNotValidAfter
|
func (s *HostKeyAttributes) SetNotValidAfter(v time.Time) *HostKeyAttributes {
s.NotValidAfter = &v
return s
}
|
go
|
func (s *HostKeyAttributes) SetNotValidAfter(v time.Time) *HostKeyAttributes {
s.NotValidAfter = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"HostKeyAttributes",
")",
"SetNotValidAfter",
"(",
"v",
"time",
".",
"Time",
")",
"*",
"HostKeyAttributes",
"{",
"s",
".",
"NotValidAfter",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetNotValidAfter sets the NotValidAfter field's value.
|
[
"SetNotValidAfter",
"sets",
"the",
"NotValidAfter",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L19021-L19024
|
167,168 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetNotValidBefore
|
func (s *HostKeyAttributes) SetNotValidBefore(v time.Time) *HostKeyAttributes {
s.NotValidBefore = &v
return s
}
|
go
|
func (s *HostKeyAttributes) SetNotValidBefore(v time.Time) *HostKeyAttributes {
s.NotValidBefore = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"HostKeyAttributes",
")",
"SetNotValidBefore",
"(",
"v",
"time",
".",
"Time",
")",
"*",
"HostKeyAttributes",
"{",
"s",
".",
"NotValidBefore",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetNotValidBefore sets the NotValidBefore field's value.
|
[
"SetNotValidBefore",
"sets",
"the",
"NotValidBefore",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L19027-L19030
|
167,169 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetWitnessedAt
|
func (s *HostKeyAttributes) SetWitnessedAt(v time.Time) *HostKeyAttributes {
s.WitnessedAt = &v
return s
}
|
go
|
func (s *HostKeyAttributes) SetWitnessedAt(v time.Time) *HostKeyAttributes {
s.WitnessedAt = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"HostKeyAttributes",
")",
"SetWitnessedAt",
"(",
"v",
"time",
".",
"Time",
")",
"*",
"HostKeyAttributes",
"{",
"s",
".",
"WitnessedAt",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetWitnessedAt sets the WitnessedAt field's value.
|
[
"SetWitnessedAt",
"sets",
"the",
"WitnessedAt",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L19039-L19042
|
167,170 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetBlueprintName
|
func (s *Instance) SetBlueprintName(v string) *Instance {
s.BlueprintName = &v
return s
}
|
go
|
func (s *Instance) SetBlueprintName(v string) *Instance {
s.BlueprintName = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"Instance",
")",
"SetBlueprintName",
"(",
"v",
"string",
")",
"*",
"Instance",
"{",
"s",
".",
"BlueprintName",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetBlueprintName sets the BlueprintName field's value.
|
[
"SetBlueprintName",
"sets",
"the",
"BlueprintName",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L19209-L19212
|
167,171 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetIsStaticIp
|
func (s *Instance) SetIsStaticIp(v bool) *Instance {
s.IsStaticIp = &v
return s
}
|
go
|
func (s *Instance) SetIsStaticIp(v bool) *Instance {
s.IsStaticIp = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"Instance",
")",
"SetIsStaticIp",
"(",
"v",
"bool",
")",
"*",
"Instance",
"{",
"s",
".",
"IsStaticIp",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetIsStaticIp sets the IsStaticIp field's value.
|
[
"SetIsStaticIp",
"sets",
"the",
"IsStaticIp",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L19239-L19242
|
167,172 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetNetworking
|
func (s *Instance) SetNetworking(v *InstanceNetworking) *Instance {
s.Networking = v
return s
}
|
go
|
func (s *Instance) SetNetworking(v *InstanceNetworking) *Instance {
s.Networking = v
return s
}
|
[
"func",
"(",
"s",
"*",
"Instance",
")",
"SetNetworking",
"(",
"v",
"*",
"InstanceNetworking",
")",
"*",
"Instance",
"{",
"s",
".",
"Networking",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetNetworking sets the Networking field's value.
|
[
"SetNetworking",
"sets",
"the",
"Networking",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L19257-L19260
|
167,173 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetCertKey
|
func (s *InstanceAccessDetails) SetCertKey(v string) *InstanceAccessDetails {
s.CertKey = &v
return s
}
|
go
|
func (s *InstanceAccessDetails) SetCertKey(v string) *InstanceAccessDetails {
s.CertKey = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"InstanceAccessDetails",
")",
"SetCertKey",
"(",
"v",
"string",
")",
"*",
"InstanceAccessDetails",
"{",
"s",
".",
"CertKey",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetCertKey sets the CertKey field's value.
|
[
"SetCertKey",
"sets",
"the",
"CertKey",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L19373-L19376
|
167,174 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetHostKeys
|
func (s *InstanceAccessDetails) SetHostKeys(v []*HostKeyAttributes) *InstanceAccessDetails {
s.HostKeys = v
return s
}
|
go
|
func (s *InstanceAccessDetails) SetHostKeys(v []*HostKeyAttributes) *InstanceAccessDetails {
s.HostKeys = v
return s
}
|
[
"func",
"(",
"s",
"*",
"InstanceAccessDetails",
")",
"SetHostKeys",
"(",
"v",
"[",
"]",
"*",
"HostKeyAttributes",
")",
"*",
"InstanceAccessDetails",
"{",
"s",
".",
"HostKeys",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetHostKeys sets the HostKeys field's value.
|
[
"SetHostKeys",
"sets",
"the",
"HostKeys",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L19385-L19388
|
167,175 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetPasswordData
|
func (s *InstanceAccessDetails) SetPasswordData(v *PasswordData) *InstanceAccessDetails {
s.PasswordData = v
return s
}
|
go
|
func (s *InstanceAccessDetails) SetPasswordData(v *PasswordData) *InstanceAccessDetails {
s.PasswordData = v
return s
}
|
[
"func",
"(",
"s",
"*",
"InstanceAccessDetails",
")",
"SetPasswordData",
"(",
"v",
"*",
"PasswordData",
")",
"*",
"InstanceAccessDetails",
"{",
"s",
".",
"PasswordData",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetPasswordData sets the PasswordData field's value.
|
[
"SetPasswordData",
"sets",
"the",
"PasswordData",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L19409-L19412
|
167,176 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetPortInfoSource
|
func (s *InstanceEntry) SetPortInfoSource(v string) *InstanceEntry {
s.PortInfoSource = &v
return s
}
|
go
|
func (s *InstanceEntry) SetPortInfoSource(v string) *InstanceEntry {
s.PortInfoSource = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"InstanceEntry",
")",
"SetPortInfoSource",
"(",
"v",
"string",
")",
"*",
"InstanceEntry",
"{",
"s",
".",
"PortInfoSource",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetPortInfoSource sets the PortInfoSource field's value.
|
[
"SetPortInfoSource",
"sets",
"the",
"PortInfoSource",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L19525-L19528
|
167,177 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetInstanceHealth
|
func (s *InstanceHealthSummary) SetInstanceHealth(v string) *InstanceHealthSummary {
s.InstanceHealth = &v
return s
}
|
go
|
func (s *InstanceHealthSummary) SetInstanceHealth(v string) *InstanceHealthSummary {
s.InstanceHealth = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"InstanceHealthSummary",
")",
"SetInstanceHealth",
"(",
"v",
"string",
")",
"*",
"InstanceHealthSummary",
"{",
"s",
".",
"InstanceHealth",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetInstanceHealth sets the InstanceHealth field's value.
|
[
"SetInstanceHealth",
"sets",
"the",
"InstanceHealth",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L19656-L19659
|
167,178 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetInstanceHealthReason
|
func (s *InstanceHealthSummary) SetInstanceHealthReason(v string) *InstanceHealthSummary {
s.InstanceHealthReason = &v
return s
}
|
go
|
func (s *InstanceHealthSummary) SetInstanceHealthReason(v string) *InstanceHealthSummary {
s.InstanceHealthReason = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"InstanceHealthSummary",
")",
"SetInstanceHealthReason",
"(",
"v",
"string",
")",
"*",
"InstanceHealthSummary",
"{",
"s",
".",
"InstanceHealthReason",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetInstanceHealthReason sets the InstanceHealthReason field's value.
|
[
"SetInstanceHealthReason",
"sets",
"the",
"InstanceHealthReason",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L19662-L19665
|
167,179 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetMonthlyTransfer
|
func (s *InstanceNetworking) SetMonthlyTransfer(v *MonthlyTransfer) *InstanceNetworking {
s.MonthlyTransfer = v
return s
}
|
go
|
func (s *InstanceNetworking) SetMonthlyTransfer(v *MonthlyTransfer) *InstanceNetworking {
s.MonthlyTransfer = v
return s
}
|
[
"func",
"(",
"s",
"*",
"InstanceNetworking",
")",
"SetMonthlyTransfer",
"(",
"v",
"*",
"MonthlyTransfer",
")",
"*",
"InstanceNetworking",
"{",
"s",
".",
"MonthlyTransfer",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetMonthlyTransfer sets the MonthlyTransfer field's value.
|
[
"SetMonthlyTransfer",
"sets",
"the",
"MonthlyTransfer",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L19696-L19699
|
167,180 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetAccessDirection
|
func (s *InstancePortInfo) SetAccessDirection(v string) *InstancePortInfo {
s.AccessDirection = &v
return s
}
|
go
|
func (s *InstancePortInfo) SetAccessDirection(v string) *InstancePortInfo {
s.AccessDirection = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"InstancePortInfo",
")",
"SetAccessDirection",
"(",
"v",
"string",
")",
"*",
"InstancePortInfo",
"{",
"s",
".",
"AccessDirection",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetAccessDirection sets the AccessDirection field's value.
|
[
"SetAccessDirection",
"sets",
"the",
"AccessDirection",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L19761-L19764
|
167,181 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetAccessFrom
|
func (s *InstancePortInfo) SetAccessFrom(v string) *InstancePortInfo {
s.AccessFrom = &v
return s
}
|
go
|
func (s *InstancePortInfo) SetAccessFrom(v string) *InstancePortInfo {
s.AccessFrom = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"InstancePortInfo",
")",
"SetAccessFrom",
"(",
"v",
"string",
")",
"*",
"InstancePortInfo",
"{",
"s",
".",
"AccessFrom",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetAccessFrom sets the AccessFrom field's value.
|
[
"SetAccessFrom",
"sets",
"the",
"AccessFrom",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L19767-L19770
|
167,182 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetAccessType
|
func (s *InstancePortInfo) SetAccessType(v string) *InstancePortInfo {
s.AccessType = &v
return s
}
|
go
|
func (s *InstancePortInfo) SetAccessType(v string) *InstancePortInfo {
s.AccessType = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"InstancePortInfo",
")",
"SetAccessType",
"(",
"v",
"string",
")",
"*",
"InstancePortInfo",
"{",
"s",
".",
"AccessType",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetAccessType sets the AccessType field's value.
|
[
"SetAccessType",
"sets",
"the",
"AccessType",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L19773-L19776
|
167,183 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetFromAttachedDisks
|
func (s *InstanceSnapshot) SetFromAttachedDisks(v []*Disk) *InstanceSnapshot {
s.FromAttachedDisks = v
return s
}
|
go
|
func (s *InstanceSnapshot) SetFromAttachedDisks(v []*Disk) *InstanceSnapshot {
s.FromAttachedDisks = v
return s
}
|
[
"func",
"(",
"s",
"*",
"InstanceSnapshot",
")",
"SetFromAttachedDisks",
"(",
"v",
"[",
"]",
"*",
"Disk",
")",
"*",
"InstanceSnapshot",
"{",
"s",
".",
"FromAttachedDisks",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetFromAttachedDisks sets the FromAttachedDisks field's value.
|
[
"SetFromAttachedDisks",
"sets",
"the",
"FromAttachedDisks",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L19949-L19952
|
167,184 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetFromDiskInfo
|
func (s *InstanceSnapshotInfo) SetFromDiskInfo(v []*DiskInfo) *InstanceSnapshotInfo {
s.FromDiskInfo = v
return s
}
|
go
|
func (s *InstanceSnapshotInfo) SetFromDiskInfo(v []*DiskInfo) *InstanceSnapshotInfo {
s.FromDiskInfo = v
return s
}
|
[
"func",
"(",
"s",
"*",
"InstanceSnapshotInfo",
")",
"SetFromDiskInfo",
"(",
"v",
"[",
"]",
"*",
"DiskInfo",
")",
"*",
"InstanceSnapshotInfo",
"{",
"s",
".",
"FromDiskInfo",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetFromDiskInfo sets the FromDiskInfo field's value.
|
[
"SetFromDiskInfo",
"sets",
"the",
"FromDiskInfo",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L20063-L20066
|
167,185 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetIsPeered
|
func (s *IsVpcPeeredOutput) SetIsPeered(v bool) *IsVpcPeeredOutput {
s.IsPeered = &v
return s
}
|
go
|
func (s *IsVpcPeeredOutput) SetIsPeered(v bool) *IsVpcPeeredOutput {
s.IsPeered = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"IsVpcPeeredOutput",
")",
"SetIsPeered",
"(",
"v",
"bool",
")",
"*",
"IsVpcPeeredOutput",
"{",
"s",
".",
"IsPeered",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetIsPeered sets the IsPeered field's value.
|
[
"SetIsPeered",
"sets",
"the",
"IsPeered",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L20133-L20136
|
167,186 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetConfigurationOptions
|
func (s *LoadBalancer) SetConfigurationOptions(v map[string]*string) *LoadBalancer {
s.ConfigurationOptions = v
return s
}
|
go
|
func (s *LoadBalancer) SetConfigurationOptions(v map[string]*string) *LoadBalancer {
s.ConfigurationOptions = v
return s
}
|
[
"func",
"(",
"s",
"*",
"LoadBalancer",
")",
"SetConfigurationOptions",
"(",
"v",
"map",
"[",
"string",
"]",
"*",
"string",
")",
"*",
"LoadBalancer",
"{",
"s",
".",
"ConfigurationOptions",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetConfigurationOptions sets the ConfigurationOptions field's value.
|
[
"SetConfigurationOptions",
"sets",
"the",
"ConfigurationOptions",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L20311-L20314
|
167,187 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetInstanceHealthSummary
|
func (s *LoadBalancer) SetInstanceHealthSummary(v []*InstanceHealthSummary) *LoadBalancer {
s.InstanceHealthSummary = v
return s
}
|
go
|
func (s *LoadBalancer) SetInstanceHealthSummary(v []*InstanceHealthSummary) *LoadBalancer {
s.InstanceHealthSummary = v
return s
}
|
[
"func",
"(",
"s",
"*",
"LoadBalancer",
")",
"SetInstanceHealthSummary",
"(",
"v",
"[",
"]",
"*",
"InstanceHealthSummary",
")",
"*",
"LoadBalancer",
"{",
"s",
".",
"InstanceHealthSummary",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetInstanceHealthSummary sets the InstanceHealthSummary field's value.
|
[
"SetInstanceHealthSummary",
"sets",
"the",
"InstanceHealthSummary",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L20335-L20338
|
167,188 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetPublicPorts
|
func (s *LoadBalancer) SetPublicPorts(v []*int64) *LoadBalancer {
s.PublicPorts = v
return s
}
|
go
|
func (s *LoadBalancer) SetPublicPorts(v []*int64) *LoadBalancer {
s.PublicPorts = v
return s
}
|
[
"func",
"(",
"s",
"*",
"LoadBalancer",
")",
"SetPublicPorts",
"(",
"v",
"[",
"]",
"*",
"int64",
")",
"*",
"LoadBalancer",
"{",
"s",
".",
"PublicPorts",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetPublicPorts sets the PublicPorts field's value.
|
[
"SetPublicPorts",
"sets",
"the",
"PublicPorts",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L20365-L20368
|
167,189 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetTlsCertificateSummaries
|
func (s *LoadBalancer) SetTlsCertificateSummaries(v []*LoadBalancerTlsCertificateSummary) *LoadBalancer {
s.TlsCertificateSummaries = v
return s
}
|
go
|
func (s *LoadBalancer) SetTlsCertificateSummaries(v []*LoadBalancerTlsCertificateSummary) *LoadBalancer {
s.TlsCertificateSummaries = v
return s
}
|
[
"func",
"(",
"s",
"*",
"LoadBalancer",
")",
"SetTlsCertificateSummaries",
"(",
"v",
"[",
"]",
"*",
"LoadBalancerTlsCertificateSummary",
")",
"*",
"LoadBalancer",
"{",
"s",
".",
"TlsCertificateSummaries",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetTlsCertificateSummaries sets the TlsCertificateSummaries field's value.
|
[
"SetTlsCertificateSummaries",
"sets",
"the",
"TlsCertificateSummaries",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L20395-L20398
|
167,190 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetDomainValidationRecords
|
func (s *LoadBalancerTlsCertificate) SetDomainValidationRecords(v []*LoadBalancerTlsCertificateDomainValidationRecord) *LoadBalancerTlsCertificate {
s.DomainValidationRecords = v
return s
}
|
go
|
func (s *LoadBalancerTlsCertificate) SetDomainValidationRecords(v []*LoadBalancerTlsCertificateDomainValidationRecord) *LoadBalancerTlsCertificate {
s.DomainValidationRecords = v
return s
}
|
[
"func",
"(",
"s",
"*",
"LoadBalancerTlsCertificate",
")",
"SetDomainValidationRecords",
"(",
"v",
"[",
"]",
"*",
"LoadBalancerTlsCertificateDomainValidationRecord",
")",
"*",
"LoadBalancerTlsCertificate",
"{",
"s",
".",
"DomainValidationRecords",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetDomainValidationRecords sets the DomainValidationRecords field's value.
|
[
"SetDomainValidationRecords",
"sets",
"the",
"DomainValidationRecords",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L20544-L20547
|
167,191 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetGbPerMonthAllocated
|
func (s *MonthlyTransfer) SetGbPerMonthAllocated(v int64) *MonthlyTransfer {
s.GbPerMonthAllocated = &v
return s
}
|
go
|
func (s *MonthlyTransfer) SetGbPerMonthAllocated(v int64) *MonthlyTransfer {
s.GbPerMonthAllocated = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"MonthlyTransfer",
")",
"SetGbPerMonthAllocated",
"(",
"v",
"int64",
")",
"*",
"MonthlyTransfer",
"{",
"s",
".",
"GbPerMonthAllocated",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetGbPerMonthAllocated sets the GbPerMonthAllocated field's value.
|
[
"SetGbPerMonthAllocated",
"sets",
"the",
"GbPerMonthAllocated",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L20970-L20973
|
167,192 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetIsTerminal
|
func (s *Operation) SetIsTerminal(v bool) *Operation {
s.IsTerminal = &v
return s
}
|
go
|
func (s *Operation) SetIsTerminal(v bool) *Operation {
s.IsTerminal = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"Operation",
")",
"SetIsTerminal",
"(",
"v",
"bool",
")",
"*",
"Operation",
"{",
"s",
".",
"IsTerminal",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetIsTerminal sets the IsTerminal field's value.
|
[
"SetIsTerminal",
"sets",
"the",
"IsTerminal",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L21126-L21129
|
167,193 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetOperationDetails
|
func (s *Operation) SetOperationDetails(v string) *Operation {
s.OperationDetails = &v
return s
}
|
go
|
func (s *Operation) SetOperationDetails(v string) *Operation {
s.OperationDetails = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"Operation",
")",
"SetOperationDetails",
"(",
"v",
"string",
")",
"*",
"Operation",
"{",
"s",
".",
"OperationDetails",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetOperationDetails sets the OperationDetails field's value.
|
[
"SetOperationDetails",
"sets",
"the",
"OperationDetails",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L21138-L21141
|
167,194 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetOperationType
|
func (s *Operation) SetOperationType(v string) *Operation {
s.OperationType = &v
return s
}
|
go
|
func (s *Operation) SetOperationType(v string) *Operation {
s.OperationType = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"Operation",
")",
"SetOperationType",
"(",
"v",
"string",
")",
"*",
"Operation",
"{",
"s",
".",
"OperationType",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetOperationType sets the OperationType field's value.
|
[
"SetOperationType",
"sets",
"the",
"OperationType",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L21144-L21147
|
167,195 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetStatusChangedAt
|
func (s *Operation) SetStatusChangedAt(v time.Time) *Operation {
s.StatusChangedAt = &v
return s
}
|
go
|
func (s *Operation) SetStatusChangedAt(v time.Time) *Operation {
s.StatusChangedAt = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"Operation",
")",
"SetStatusChangedAt",
"(",
"v",
"time",
".",
"Time",
")",
"*",
"Operation",
"{",
"s",
".",
"StatusChangedAt",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetStatusChangedAt sets the StatusChangedAt field's value.
|
[
"SetStatusChangedAt",
"sets",
"the",
"StatusChangedAt",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L21168-L21171
|
167,196 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetCiphertext
|
func (s *PasswordData) SetCiphertext(v string) *PasswordData {
s.Ciphertext = &v
return s
}
|
go
|
func (s *PasswordData) SetCiphertext(v string) *PasswordData {
s.Ciphertext = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"PasswordData",
")",
"SetCiphertext",
"(",
"v",
"string",
")",
"*",
"PasswordData",
"{",
"s",
".",
"Ciphertext",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetCiphertext sets the Ciphertext field's value.
|
[
"SetCiphertext",
"sets",
"the",
"Ciphertext",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L21214-L21217
|
167,197 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetPortInfos
|
func (s *PutInstancePublicPortsInput) SetPortInfos(v []*PortInfo) *PutInstancePublicPortsInput {
s.PortInfos = v
return s
}
|
go
|
func (s *PutInstancePublicPortsInput) SetPortInfos(v []*PortInfo) *PutInstancePublicPortsInput {
s.PortInfos = v
return s
}
|
[
"func",
"(",
"s",
"*",
"PutInstancePublicPortsInput",
")",
"SetPortInfos",
"(",
"v",
"[",
"]",
"*",
"PortInfo",
")",
"*",
"PutInstancePublicPortsInput",
"{",
"s",
".",
"PortInfos",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetPortInfos sets the PortInfos field's value.
|
[
"SetPortInfos",
"sets",
"the",
"PortInfos",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L21436-L21439
|
167,198 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetRelationalDatabaseAvailabilityZones
|
func (s *Region) SetRelationalDatabaseAvailabilityZones(v []*AvailabilityZone) *Region {
s.RelationalDatabaseAvailabilityZones = v
return s
}
|
go
|
func (s *Region) SetRelationalDatabaseAvailabilityZones(v []*AvailabilityZone) *Region {
s.RelationalDatabaseAvailabilityZones = v
return s
}
|
[
"func",
"(",
"s",
"*",
"Region",
")",
"SetRelationalDatabaseAvailabilityZones",
"(",
"v",
"[",
"]",
"*",
"AvailabilityZone",
")",
"*",
"Region",
"{",
"s",
".",
"RelationalDatabaseAvailabilityZones",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetRelationalDatabaseAvailabilityZones sets the RelationalDatabaseAvailabilityZones field's value.
|
[
"SetRelationalDatabaseAvailabilityZones",
"sets",
"the",
"RelationalDatabaseAvailabilityZones",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L21651-L21654
|
167,199 |
aws/aws-sdk-go
|
service/lightsail/api.go
|
SetMasterEndpoint
|
func (s *RelationalDatabase) SetMasterEndpoint(v *RelationalDatabaseEndpoint) *RelationalDatabase {
s.MasterEndpoint = v
return s
}
|
go
|
func (s *RelationalDatabase) SetMasterEndpoint(v *RelationalDatabaseEndpoint) *RelationalDatabase {
s.MasterEndpoint = v
return s
}
|
[
"func",
"(",
"s",
"*",
"RelationalDatabase",
")",
"SetMasterEndpoint",
"(",
"v",
"*",
"RelationalDatabaseEndpoint",
")",
"*",
"RelationalDatabase",
"{",
"s",
".",
"MasterEndpoint",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetMasterEndpoint sets the MasterEndpoint field's value.
|
[
"SetMasterEndpoint",
"sets",
"the",
"MasterEndpoint",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/lightsail/api.go#L21815-L21818
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.