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
|
---|---|---|---|---|---|---|---|---|---|---|---|
900 | aws/aws-sdk-go | service/rds/api.go | SetRestoreWindow | func (s *DBInstanceAutomatedBackup) SetRestoreWindow(v *RestoreWindow) *DBInstanceAutomatedBackup {
s.RestoreWindow = v
return s
} | go | func (s *DBInstanceAutomatedBackup) SetRestoreWindow(v *RestoreWindow) *DBInstanceAutomatedBackup {
s.RestoreWindow = v
return s
} | [
"func",
"(",
"s",
"*",
"DBInstanceAutomatedBackup",
")",
"SetRestoreWindow",
"(",
"v",
"*",
"RestoreWindow",
")",
"*",
"DBInstanceAutomatedBackup",
"{",
"s",
".",
"RestoreWindow",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetRestoreWindow sets the RestoreWindow field's value. | [
"SetRestoreWindow",
"sets",
"the",
"RestoreWindow",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L18720-L18723 |
901 | aws/aws-sdk-go | service/rds/api.go | SetDBSecurityGroupArn | func (s *DBSecurityGroup) SetDBSecurityGroupArn(v string) *DBSecurityGroup {
s.DBSecurityGroupArn = &v
return s
} | go | func (s *DBSecurityGroup) SetDBSecurityGroupArn(v string) *DBSecurityGroup {
s.DBSecurityGroupArn = &v
return s
} | [
"func",
"(",
"s",
"*",
"DBSecurityGroup",
")",
"SetDBSecurityGroupArn",
"(",
"v",
"string",
")",
"*",
"DBSecurityGroup",
"{",
"s",
".",
"DBSecurityGroupArn",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDBSecurityGroupArn sets the DBSecurityGroupArn field's value. | [
"SetDBSecurityGroupArn",
"sets",
"the",
"DBSecurityGroupArn",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L19032-L19035 |
902 | aws/aws-sdk-go | service/rds/api.go | SetDBSnapshotArn | func (s *DBSnapshot) SetDBSnapshotArn(v string) *DBSnapshot {
s.DBSnapshotArn = &v
return s
} | go | func (s *DBSnapshot) SetDBSnapshotArn(v string) *DBSnapshot {
s.DBSnapshotArn = &v
return s
} | [
"func",
"(",
"s",
"*",
"DBSnapshot",
")",
"SetDBSnapshotArn",
"(",
"v",
"string",
")",
"*",
"DBSnapshot",
"{",
"s",
".",
"DBSnapshotArn",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDBSnapshotArn sets the DBSnapshotArn field's value. | [
"SetDBSnapshotArn",
"sets",
"the",
"DBSnapshotArn",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L19246-L19249 |
903 | aws/aws-sdk-go | service/rds/api.go | SetDBSnapshotAttributes | func (s *DBSnapshotAttributesResult) SetDBSnapshotAttributes(v []*DBSnapshotAttribute) *DBSnapshotAttributesResult {
s.DBSnapshotAttributes = v
return s
} | go | func (s *DBSnapshotAttributesResult) SetDBSnapshotAttributes(v []*DBSnapshotAttribute) *DBSnapshotAttributesResult {
s.DBSnapshotAttributes = v
return s
} | [
"func",
"(",
"s",
"*",
"DBSnapshotAttributesResult",
")",
"SetDBSnapshotAttributes",
"(",
"v",
"[",
"]",
"*",
"DBSnapshotAttribute",
")",
"*",
"DBSnapshotAttributesResult",
"{",
"s",
".",
"DBSnapshotAttributes",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDBSnapshotAttributes sets the DBSnapshotAttributes field's value. | [
"SetDBSnapshotAttributes",
"sets",
"the",
"DBSnapshotAttributes",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L19468-L19471 |
904 | aws/aws-sdk-go | service/rds/api.go | SetDBInstanceAutomatedBackup | func (s *DeleteDBInstanceAutomatedBackupOutput) SetDBInstanceAutomatedBackup(v *DBInstanceAutomatedBackup) *DeleteDBInstanceAutomatedBackupOutput {
s.DBInstanceAutomatedBackup = v
return s
} | go | func (s *DeleteDBInstanceAutomatedBackupOutput) SetDBInstanceAutomatedBackup(v *DBInstanceAutomatedBackup) *DeleteDBInstanceAutomatedBackupOutput {
s.DBInstanceAutomatedBackup = v
return s
} | [
"func",
"(",
"s",
"*",
"DeleteDBInstanceAutomatedBackupOutput",
")",
"SetDBInstanceAutomatedBackup",
"(",
"v",
"*",
"DBInstanceAutomatedBackup",
")",
"*",
"DeleteDBInstanceAutomatedBackupOutput",
"{",
"s",
".",
"DBInstanceAutomatedBackup",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDBInstanceAutomatedBackup sets the DBInstanceAutomatedBackup field's value. | [
"SetDBInstanceAutomatedBackup",
"sets",
"the",
"DBInstanceAutomatedBackup",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L20007-L20010 |
905 | aws/aws-sdk-go | service/rds/api.go | SetDeleteAutomatedBackups | func (s *DeleteDBInstanceInput) SetDeleteAutomatedBackups(v bool) *DeleteDBInstanceInput {
s.DeleteAutomatedBackups = &v
return s
} | go | func (s *DeleteDBInstanceInput) SetDeleteAutomatedBackups(v bool) *DeleteDBInstanceInput {
s.DeleteAutomatedBackups = &v
return s
} | [
"func",
"(",
"s",
"*",
"DeleteDBInstanceInput",
")",
"SetDeleteAutomatedBackups",
"(",
"v",
"bool",
")",
"*",
"DeleteDBInstanceInput",
"{",
"s",
".",
"DeleteAutomatedBackups",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDeleteAutomatedBackups sets the DeleteAutomatedBackups field's value. | [
"SetDeleteAutomatedBackups",
"sets",
"the",
"DeleteAutomatedBackups",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L20095-L20098 |
906 | aws/aws-sdk-go | service/rds/api.go | SetAccountQuotas | func (s *DescribeAccountAttributesOutput) SetAccountQuotas(v []*AccountQuota) *DescribeAccountAttributesOutput {
s.AccountQuotas = v
return s
} | go | func (s *DescribeAccountAttributesOutput) SetAccountQuotas(v []*AccountQuota) *DescribeAccountAttributesOutput {
s.AccountQuotas = v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeAccountAttributesOutput",
")",
"SetAccountQuotas",
"(",
"v",
"[",
"]",
"*",
"AccountQuota",
")",
"*",
"DescribeAccountAttributesOutput",
"{",
"s",
".",
"AccountQuotas",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAccountQuotas sets the AccountQuotas field's value. | [
"SetAccountQuotas",
"sets",
"the",
"AccountQuotas",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L20599-L20602 |
907 | aws/aws-sdk-go | service/rds/api.go | SetDBClusterBacktracks | func (s *DescribeDBClusterBacktracksOutput) SetDBClusterBacktracks(v []*BacktrackDBClusterOutput) *DescribeDBClusterBacktracksOutput {
s.DBClusterBacktracks = v
return s
} | go | func (s *DescribeDBClusterBacktracksOutput) SetDBClusterBacktracks(v []*BacktrackDBClusterOutput) *DescribeDBClusterBacktracksOutput {
s.DBClusterBacktracks = v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeDBClusterBacktracksOutput",
")",
"SetDBClusterBacktracks",
"(",
"v",
"[",
"]",
"*",
"BacktrackDBClusterOutput",
")",
"*",
"DescribeDBClusterBacktracksOutput",
"{",
"s",
".",
"DBClusterBacktracks",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDBClusterBacktracks sets the DBClusterBacktracks field's value. | [
"SetDBClusterBacktracks",
"sets",
"the",
"DBClusterBacktracks",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L20879-L20882 |
908 | aws/aws-sdk-go | service/rds/api.go | SetDBClusterEndpoints | func (s *DescribeDBClusterEndpointsOutput) SetDBClusterEndpoints(v []*DBClusterEndpoint) *DescribeDBClusterEndpointsOutput {
s.DBClusterEndpoints = v
return s
} | go | func (s *DescribeDBClusterEndpointsOutput) SetDBClusterEndpoints(v []*DBClusterEndpoint) *DescribeDBClusterEndpointsOutput {
s.DBClusterEndpoints = v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeDBClusterEndpointsOutput",
")",
"SetDBClusterEndpoints",
"(",
"v",
"[",
"]",
"*",
"DBClusterEndpoint",
")",
"*",
"DescribeDBClusterEndpointsOutput",
"{",
"s",
".",
"DBClusterEndpoints",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDBClusterEndpoints sets the DBClusterEndpoints field's value. | [
"SetDBClusterEndpoints",
"sets",
"the",
"DBClusterEndpoints",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L21009-L21012 |
909 | aws/aws-sdk-go | service/rds/api.go | SetDBInstanceAutomatedBackups | func (s *DescribeDBInstanceAutomatedBackupsOutput) SetDBInstanceAutomatedBackups(v []*DBInstanceAutomatedBackup) *DescribeDBInstanceAutomatedBackupsOutput {
s.DBInstanceAutomatedBackups = v
return s
} | go | func (s *DescribeDBInstanceAutomatedBackupsOutput) SetDBInstanceAutomatedBackups(v []*DBInstanceAutomatedBackup) *DescribeDBInstanceAutomatedBackupsOutput {
s.DBInstanceAutomatedBackups = v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeDBInstanceAutomatedBackupsOutput",
")",
"SetDBInstanceAutomatedBackups",
"(",
"v",
"[",
"]",
"*",
"DBInstanceAutomatedBackup",
")",
"*",
"DescribeDBInstanceAutomatedBackupsOutput",
"{",
"s",
".",
"DBInstanceAutomatedBackups",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDBInstanceAutomatedBackups sets the DBInstanceAutomatedBackups field's value. | [
"SetDBInstanceAutomatedBackups",
"sets",
"the",
"DBInstanceAutomatedBackups",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L21962-L21965 |
910 | aws/aws-sdk-go | service/rds/api.go | SetLastWritten | func (s *DescribeDBLogFilesDetails) SetLastWritten(v int64) *DescribeDBLogFilesDetails {
s.LastWritten = &v
return s
} | go | func (s *DescribeDBLogFilesDetails) SetLastWritten(v int64) *DescribeDBLogFilesDetails {
s.LastWritten = &v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeDBLogFilesDetails",
")",
"SetLastWritten",
"(",
"v",
"int64",
")",
"*",
"DescribeDBLogFilesDetails",
"{",
"s",
".",
"LastWritten",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetLastWritten sets the LastWritten field's value. | [
"SetLastWritten",
"sets",
"the",
"LastWritten",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L22128-L22131 |
911 | aws/aws-sdk-go | service/rds/api.go | SetFileLastWritten | func (s *DescribeDBLogFilesInput) SetFileLastWritten(v int64) *DescribeDBLogFilesInput {
s.FileLastWritten = &v
return s
} | go | func (s *DescribeDBLogFilesInput) SetFileLastWritten(v int64) *DescribeDBLogFilesInput {
s.FileLastWritten = &v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeDBLogFilesInput",
")",
"SetFileLastWritten",
"(",
"v",
"int64",
")",
"*",
"DescribeDBLogFilesInput",
"{",
"s",
".",
"FileLastWritten",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetFileLastWritten sets the FileLastWritten field's value. | [
"SetFileLastWritten",
"sets",
"the",
"FileLastWritten",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L22223-L22226 |
912 | aws/aws-sdk-go | service/rds/api.go | SetFilenameContains | func (s *DescribeDBLogFilesInput) SetFilenameContains(v string) *DescribeDBLogFilesInput {
s.FilenameContains = &v
return s
} | go | func (s *DescribeDBLogFilesInput) SetFilenameContains(v string) *DescribeDBLogFilesInput {
s.FilenameContains = &v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeDBLogFilesInput",
")",
"SetFilenameContains",
"(",
"v",
"string",
")",
"*",
"DescribeDBLogFilesInput",
"{",
"s",
".",
"FilenameContains",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetFilenameContains sets the FilenameContains field's value. | [
"SetFilenameContains",
"sets",
"the",
"FilenameContains",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L22235-L22238 |
913 | aws/aws-sdk-go | service/rds/api.go | SetDescribeDBLogFiles | func (s *DescribeDBLogFilesOutput) SetDescribeDBLogFiles(v []*DescribeDBLogFilesDetails) *DescribeDBLogFilesOutput {
s.DescribeDBLogFiles = v
return s
} | go | func (s *DescribeDBLogFilesOutput) SetDescribeDBLogFiles(v []*DescribeDBLogFilesDetails) *DescribeDBLogFilesOutput {
s.DescribeDBLogFiles = v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeDBLogFilesOutput",
")",
"SetDescribeDBLogFiles",
"(",
"v",
"[",
"]",
"*",
"DescribeDBLogFilesDetails",
")",
"*",
"DescribeDBLogFilesOutput",
"{",
"s",
".",
"DescribeDBLogFiles",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDescribeDBLogFiles sets the DescribeDBLogFiles field's value. | [
"SetDescribeDBLogFiles",
"sets",
"the",
"DescribeDBLogFiles",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L22280-L22283 |
914 | aws/aws-sdk-go | service/rds/api.go | SetDBSnapshots | func (s *DescribeDBSnapshotsOutput) SetDBSnapshots(v []*DBSnapshot) *DescribeDBSnapshotsOutput {
s.DBSnapshots = v
return s
} | go | func (s *DescribeDBSnapshotsOutput) SetDBSnapshots(v []*DBSnapshot) *DescribeDBSnapshotsOutput {
s.DBSnapshots = v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeDBSnapshotsOutput",
")",
"SetDBSnapshots",
"(",
"v",
"[",
"]",
"*",
"DBSnapshot",
")",
"*",
"DescribeDBSnapshotsOutput",
"{",
"s",
".",
"DBSnapshots",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDBSnapshots sets the DBSnapshots field's value. | [
"SetDBSnapshots",
"sets",
"the",
"DBSnapshots",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L22925-L22928 |
915 | aws/aws-sdk-go | service/rds/api.go | SetGlobalClusters | func (s *DescribeGlobalClustersOutput) SetGlobalClusters(v []*GlobalCluster) *DescribeGlobalClustersOutput {
s.GlobalClusters = v
return s
} | go | func (s *DescribeGlobalClustersOutput) SetGlobalClusters(v []*GlobalCluster) *DescribeGlobalClustersOutput {
s.GlobalClusters = v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeGlobalClustersOutput",
")",
"SetGlobalClusters",
"(",
"v",
"[",
"]",
"*",
"GlobalCluster",
")",
"*",
"DescribeGlobalClustersOutput",
"{",
"s",
".",
"GlobalClusters",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetGlobalClusters sets the GlobalClusters field's value. | [
"SetGlobalClusters",
"sets",
"the",
"GlobalClusters",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L23757-L23760 |
916 | aws/aws-sdk-go | service/rds/api.go | SetOptionGroupOptions | func (s *DescribeOptionGroupOptionsOutput) SetOptionGroupOptions(v []*OptionGroupOption) *DescribeOptionGroupOptionsOutput {
s.OptionGroupOptions = v
return s
} | go | func (s *DescribeOptionGroupOptionsOutput) SetOptionGroupOptions(v []*OptionGroupOption) *DescribeOptionGroupOptionsOutput {
s.OptionGroupOptions = v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeOptionGroupOptionsOutput",
")",
"SetOptionGroupOptions",
"(",
"v",
"[",
"]",
"*",
"OptionGroupOption",
")",
"*",
"DescribeOptionGroupOptionsOutput",
"{",
"s",
".",
"OptionGroupOptions",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetOptionGroupOptions sets the OptionGroupOptions field's value. | [
"SetOptionGroupOptions",
"sets",
"the",
"OptionGroupOptions",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L23890-L23893 |
917 | aws/aws-sdk-go | service/rds/api.go | SetOptionGroupsList | func (s *DescribeOptionGroupsOutput) SetOptionGroupsList(v []*OptionGroup) *DescribeOptionGroupsOutput {
s.OptionGroupsList = v
return s
} | go | func (s *DescribeOptionGroupsOutput) SetOptionGroupsList(v []*OptionGroup) *DescribeOptionGroupsOutput {
s.OptionGroupsList = v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeOptionGroupsOutput",
")",
"SetOptionGroupsList",
"(",
"v",
"[",
"]",
"*",
"OptionGroup",
")",
"*",
"DescribeOptionGroupsOutput",
"{",
"s",
".",
"OptionGroupsList",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetOptionGroupsList sets the OptionGroupsList field's value. | [
"SetOptionGroupsList",
"sets",
"the",
"OptionGroupsList",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L24025-L24028 |
918 | aws/aws-sdk-go | service/rds/api.go | SetReservedDBInstancesOfferings | func (s *DescribeReservedDBInstancesOfferingsOutput) SetReservedDBInstancesOfferings(v []*ReservedDBInstancesOffering) *DescribeReservedDBInstancesOfferingsOutput {
s.ReservedDBInstancesOfferings = v
return s
} | go | func (s *DescribeReservedDBInstancesOfferingsOutput) SetReservedDBInstancesOfferings(v []*ReservedDBInstancesOffering) *DescribeReservedDBInstancesOfferingsOutput {
s.ReservedDBInstancesOfferings = v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeReservedDBInstancesOfferingsOutput",
")",
"SetReservedDBInstancesOfferings",
"(",
"v",
"[",
"]",
"*",
"ReservedDBInstancesOffering",
")",
"*",
"DescribeReservedDBInstancesOfferingsOutput",
"{",
"s",
".",
"ReservedDBInstancesOfferings",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetReservedDBInstancesOfferings sets the ReservedDBInstancesOfferings field's value. | [
"SetReservedDBInstancesOfferings",
"sets",
"the",
"ReservedDBInstancesOfferings",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L24625-L24628 |
919 | aws/aws-sdk-go | service/rds/api.go | SetReservedDBInstances | func (s *DescribeReservedDBInstancesOutput) SetReservedDBInstances(v []*ReservedDBInstance) *DescribeReservedDBInstancesOutput {
s.ReservedDBInstances = v
return s
} | go | func (s *DescribeReservedDBInstancesOutput) SetReservedDBInstances(v []*ReservedDBInstance) *DescribeReservedDBInstancesOutput {
s.ReservedDBInstances = v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeReservedDBInstancesOutput",
")",
"SetReservedDBInstances",
"(",
"v",
"[",
"]",
"*",
"ReservedDBInstance",
")",
"*",
"DescribeReservedDBInstancesOutput",
"{",
"s",
".",
"ReservedDBInstances",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetReservedDBInstances sets the ReservedDBInstances field's value. | [
"SetReservedDBInstances",
"sets",
"the",
"ReservedDBInstances",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L24661-L24664 |
920 | aws/aws-sdk-go | service/rds/api.go | SetSourceRegions | func (s *DescribeSourceRegionsOutput) SetSourceRegions(v []*SourceRegion) *DescribeSourceRegionsOutput {
s.SourceRegions = v
return s
} | go | func (s *DescribeSourceRegionsOutput) SetSourceRegions(v []*SourceRegion) *DescribeSourceRegionsOutput {
s.SourceRegions = v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeSourceRegionsOutput",
")",
"SetSourceRegions",
"(",
"v",
"[",
"]",
"*",
"SourceRegion",
")",
"*",
"DescribeSourceRegionsOutput",
"{",
"s",
".",
"SourceRegions",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetSourceRegions sets the SourceRegions field's value. | [
"SetSourceRegions",
"sets",
"the",
"SourceRegions",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L24780-L24783 |
921 | aws/aws-sdk-go | service/rds/api.go | SetNumberOfLines | func (s *DownloadDBLogFilePortionInput) SetNumberOfLines(v int64) *DownloadDBLogFilePortionInput {
s.NumberOfLines = &v
return s
} | go | func (s *DownloadDBLogFilePortionInput) SetNumberOfLines(v int64) *DownloadDBLogFilePortionInput {
s.NumberOfLines = &v
return s
} | [
"func",
"(",
"s",
"*",
"DownloadDBLogFilePortionInput",
")",
"SetNumberOfLines",
"(",
"v",
"int64",
")",
"*",
"DownloadDBLogFilePortionInput",
"{",
"s",
".",
"NumberOfLines",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetNumberOfLines sets the NumberOfLines field's value. | [
"SetNumberOfLines",
"sets",
"the",
"NumberOfLines",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L25027-L25030 |
922 | aws/aws-sdk-go | service/rds/api.go | SetAdditionalDataPending | func (s *DownloadDBLogFilePortionOutput) SetAdditionalDataPending(v bool) *DownloadDBLogFilePortionOutput {
s.AdditionalDataPending = &v
return s
} | go | func (s *DownloadDBLogFilePortionOutput) SetAdditionalDataPending(v bool) *DownloadDBLogFilePortionOutput {
s.AdditionalDataPending = &v
return s
} | [
"func",
"(",
"s",
"*",
"DownloadDBLogFilePortionOutput",
")",
"SetAdditionalDataPending",
"(",
"v",
"bool",
")",
"*",
"DownloadDBLogFilePortionOutput",
"{",
"s",
".",
"AdditionalDataPending",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAdditionalDataPending sets the AdditionalDataPending field's value. | [
"SetAdditionalDataPending",
"sets",
"the",
"AdditionalDataPending",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L25058-L25061 |
923 | aws/aws-sdk-go | service/rds/api.go | SetLogFileData | func (s *DownloadDBLogFilePortionOutput) SetLogFileData(v string) *DownloadDBLogFilePortionOutput {
s.LogFileData = &v
return s
} | go | func (s *DownloadDBLogFilePortionOutput) SetLogFileData(v string) *DownloadDBLogFilePortionOutput {
s.LogFileData = &v
return s
} | [
"func",
"(",
"s",
"*",
"DownloadDBLogFilePortionOutput",
")",
"SetLogFileData",
"(",
"v",
"string",
")",
"*",
"DownloadDBLogFilePortionOutput",
"{",
"s",
".",
"LogFileData",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetLogFileData sets the LogFileData field's value. | [
"SetLogFileData",
"sets",
"the",
"LogFileData",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L25064-L25067 |
924 | aws/aws-sdk-go | service/rds/api.go | SetGlobalClusterArn | func (s *GlobalCluster) SetGlobalClusterArn(v string) *GlobalCluster {
s.GlobalClusterArn = &v
return s
} | go | func (s *GlobalCluster) SetGlobalClusterArn(v string) *GlobalCluster {
s.GlobalClusterArn = &v
return s
} | [
"func",
"(",
"s",
"*",
"GlobalCluster",
")",
"SetGlobalClusterArn",
"(",
"v",
"string",
")",
"*",
"GlobalCluster",
"{",
"s",
".",
"GlobalClusterArn",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetGlobalClusterArn sets the GlobalClusterArn field's value. | [
"SetGlobalClusterArn",
"sets",
"the",
"GlobalClusterArn",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L25676-L25679 |
925 | aws/aws-sdk-go | service/rds/api.go | SetGlobalClusterMembers | func (s *GlobalCluster) SetGlobalClusterMembers(v []*GlobalClusterMember) *GlobalCluster {
s.GlobalClusterMembers = v
return s
} | go | func (s *GlobalCluster) SetGlobalClusterMembers(v []*GlobalClusterMember) *GlobalCluster {
s.GlobalClusterMembers = v
return s
} | [
"func",
"(",
"s",
"*",
"GlobalCluster",
")",
"SetGlobalClusterMembers",
"(",
"v",
"[",
"]",
"*",
"GlobalClusterMember",
")",
"*",
"GlobalCluster",
"{",
"s",
".",
"GlobalClusterMembers",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetGlobalClusterMembers sets the GlobalClusterMembers field's value. | [
"SetGlobalClusterMembers",
"sets",
"the",
"GlobalClusterMembers",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L25688-L25691 |
926 | aws/aws-sdk-go | service/rds/api.go | SetGlobalClusterResourceId | func (s *GlobalCluster) SetGlobalClusterResourceId(v string) *GlobalCluster {
s.GlobalClusterResourceId = &v
return s
} | go | func (s *GlobalCluster) SetGlobalClusterResourceId(v string) *GlobalCluster {
s.GlobalClusterResourceId = &v
return s
} | [
"func",
"(",
"s",
"*",
"GlobalCluster",
")",
"SetGlobalClusterResourceId",
"(",
"v",
"string",
")",
"*",
"GlobalCluster",
"{",
"s",
".",
"GlobalClusterResourceId",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetGlobalClusterResourceId sets the GlobalClusterResourceId field's value. | [
"SetGlobalClusterResourceId",
"sets",
"the",
"GlobalClusterResourceId",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L25694-L25697 |
927 | aws/aws-sdk-go | service/rds/api.go | SetIsWriter | func (s *GlobalClusterMember) SetIsWriter(v bool) *GlobalClusterMember {
s.IsWriter = &v
return s
} | go | func (s *GlobalClusterMember) SetIsWriter(v bool) *GlobalClusterMember {
s.IsWriter = &v
return s
} | [
"func",
"(",
"s",
"*",
"GlobalClusterMember",
")",
"SetIsWriter",
"(",
"v",
"bool",
")",
"*",
"GlobalClusterMember",
"{",
"s",
".",
"IsWriter",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetIsWriter sets the IsWriter field's value. | [
"SetIsWriter",
"sets",
"the",
"IsWriter",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L25745-L25748 |
928 | aws/aws-sdk-go | service/rds/api.go | SetReaders | func (s *GlobalClusterMember) SetReaders(v []*string) *GlobalClusterMember {
s.Readers = v
return s
} | go | func (s *GlobalClusterMember) SetReaders(v []*string) *GlobalClusterMember {
s.Readers = v
return s
} | [
"func",
"(",
"s",
"*",
"GlobalClusterMember",
")",
"SetReaders",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"GlobalClusterMember",
"{",
"s",
".",
"Readers",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetReaders sets the Readers field's value. | [
"SetReaders",
"sets",
"the",
"Readers",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L25751-L25754 |
929 | aws/aws-sdk-go | service/rds/api.go | SetAllowedValue | func (s *MinimumEngineVersionPerAllowedValue) SetAllowedValue(v string) *MinimumEngineVersionPerAllowedValue {
s.AllowedValue = &v
return s
} | go | func (s *MinimumEngineVersionPerAllowedValue) SetAllowedValue(v string) *MinimumEngineVersionPerAllowedValue {
s.AllowedValue = &v
return s
} | [
"func",
"(",
"s",
"*",
"MinimumEngineVersionPerAllowedValue",
")",
"SetAllowedValue",
"(",
"v",
"string",
")",
"*",
"MinimumEngineVersionPerAllowedValue",
"{",
"s",
".",
"AllowedValue",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAllowedValue sets the AllowedValue field's value. | [
"SetAllowedValue",
"sets",
"the",
"AllowedValue",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L25897-L25900 |
930 | aws/aws-sdk-go | service/rds/api.go | SetCurrentCapacity | func (s *ModifyCurrentDBClusterCapacityOutput) SetCurrentCapacity(v int64) *ModifyCurrentDBClusterCapacityOutput {
s.CurrentCapacity = &v
return s
} | go | func (s *ModifyCurrentDBClusterCapacityOutput) SetCurrentCapacity(v int64) *ModifyCurrentDBClusterCapacityOutput {
s.CurrentCapacity = &v
return s
} | [
"func",
"(",
"s",
"*",
"ModifyCurrentDBClusterCapacityOutput",
")",
"SetCurrentCapacity",
"(",
"v",
"int64",
")",
"*",
"ModifyCurrentDBClusterCapacityOutput",
"{",
"s",
".",
"CurrentCapacity",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetCurrentCapacity sets the CurrentCapacity field's value. | [
"SetCurrentCapacity",
"sets",
"the",
"CurrentCapacity",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L26029-L26032 |
931 | aws/aws-sdk-go | service/rds/api.go | SetPendingCapacity | func (s *ModifyCurrentDBClusterCapacityOutput) SetPendingCapacity(v int64) *ModifyCurrentDBClusterCapacityOutput {
s.PendingCapacity = &v
return s
} | go | func (s *ModifyCurrentDBClusterCapacityOutput) SetPendingCapacity(v int64) *ModifyCurrentDBClusterCapacityOutput {
s.PendingCapacity = &v
return s
} | [
"func",
"(",
"s",
"*",
"ModifyCurrentDBClusterCapacityOutput",
")",
"SetPendingCapacity",
"(",
"v",
"int64",
")",
"*",
"ModifyCurrentDBClusterCapacityOutput",
"{",
"s",
".",
"PendingCapacity",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetPendingCapacity sets the PendingCapacity field's value. | [
"SetPendingCapacity",
"sets",
"the",
"PendingCapacity",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L26041-L26044 |
932 | aws/aws-sdk-go | service/rds/api.go | SetEnableHttpEndpoint | func (s *ModifyDBClusterInput) SetEnableHttpEndpoint(v bool) *ModifyDBClusterInput {
s.EnableHttpEndpoint = &v
return s
} | go | func (s *ModifyDBClusterInput) SetEnableHttpEndpoint(v bool) *ModifyDBClusterInput {
s.EnableHttpEndpoint = &v
return s
} | [
"func",
"(",
"s",
"*",
"ModifyDBClusterInput",
")",
"SetEnableHttpEndpoint",
"(",
"v",
"bool",
")",
"*",
"ModifyDBClusterInput",
"{",
"s",
".",
"EnableHttpEndpoint",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetEnableHttpEndpoint sets the EnableHttpEndpoint field's value. | [
"SetEnableHttpEndpoint",
"sets",
"the",
"EnableHttpEndpoint",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L26497-L26500 |
933 | aws/aws-sdk-go | service/rds/api.go | SetNewGlobalClusterIdentifier | func (s *ModifyGlobalClusterInput) SetNewGlobalClusterIdentifier(v string) *ModifyGlobalClusterInput {
s.NewGlobalClusterIdentifier = &v
return s
} | go | func (s *ModifyGlobalClusterInput) SetNewGlobalClusterIdentifier(v string) *ModifyGlobalClusterInput {
s.NewGlobalClusterIdentifier = &v
return s
} | [
"func",
"(",
"s",
"*",
"ModifyGlobalClusterInput",
")",
"SetNewGlobalClusterIdentifier",
"(",
"v",
"string",
")",
"*",
"ModifyGlobalClusterInput",
"{",
"s",
".",
"NewGlobalClusterIdentifier",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetNewGlobalClusterIdentifier sets the NewGlobalClusterIdentifier field's value. | [
"SetNewGlobalClusterIdentifier",
"sets",
"the",
"NewGlobalClusterIdentifier",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L28091-L28094 |
934 | aws/aws-sdk-go | service/rds/api.go | SetOptionsToInclude | func (s *ModifyOptionGroupInput) SetOptionsToInclude(v []*OptionConfiguration) *ModifyOptionGroupInput {
s.OptionsToInclude = v
return s
} | go | func (s *ModifyOptionGroupInput) SetOptionsToInclude(v []*OptionConfiguration) *ModifyOptionGroupInput {
s.OptionsToInclude = v
return s
} | [
"func",
"(",
"s",
"*",
"ModifyOptionGroupInput",
")",
"SetOptionsToInclude",
"(",
"v",
"[",
"]",
"*",
"OptionConfiguration",
")",
"*",
"ModifyOptionGroupInput",
"{",
"s",
".",
"OptionsToInclude",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetOptionsToInclude sets the OptionsToInclude field's value. | [
"SetOptionsToInclude",
"sets",
"the",
"OptionsToInclude",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L28189-L28192 |
935 | aws/aws-sdk-go | service/rds/api.go | SetOptionDescription | func (s *Option) SetOptionDescription(v string) *Option {
s.OptionDescription = &v
return s
} | go | func (s *Option) SetOptionDescription(v string) *Option {
s.OptionDescription = &v
return s
} | [
"func",
"(",
"s",
"*",
"Option",
")",
"SetOptionDescription",
"(",
"v",
"string",
")",
"*",
"Option",
"{",
"s",
".",
"OptionDescription",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetOptionDescription sets the OptionDescription field's value. | [
"SetOptionDescription",
"sets",
"the",
"OptionDescription",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L28273-L28276 |
936 | aws/aws-sdk-go | service/rds/api.go | SetAllowsVpcAndNonVpcInstanceMemberships | func (s *OptionGroup) SetAllowsVpcAndNonVpcInstanceMemberships(v bool) *OptionGroup {
s.AllowsVpcAndNonVpcInstanceMemberships = &v
return s
} | go | func (s *OptionGroup) SetAllowsVpcAndNonVpcInstanceMemberships(v bool) *OptionGroup {
s.AllowsVpcAndNonVpcInstanceMemberships = &v
return s
} | [
"func",
"(",
"s",
"*",
"OptionGroup",
")",
"SetAllowsVpcAndNonVpcInstanceMemberships",
"(",
"v",
"bool",
")",
"*",
"OptionGroup",
"{",
"s",
".",
"AllowsVpcAndNonVpcInstanceMemberships",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAllowsVpcAndNonVpcInstanceMemberships sets the AllowsVpcAndNonVpcInstanceMemberships field's value. | [
"SetAllowsVpcAndNonVpcInstanceMemberships",
"sets",
"the",
"AllowsVpcAndNonVpcInstanceMemberships",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L28449-L28452 |
937 | aws/aws-sdk-go | service/rds/api.go | SetOptionGroupArn | func (s *OptionGroup) SetOptionGroupArn(v string) *OptionGroup {
s.OptionGroupArn = &v
return s
} | go | func (s *OptionGroup) SetOptionGroupArn(v string) *OptionGroup {
s.OptionGroupArn = &v
return s
} | [
"func",
"(",
"s",
"*",
"OptionGroup",
")",
"SetOptionGroupArn",
"(",
"v",
"string",
")",
"*",
"OptionGroup",
"{",
"s",
".",
"OptionGroupArn",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetOptionGroupArn sets the OptionGroupArn field's value. | [
"SetOptionGroupArn",
"sets",
"the",
"OptionGroupArn",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L28467-L28470 |
938 | aws/aws-sdk-go | service/rds/api.go | SetDefaultPort | func (s *OptionGroupOption) SetDefaultPort(v int64) *OptionGroupOption {
s.DefaultPort = &v
return s
} | go | func (s *OptionGroupOption) SetDefaultPort(v int64) *OptionGroupOption {
s.DefaultPort = &v
return s
} | [
"func",
"(",
"s",
"*",
"OptionGroupOption",
")",
"SetDefaultPort",
"(",
"v",
"int64",
")",
"*",
"OptionGroupOption",
"{",
"s",
".",
"DefaultPort",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDefaultPort sets the DefaultPort field's value. | [
"SetDefaultPort",
"sets",
"the",
"DefaultPort",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L28604-L28607 |
939 | aws/aws-sdk-go | service/rds/api.go | SetMinimumRequiredMinorEngineVersion | func (s *OptionGroupOption) SetMinimumRequiredMinorEngineVersion(v string) *OptionGroupOption {
s.MinimumRequiredMinorEngineVersion = &v
return s
} | go | func (s *OptionGroupOption) SetMinimumRequiredMinorEngineVersion(v string) *OptionGroupOption {
s.MinimumRequiredMinorEngineVersion = &v
return s
} | [
"func",
"(",
"s",
"*",
"OptionGroupOption",
")",
"SetMinimumRequiredMinorEngineVersion",
"(",
"v",
"string",
")",
"*",
"OptionGroupOption",
"{",
"s",
".",
"MinimumRequiredMinorEngineVersion",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetMinimumRequiredMinorEngineVersion sets the MinimumRequiredMinorEngineVersion field's value. | [
"SetMinimumRequiredMinorEngineVersion",
"sets",
"the",
"MinimumRequiredMinorEngineVersion",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L28628-L28631 |
940 | aws/aws-sdk-go | service/rds/api.go | SetOptionGroupOptionSettings | func (s *OptionGroupOption) SetOptionGroupOptionSettings(v []*OptionGroupOptionSetting) *OptionGroupOption {
s.OptionGroupOptionSettings = v
return s
} | go | func (s *OptionGroupOption) SetOptionGroupOptionSettings(v []*OptionGroupOptionSetting) *OptionGroupOption {
s.OptionGroupOptionSettings = v
return s
} | [
"func",
"(",
"s",
"*",
"OptionGroupOption",
")",
"SetOptionGroupOptionSettings",
"(",
"v",
"[",
"]",
"*",
"OptionGroupOptionSetting",
")",
"*",
"OptionGroupOption",
"{",
"s",
".",
"OptionGroupOptionSettings",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetOptionGroupOptionSettings sets the OptionGroupOptionSettings field's value. | [
"SetOptionGroupOptionSettings",
"sets",
"the",
"OptionGroupOptionSettings",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L28640-L28643 |
941 | aws/aws-sdk-go | service/rds/api.go | SetOptionGroupOptionVersions | func (s *OptionGroupOption) SetOptionGroupOptionVersions(v []*OptionVersion) *OptionGroupOption {
s.OptionGroupOptionVersions = v
return s
} | go | func (s *OptionGroupOption) SetOptionGroupOptionVersions(v []*OptionVersion) *OptionGroupOption {
s.OptionGroupOptionVersions = v
return s
} | [
"func",
"(",
"s",
"*",
"OptionGroupOption",
")",
"SetOptionGroupOptionVersions",
"(",
"v",
"[",
"]",
"*",
"OptionVersion",
")",
"*",
"OptionGroupOption",
"{",
"s",
".",
"OptionGroupOptionVersions",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetOptionGroupOptionVersions sets the OptionGroupOptionVersions field's value. | [
"SetOptionGroupOptionVersions",
"sets",
"the",
"OptionGroupOptionVersions",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L28646-L28649 |
942 | aws/aws-sdk-go | service/rds/api.go | SetOptionsConflictsWith | func (s *OptionGroupOption) SetOptionsConflictsWith(v []*string) *OptionGroupOption {
s.OptionsConflictsWith = v
return s
} | go | func (s *OptionGroupOption) SetOptionsConflictsWith(v []*string) *OptionGroupOption {
s.OptionsConflictsWith = v
return s
} | [
"func",
"(",
"s",
"*",
"OptionGroupOption",
")",
"SetOptionsConflictsWith",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"OptionGroupOption",
"{",
"s",
".",
"OptionsConflictsWith",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetOptionsConflictsWith sets the OptionsConflictsWith field's value. | [
"SetOptionsConflictsWith",
"sets",
"the",
"OptionsConflictsWith",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L28652-L28655 |
943 | aws/aws-sdk-go | service/rds/api.go | SetOptionsDependedOn | func (s *OptionGroupOption) SetOptionsDependedOn(v []*string) *OptionGroupOption {
s.OptionsDependedOn = v
return s
} | go | func (s *OptionGroupOption) SetOptionsDependedOn(v []*string) *OptionGroupOption {
s.OptionsDependedOn = v
return s
} | [
"func",
"(",
"s",
"*",
"OptionGroupOption",
")",
"SetOptionsDependedOn",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"OptionGroupOption",
"{",
"s",
".",
"OptionsDependedOn",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetOptionsDependedOn sets the OptionsDependedOn field's value. | [
"SetOptionsDependedOn",
"sets",
"the",
"OptionsDependedOn",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L28658-L28661 |
944 | aws/aws-sdk-go | service/rds/api.go | SetPortRequired | func (s *OptionGroupOption) SetPortRequired(v bool) *OptionGroupOption {
s.PortRequired = &v
return s
} | go | func (s *OptionGroupOption) SetPortRequired(v bool) *OptionGroupOption {
s.PortRequired = &v
return s
} | [
"func",
"(",
"s",
"*",
"OptionGroupOption",
")",
"SetPortRequired",
"(",
"v",
"bool",
")",
"*",
"OptionGroupOption",
"{",
"s",
".",
"PortRequired",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetPortRequired sets the PortRequired field's value. | [
"SetPortRequired",
"sets",
"the",
"PortRequired",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L28676-L28679 |
945 | aws/aws-sdk-go | service/rds/api.go | SetRequiresAutoMinorEngineVersionUpgrade | func (s *OptionGroupOption) SetRequiresAutoMinorEngineVersionUpgrade(v bool) *OptionGroupOption {
s.RequiresAutoMinorEngineVersionUpgrade = &v
return s
} | go | func (s *OptionGroupOption) SetRequiresAutoMinorEngineVersionUpgrade(v bool) *OptionGroupOption {
s.RequiresAutoMinorEngineVersionUpgrade = &v
return s
} | [
"func",
"(",
"s",
"*",
"OptionGroupOption",
")",
"SetRequiresAutoMinorEngineVersionUpgrade",
"(",
"v",
"bool",
")",
"*",
"OptionGroupOption",
"{",
"s",
".",
"RequiresAutoMinorEngineVersionUpgrade",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetRequiresAutoMinorEngineVersionUpgrade sets the RequiresAutoMinorEngineVersionUpgrade field's value. | [
"SetRequiresAutoMinorEngineVersionUpgrade",
"sets",
"the",
"RequiresAutoMinorEngineVersionUpgrade",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L28682-L28685 |
946 | aws/aws-sdk-go | service/rds/api.go | SetSupportsOptionVersionDowngrade | func (s *OptionGroupOption) SetSupportsOptionVersionDowngrade(v bool) *OptionGroupOption {
s.SupportsOptionVersionDowngrade = &v
return s
} | go | func (s *OptionGroupOption) SetSupportsOptionVersionDowngrade(v bool) *OptionGroupOption {
s.SupportsOptionVersionDowngrade = &v
return s
} | [
"func",
"(",
"s",
"*",
"OptionGroupOption",
")",
"SetSupportsOptionVersionDowngrade",
"(",
"v",
"bool",
")",
"*",
"OptionGroupOption",
"{",
"s",
".",
"SupportsOptionVersionDowngrade",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetSupportsOptionVersionDowngrade sets the SupportsOptionVersionDowngrade field's value. | [
"SetSupportsOptionVersionDowngrade",
"sets",
"the",
"SupportsOptionVersionDowngrade",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L28688-L28691 |
947 | aws/aws-sdk-go | service/rds/api.go | SetVpcOnly | func (s *OptionGroupOption) SetVpcOnly(v bool) *OptionGroupOption {
s.VpcOnly = &v
return s
} | go | func (s *OptionGroupOption) SetVpcOnly(v bool) *OptionGroupOption {
s.VpcOnly = &v
return s
} | [
"func",
"(",
"s",
"*",
"OptionGroupOption",
")",
"SetVpcOnly",
"(",
"v",
"bool",
")",
"*",
"OptionGroupOption",
"{",
"s",
".",
"VpcOnly",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetVpcOnly sets the VpcOnly field's value. | [
"SetVpcOnly",
"sets",
"the",
"VpcOnly",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L28694-L28697 |
948 | aws/aws-sdk-go | service/rds/api.go | SetMinimumEngineVersionPerAllowedValue | func (s *OptionGroupOptionSetting) SetMinimumEngineVersionPerAllowedValue(v []*MinimumEngineVersionPerAllowedValue) *OptionGroupOptionSetting {
s.MinimumEngineVersionPerAllowedValue = v
return s
} | go | func (s *OptionGroupOptionSetting) SetMinimumEngineVersionPerAllowedValue(v []*MinimumEngineVersionPerAllowedValue) *OptionGroupOptionSetting {
s.MinimumEngineVersionPerAllowedValue = v
return s
} | [
"func",
"(",
"s",
"*",
"OptionGroupOptionSetting",
")",
"SetMinimumEngineVersionPerAllowedValue",
"(",
"v",
"[",
"]",
"*",
"MinimumEngineVersionPerAllowedValue",
")",
"*",
"OptionGroupOptionSetting",
"{",
"s",
".",
"MinimumEngineVersionPerAllowedValue",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetMinimumEngineVersionPerAllowedValue sets the MinimumEngineVersionPerAllowedValue field's value. | [
"SetMinimumEngineVersionPerAllowedValue",
"sets",
"the",
"MinimumEngineVersionPerAllowedValue",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L28774-L28777 |
949 | aws/aws-sdk-go | service/rds/api.go | SetSettingDescription | func (s *OptionGroupOptionSetting) SetSettingDescription(v string) *OptionGroupOptionSetting {
s.SettingDescription = &v
return s
} | go | func (s *OptionGroupOptionSetting) SetSettingDescription(v string) *OptionGroupOptionSetting {
s.SettingDescription = &v
return s
} | [
"func",
"(",
"s",
"*",
"OptionGroupOptionSetting",
")",
"SetSettingDescription",
"(",
"v",
"string",
")",
"*",
"OptionGroupOptionSetting",
"{",
"s",
".",
"SettingDescription",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetSettingDescription sets the SettingDescription field's value. | [
"SetSettingDescription",
"sets",
"the",
"SettingDescription",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L28780-L28783 |
950 | aws/aws-sdk-go | service/rds/api.go | SetSettingName | func (s *OptionGroupOptionSetting) SetSettingName(v string) *OptionGroupOptionSetting {
s.SettingName = &v
return s
} | go | func (s *OptionGroupOptionSetting) SetSettingName(v string) *OptionGroupOptionSetting {
s.SettingName = &v
return s
} | [
"func",
"(",
"s",
"*",
"OptionGroupOptionSetting",
")",
"SetSettingName",
"(",
"v",
"string",
")",
"*",
"OptionGroupOptionSetting",
"{",
"s",
".",
"SettingName",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetSettingName sets the SettingName field's value. | [
"SetSettingName",
"sets",
"the",
"SettingName",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L28786-L28789 |
951 | aws/aws-sdk-go | service/rds/api.go | SetIsCollection | func (s *OptionSetting) SetIsCollection(v bool) *OptionSetting {
s.IsCollection = &v
return s
} | go | func (s *OptionSetting) SetIsCollection(v bool) *OptionSetting {
s.IsCollection = &v
return s
} | [
"func",
"(",
"s",
"*",
"OptionSetting",
")",
"SetIsCollection",
"(",
"v",
"bool",
")",
"*",
"OptionSetting",
"{",
"s",
".",
"IsCollection",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetIsCollection sets the IsCollection field's value. | [
"SetIsCollection",
"sets",
"the",
"IsCollection",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L28868-L28871 |
952 | aws/aws-sdk-go | service/rds/api.go | SetAvailableProcessorFeatures | func (s *OrderableDBInstanceOption) SetAvailableProcessorFeatures(v []*AvailableProcessorFeature) *OrderableDBInstanceOption {
s.AvailableProcessorFeatures = v
return s
} | go | func (s *OrderableDBInstanceOption) SetAvailableProcessorFeatures(v []*AvailableProcessorFeature) *OrderableDBInstanceOption {
s.AvailableProcessorFeatures = v
return s
} | [
"func",
"(",
"s",
"*",
"OrderableDBInstanceOption",
")",
"SetAvailableProcessorFeatures",
"(",
"v",
"[",
"]",
"*",
"AvailableProcessorFeature",
")",
"*",
"OrderableDBInstanceOption",
"{",
"s",
".",
"AvailableProcessorFeatures",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAvailableProcessorFeatures sets the AvailableProcessorFeatures field's value. | [
"SetAvailableProcessorFeatures",
"sets",
"the",
"AvailableProcessorFeatures",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L29018-L29021 |
953 | aws/aws-sdk-go | service/rds/api.go | SetReservedDBInstance | func (s *PurchaseReservedDBInstancesOfferingOutput) SetReservedDBInstance(v *ReservedDBInstance) *PurchaseReservedDBInstancesOfferingOutput {
s.ReservedDBInstance = v
return s
} | go | func (s *PurchaseReservedDBInstancesOfferingOutput) SetReservedDBInstance(v *ReservedDBInstance) *PurchaseReservedDBInstancesOfferingOutput {
s.ReservedDBInstance = v
return s
} | [
"func",
"(",
"s",
"*",
"PurchaseReservedDBInstancesOfferingOutput",
")",
"SetReservedDBInstance",
"(",
"v",
"*",
"ReservedDBInstance",
")",
"*",
"PurchaseReservedDBInstancesOfferingOutput",
"{",
"s",
".",
"ReservedDBInstance",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetReservedDBInstance sets the ReservedDBInstance field's value. | [
"SetReservedDBInstance",
"sets",
"the",
"ReservedDBInstance",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L29878-L29881 |
954 | aws/aws-sdk-go | service/rds/api.go | SetRecurringChargeAmount | func (s *RecurringCharge) SetRecurringChargeAmount(v float64) *RecurringCharge {
s.RecurringChargeAmount = &v
return s
} | go | func (s *RecurringCharge) SetRecurringChargeAmount(v float64) *RecurringCharge {
s.RecurringChargeAmount = &v
return s
} | [
"func",
"(",
"s",
"*",
"RecurringCharge",
")",
"SetRecurringChargeAmount",
"(",
"v",
"float64",
")",
"*",
"RecurringCharge",
"{",
"s",
".",
"RecurringChargeAmount",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetRecurringChargeAmount sets the RecurringChargeAmount field's value. | [
"SetRecurringChargeAmount",
"sets",
"the",
"RecurringChargeAmount",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L30030-L30033 |
955 | aws/aws-sdk-go | service/rds/api.go | SetRecurringChargeFrequency | func (s *RecurringCharge) SetRecurringChargeFrequency(v string) *RecurringCharge {
s.RecurringChargeFrequency = &v
return s
} | go | func (s *RecurringCharge) SetRecurringChargeFrequency(v string) *RecurringCharge {
s.RecurringChargeFrequency = &v
return s
} | [
"func",
"(",
"s",
"*",
"RecurringCharge",
")",
"SetRecurringChargeFrequency",
"(",
"v",
"string",
")",
"*",
"RecurringCharge",
"{",
"s",
".",
"RecurringChargeFrequency",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetRecurringChargeFrequency sets the RecurringChargeFrequency field's value. | [
"SetRecurringChargeFrequency",
"sets",
"the",
"RecurringChargeFrequency",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L30036-L30039 |
956 | aws/aws-sdk-go | service/rds/api.go | SetReservedDBInstanceArn | func (s *ReservedDBInstance) SetReservedDBInstanceArn(v string) *ReservedDBInstance {
s.ReservedDBInstanceArn = &v
return s
} | go | func (s *ReservedDBInstance) SetReservedDBInstanceArn(v string) *ReservedDBInstance {
s.ReservedDBInstanceArn = &v
return s
} | [
"func",
"(",
"s",
"*",
"ReservedDBInstance",
")",
"SetReservedDBInstanceArn",
"(",
"v",
"string",
")",
"*",
"ReservedDBInstance",
"{",
"s",
".",
"ReservedDBInstanceArn",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetReservedDBInstanceArn sets the ReservedDBInstanceArn field's value. | [
"SetReservedDBInstanceArn",
"sets",
"the",
"ReservedDBInstanceArn",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L30519-L30522 |
957 | aws/aws-sdk-go | service/rds/api.go | SetSourceDbiResourceId | func (s *RestoreDBInstanceToPointInTimeInput) SetSourceDbiResourceId(v string) *RestoreDBInstanceToPointInTimeInput {
s.SourceDbiResourceId = &v
return s
} | go | func (s *RestoreDBInstanceToPointInTimeInput) SetSourceDbiResourceId(v string) *RestoreDBInstanceToPointInTimeInput {
s.SourceDbiResourceId = &v
return s
} | [
"func",
"(",
"s",
"*",
"RestoreDBInstanceToPointInTimeInput",
")",
"SetSourceDbiResourceId",
"(",
"v",
"string",
")",
"*",
"RestoreDBInstanceToPointInTimeInput",
"{",
"s",
".",
"SourceDbiResourceId",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetSourceDbiResourceId sets the SourceDbiResourceId field's value. | [
"SetSourceDbiResourceId",
"sets",
"the",
"SourceDbiResourceId",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L33438-L33441 |
958 | aws/aws-sdk-go | service/rds/api.go | SetEarliestTime | func (s *RestoreWindow) SetEarliestTime(v time.Time) *RestoreWindow {
s.EarliestTime = &v
return s
} | go | func (s *RestoreWindow) SetEarliestTime(v time.Time) *RestoreWindow {
s.EarliestTime = &v
return s
} | [
"func",
"(",
"s",
"*",
"RestoreWindow",
")",
"SetEarliestTime",
"(",
"v",
"time",
".",
"Time",
")",
"*",
"RestoreWindow",
"{",
"s",
".",
"EarliestTime",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetEarliestTime sets the EarliestTime field's value. | [
"SetEarliestTime",
"sets",
"the",
"EarliestTime",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L33538-L33541 |
959 | aws/aws-sdk-go | service/rds/api.go | SetValidProcessorFeatures | func (s *ValidDBInstanceModificationsMessage) SetValidProcessorFeatures(v []*AvailableProcessorFeature) *ValidDBInstanceModificationsMessage {
s.ValidProcessorFeatures = v
return s
} | go | func (s *ValidDBInstanceModificationsMessage) SetValidProcessorFeatures(v []*AvailableProcessorFeature) *ValidDBInstanceModificationsMessage {
s.ValidProcessorFeatures = v
return s
} | [
"func",
"(",
"s",
"*",
"ValidDBInstanceModificationsMessage",
")",
"SetValidProcessorFeatures",
"(",
"v",
"[",
"]",
"*",
"AvailableProcessorFeature",
")",
"*",
"ValidDBInstanceModificationsMessage",
"{",
"s",
".",
"ValidProcessorFeatures",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetValidProcessorFeatures sets the ValidProcessorFeatures field's value. | [
"SetValidProcessorFeatures",
"sets",
"the",
"ValidProcessorFeatures",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rds/api.go#L34329-L34332 |
960 | aws/aws-sdk-go | service/s3/s3crypto/cipher_util.go | getPadder | func (client *DecryptionClient) getPadder(cekAlg string) Padder {
padder, ok := client.PadderRegistry[cekAlg]
if !ok {
padder, ok = client.PadderRegistry[cekAlg[strings.LastIndex(cekAlg, "/")+1:]]
if !ok {
return NoPadder
}
}
return padder
} | go | func (client *DecryptionClient) getPadder(cekAlg string) Padder {
padder, ok := client.PadderRegistry[cekAlg]
if !ok {
padder, ok = client.PadderRegistry[cekAlg[strings.LastIndex(cekAlg, "/")+1:]]
if !ok {
return NoPadder
}
}
return padder
} | [
"func",
"(",
"client",
"*",
"DecryptionClient",
")",
"getPadder",
"(",
"cekAlg",
"string",
")",
"Padder",
"{",
"padder",
",",
"ok",
":=",
"client",
".",
"PadderRegistry",
"[",
"cekAlg",
"]",
"\n",
"if",
"!",
"ok",
"{",
"padder",
",",
"ok",
"=",
"client",
".",
"PadderRegistry",
"[",
"cekAlg",
"[",
"strings",
".",
"LastIndex",
"(",
"cekAlg",
",",
"\"",
"\"",
")",
"+",
"1",
":",
"]",
"]",
"\n",
"if",
"!",
"ok",
"{",
"return",
"NoPadder",
"\n",
"}",
"\n",
"}",
"\n",
"return",
"padder",
"\n",
"}"
] | // getPadder will return an unpadder with checking the cek algorithm specific padder.
// If there wasn't a cek algorithm specific padder, we check the padder itself.
// We return a no unpadder, if no unpadder was found. This means any customization
// either contained padding within the cipher implementation, and to maintain
// backwards compatility we will simply not unpad anything. | [
"getPadder",
"will",
"return",
"an",
"unpadder",
"with",
"checking",
"the",
"cek",
"algorithm",
"specific",
"padder",
".",
"If",
"there",
"wasn",
"t",
"a",
"cek",
"algorithm",
"specific",
"padder",
"we",
"check",
"the",
"padder",
"itself",
".",
"We",
"return",
"a",
"no",
"unpadder",
"if",
"no",
"unpadder",
"was",
"found",
".",
"This",
"means",
"any",
"customization",
"either",
"contained",
"padding",
"within",
"the",
"cipher",
"implementation",
"and",
"to",
"maintain",
"backwards",
"compatility",
"we",
"will",
"simply",
"not",
"unpad",
"anything",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/s3/s3crypto/cipher_util.go#L77-L86 |
961 | aws/aws-sdk-go | awsmigrate/awsmigrate-renamer/rename/rename.go | ParsePathsFromArgs | func ParsePathsFromArgs() {
flag.Parse()
for _, dir := range flag.Args() {
var conf loader.Config
conf.ParserMode = parser.ParseComments
conf.ImportWithTests(dir)
prog, err := conf.Load()
if err != nil {
panic(err)
}
r := renamer{prog, map[*token.File]bool{}}
r.parse()
if !*dryRun {
r.write()
}
}
} | go | func ParsePathsFromArgs() {
flag.Parse()
for _, dir := range flag.Args() {
var conf loader.Config
conf.ParserMode = parser.ParseComments
conf.ImportWithTests(dir)
prog, err := conf.Load()
if err != nil {
panic(err)
}
r := renamer{prog, map[*token.File]bool{}}
r.parse()
if !*dryRun {
r.write()
}
}
} | [
"func",
"ParsePathsFromArgs",
"(",
")",
"{",
"flag",
".",
"Parse",
"(",
")",
"\n",
"for",
"_",
",",
"dir",
":=",
"range",
"flag",
".",
"Args",
"(",
")",
"{",
"var",
"conf",
"loader",
".",
"Config",
"\n",
"conf",
".",
"ParserMode",
"=",
"parser",
".",
"ParseComments",
"\n",
"conf",
".",
"ImportWithTests",
"(",
"dir",
")",
"\n",
"prog",
",",
"err",
":=",
"conf",
".",
"Load",
"(",
")",
"\n",
"if",
"err",
"!=",
"nil",
"{",
"panic",
"(",
"err",
")",
"\n",
"}",
"\n\n",
"r",
":=",
"renamer",
"{",
"prog",
",",
"map",
"[",
"*",
"token",
".",
"File",
"]",
"bool",
"{",
"}",
"}",
"\n",
"r",
".",
"parse",
"(",
")",
"\n",
"if",
"!",
"*",
"dryRun",
"{",
"r",
".",
"write",
"(",
")",
"\n",
"}",
"\n",
"}",
"\n",
"}"
] | // ParsePathsFromArgs parses arguments from command line and looks at import
// paths to rename objects. | [
"ParsePathsFromArgs",
"parses",
"arguments",
"from",
"command",
"line",
"and",
"looks",
"at",
"import",
"paths",
"to",
"rename",
"objects",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/awsmigrate/awsmigrate-renamer/rename/rename.go#L34-L51 |
962 | aws/aws-sdk-go | service/quicksight/api.go | SetGroupMember | func (s *CreateGroupMembershipOutput) SetGroupMember(v *GroupMember) *CreateGroupMembershipOutput {
s.GroupMember = v
return s
} | go | func (s *CreateGroupMembershipOutput) SetGroupMember(v *GroupMember) *CreateGroupMembershipOutput {
s.GroupMember = v
return s
} | [
"func",
"(",
"s",
"*",
"CreateGroupMembershipOutput",
")",
"SetGroupMember",
"(",
"v",
"*",
"GroupMember",
")",
"*",
"CreateGroupMembershipOutput",
"{",
"s",
".",
"GroupMember",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetGroupMember sets the GroupMember field's value. | [
"SetGroupMember",
"sets",
"the",
"GroupMember",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/quicksight/api.go#L2012-L2015 |
963 | aws/aws-sdk-go | service/quicksight/api.go | SetDashboardId | func (s *GetDashboardEmbedUrlInput) SetDashboardId(v string) *GetDashboardEmbedUrlInput {
s.DashboardId = &v
return s
} | go | func (s *GetDashboardEmbedUrlInput) SetDashboardId(v string) *GetDashboardEmbedUrlInput {
s.DashboardId = &v
return s
} | [
"func",
"(",
"s",
"*",
"GetDashboardEmbedUrlInput",
")",
"SetDashboardId",
"(",
"v",
"string",
")",
"*",
"GetDashboardEmbedUrlInput",
"{",
"s",
".",
"DashboardId",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDashboardId sets the DashboardId field's value. | [
"SetDashboardId",
"sets",
"the",
"DashboardId",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/quicksight/api.go#L2830-L2833 |
964 | aws/aws-sdk-go | service/quicksight/api.go | SetResetDisabled | func (s *GetDashboardEmbedUrlInput) SetResetDisabled(v bool) *GetDashboardEmbedUrlInput {
s.ResetDisabled = &v
return s
} | go | func (s *GetDashboardEmbedUrlInput) SetResetDisabled(v bool) *GetDashboardEmbedUrlInput {
s.ResetDisabled = &v
return s
} | [
"func",
"(",
"s",
"*",
"GetDashboardEmbedUrlInput",
")",
"SetResetDisabled",
"(",
"v",
"bool",
")",
"*",
"GetDashboardEmbedUrlInput",
"{",
"s",
".",
"ResetDisabled",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetResetDisabled sets the ResetDisabled field's value. | [
"SetResetDisabled",
"sets",
"the",
"ResetDisabled",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/quicksight/api.go#L2842-L2845 |
965 | aws/aws-sdk-go | service/quicksight/api.go | SetSessionLifetimeInMinutes | func (s *GetDashboardEmbedUrlInput) SetSessionLifetimeInMinutes(v int64) *GetDashboardEmbedUrlInput {
s.SessionLifetimeInMinutes = &v
return s
} | go | func (s *GetDashboardEmbedUrlInput) SetSessionLifetimeInMinutes(v int64) *GetDashboardEmbedUrlInput {
s.SessionLifetimeInMinutes = &v
return s
} | [
"func",
"(",
"s",
"*",
"GetDashboardEmbedUrlInput",
")",
"SetSessionLifetimeInMinutes",
"(",
"v",
"int64",
")",
"*",
"GetDashboardEmbedUrlInput",
"{",
"s",
".",
"SessionLifetimeInMinutes",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetSessionLifetimeInMinutes sets the SessionLifetimeInMinutes field's value. | [
"SetSessionLifetimeInMinutes",
"sets",
"the",
"SessionLifetimeInMinutes",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/quicksight/api.go#L2848-L2851 |
966 | aws/aws-sdk-go | service/quicksight/api.go | SetUndoRedoDisabled | func (s *GetDashboardEmbedUrlInput) SetUndoRedoDisabled(v bool) *GetDashboardEmbedUrlInput {
s.UndoRedoDisabled = &v
return s
} | go | func (s *GetDashboardEmbedUrlInput) SetUndoRedoDisabled(v bool) *GetDashboardEmbedUrlInput {
s.UndoRedoDisabled = &v
return s
} | [
"func",
"(",
"s",
"*",
"GetDashboardEmbedUrlInput",
")",
"SetUndoRedoDisabled",
"(",
"v",
"bool",
")",
"*",
"GetDashboardEmbedUrlInput",
"{",
"s",
".",
"UndoRedoDisabled",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetUndoRedoDisabled sets the UndoRedoDisabled field's value. | [
"SetUndoRedoDisabled",
"sets",
"the",
"UndoRedoDisabled",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/quicksight/api.go#L2854-L2857 |
967 | aws/aws-sdk-go | service/quicksight/api.go | SetEmbedUrl | func (s *GetDashboardEmbedUrlOutput) SetEmbedUrl(v string) *GetDashboardEmbedUrlOutput {
s.EmbedUrl = &v
return s
} | go | func (s *GetDashboardEmbedUrlOutput) SetEmbedUrl(v string) *GetDashboardEmbedUrlOutput {
s.EmbedUrl = &v
return s
} | [
"func",
"(",
"s",
"*",
"GetDashboardEmbedUrlOutput",
")",
"SetEmbedUrl",
"(",
"v",
"string",
")",
"*",
"GetDashboardEmbedUrlOutput",
"{",
"s",
".",
"EmbedUrl",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetEmbedUrl sets the EmbedUrl field's value. | [
"SetEmbedUrl",
"sets",
"the",
"EmbedUrl",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/quicksight/api.go#L2886-L2889 |
968 | aws/aws-sdk-go | service/quicksight/api.go | SetGroupMemberList | func (s *ListGroupMembershipsOutput) SetGroupMemberList(v []*GroupMember) *ListGroupMembershipsOutput {
s.GroupMemberList = v
return s
} | go | func (s *ListGroupMembershipsOutput) SetGroupMemberList(v []*GroupMember) *ListGroupMembershipsOutput {
s.GroupMemberList = v
return s
} | [
"func",
"(",
"s",
"*",
"ListGroupMembershipsOutput",
")",
"SetGroupMemberList",
"(",
"v",
"[",
"]",
"*",
"GroupMember",
")",
"*",
"ListGroupMembershipsOutput",
"{",
"s",
".",
"GroupMemberList",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetGroupMemberList sets the GroupMemberList field's value. | [
"SetGroupMemberList",
"sets",
"the",
"GroupMemberList",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/quicksight/api.go#L3114-L3117 |
969 | aws/aws-sdk-go | service/quicksight/api.go | SetUserList | func (s *ListUsersOutput) SetUserList(v []*User) *ListUsersOutput {
s.UserList = v
return s
} | go | func (s *ListUsersOutput) SetUserList(v []*User) *ListUsersOutput {
s.UserList = v
return s
} | [
"func",
"(",
"s",
"*",
"ListUsersOutput",
")",
"SetUserList",
"(",
"v",
"[",
"]",
"*",
"User",
")",
"*",
"ListUsersOutput",
"{",
"s",
".",
"UserList",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetUserList sets the UserList field's value. | [
"SetUserList",
"sets",
"the",
"UserList",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/quicksight/api.go#L3539-L3542 |
970 | aws/aws-sdk-go | service/quicksight/api.go | SetIamArn | func (s *RegisterUserInput) SetIamArn(v string) *RegisterUserInput {
s.IamArn = &v
return s
} | go | func (s *RegisterUserInput) SetIamArn(v string) *RegisterUserInput {
s.IamArn = &v
return s
} | [
"func",
"(",
"s",
"*",
"RegisterUserInput",
")",
"SetIamArn",
"(",
"v",
"string",
")",
"*",
"RegisterUserInput",
"{",
"s",
".",
"IamArn",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetIamArn sets the IamArn field's value. | [
"SetIamArn",
"sets",
"the",
"IamArn",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/quicksight/api.go#L3662-L3665 |
971 | aws/aws-sdk-go | service/quicksight/api.go | SetSessionName | func (s *RegisterUserInput) SetSessionName(v string) *RegisterUserInput {
s.SessionName = &v
return s
} | go | func (s *RegisterUserInput) SetSessionName(v string) *RegisterUserInput {
s.SessionName = &v
return s
} | [
"func",
"(",
"s",
"*",
"RegisterUserInput",
")",
"SetSessionName",
"(",
"v",
"string",
")",
"*",
"RegisterUserInput",
"{",
"s",
".",
"SessionName",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetSessionName sets the SessionName field's value. | [
"SetSessionName",
"sets",
"the",
"SessionName",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/quicksight/api.go#L3680-L3683 |
972 | aws/aws-sdk-go | service/quicksight/api.go | SetUserInvitationUrl | func (s *RegisterUserOutput) SetUserInvitationUrl(v string) *RegisterUserOutput {
s.UserInvitationUrl = &v
return s
} | go | func (s *RegisterUserOutput) SetUserInvitationUrl(v string) *RegisterUserOutput {
s.UserInvitationUrl = &v
return s
} | [
"func",
"(",
"s",
"*",
"RegisterUserOutput",
")",
"SetUserInvitationUrl",
"(",
"v",
"string",
")",
"*",
"RegisterUserOutput",
"{",
"s",
".",
"UserInvitationUrl",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetUserInvitationUrl sets the UserInvitationUrl field's value. | [
"SetUserInvitationUrl",
"sets",
"the",
"UserInvitationUrl",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/quicksight/api.go#L3743-L3746 |
973 | aws/aws-sdk-go | service/machinelearning/customizations.go | updatePredictEndpoint | func updatePredictEndpoint(r *request.Request) {
if !r.ParamsFilled() {
return
}
r.ClientInfo.Endpoint = *r.Params.(*PredictInput).PredictEndpoint
uri, err := url.Parse(r.ClientInfo.Endpoint)
if err != nil {
r.Error = err
return
}
r.HTTPRequest.URL = uri
} | go | func updatePredictEndpoint(r *request.Request) {
if !r.ParamsFilled() {
return
}
r.ClientInfo.Endpoint = *r.Params.(*PredictInput).PredictEndpoint
uri, err := url.Parse(r.ClientInfo.Endpoint)
if err != nil {
r.Error = err
return
}
r.HTTPRequest.URL = uri
} | [
"func",
"updatePredictEndpoint",
"(",
"r",
"*",
"request",
".",
"Request",
")",
"{",
"if",
"!",
"r",
".",
"ParamsFilled",
"(",
")",
"{",
"return",
"\n",
"}",
"\n\n",
"r",
".",
"ClientInfo",
".",
"Endpoint",
"=",
"*",
"r",
".",
"Params",
".",
"(",
"*",
"PredictInput",
")",
".",
"PredictEndpoint",
"\n\n",
"uri",
",",
"err",
":=",
"url",
".",
"Parse",
"(",
"r",
".",
"ClientInfo",
".",
"Endpoint",
")",
"\n",
"if",
"err",
"!=",
"nil",
"{",
"r",
".",
"Error",
"=",
"err",
"\n",
"return",
"\n",
"}",
"\n",
"r",
".",
"HTTPRequest",
".",
"URL",
"=",
"uri",
"\n",
"}"
] | // updatePredictEndpoint rewrites the request endpoint to use the
// "PredictEndpoint" parameter of the Predict operation. | [
"updatePredictEndpoint",
"rewrites",
"the",
"request",
"endpoint",
"to",
"use",
"the",
"PredictEndpoint",
"parameter",
"of",
"the",
"Predict",
"operation",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/machinelearning/customizations.go#L20-L33 |
974 | aws/aws-sdk-go | service/cloudfront/sign/policy.go | MarshalJSON | func (t AWSEpochTime) MarshalJSON() ([]byte, error) {
return []byte(fmt.Sprintf(`{"AWS:EpochTime":%d}`, t.UTC().Unix())), nil
} | go | func (t AWSEpochTime) MarshalJSON() ([]byte, error) {
return []byte(fmt.Sprintf(`{"AWS:EpochTime":%d}`, t.UTC().Unix())), nil
} | [
"func",
"(",
"t",
"AWSEpochTime",
")",
"MarshalJSON",
"(",
")",
"(",
"[",
"]",
"byte",
",",
"error",
")",
"{",
"return",
"[",
"]",
"byte",
"(",
"fmt",
".",
"Sprintf",
"(",
"`{\"AWS:EpochTime\":%d}`",
",",
"t",
".",
"UTC",
"(",
")",
".",
"Unix",
"(",
")",
")",
")",
",",
"nil",
"\n",
"}"
] | // MarshalJSON serializes the epoch time as AWS Profile epoch time. | [
"MarshalJSON",
"serializes",
"the",
"epoch",
"time",
"as",
"AWS",
"Profile",
"epoch",
"time",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudfront/sign/policy.go#L31-L33 |
975 | aws/aws-sdk-go | service/cloudfront/sign/policy.go | UnmarshalJSON | func (t *AWSEpochTime) UnmarshalJSON(data []byte) error {
var epochTime struct {
Sec int64 `json:"AWS:EpochTime"`
}
err := json.Unmarshal(data, &epochTime)
if err != nil {
return err
}
t.Time = time.Unix(epochTime.Sec, 0).UTC()
return nil
} | go | func (t *AWSEpochTime) UnmarshalJSON(data []byte) error {
var epochTime struct {
Sec int64 `json:"AWS:EpochTime"`
}
err := json.Unmarshal(data, &epochTime)
if err != nil {
return err
}
t.Time = time.Unix(epochTime.Sec, 0).UTC()
return nil
} | [
"func",
"(",
"t",
"*",
"AWSEpochTime",
")",
"UnmarshalJSON",
"(",
"data",
"[",
"]",
"byte",
")",
"error",
"{",
"var",
"epochTime",
"struct",
"{",
"Sec",
"int64",
"`json:\"AWS:EpochTime\"`",
"\n",
"}",
"\n",
"err",
":=",
"json",
".",
"Unmarshal",
"(",
"data",
",",
"&",
"epochTime",
")",
"\n",
"if",
"err",
"!=",
"nil",
"{",
"return",
"err",
"\n",
"}",
"\n",
"t",
".",
"Time",
"=",
"time",
".",
"Unix",
"(",
"epochTime",
".",
"Sec",
",",
"0",
")",
".",
"UTC",
"(",
")",
"\n",
"return",
"nil",
"\n",
"}"
] | // UnmarshalJSON unserializes AWS Profile epoch time. | [
"UnmarshalJSON",
"unserializes",
"AWS",
"Profile",
"epoch",
"time",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudfront/sign/policy.go#L36-L46 |
976 | aws/aws-sdk-go | service/cloudfront/sign/policy.go | Validate | func (p *Policy) Validate() error {
if len(p.Statements) == 0 {
return fmt.Errorf("at least one policy statement is required")
}
for i, s := range p.Statements {
if s.Resource == "" {
return fmt.Errorf("statement at index %d does not have a resource", i)
}
if !isASCII(s.Resource) {
return fmt.Errorf("unable to sign resource, [%s]. "+
"Resources must only contain ascii characters. "+
"Hostnames with unicode should be encoded as Punycode, (e.g. golang.org/x/net/idna), "+
"and URL unicode path/query characters should be escaped.", s.Resource)
}
}
return nil
} | go | func (p *Policy) Validate() error {
if len(p.Statements) == 0 {
return fmt.Errorf("at least one policy statement is required")
}
for i, s := range p.Statements {
if s.Resource == "" {
return fmt.Errorf("statement at index %d does not have a resource", i)
}
if !isASCII(s.Resource) {
return fmt.Errorf("unable to sign resource, [%s]. "+
"Resources must only contain ascii characters. "+
"Hostnames with unicode should be encoded as Punycode, (e.g. golang.org/x/net/idna), "+
"and URL unicode path/query characters should be escaped.", s.Resource)
}
}
return nil
} | [
"func",
"(",
"p",
"*",
"Policy",
")",
"Validate",
"(",
")",
"error",
"{",
"if",
"len",
"(",
"p",
".",
"Statements",
")",
"==",
"0",
"{",
"return",
"fmt",
".",
"Errorf",
"(",
"\"",
"\"",
")",
"\n",
"}",
"\n",
"for",
"i",
",",
"s",
":=",
"range",
"p",
".",
"Statements",
"{",
"if",
"s",
".",
"Resource",
"==",
"\"",
"\"",
"{",
"return",
"fmt",
".",
"Errorf",
"(",
"\"",
"\"",
",",
"i",
")",
"\n",
"}",
"\n",
"if",
"!",
"isASCII",
"(",
"s",
".",
"Resource",
")",
"{",
"return",
"fmt",
".",
"Errorf",
"(",
"\"",
"\"",
"+",
"\"",
"\"",
"+",
"\"",
"\"",
"+",
"\"",
"\"",
",",
"s",
".",
"Resource",
")",
"\n",
"}",
"\n",
"}",
"\n\n",
"return",
"nil",
"\n",
"}"
] | // Validate verifies that the policy is valid and usable, and returns an
// error if there is a problem. | [
"Validate",
"verifies",
"that",
"the",
"policy",
"is",
"valid",
"and",
"usable",
"and",
"returns",
"an",
"error",
"if",
"there",
"is",
"a",
"problem",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudfront/sign/policy.go#L119-L136 |
977 | aws/aws-sdk-go | service/cloudfront/sign/policy.go | CreateResource | func CreateResource(scheme, u string) (string, error) {
scheme = strings.ToLower(scheme)
if scheme == "http" || scheme == "https" || scheme == "http*" || scheme == "*" {
return u, nil
}
if scheme == "rtmp" {
parsed, err := url.Parse(u)
if err != nil {
return "", fmt.Errorf("unable to parse rtmp URL, err: %s", err)
}
rtmpURL := strings.TrimLeft(parsed.Path, "/")
if parsed.RawQuery != "" {
rtmpURL = fmt.Sprintf("%s?%s", rtmpURL, parsed.RawQuery)
}
return rtmpURL, nil
}
return "", fmt.Errorf("invalid URL scheme must be http, https, or rtmp. Provided: %s", scheme)
} | go | func CreateResource(scheme, u string) (string, error) {
scheme = strings.ToLower(scheme)
if scheme == "http" || scheme == "https" || scheme == "http*" || scheme == "*" {
return u, nil
}
if scheme == "rtmp" {
parsed, err := url.Parse(u)
if err != nil {
return "", fmt.Errorf("unable to parse rtmp URL, err: %s", err)
}
rtmpURL := strings.TrimLeft(parsed.Path, "/")
if parsed.RawQuery != "" {
rtmpURL = fmt.Sprintf("%s?%s", rtmpURL, parsed.RawQuery)
}
return rtmpURL, nil
}
return "", fmt.Errorf("invalid URL scheme must be http, https, or rtmp. Provided: %s", scheme)
} | [
"func",
"CreateResource",
"(",
"scheme",
",",
"u",
"string",
")",
"(",
"string",
",",
"error",
")",
"{",
"scheme",
"=",
"strings",
".",
"ToLower",
"(",
"scheme",
")",
"\n\n",
"if",
"scheme",
"==",
"\"",
"\"",
"||",
"scheme",
"==",
"\"",
"\"",
"||",
"scheme",
"==",
"\"",
"\"",
"||",
"scheme",
"==",
"\"",
"\"",
"{",
"return",
"u",
",",
"nil",
"\n",
"}",
"\n\n",
"if",
"scheme",
"==",
"\"",
"\"",
"{",
"parsed",
",",
"err",
":=",
"url",
".",
"Parse",
"(",
"u",
")",
"\n",
"if",
"err",
"!=",
"nil",
"{",
"return",
"\"",
"\"",
",",
"fmt",
".",
"Errorf",
"(",
"\"",
"\"",
",",
"err",
")",
"\n",
"}",
"\n\n",
"rtmpURL",
":=",
"strings",
".",
"TrimLeft",
"(",
"parsed",
".",
"Path",
",",
"\"",
"\"",
")",
"\n",
"if",
"parsed",
".",
"RawQuery",
"!=",
"\"",
"\"",
"{",
"rtmpURL",
"=",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"rtmpURL",
",",
"parsed",
".",
"RawQuery",
")",
"\n",
"}",
"\n\n",
"return",
"rtmpURL",
",",
"nil",
"\n",
"}",
"\n\n",
"return",
"\"",
"\"",
",",
"fmt",
".",
"Errorf",
"(",
"\"",
"\"",
",",
"scheme",
")",
"\n",
"}"
] | // CreateResource constructs, validates, and returns a resource URL string. An
// error will be returned if unable to create the resource string. | [
"CreateResource",
"constructs",
"validates",
"and",
"returns",
"a",
"resource",
"URL",
"string",
".",
"An",
"error",
"will",
"be",
"returned",
"if",
"unable",
"to",
"create",
"the",
"resource",
"string",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudfront/sign/policy.go#L140-L162 |
978 | aws/aws-sdk-go | service/cloudfront/sign/policy.go | encodePolicy | func encodePolicy(p *Policy) (b64Policy, jsonPolicy []byte, err error) {
jsonPolicy, err = encodePolicyJSON(p)
if err != nil {
return nil, nil, fmt.Errorf("failed to encode policy, %s", err.Error())
}
// Remove leading and trailing white space, JSON encoding will note include
// whitespace within the encoding.
jsonPolicy = bytes.TrimSpace(jsonPolicy)
b64Policy = make([]byte, base64.StdEncoding.EncodedLen(len(jsonPolicy)))
base64.StdEncoding.Encode(b64Policy, jsonPolicy)
return b64Policy, jsonPolicy, nil
} | go | func encodePolicy(p *Policy) (b64Policy, jsonPolicy []byte, err error) {
jsonPolicy, err = encodePolicyJSON(p)
if err != nil {
return nil, nil, fmt.Errorf("failed to encode policy, %s", err.Error())
}
// Remove leading and trailing white space, JSON encoding will note include
// whitespace within the encoding.
jsonPolicy = bytes.TrimSpace(jsonPolicy)
b64Policy = make([]byte, base64.StdEncoding.EncodedLen(len(jsonPolicy)))
base64.StdEncoding.Encode(b64Policy, jsonPolicy)
return b64Policy, jsonPolicy, nil
} | [
"func",
"encodePolicy",
"(",
"p",
"*",
"Policy",
")",
"(",
"b64Policy",
",",
"jsonPolicy",
"[",
"]",
"byte",
",",
"err",
"error",
")",
"{",
"jsonPolicy",
",",
"err",
"=",
"encodePolicyJSON",
"(",
"p",
")",
"\n",
"if",
"err",
"!=",
"nil",
"{",
"return",
"nil",
",",
"nil",
",",
"fmt",
".",
"Errorf",
"(",
"\"",
"\"",
",",
"err",
".",
"Error",
"(",
")",
")",
"\n",
"}",
"\n",
"// Remove leading and trailing white space, JSON encoding will note include",
"// whitespace within the encoding.",
"jsonPolicy",
"=",
"bytes",
".",
"TrimSpace",
"(",
"jsonPolicy",
")",
"\n\n",
"b64Policy",
"=",
"make",
"(",
"[",
"]",
"byte",
",",
"base64",
".",
"StdEncoding",
".",
"EncodedLen",
"(",
"len",
"(",
"jsonPolicy",
")",
")",
")",
"\n",
"base64",
".",
"StdEncoding",
".",
"Encode",
"(",
"b64Policy",
",",
"jsonPolicy",
")",
"\n",
"return",
"b64Policy",
",",
"jsonPolicy",
",",
"nil",
"\n",
"}"
] | // encodePolicy encodes the Policy as JSON and also base 64 encodes it. | [
"encodePolicy",
"encodes",
"the",
"Policy",
"as",
"JSON",
"and",
"also",
"base",
"64",
"encodes",
"it",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudfront/sign/policy.go#L184-L196 |
979 | aws/aws-sdk-go | service/cloudfront/sign/policy.go | signEncodedPolicy | func signEncodedPolicy(randReader io.Reader, jsonPolicy []byte, privKey *rsa.PrivateKey) ([]byte, error) {
hash := sha1.New()
if _, err := bytes.NewReader(jsonPolicy).WriteTo(hash); err != nil {
return nil, fmt.Errorf("failed to calculate signing hash, %s", err.Error())
}
sig, err := rsa.SignPKCS1v15(randReader, privKey, crypto.SHA1, hash.Sum(nil))
if err != nil {
return nil, fmt.Errorf("failed to sign policy, %s", err.Error())
}
b64Sig := make([]byte, base64.StdEncoding.EncodedLen(len(sig)))
base64.StdEncoding.Encode(b64Sig, sig)
return b64Sig, nil
} | go | func signEncodedPolicy(randReader io.Reader, jsonPolicy []byte, privKey *rsa.PrivateKey) ([]byte, error) {
hash := sha1.New()
if _, err := bytes.NewReader(jsonPolicy).WriteTo(hash); err != nil {
return nil, fmt.Errorf("failed to calculate signing hash, %s", err.Error())
}
sig, err := rsa.SignPKCS1v15(randReader, privKey, crypto.SHA1, hash.Sum(nil))
if err != nil {
return nil, fmt.Errorf("failed to sign policy, %s", err.Error())
}
b64Sig := make([]byte, base64.StdEncoding.EncodedLen(len(sig)))
base64.StdEncoding.Encode(b64Sig, sig)
return b64Sig, nil
} | [
"func",
"signEncodedPolicy",
"(",
"randReader",
"io",
".",
"Reader",
",",
"jsonPolicy",
"[",
"]",
"byte",
",",
"privKey",
"*",
"rsa",
".",
"PrivateKey",
")",
"(",
"[",
"]",
"byte",
",",
"error",
")",
"{",
"hash",
":=",
"sha1",
".",
"New",
"(",
")",
"\n",
"if",
"_",
",",
"err",
":=",
"bytes",
".",
"NewReader",
"(",
"jsonPolicy",
")",
".",
"WriteTo",
"(",
"hash",
")",
";",
"err",
"!=",
"nil",
"{",
"return",
"nil",
",",
"fmt",
".",
"Errorf",
"(",
"\"",
"\"",
",",
"err",
".",
"Error",
"(",
")",
")",
"\n",
"}",
"\n\n",
"sig",
",",
"err",
":=",
"rsa",
".",
"SignPKCS1v15",
"(",
"randReader",
",",
"privKey",
",",
"crypto",
".",
"SHA1",
",",
"hash",
".",
"Sum",
"(",
"nil",
")",
")",
"\n",
"if",
"err",
"!=",
"nil",
"{",
"return",
"nil",
",",
"fmt",
".",
"Errorf",
"(",
"\"",
"\"",
",",
"err",
".",
"Error",
"(",
")",
")",
"\n",
"}",
"\n\n",
"b64Sig",
":=",
"make",
"(",
"[",
"]",
"byte",
",",
"base64",
".",
"StdEncoding",
".",
"EncodedLen",
"(",
"len",
"(",
"sig",
")",
")",
")",
"\n",
"base64",
".",
"StdEncoding",
".",
"Encode",
"(",
"b64Sig",
",",
"sig",
")",
"\n",
"return",
"b64Sig",
",",
"nil",
"\n",
"}"
] | // signEncodedPolicy will sign and base 64 encode the JSON encoded policy. | [
"signEncodedPolicy",
"will",
"sign",
"and",
"base",
"64",
"encode",
"the",
"JSON",
"encoded",
"policy",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudfront/sign/policy.go#L199-L213 |
980 | aws/aws-sdk-go | service/cloudfront/sign/policy.go | awsEscapeEncoded | func awsEscapeEncoded(b []byte) {
for i, v := range b {
if r, ok := invalidEncodedChar[v]; ok {
b[i] = r
}
}
} | go | func awsEscapeEncoded(b []byte) {
for i, v := range b {
if r, ok := invalidEncodedChar[v]; ok {
b[i] = r
}
}
} | [
"func",
"awsEscapeEncoded",
"(",
"b",
"[",
"]",
"byte",
")",
"{",
"for",
"i",
",",
"v",
":=",
"range",
"b",
"{",
"if",
"r",
",",
"ok",
":=",
"invalidEncodedChar",
"[",
"v",
"]",
";",
"ok",
"{",
"b",
"[",
"i",
"]",
"=",
"r",
"\n",
"}",
"\n",
"}",
"\n",
"}"
] | // awsEscapeEncoded will replace base64 encoding's special characters to be URL safe. | [
"awsEscapeEncoded",
"will",
"replace",
"base64",
"encoding",
"s",
"special",
"characters",
"to",
"be",
"URL",
"safe",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudfront/sign/policy.go#L223-L229 |
981 | aws/aws-sdk-go | service/fsx/api.go | SetWindowsResponse | func (s *DeleteFileSystemOutput) SetWindowsResponse(v *DeleteFileSystemWindowsResponse) *DeleteFileSystemOutput {
s.WindowsResponse = v
return s
} | go | func (s *DeleteFileSystemOutput) SetWindowsResponse(v *DeleteFileSystemWindowsResponse) *DeleteFileSystemOutput {
s.WindowsResponse = v
return s
} | [
"func",
"(",
"s",
"*",
"DeleteFileSystemOutput",
")",
"SetWindowsResponse",
"(",
"v",
"*",
"DeleteFileSystemWindowsResponse",
")",
"*",
"DeleteFileSystemOutput",
"{",
"s",
".",
"WindowsResponse",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetWindowsResponse sets the WindowsResponse field's value. | [
"SetWindowsResponse",
"sets",
"the",
"WindowsResponse",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/fsx/api.go#L2391-L2394 |
982 | aws/aws-sdk-go | service/fsx/api.go | SetSkipFinalBackup | func (s *DeleteFileSystemWindowsConfiguration) SetSkipFinalBackup(v bool) *DeleteFileSystemWindowsConfiguration {
s.SkipFinalBackup = &v
return s
} | go | func (s *DeleteFileSystemWindowsConfiguration) SetSkipFinalBackup(v bool) *DeleteFileSystemWindowsConfiguration {
s.SkipFinalBackup = &v
return s
} | [
"func",
"(",
"s",
"*",
"DeleteFileSystemWindowsConfiguration",
")",
"SetSkipFinalBackup",
"(",
"v",
"bool",
")",
"*",
"DeleteFileSystemWindowsConfiguration",
"{",
"s",
".",
"SkipFinalBackup",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetSkipFinalBackup sets the SkipFinalBackup field's value. | [
"SetSkipFinalBackup",
"sets",
"the",
"SkipFinalBackup",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/fsx/api.go#L2451-L2454 |
983 | aws/aws-sdk-go | service/fsx/api.go | SetFinalBackupId | func (s *DeleteFileSystemWindowsResponse) SetFinalBackupId(v string) *DeleteFileSystemWindowsResponse {
s.FinalBackupId = &v
return s
} | go | func (s *DeleteFileSystemWindowsResponse) SetFinalBackupId(v string) *DeleteFileSystemWindowsResponse {
s.FinalBackupId = &v
return s
} | [
"func",
"(",
"s",
"*",
"DeleteFileSystemWindowsResponse",
")",
"SetFinalBackupId",
"(",
"v",
"string",
")",
"*",
"DeleteFileSystemWindowsResponse",
"{",
"s",
".",
"FinalBackupId",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetFinalBackupId sets the FinalBackupId field's value. | [
"SetFinalBackupId",
"sets",
"the",
"FinalBackupId",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/fsx/api.go#L2479-L2482 |
984 | aws/aws-sdk-go | service/fsx/api.go | SetBackupIds | func (s *DescribeBackupsInput) SetBackupIds(v []*string) *DescribeBackupsInput {
s.BackupIds = v
return s
} | go | func (s *DescribeBackupsInput) SetBackupIds(v []*string) *DescribeBackupsInput {
s.BackupIds = v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeBackupsInput",
")",
"SetBackupIds",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"DescribeBackupsInput",
"{",
"s",
".",
"BackupIds",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetBackupIds sets the BackupIds field's value. | [
"SetBackupIds",
"sets",
"the",
"BackupIds",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/fsx/api.go#L2540-L2543 |
985 | aws/aws-sdk-go | service/fsx/api.go | SetBackups | func (s *DescribeBackupsOutput) SetBackups(v []*Backup) *DescribeBackupsOutput {
s.Backups = v
return s
} | go | func (s *DescribeBackupsOutput) SetBackups(v []*Backup) *DescribeBackupsOutput {
s.Backups = v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeBackupsOutput",
")",
"SetBackups",
"(",
"v",
"[",
"]",
"*",
"Backup",
")",
"*",
"DescribeBackupsOutput",
"{",
"s",
".",
"Backups",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetBackups sets the Backups field's value. | [
"SetBackups",
"sets",
"the",
"Backups",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/fsx/api.go#L2586-L2589 |
986 | aws/aws-sdk-go | service/fsx/api.go | SetFileSystemIds | func (s *DescribeFileSystemsInput) SetFileSystemIds(v []*string) *DescribeFileSystemsInput {
s.FileSystemIds = v
return s
} | go | func (s *DescribeFileSystemsInput) SetFileSystemIds(v []*string) *DescribeFileSystemsInput {
s.FileSystemIds = v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeFileSystemsInput",
")",
"SetFileSystemIds",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"DescribeFileSystemsInput",
"{",
"s",
".",
"FileSystemIds",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetFileSystemIds sets the FileSystemIds field's value. | [
"SetFileSystemIds",
"sets",
"the",
"FileSystemIds",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/fsx/api.go#L2644-L2647 |
987 | aws/aws-sdk-go | service/fsx/api.go | SetNetworkInterfaceIds | func (s *FileSystem) SetNetworkInterfaceIds(v []*string) *FileSystem {
s.NetworkInterfaceIds = v
return s
} | go | func (s *FileSystem) SetNetworkInterfaceIds(v []*string) *FileSystem {
s.NetworkInterfaceIds = v
return s
} | [
"func",
"(",
"s",
"*",
"FileSystem",
")",
"SetNetworkInterfaceIds",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"FileSystem",
"{",
"s",
".",
"NetworkInterfaceIds",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetNetworkInterfaceIds sets the NetworkInterfaceIds field's value. | [
"SetNetworkInterfaceIds",
"sets",
"the",
"NetworkInterfaceIds",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/fsx/api.go#L2824-L2827 |
988 | aws/aws-sdk-go | service/fsx/api.go | SetDataRepositoryConfiguration | func (s *LustreFileSystemConfiguration) SetDataRepositoryConfiguration(v *DataRepositoryConfiguration) *LustreFileSystemConfiguration {
s.DataRepositoryConfiguration = v
return s
} | go | func (s *LustreFileSystemConfiguration) SetDataRepositoryConfiguration(v *DataRepositoryConfiguration) *LustreFileSystemConfiguration {
s.DataRepositoryConfiguration = v
return s
} | [
"func",
"(",
"s",
"*",
"LustreFileSystemConfiguration",
")",
"SetDataRepositoryConfiguration",
"(",
"v",
"*",
"DataRepositoryConfiguration",
")",
"*",
"LustreFileSystemConfiguration",
"{",
"s",
".",
"DataRepositoryConfiguration",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDataRepositoryConfiguration sets the DataRepositoryConfiguration field's value. | [
"SetDataRepositoryConfiguration",
"sets",
"the",
"DataRepositoryConfiguration",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/fsx/api.go#L3059-L3062 |
989 | aws/aws-sdk-go | service/fsx/api.go | SetMaintenanceOperationsInProgress | func (s *WindowsFileSystemConfiguration) SetMaintenanceOperationsInProgress(v []*string) *WindowsFileSystemConfiguration {
s.MaintenanceOperationsInProgress = v
return s
} | go | func (s *WindowsFileSystemConfiguration) SetMaintenanceOperationsInProgress(v []*string) *WindowsFileSystemConfiguration {
s.MaintenanceOperationsInProgress = v
return s
} | [
"func",
"(",
"s",
"*",
"WindowsFileSystemConfiguration",
")",
"SetMaintenanceOperationsInProgress",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"WindowsFileSystemConfiguration",
"{",
"s",
".",
"MaintenanceOperationsInProgress",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetMaintenanceOperationsInProgress sets the MaintenanceOperationsInProgress field's value. | [
"SetMaintenanceOperationsInProgress",
"sets",
"the",
"MaintenanceOperationsInProgress",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/fsx/api.go#L3556-L3559 |
990 | aws/aws-sdk-go | service/elasticsearchservice/api.go | SetTargetVersions | func (s *CompatibleVersionsMap) SetTargetVersions(v []*string) *CompatibleVersionsMap {
s.TargetVersions = v
return s
} | go | func (s *CompatibleVersionsMap) SetTargetVersions(v []*string) *CompatibleVersionsMap {
s.TargetVersions = v
return s
} | [
"func",
"(",
"s",
"*",
"CompatibleVersionsMap",
")",
"SetTargetVersions",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"CompatibleVersionsMap",
"{",
"s",
".",
"TargetVersions",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetTargetVersions sets the TargetVersions field's value. | [
"SetTargetVersions",
"sets",
"the",
"TargetVersions",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticsearchservice/api.go#L2824-L2827 |
991 | aws/aws-sdk-go | service/elasticsearchservice/api.go | SetLimitsByRole | func (s *DescribeElasticsearchInstanceTypeLimitsOutput) SetLimitsByRole(v map[string]*Limits) *DescribeElasticsearchInstanceTypeLimitsOutput {
s.LimitsByRole = v
return s
} | go | func (s *DescribeElasticsearchInstanceTypeLimitsOutput) SetLimitsByRole(v map[string]*Limits) *DescribeElasticsearchInstanceTypeLimitsOutput {
s.LimitsByRole = v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeElasticsearchInstanceTypeLimitsOutput",
")",
"SetLimitsByRole",
"(",
"v",
"map",
"[",
"string",
"]",
"*",
"Limits",
")",
"*",
"DescribeElasticsearchInstanceTypeLimitsOutput",
"{",
"s",
".",
"LimitsByRole",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetLimitsByRole sets the LimitsByRole field's value. | [
"SetLimitsByRole",
"sets",
"the",
"LimitsByRole",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticsearchservice/api.go#L3420-L3423 |
992 | aws/aws-sdk-go | service/elasticsearchservice/api.go | SetReservedElasticsearchInstanceOfferings | func (s *DescribeReservedElasticsearchInstanceOfferingsOutput) SetReservedElasticsearchInstanceOfferings(v []*ReservedElasticsearchInstanceOffering) *DescribeReservedElasticsearchInstanceOfferingsOutput {
s.ReservedElasticsearchInstanceOfferings = v
return s
} | go | func (s *DescribeReservedElasticsearchInstanceOfferingsOutput) SetReservedElasticsearchInstanceOfferings(v []*ReservedElasticsearchInstanceOffering) *DescribeReservedElasticsearchInstanceOfferingsOutput {
s.ReservedElasticsearchInstanceOfferings = v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeReservedElasticsearchInstanceOfferingsOutput",
")",
"SetReservedElasticsearchInstanceOfferings",
"(",
"v",
"[",
"]",
"*",
"ReservedElasticsearchInstanceOffering",
")",
"*",
"DescribeReservedElasticsearchInstanceOfferingsOutput",
"{",
"s",
".",
"ReservedElasticsearchInstanceOfferings",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetReservedElasticsearchInstanceOfferings sets the ReservedElasticsearchInstanceOfferings field's value. | [
"SetReservedElasticsearchInstanceOfferings",
"sets",
"the",
"ReservedElasticsearchInstanceOfferings",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticsearchservice/api.go#L3498-L3501 |
993 | aws/aws-sdk-go | service/elasticsearchservice/api.go | SetReservedElasticsearchInstances | func (s *DescribeReservedElasticsearchInstancesOutput) SetReservedElasticsearchInstances(v []*ReservedElasticsearchInstance) *DescribeReservedElasticsearchInstancesOutput {
s.ReservedElasticsearchInstances = v
return s
} | go | func (s *DescribeReservedElasticsearchInstancesOutput) SetReservedElasticsearchInstances(v []*ReservedElasticsearchInstance) *DescribeReservedElasticsearchInstancesOutput {
s.ReservedElasticsearchInstances = v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeReservedElasticsearchInstancesOutput",
")",
"SetReservedElasticsearchInstances",
"(",
"v",
"[",
"]",
"*",
"ReservedElasticsearchInstance",
")",
"*",
"DescribeReservedElasticsearchInstancesOutput",
"{",
"s",
".",
"ReservedElasticsearchInstances",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetReservedElasticsearchInstances sets the ReservedElasticsearchInstances field's value. | [
"SetReservedElasticsearchInstances",
"sets",
"the",
"ReservedElasticsearchInstances",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticsearchservice/api.go#L3577-L3580 |
994 | aws/aws-sdk-go | service/elasticsearchservice/api.go | SetEBSEnabled | func (s *EBSOptions) SetEBSEnabled(v bool) *EBSOptions {
s.EBSEnabled = &v
return s
} | go | func (s *EBSOptions) SetEBSEnabled(v bool) *EBSOptions {
s.EBSEnabled = &v
return s
} | [
"func",
"(",
"s",
"*",
"EBSOptions",
")",
"SetEBSEnabled",
"(",
"v",
"bool",
")",
"*",
"EBSOptions",
"{",
"s",
".",
"EBSEnabled",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetEBSEnabled sets the EBSEnabled field's value. | [
"SetEBSEnabled",
"sets",
"the",
"EBSEnabled",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticsearchservice/api.go#L3634-L3637 |
995 | aws/aws-sdk-go | service/elasticsearchservice/api.go | SetDedicatedMasterCount | func (s *ElasticsearchClusterConfig) SetDedicatedMasterCount(v int64) *ElasticsearchClusterConfig {
s.DedicatedMasterCount = &v
return s
} | go | func (s *ElasticsearchClusterConfig) SetDedicatedMasterCount(v int64) *ElasticsearchClusterConfig {
s.DedicatedMasterCount = &v
return s
} | [
"func",
"(",
"s",
"*",
"ElasticsearchClusterConfig",
")",
"SetDedicatedMasterCount",
"(",
"v",
"int64",
")",
"*",
"ElasticsearchClusterConfig",
"{",
"s",
".",
"DedicatedMasterCount",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDedicatedMasterCount sets the DedicatedMasterCount field's value. | [
"SetDedicatedMasterCount",
"sets",
"the",
"DedicatedMasterCount",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticsearchservice/api.go#L3737-L3740 |
996 | aws/aws-sdk-go | service/elasticsearchservice/api.go | SetDedicatedMasterEnabled | func (s *ElasticsearchClusterConfig) SetDedicatedMasterEnabled(v bool) *ElasticsearchClusterConfig {
s.DedicatedMasterEnabled = &v
return s
} | go | func (s *ElasticsearchClusterConfig) SetDedicatedMasterEnabled(v bool) *ElasticsearchClusterConfig {
s.DedicatedMasterEnabled = &v
return s
} | [
"func",
"(",
"s",
"*",
"ElasticsearchClusterConfig",
")",
"SetDedicatedMasterEnabled",
"(",
"v",
"bool",
")",
"*",
"ElasticsearchClusterConfig",
"{",
"s",
".",
"DedicatedMasterEnabled",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDedicatedMasterEnabled sets the DedicatedMasterEnabled field's value. | [
"SetDedicatedMasterEnabled",
"sets",
"the",
"DedicatedMasterEnabled",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticsearchservice/api.go#L3743-L3746 |
997 | aws/aws-sdk-go | service/elasticsearchservice/api.go | SetDedicatedMasterType | func (s *ElasticsearchClusterConfig) SetDedicatedMasterType(v string) *ElasticsearchClusterConfig {
s.DedicatedMasterType = &v
return s
} | go | func (s *ElasticsearchClusterConfig) SetDedicatedMasterType(v string) *ElasticsearchClusterConfig {
s.DedicatedMasterType = &v
return s
} | [
"func",
"(",
"s",
"*",
"ElasticsearchClusterConfig",
")",
"SetDedicatedMasterType",
"(",
"v",
"string",
")",
"*",
"ElasticsearchClusterConfig",
"{",
"s",
".",
"DedicatedMasterType",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDedicatedMasterType sets the DedicatedMasterType field's value. | [
"SetDedicatedMasterType",
"sets",
"the",
"DedicatedMasterType",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticsearchservice/api.go#L3749-L3752 |
998 | aws/aws-sdk-go | service/elasticsearchservice/api.go | SetZoneAwarenessConfig | func (s *ElasticsearchClusterConfig) SetZoneAwarenessConfig(v *ZoneAwarenessConfig) *ElasticsearchClusterConfig {
s.ZoneAwarenessConfig = v
return s
} | go | func (s *ElasticsearchClusterConfig) SetZoneAwarenessConfig(v *ZoneAwarenessConfig) *ElasticsearchClusterConfig {
s.ZoneAwarenessConfig = v
return s
} | [
"func",
"(",
"s",
"*",
"ElasticsearchClusterConfig",
")",
"SetZoneAwarenessConfig",
"(",
"v",
"*",
"ZoneAwarenessConfig",
")",
"*",
"ElasticsearchClusterConfig",
"{",
"s",
".",
"ZoneAwarenessConfig",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetZoneAwarenessConfig sets the ZoneAwarenessConfig field's value. | [
"SetZoneAwarenessConfig",
"sets",
"the",
"ZoneAwarenessConfig",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticsearchservice/api.go#L3767-L3770 |
999 | aws/aws-sdk-go | service/elasticsearchservice/api.go | SetZoneAwarenessEnabled | func (s *ElasticsearchClusterConfig) SetZoneAwarenessEnabled(v bool) *ElasticsearchClusterConfig {
s.ZoneAwarenessEnabled = &v
return s
} | go | func (s *ElasticsearchClusterConfig) SetZoneAwarenessEnabled(v bool) *ElasticsearchClusterConfig {
s.ZoneAwarenessEnabled = &v
return s
} | [
"func",
"(",
"s",
"*",
"ElasticsearchClusterConfig",
")",
"SetZoneAwarenessEnabled",
"(",
"v",
"bool",
")",
"*",
"ElasticsearchClusterConfig",
"{",
"s",
".",
"ZoneAwarenessEnabled",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetZoneAwarenessEnabled sets the ZoneAwarenessEnabled field's value. | [
"SetZoneAwarenessEnabled",
"sets",
"the",
"ZoneAwarenessEnabled",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elasticsearchservice/api.go#L3773-L3776 |
Subsets and Splits