id
int32 0
167k
| repo
stringlengths 5
54
| path
stringlengths 4
155
| func_name
stringlengths 1
118
| original_string
stringlengths 52
85.5k
| language
stringclasses 1
value | code
stringlengths 52
85.5k
| code_tokens
listlengths 21
1.41k
| docstring
stringlengths 6
2.61k
| docstring_tokens
listlengths 3
215
| sha
stringlengths 40
40
| url
stringlengths 85
252
|
---|---|---|---|---|---|---|---|---|---|---|---|
166,200 |
aws/aws-sdk-go
|
service/neptune/api.go
|
SetDBClusterSnapshots
|
func (s *DescribeDBClusterSnapshotsOutput) SetDBClusterSnapshots(v []*DBClusterSnapshot) *DescribeDBClusterSnapshotsOutput {
s.DBClusterSnapshots = v
return s
}
|
go
|
func (s *DescribeDBClusterSnapshotsOutput) SetDBClusterSnapshots(v []*DBClusterSnapshot) *DescribeDBClusterSnapshotsOutput {
s.DBClusterSnapshots = v
return s
}
|
[
"func",
"(",
"s",
"*",
"DescribeDBClusterSnapshotsOutput",
")",
"SetDBClusterSnapshots",
"(",
"v",
"[",
"]",
"*",
"DBClusterSnapshot",
")",
"*",
"DescribeDBClusterSnapshotsOutput",
"{",
"s",
".",
"DBClusterSnapshots",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetDBClusterSnapshots sets the DBClusterSnapshots field's value.
|
[
"SetDBClusterSnapshots",
"sets",
"the",
"DBClusterSnapshots",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/neptune/api.go#L10936-L10939
|
166,201 |
aws/aws-sdk-go
|
service/neptune/api.go
|
SetDBClusters
|
func (s *DescribeDBClustersOutput) SetDBClusters(v []*DBCluster) *DescribeDBClustersOutput {
s.DBClusters = v
return s
}
|
go
|
func (s *DescribeDBClustersOutput) SetDBClusters(v []*DBCluster) *DescribeDBClustersOutput {
s.DBClusters = v
return s
}
|
[
"func",
"(",
"s",
"*",
"DescribeDBClustersOutput",
")",
"SetDBClusters",
"(",
"v",
"[",
"]",
"*",
"DBCluster",
")",
"*",
"DescribeDBClustersOutput",
"{",
"s",
".",
"DBClusters",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetDBClusters sets the DBClusters field's value.
|
[
"SetDBClusters",
"sets",
"the",
"DBClusters",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/neptune/api.go#L11058-L11061
|
166,202 |
aws/aws-sdk-go
|
service/neptune/api.go
|
SetListSupportedCharacterSets
|
func (s *DescribeDBEngineVersionsInput) SetListSupportedCharacterSets(v bool) *DescribeDBEngineVersionsInput {
s.ListSupportedCharacterSets = &v
return s
}
|
go
|
func (s *DescribeDBEngineVersionsInput) SetListSupportedCharacterSets(v bool) *DescribeDBEngineVersionsInput {
s.ListSupportedCharacterSets = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"DescribeDBEngineVersionsInput",
")",
"SetListSupportedCharacterSets",
"(",
"v",
"bool",
")",
"*",
"DescribeDBEngineVersionsInput",
"{",
"s",
".",
"ListSupportedCharacterSets",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetListSupportedCharacterSets sets the ListSupportedCharacterSets field's value.
|
[
"SetListSupportedCharacterSets",
"sets",
"the",
"ListSupportedCharacterSets",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/neptune/api.go#L11180-L11183
|
166,203 |
aws/aws-sdk-go
|
service/neptune/api.go
|
SetListSupportedTimezones
|
func (s *DescribeDBEngineVersionsInput) SetListSupportedTimezones(v bool) *DescribeDBEngineVersionsInput {
s.ListSupportedTimezones = &v
return s
}
|
go
|
func (s *DescribeDBEngineVersionsInput) SetListSupportedTimezones(v bool) *DescribeDBEngineVersionsInput {
s.ListSupportedTimezones = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"DescribeDBEngineVersionsInput",
")",
"SetListSupportedTimezones",
"(",
"v",
"bool",
")",
"*",
"DescribeDBEngineVersionsInput",
"{",
"s",
".",
"ListSupportedTimezones",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetListSupportedTimezones sets the ListSupportedTimezones field's value.
|
[
"SetListSupportedTimezones",
"sets",
"the",
"ListSupportedTimezones",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/neptune/api.go#L11186-L11189
|
166,204 |
aws/aws-sdk-go
|
service/neptune/api.go
|
SetDBEngineVersions
|
func (s *DescribeDBEngineVersionsOutput) SetDBEngineVersions(v []*DBEngineVersion) *DescribeDBEngineVersionsOutput {
s.DBEngineVersions = v
return s
}
|
go
|
func (s *DescribeDBEngineVersionsOutput) SetDBEngineVersions(v []*DBEngineVersion) *DescribeDBEngineVersionsOutput {
s.DBEngineVersions = v
return s
}
|
[
"func",
"(",
"s",
"*",
"DescribeDBEngineVersionsOutput",
")",
"SetDBEngineVersions",
"(",
"v",
"[",
"]",
"*",
"DBEngineVersion",
")",
"*",
"DescribeDBEngineVersionsOutput",
"{",
"s",
".",
"DBEngineVersions",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetDBEngineVersions sets the DBEngineVersions field's value.
|
[
"SetDBEngineVersions",
"sets",
"the",
"DBEngineVersions",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/neptune/api.go#L11226-L11229
|
166,205 |
aws/aws-sdk-go
|
service/neptune/api.go
|
SetDBInstances
|
func (s *DescribeDBInstancesOutput) SetDBInstances(v []*DBInstance) *DescribeDBInstancesOutput {
s.DBInstances = v
return s
}
|
go
|
func (s *DescribeDBInstancesOutput) SetDBInstances(v []*DBInstance) *DescribeDBInstancesOutput {
s.DBInstances = v
return s
}
|
[
"func",
"(",
"s",
"*",
"DescribeDBInstancesOutput",
")",
"SetDBInstances",
"(",
"v",
"[",
"]",
"*",
"DBInstance",
")",
"*",
"DescribeDBInstancesOutput",
"{",
"s",
".",
"DBInstances",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetDBInstances sets the DBInstances field's value.
|
[
"SetDBInstances",
"sets",
"the",
"DBInstances",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/neptune/api.go#L11354-L11357
|
166,206 |
aws/aws-sdk-go
|
service/neptune/api.go
|
SetDBSubnetGroups
|
func (s *DescribeDBSubnetGroupsOutput) SetDBSubnetGroups(v []*DBSubnetGroup) *DescribeDBSubnetGroupsOutput {
s.DBSubnetGroups = v
return s
}
|
go
|
func (s *DescribeDBSubnetGroupsOutput) SetDBSubnetGroups(v []*DBSubnetGroup) *DescribeDBSubnetGroupsOutput {
s.DBSubnetGroups = v
return s
}
|
[
"func",
"(",
"s",
"*",
"DescribeDBSubnetGroupsOutput",
")",
"SetDBSubnetGroups",
"(",
"v",
"[",
"]",
"*",
"DBSubnetGroup",
")",
"*",
"DescribeDBSubnetGroupsOutput",
"{",
"s",
".",
"DBSubnetGroups",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetDBSubnetGroups sets the DBSubnetGroups field's value.
|
[
"SetDBSubnetGroups",
"sets",
"the",
"DBSubnetGroups",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/neptune/api.go#L11716-L11719
|
166,207 |
aws/aws-sdk-go
|
service/neptune/api.go
|
SetEventCategoriesMapList
|
func (s *DescribeEventCategoriesOutput) SetEventCategoriesMapList(v []*EventCategoriesMap) *DescribeEventCategoriesOutput {
s.EventCategoriesMapList = v
return s
}
|
go
|
func (s *DescribeEventCategoriesOutput) SetEventCategoriesMapList(v []*EventCategoriesMap) *DescribeEventCategoriesOutput {
s.EventCategoriesMapList = v
return s
}
|
[
"func",
"(",
"s",
"*",
"DescribeEventCategoriesOutput",
")",
"SetEventCategoriesMapList",
"(",
"v",
"[",
"]",
"*",
"EventCategoriesMap",
")",
"*",
"DescribeEventCategoriesOutput",
"{",
"s",
".",
"EventCategoriesMapList",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetEventCategoriesMapList sets the EventCategoriesMapList field's value.
|
[
"SetEventCategoriesMapList",
"sets",
"the",
"EventCategoriesMapList",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/neptune/api.go#L12014-L12017
|
166,208 |
aws/aws-sdk-go
|
service/neptune/api.go
|
SetEventSubscriptionsList
|
func (s *DescribeEventSubscriptionsOutput) SetEventSubscriptionsList(v []*EventSubscription) *DescribeEventSubscriptionsOutput {
s.EventSubscriptionsList = v
return s
}
|
go
|
func (s *DescribeEventSubscriptionsOutput) SetEventSubscriptionsList(v []*EventSubscription) *DescribeEventSubscriptionsOutput {
s.EventSubscriptionsList = v
return s
}
|
[
"func",
"(",
"s",
"*",
"DescribeEventSubscriptionsOutput",
")",
"SetEventSubscriptionsList",
"(",
"v",
"[",
"]",
"*",
"EventSubscription",
")",
"*",
"DescribeEventSubscriptionsOutput",
"{",
"s",
".",
"EventSubscriptionsList",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetEventSubscriptionsList sets the EventSubscriptionsList field's value.
|
[
"SetEventSubscriptionsList",
"sets",
"the",
"EventSubscriptionsList",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/neptune/api.go#L12120-L12123
|
166,209 |
aws/aws-sdk-go
|
service/neptune/api.go
|
SetOrderableDBInstanceOptions
|
func (s *DescribeOrderableDBInstanceOptionsOutput) SetOrderableDBInstanceOptions(v []*OrderableDBInstanceOption) *DescribeOrderableDBInstanceOptionsOutput {
s.OrderableDBInstanceOptions = v
return s
}
|
go
|
func (s *DescribeOrderableDBInstanceOptionsOutput) SetOrderableDBInstanceOptions(v []*OrderableDBInstanceOption) *DescribeOrderableDBInstanceOptionsOutput {
s.OrderableDBInstanceOptions = v
return s
}
|
[
"func",
"(",
"s",
"*",
"DescribeOrderableDBInstanceOptionsOutput",
")",
"SetOrderableDBInstanceOptions",
"(",
"v",
"[",
"]",
"*",
"OrderableDBInstanceOption",
")",
"*",
"DescribeOrderableDBInstanceOptionsOutput",
"{",
"s",
".",
"OrderableDBInstanceOptions",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetOrderableDBInstanceOptions sets the OrderableDBInstanceOptions field's value.
|
[
"SetOrderableDBInstanceOptions",
"sets",
"the",
"OrderableDBInstanceOptions",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/neptune/api.go#L12471-L12474
|
166,210 |
aws/aws-sdk-go
|
service/neptune/api.go
|
SetValidDBInstanceModificationsMessage
|
func (s *DescribeValidDBInstanceModificationsOutput) SetValidDBInstanceModificationsMessage(v *ValidDBInstanceModificationsMessage) *DescribeValidDBInstanceModificationsOutput {
s.ValidDBInstanceModificationsMessage = v
return s
}
|
go
|
func (s *DescribeValidDBInstanceModificationsOutput) SetValidDBInstanceModificationsMessage(v *ValidDBInstanceModificationsMessage) *DescribeValidDBInstanceModificationsOutput {
s.ValidDBInstanceModificationsMessage = v
return s
}
|
[
"func",
"(",
"s",
"*",
"DescribeValidDBInstanceModificationsOutput",
")",
"SetValidDBInstanceModificationsMessage",
"(",
"v",
"*",
"ValidDBInstanceModificationsMessage",
")",
"*",
"DescribeValidDBInstanceModificationsOutput",
"{",
"s",
".",
"ValidDBInstanceModificationsMessage",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetValidDBInstanceModificationsMessage sets the ValidDBInstanceModificationsMessage field's value.
|
[
"SetValidDBInstanceModificationsMessage",
"sets",
"the",
"ValidDBInstanceModificationsMessage",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/neptune/api.go#L12657-L12660
|
166,211 |
aws/aws-sdk-go
|
service/neptune/api.go
|
SetFQDN
|
func (s *DomainMembership) SetFQDN(v string) *DomainMembership {
s.FQDN = &v
return s
}
|
go
|
func (s *DomainMembership) SetFQDN(v string) *DomainMembership {
s.FQDN = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"DomainMembership",
")",
"SetFQDN",
"(",
"v",
"string",
")",
"*",
"DomainMembership",
"{",
"s",
".",
"FQDN",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetFQDN sets the FQDN field's value.
|
[
"SetFQDN",
"sets",
"the",
"FQDN",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/neptune/api.go#L12698-L12701
|
166,212 |
aws/aws-sdk-go
|
service/neptune/api.go
|
SetIAMRoleName
|
func (s *DomainMembership) SetIAMRoleName(v string) *DomainMembership {
s.IAMRoleName = &v
return s
}
|
go
|
func (s *DomainMembership) SetIAMRoleName(v string) *DomainMembership {
s.IAMRoleName = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"DomainMembership",
")",
"SetIAMRoleName",
"(",
"v",
"string",
")",
"*",
"DomainMembership",
"{",
"s",
".",
"IAMRoleName",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetIAMRoleName sets the IAMRoleName field's value.
|
[
"SetIAMRoleName",
"sets",
"the",
"IAMRoleName",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/neptune/api.go#L12704-L12707
|
166,213 |
aws/aws-sdk-go
|
service/neptune/api.go
|
SetCustSubscriptionId
|
func (s *EventSubscription) SetCustSubscriptionId(v string) *EventSubscription {
s.CustSubscriptionId = &v
return s
}
|
go
|
func (s *EventSubscription) SetCustSubscriptionId(v string) *EventSubscription {
s.CustSubscriptionId = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"EventSubscription",
")",
"SetCustSubscriptionId",
"(",
"v",
"string",
")",
"*",
"EventSubscription",
"{",
"s",
".",
"CustSubscriptionId",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetCustSubscriptionId sets the CustSubscriptionId field's value.
|
[
"SetCustSubscriptionId",
"sets",
"the",
"CustSubscriptionId",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/neptune/api.go#L12996-L12999
|
166,214 |
aws/aws-sdk-go
|
service/neptune/api.go
|
SetCustomerAwsId
|
func (s *EventSubscription) SetCustomerAwsId(v string) *EventSubscription {
s.CustomerAwsId = &v
return s
}
|
go
|
func (s *EventSubscription) SetCustomerAwsId(v string) *EventSubscription {
s.CustomerAwsId = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"EventSubscription",
")",
"SetCustomerAwsId",
"(",
"v",
"string",
")",
"*",
"EventSubscription",
"{",
"s",
".",
"CustomerAwsId",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetCustomerAwsId sets the CustomerAwsId field's value.
|
[
"SetCustomerAwsId",
"sets",
"the",
"CustomerAwsId",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/neptune/api.go#L13002-L13005
|
166,215 |
aws/aws-sdk-go
|
service/neptune/api.go
|
SetEventCategoriesList
|
func (s *EventSubscription) SetEventCategoriesList(v []*string) *EventSubscription {
s.EventCategoriesList = v
return s
}
|
go
|
func (s *EventSubscription) SetEventCategoriesList(v []*string) *EventSubscription {
s.EventCategoriesList = v
return s
}
|
[
"func",
"(",
"s",
"*",
"EventSubscription",
")",
"SetEventCategoriesList",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"EventSubscription",
"{",
"s",
".",
"EventCategoriesList",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetEventCategoriesList sets the EventCategoriesList field's value.
|
[
"SetEventCategoriesList",
"sets",
"the",
"EventCategoriesList",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/neptune/api.go#L13014-L13017
|
166,216 |
aws/aws-sdk-go
|
service/neptune/api.go
|
SetEventSubscriptionArn
|
func (s *EventSubscription) SetEventSubscriptionArn(v string) *EventSubscription {
s.EventSubscriptionArn = &v
return s
}
|
go
|
func (s *EventSubscription) SetEventSubscriptionArn(v string) *EventSubscription {
s.EventSubscriptionArn = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"EventSubscription",
")",
"SetEventSubscriptionArn",
"(",
"v",
"string",
")",
"*",
"EventSubscription",
"{",
"s",
".",
"EventSubscriptionArn",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetEventSubscriptionArn sets the EventSubscriptionArn field's value.
|
[
"SetEventSubscriptionArn",
"sets",
"the",
"EventSubscriptionArn",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/neptune/api.go#L13020-L13023
|
166,217 |
aws/aws-sdk-go
|
service/neptune/api.go
|
SetSourceIdsList
|
func (s *EventSubscription) SetSourceIdsList(v []*string) *EventSubscription {
s.SourceIdsList = v
return s
}
|
go
|
func (s *EventSubscription) SetSourceIdsList(v []*string) *EventSubscription {
s.SourceIdsList = v
return s
}
|
[
"func",
"(",
"s",
"*",
"EventSubscription",
")",
"SetSourceIdsList",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"EventSubscription",
"{",
"s",
".",
"SourceIdsList",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetSourceIdsList sets the SourceIdsList field's value.
|
[
"SetSourceIdsList",
"sets",
"the",
"SourceIdsList",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/neptune/api.go#L13032-L13035
|
166,218 |
aws/aws-sdk-go
|
service/neptune/api.go
|
SetNewDBClusterIdentifier
|
func (s *ModifyDBClusterInput) SetNewDBClusterIdentifier(v string) *ModifyDBClusterInput {
s.NewDBClusterIdentifier = &v
return s
}
|
go
|
func (s *ModifyDBClusterInput) SetNewDBClusterIdentifier(v string) *ModifyDBClusterInput {
s.NewDBClusterIdentifier = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"ModifyDBClusterInput",
")",
"SetNewDBClusterIdentifier",
"(",
"v",
"string",
")",
"*",
"ModifyDBClusterInput",
"{",
"s",
".",
"NewDBClusterIdentifier",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetNewDBClusterIdentifier sets the NewDBClusterIdentifier field's value.
|
[
"SetNewDBClusterIdentifier",
"sets",
"the",
"NewDBClusterIdentifier",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/neptune/api.go#L13448-L13451
|
166,219 |
aws/aws-sdk-go
|
service/neptune/api.go
|
SetDBPortNumber
|
func (s *ModifyDBInstanceInput) SetDBPortNumber(v int64) *ModifyDBInstanceInput {
s.DBPortNumber = &v
return s
}
|
go
|
func (s *ModifyDBInstanceInput) SetDBPortNumber(v int64) *ModifyDBInstanceInput {
s.DBPortNumber = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"ModifyDBInstanceInput",
")",
"SetDBPortNumber",
"(",
"v",
"int64",
")",
"*",
"ModifyDBInstanceInput",
"{",
"s",
".",
"DBPortNumber",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetDBPortNumber sets the DBPortNumber field's value.
|
[
"SetDBPortNumber",
"sets",
"the",
"DBPortNumber",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/neptune/api.go#L14054-L14057
|
166,220 |
aws/aws-sdk-go
|
service/neptune/api.go
|
SetNewDBInstanceIdentifier
|
func (s *ModifyDBInstanceInput) SetNewDBInstanceIdentifier(v string) *ModifyDBInstanceInput {
s.NewDBInstanceIdentifier = &v
return s
}
|
go
|
func (s *ModifyDBInstanceInput) SetNewDBInstanceIdentifier(v string) *ModifyDBInstanceInput {
s.NewDBInstanceIdentifier = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"ModifyDBInstanceInput",
")",
"SetNewDBInstanceIdentifier",
"(",
"v",
"string",
")",
"*",
"ModifyDBInstanceInput",
"{",
"s",
".",
"NewDBInstanceIdentifier",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetNewDBInstanceIdentifier sets the NewDBInstanceIdentifier field's value.
|
[
"SetNewDBInstanceIdentifier",
"sets",
"the",
"NewDBInstanceIdentifier",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/neptune/api.go#L14138-L14141
|
166,221 |
aws/aws-sdk-go
|
service/neptune/api.go
|
SetMaxIopsPerDbInstance
|
func (s *OrderableDBInstanceOption) SetMaxIopsPerDbInstance(v int64) *OrderableDBInstanceOption {
s.MaxIopsPerDbInstance = &v
return s
}
|
go
|
func (s *OrderableDBInstanceOption) SetMaxIopsPerDbInstance(v int64) *OrderableDBInstanceOption {
s.MaxIopsPerDbInstance = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"OrderableDBInstanceOption",
")",
"SetMaxIopsPerDbInstance",
"(",
"v",
"int64",
")",
"*",
"OrderableDBInstanceOption",
"{",
"s",
".",
"MaxIopsPerDbInstance",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetMaxIopsPerDbInstance sets the MaxIopsPerDbInstance field's value.
|
[
"SetMaxIopsPerDbInstance",
"sets",
"the",
"MaxIopsPerDbInstance",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/neptune/api.go#L14637-L14640
|
166,222 |
aws/aws-sdk-go
|
service/neptune/api.go
|
SetMaxIopsPerGib
|
func (s *OrderableDBInstanceOption) SetMaxIopsPerGib(v float64) *OrderableDBInstanceOption {
s.MaxIopsPerGib = &v
return s
}
|
go
|
func (s *OrderableDBInstanceOption) SetMaxIopsPerGib(v float64) *OrderableDBInstanceOption {
s.MaxIopsPerGib = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"OrderableDBInstanceOption",
")",
"SetMaxIopsPerGib",
"(",
"v",
"float64",
")",
"*",
"OrderableDBInstanceOption",
"{",
"s",
".",
"MaxIopsPerGib",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetMaxIopsPerGib sets the MaxIopsPerGib field's value.
|
[
"SetMaxIopsPerGib",
"sets",
"the",
"MaxIopsPerGib",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/neptune/api.go#L14643-L14646
|
166,223 |
aws/aws-sdk-go
|
service/neptune/api.go
|
SetMaxStorageSize
|
func (s *OrderableDBInstanceOption) SetMaxStorageSize(v int64) *OrderableDBInstanceOption {
s.MaxStorageSize = &v
return s
}
|
go
|
func (s *OrderableDBInstanceOption) SetMaxStorageSize(v int64) *OrderableDBInstanceOption {
s.MaxStorageSize = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"OrderableDBInstanceOption",
")",
"SetMaxStorageSize",
"(",
"v",
"int64",
")",
"*",
"OrderableDBInstanceOption",
"{",
"s",
".",
"MaxStorageSize",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetMaxStorageSize sets the MaxStorageSize field's value.
|
[
"SetMaxStorageSize",
"sets",
"the",
"MaxStorageSize",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/neptune/api.go#L14649-L14652
|
166,224 |
aws/aws-sdk-go
|
service/neptune/api.go
|
SetMinIopsPerDbInstance
|
func (s *OrderableDBInstanceOption) SetMinIopsPerDbInstance(v int64) *OrderableDBInstanceOption {
s.MinIopsPerDbInstance = &v
return s
}
|
go
|
func (s *OrderableDBInstanceOption) SetMinIopsPerDbInstance(v int64) *OrderableDBInstanceOption {
s.MinIopsPerDbInstance = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"OrderableDBInstanceOption",
")",
"SetMinIopsPerDbInstance",
"(",
"v",
"int64",
")",
"*",
"OrderableDBInstanceOption",
"{",
"s",
".",
"MinIopsPerDbInstance",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetMinIopsPerDbInstance sets the MinIopsPerDbInstance field's value.
|
[
"SetMinIopsPerDbInstance",
"sets",
"the",
"MinIopsPerDbInstance",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/neptune/api.go#L14655-L14658
|
166,225 |
aws/aws-sdk-go
|
service/neptune/api.go
|
SetMinIopsPerGib
|
func (s *OrderableDBInstanceOption) SetMinIopsPerGib(v float64) *OrderableDBInstanceOption {
s.MinIopsPerGib = &v
return s
}
|
go
|
func (s *OrderableDBInstanceOption) SetMinIopsPerGib(v float64) *OrderableDBInstanceOption {
s.MinIopsPerGib = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"OrderableDBInstanceOption",
")",
"SetMinIopsPerGib",
"(",
"v",
"float64",
")",
"*",
"OrderableDBInstanceOption",
"{",
"s",
".",
"MinIopsPerGib",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetMinIopsPerGib sets the MinIopsPerGib field's value.
|
[
"SetMinIopsPerGib",
"sets",
"the",
"MinIopsPerGib",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/neptune/api.go#L14661-L14664
|
166,226 |
aws/aws-sdk-go
|
service/neptune/api.go
|
SetMinStorageSize
|
func (s *OrderableDBInstanceOption) SetMinStorageSize(v int64) *OrderableDBInstanceOption {
s.MinStorageSize = &v
return s
}
|
go
|
func (s *OrderableDBInstanceOption) SetMinStorageSize(v int64) *OrderableDBInstanceOption {
s.MinStorageSize = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"OrderableDBInstanceOption",
")",
"SetMinStorageSize",
"(",
"v",
"int64",
")",
"*",
"OrderableDBInstanceOption",
"{",
"s",
".",
"MinStorageSize",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetMinStorageSize sets the MinStorageSize field's value.
|
[
"SetMinStorageSize",
"sets",
"the",
"MinStorageSize",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/neptune/api.go#L14667-L14670
|
166,227 |
aws/aws-sdk-go
|
service/neptune/api.go
|
SetMultiAZCapable
|
func (s *OrderableDBInstanceOption) SetMultiAZCapable(v bool) *OrderableDBInstanceOption {
s.MultiAZCapable = &v
return s
}
|
go
|
func (s *OrderableDBInstanceOption) SetMultiAZCapable(v bool) *OrderableDBInstanceOption {
s.MultiAZCapable = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"OrderableDBInstanceOption",
")",
"SetMultiAZCapable",
"(",
"v",
"bool",
")",
"*",
"OrderableDBInstanceOption",
"{",
"s",
".",
"MultiAZCapable",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetMultiAZCapable sets the MultiAZCapable field's value.
|
[
"SetMultiAZCapable",
"sets",
"the",
"MultiAZCapable",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/neptune/api.go#L14673-L14676
|
166,228 |
aws/aws-sdk-go
|
service/neptune/api.go
|
SetReadReplicaCapable
|
func (s *OrderableDBInstanceOption) SetReadReplicaCapable(v bool) *OrderableDBInstanceOption {
s.ReadReplicaCapable = &v
return s
}
|
go
|
func (s *OrderableDBInstanceOption) SetReadReplicaCapable(v bool) *OrderableDBInstanceOption {
s.ReadReplicaCapable = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"OrderableDBInstanceOption",
")",
"SetReadReplicaCapable",
"(",
"v",
"bool",
")",
"*",
"OrderableDBInstanceOption",
"{",
"s",
".",
"ReadReplicaCapable",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetReadReplicaCapable sets the ReadReplicaCapable field's value.
|
[
"SetReadReplicaCapable",
"sets",
"the",
"ReadReplicaCapable",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/neptune/api.go#L14679-L14682
|
166,229 |
aws/aws-sdk-go
|
service/neptune/api.go
|
SetSupportsEnhancedMonitoring
|
func (s *OrderableDBInstanceOption) SetSupportsEnhancedMonitoring(v bool) *OrderableDBInstanceOption {
s.SupportsEnhancedMonitoring = &v
return s
}
|
go
|
func (s *OrderableDBInstanceOption) SetSupportsEnhancedMonitoring(v bool) *OrderableDBInstanceOption {
s.SupportsEnhancedMonitoring = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"OrderableDBInstanceOption",
")",
"SetSupportsEnhancedMonitoring",
"(",
"v",
"bool",
")",
"*",
"OrderableDBInstanceOption",
"{",
"s",
".",
"SupportsEnhancedMonitoring",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetSupportsEnhancedMonitoring sets the SupportsEnhancedMonitoring field's value.
|
[
"SetSupportsEnhancedMonitoring",
"sets",
"the",
"SupportsEnhancedMonitoring",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/neptune/api.go#L14691-L14694
|
166,230 |
aws/aws-sdk-go
|
service/neptune/api.go
|
SetSupportsIAMDatabaseAuthentication
|
func (s *OrderableDBInstanceOption) SetSupportsIAMDatabaseAuthentication(v bool) *OrderableDBInstanceOption {
s.SupportsIAMDatabaseAuthentication = &v
return s
}
|
go
|
func (s *OrderableDBInstanceOption) SetSupportsIAMDatabaseAuthentication(v bool) *OrderableDBInstanceOption {
s.SupportsIAMDatabaseAuthentication = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"OrderableDBInstanceOption",
")",
"SetSupportsIAMDatabaseAuthentication",
"(",
"v",
"bool",
")",
"*",
"OrderableDBInstanceOption",
"{",
"s",
".",
"SupportsIAMDatabaseAuthentication",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetSupportsIAMDatabaseAuthentication sets the SupportsIAMDatabaseAuthentication field's value.
|
[
"SetSupportsIAMDatabaseAuthentication",
"sets",
"the",
"SupportsIAMDatabaseAuthentication",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/neptune/api.go#L14697-L14700
|
166,231 |
aws/aws-sdk-go
|
service/neptune/api.go
|
SetSupportsIops
|
func (s *OrderableDBInstanceOption) SetSupportsIops(v bool) *OrderableDBInstanceOption {
s.SupportsIops = &v
return s
}
|
go
|
func (s *OrderableDBInstanceOption) SetSupportsIops(v bool) *OrderableDBInstanceOption {
s.SupportsIops = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"OrderableDBInstanceOption",
")",
"SetSupportsIops",
"(",
"v",
"bool",
")",
"*",
"OrderableDBInstanceOption",
"{",
"s",
".",
"SupportsIops",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetSupportsIops sets the SupportsIops field's value.
|
[
"SetSupportsIops",
"sets",
"the",
"SupportsIops",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/neptune/api.go#L14703-L14706
|
166,232 |
aws/aws-sdk-go
|
service/neptune/api.go
|
SetSupportsPerformanceInsights
|
func (s *OrderableDBInstanceOption) SetSupportsPerformanceInsights(v bool) *OrderableDBInstanceOption {
s.SupportsPerformanceInsights = &v
return s
}
|
go
|
func (s *OrderableDBInstanceOption) SetSupportsPerformanceInsights(v bool) *OrderableDBInstanceOption {
s.SupportsPerformanceInsights = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"OrderableDBInstanceOption",
")",
"SetSupportsPerformanceInsights",
"(",
"v",
"bool",
")",
"*",
"OrderableDBInstanceOption",
"{",
"s",
".",
"SupportsPerformanceInsights",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetSupportsPerformanceInsights sets the SupportsPerformanceInsights field's value.
|
[
"SetSupportsPerformanceInsights",
"sets",
"the",
"SupportsPerformanceInsights",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/neptune/api.go#L14709-L14712
|
166,233 |
aws/aws-sdk-go
|
service/neptune/api.go
|
SetSupportsStorageEncryption
|
func (s *OrderableDBInstanceOption) SetSupportsStorageEncryption(v bool) *OrderableDBInstanceOption {
s.SupportsStorageEncryption = &v
return s
}
|
go
|
func (s *OrderableDBInstanceOption) SetSupportsStorageEncryption(v bool) *OrderableDBInstanceOption {
s.SupportsStorageEncryption = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"OrderableDBInstanceOption",
")",
"SetSupportsStorageEncryption",
"(",
"v",
"bool",
")",
"*",
"OrderableDBInstanceOption",
"{",
"s",
".",
"SupportsStorageEncryption",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetSupportsStorageEncryption sets the SupportsStorageEncryption field's value.
|
[
"SetSupportsStorageEncryption",
"sets",
"the",
"SupportsStorageEncryption",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/neptune/api.go#L14715-L14718
|
166,234 |
aws/aws-sdk-go
|
service/neptune/api.go
|
SetLogTypesToDisable
|
func (s *PendingCloudwatchLogsExports) SetLogTypesToDisable(v []*string) *PendingCloudwatchLogsExports {
s.LogTypesToDisable = v
return s
}
|
go
|
func (s *PendingCloudwatchLogsExports) SetLogTypesToDisable(v []*string) *PendingCloudwatchLogsExports {
s.LogTypesToDisable = v
return s
}
|
[
"func",
"(",
"s",
"*",
"PendingCloudwatchLogsExports",
")",
"SetLogTypesToDisable",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"PendingCloudwatchLogsExports",
"{",
"s",
".",
"LogTypesToDisable",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetLogTypesToDisable sets the LogTypesToDisable field's value.
|
[
"SetLogTypesToDisable",
"sets",
"the",
"LogTypesToDisable",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/neptune/api.go#L14858-L14861
|
166,235 |
aws/aws-sdk-go
|
service/neptune/api.go
|
SetLogTypesToEnable
|
func (s *PendingCloudwatchLogsExports) SetLogTypesToEnable(v []*string) *PendingCloudwatchLogsExports {
s.LogTypesToEnable = v
return s
}
|
go
|
func (s *PendingCloudwatchLogsExports) SetLogTypesToEnable(v []*string) *PendingCloudwatchLogsExports {
s.LogTypesToEnable = v
return s
}
|
[
"func",
"(",
"s",
"*",
"PendingCloudwatchLogsExports",
")",
"SetLogTypesToEnable",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"PendingCloudwatchLogsExports",
"{",
"s",
".",
"LogTypesToEnable",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetLogTypesToEnable sets the LogTypesToEnable field's value.
|
[
"SetLogTypesToEnable",
"sets",
"the",
"LogTypesToEnable",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/neptune/api.go#L14864-L14867
|
166,236 |
aws/aws-sdk-go
|
service/neptune/api.go
|
SetAutoAppliedAfterDate
|
func (s *PendingMaintenanceAction) SetAutoAppliedAfterDate(v time.Time) *PendingMaintenanceAction {
s.AutoAppliedAfterDate = &v
return s
}
|
go
|
func (s *PendingMaintenanceAction) SetAutoAppliedAfterDate(v time.Time) *PendingMaintenanceAction {
s.AutoAppliedAfterDate = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"PendingMaintenanceAction",
")",
"SetAutoAppliedAfterDate",
"(",
"v",
"time",
".",
"Time",
")",
"*",
"PendingMaintenanceAction",
"{",
"s",
".",
"AutoAppliedAfterDate",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetAutoAppliedAfterDate sets the AutoAppliedAfterDate field's value.
|
[
"SetAutoAppliedAfterDate",
"sets",
"the",
"AutoAppliedAfterDate",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/neptune/api.go#L14919-L14922
|
166,237 |
aws/aws-sdk-go
|
service/neptune/api.go
|
SetCurrentApplyDate
|
func (s *PendingMaintenanceAction) SetCurrentApplyDate(v time.Time) *PendingMaintenanceAction {
s.CurrentApplyDate = &v
return s
}
|
go
|
func (s *PendingMaintenanceAction) SetCurrentApplyDate(v time.Time) *PendingMaintenanceAction {
s.CurrentApplyDate = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"PendingMaintenanceAction",
")",
"SetCurrentApplyDate",
"(",
"v",
"time",
".",
"Time",
")",
"*",
"PendingMaintenanceAction",
"{",
"s",
".",
"CurrentApplyDate",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetCurrentApplyDate sets the CurrentApplyDate field's value.
|
[
"SetCurrentApplyDate",
"sets",
"the",
"CurrentApplyDate",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/neptune/api.go#L14925-L14928
|
166,238 |
aws/aws-sdk-go
|
service/neptune/api.go
|
SetForcedApplyDate
|
func (s *PendingMaintenanceAction) SetForcedApplyDate(v time.Time) *PendingMaintenanceAction {
s.ForcedApplyDate = &v
return s
}
|
go
|
func (s *PendingMaintenanceAction) SetForcedApplyDate(v time.Time) *PendingMaintenanceAction {
s.ForcedApplyDate = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"PendingMaintenanceAction",
")",
"SetForcedApplyDate",
"(",
"v",
"time",
".",
"Time",
")",
"*",
"PendingMaintenanceAction",
"{",
"s",
".",
"ForcedApplyDate",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetForcedApplyDate sets the ForcedApplyDate field's value.
|
[
"SetForcedApplyDate",
"sets",
"the",
"ForcedApplyDate",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/neptune/api.go#L14937-L14940
|
166,239 |
aws/aws-sdk-go
|
service/neptune/api.go
|
SetOptInStatus
|
func (s *PendingMaintenanceAction) SetOptInStatus(v string) *PendingMaintenanceAction {
s.OptInStatus = &v
return s
}
|
go
|
func (s *PendingMaintenanceAction) SetOptInStatus(v string) *PendingMaintenanceAction {
s.OptInStatus = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"PendingMaintenanceAction",
")",
"SetOptInStatus",
"(",
"v",
"string",
")",
"*",
"PendingMaintenanceAction",
"{",
"s",
".",
"OptInStatus",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetOptInStatus sets the OptInStatus field's value.
|
[
"SetOptInStatus",
"sets",
"the",
"OptInStatus",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/neptune/api.go#L14943-L14946
|
166,240 |
aws/aws-sdk-go
|
service/neptune/api.go
|
SetPendingCloudwatchLogsExports
|
func (s *PendingModifiedValues) SetPendingCloudwatchLogsExports(v *PendingCloudwatchLogsExports) *PendingModifiedValues {
s.PendingCloudwatchLogsExports = v
return s
}
|
go
|
func (s *PendingModifiedValues) SetPendingCloudwatchLogsExports(v *PendingCloudwatchLogsExports) *PendingModifiedValues {
s.PendingCloudwatchLogsExports = v
return s
}
|
[
"func",
"(",
"s",
"*",
"PendingModifiedValues",
")",
"SetPendingCloudwatchLogsExports",
"(",
"v",
"*",
"PendingCloudwatchLogsExports",
")",
"*",
"PendingModifiedValues",
"{",
"s",
".",
"PendingCloudwatchLogsExports",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetPendingCloudwatchLogsExports sets the PendingCloudwatchLogsExports field's value.
|
[
"SetPendingCloudwatchLogsExports",
"sets",
"the",
"PendingCloudwatchLogsExports",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/neptune/api.go#L15079-L15082
|
166,241 |
aws/aws-sdk-go
|
service/neptune/api.go
|
SetPendingMaintenanceActionDetails
|
func (s *ResourcePendingMaintenanceActions) SetPendingMaintenanceActionDetails(v []*PendingMaintenanceAction) *ResourcePendingMaintenanceActions {
s.PendingMaintenanceActionDetails = v
return s
}
|
go
|
func (s *ResourcePendingMaintenanceActions) SetPendingMaintenanceActionDetails(v []*PendingMaintenanceAction) *ResourcePendingMaintenanceActions {
s.PendingMaintenanceActionDetails = v
return s
}
|
[
"func",
"(",
"s",
"*",
"ResourcePendingMaintenanceActions",
")",
"SetPendingMaintenanceActionDetails",
"(",
"v",
"[",
"]",
"*",
"PendingMaintenanceAction",
")",
"*",
"ResourcePendingMaintenanceActions",
"{",
"s",
".",
"PendingMaintenanceActionDetails",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetPendingMaintenanceActionDetails sets the PendingMaintenanceActionDetails field's value.
|
[
"SetPendingMaintenanceActionDetails",
"sets",
"the",
"PendingMaintenanceActionDetails",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/neptune/api.go#L15703-L15706
|
166,242 |
aws/aws-sdk-go
|
service/neptune/api.go
|
SetRestoreToTime
|
func (s *RestoreDBClusterToPointInTimeInput) SetRestoreToTime(v time.Time) *RestoreDBClusterToPointInTimeInput {
s.RestoreToTime = &v
return s
}
|
go
|
func (s *RestoreDBClusterToPointInTimeInput) SetRestoreToTime(v time.Time) *RestoreDBClusterToPointInTimeInput {
s.RestoreToTime = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"RestoreDBClusterToPointInTimeInput",
")",
"SetRestoreToTime",
"(",
"v",
"time",
".",
"Time",
")",
"*",
"RestoreDBClusterToPointInTimeInput",
"{",
"s",
".",
"RestoreToTime",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetRestoreToTime sets the RestoreToTime field's value.
|
[
"SetRestoreToTime",
"sets",
"the",
"RestoreToTime",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/neptune/api.go#L16145-L16148
|
166,243 |
aws/aws-sdk-go
|
service/neptune/api.go
|
SetRestoreType
|
func (s *RestoreDBClusterToPointInTimeInput) SetRestoreType(v string) *RestoreDBClusterToPointInTimeInput {
s.RestoreType = &v
return s
}
|
go
|
func (s *RestoreDBClusterToPointInTimeInput) SetRestoreType(v string) *RestoreDBClusterToPointInTimeInput {
s.RestoreType = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"RestoreDBClusterToPointInTimeInput",
")",
"SetRestoreType",
"(",
"v",
"string",
")",
"*",
"RestoreDBClusterToPointInTimeInput",
"{",
"s",
".",
"RestoreType",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetRestoreType sets the RestoreType field's value.
|
[
"SetRestoreType",
"sets",
"the",
"RestoreType",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/neptune/api.go#L16151-L16154
|
166,244 |
aws/aws-sdk-go
|
service/neptune/api.go
|
SetSubnetIdentifier
|
func (s *Subnet) SetSubnetIdentifier(v string) *Subnet {
s.SubnetIdentifier = &v
return s
}
|
go
|
func (s *Subnet) SetSubnetIdentifier(v string) *Subnet {
s.SubnetIdentifier = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"Subnet",
")",
"SetSubnetIdentifier",
"(",
"v",
"string",
")",
"*",
"Subnet",
"{",
"s",
".",
"SubnetIdentifier",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetSubnetIdentifier sets the SubnetIdentifier field's value.
|
[
"SetSubnetIdentifier",
"sets",
"the",
"SubnetIdentifier",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/neptune/api.go#L16239-L16242
|
166,245 |
aws/aws-sdk-go
|
service/neptune/api.go
|
SetSubnetStatus
|
func (s *Subnet) SetSubnetStatus(v string) *Subnet {
s.SubnetStatus = &v
return s
}
|
go
|
func (s *Subnet) SetSubnetStatus(v string) *Subnet {
s.SubnetStatus = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"Subnet",
")",
"SetSubnetStatus",
"(",
"v",
"string",
")",
"*",
"Subnet",
"{",
"s",
".",
"SubnetStatus",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetSubnetStatus sets the SubnetStatus field's value.
|
[
"SetSubnetStatus",
"sets",
"the",
"SubnetStatus",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/neptune/api.go#L16245-L16248
|
166,246 |
aws/aws-sdk-go
|
service/neptune/api.go
|
SetTimezoneName
|
func (s *Timezone) SetTimezoneName(v string) *Timezone {
s.TimezoneName = &v
return s
}
|
go
|
func (s *Timezone) SetTimezoneName(v string) *Timezone {
s.TimezoneName = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"Timezone",
")",
"SetTimezoneName",
"(",
"v",
"string",
")",
"*",
"Timezone",
"{",
"s",
".",
"TimezoneName",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetTimezoneName sets the TimezoneName field's value.
|
[
"SetTimezoneName",
"sets",
"the",
"TimezoneName",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/neptune/api.go#L16309-L16312
|
166,247 |
aws/aws-sdk-go
|
service/neptune/api.go
|
SetAutoUpgrade
|
func (s *UpgradeTarget) SetAutoUpgrade(v bool) *UpgradeTarget {
s.AutoUpgrade = &v
return s
}
|
go
|
func (s *UpgradeTarget) SetAutoUpgrade(v bool) *UpgradeTarget {
s.AutoUpgrade = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"UpgradeTarget",
")",
"SetAutoUpgrade",
"(",
"v",
"bool",
")",
"*",
"UpgradeTarget",
"{",
"s",
".",
"AutoUpgrade",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetAutoUpgrade sets the AutoUpgrade field's value.
|
[
"SetAutoUpgrade",
"sets",
"the",
"AutoUpgrade",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/neptune/api.go#L16346-L16349
|
166,248 |
aws/aws-sdk-go
|
service/neptune/api.go
|
SetIsMajorVersionUpgrade
|
func (s *UpgradeTarget) SetIsMajorVersionUpgrade(v bool) *UpgradeTarget {
s.IsMajorVersionUpgrade = &v
return s
}
|
go
|
func (s *UpgradeTarget) SetIsMajorVersionUpgrade(v bool) *UpgradeTarget {
s.IsMajorVersionUpgrade = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"UpgradeTarget",
")",
"SetIsMajorVersionUpgrade",
"(",
"v",
"bool",
")",
"*",
"UpgradeTarget",
"{",
"s",
".",
"IsMajorVersionUpgrade",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetIsMajorVersionUpgrade sets the IsMajorVersionUpgrade field's value.
|
[
"SetIsMajorVersionUpgrade",
"sets",
"the",
"IsMajorVersionUpgrade",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/neptune/api.go#L16370-L16373
|
166,249 |
aws/aws-sdk-go
|
service/neptune/api.go
|
SetIopsToStorageRatio
|
func (s *ValidStorageOptions) SetIopsToStorageRatio(v []*DoubleRange) *ValidStorageOptions {
s.IopsToStorageRatio = v
return s
}
|
go
|
func (s *ValidStorageOptions) SetIopsToStorageRatio(v []*DoubleRange) *ValidStorageOptions {
s.IopsToStorageRatio = v
return s
}
|
[
"func",
"(",
"s",
"*",
"ValidStorageOptions",
")",
"SetIopsToStorageRatio",
"(",
"v",
"[",
"]",
"*",
"DoubleRange",
")",
"*",
"ValidStorageOptions",
"{",
"s",
".",
"IopsToStorageRatio",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetIopsToStorageRatio sets the IopsToStorageRatio field's value.
|
[
"SetIopsToStorageRatio",
"sets",
"the",
"IopsToStorageRatio",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/neptune/api.go#L16434-L16437
|
166,250 |
aws/aws-sdk-go
|
service/neptune/api.go
|
SetProvisionedIops
|
func (s *ValidStorageOptions) SetProvisionedIops(v []*Range) *ValidStorageOptions {
s.ProvisionedIops = v
return s
}
|
go
|
func (s *ValidStorageOptions) SetProvisionedIops(v []*Range) *ValidStorageOptions {
s.ProvisionedIops = v
return s
}
|
[
"func",
"(",
"s",
"*",
"ValidStorageOptions",
")",
"SetProvisionedIops",
"(",
"v",
"[",
"]",
"*",
"Range",
")",
"*",
"ValidStorageOptions",
"{",
"s",
".",
"ProvisionedIops",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetProvisionedIops sets the ProvisionedIops field's value.
|
[
"SetProvisionedIops",
"sets",
"the",
"ProvisionedIops",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/neptune/api.go#L16440-L16443
|
166,251 |
aws/aws-sdk-go
|
service/neptune/api.go
|
SetStorageSize
|
func (s *ValidStorageOptions) SetStorageSize(v []*Range) *ValidStorageOptions {
s.StorageSize = v
return s
}
|
go
|
func (s *ValidStorageOptions) SetStorageSize(v []*Range) *ValidStorageOptions {
s.StorageSize = v
return s
}
|
[
"func",
"(",
"s",
"*",
"ValidStorageOptions",
")",
"SetStorageSize",
"(",
"v",
"[",
"]",
"*",
"Range",
")",
"*",
"ValidStorageOptions",
"{",
"s",
".",
"StorageSize",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetStorageSize sets the StorageSize field's value.
|
[
"SetStorageSize",
"sets",
"the",
"StorageSize",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/neptune/api.go#L16446-L16449
|
166,252 |
aws/aws-sdk-go
|
service/neptune/api.go
|
SetVpcSecurityGroupId
|
func (s *VpcSecurityGroupMembership) SetVpcSecurityGroupId(v string) *VpcSecurityGroupMembership {
s.VpcSecurityGroupId = &v
return s
}
|
go
|
func (s *VpcSecurityGroupMembership) SetVpcSecurityGroupId(v string) *VpcSecurityGroupMembership {
s.VpcSecurityGroupId = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"VpcSecurityGroupMembership",
")",
"SetVpcSecurityGroupId",
"(",
"v",
"string",
")",
"*",
"VpcSecurityGroupMembership",
"{",
"s",
".",
"VpcSecurityGroupId",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetVpcSecurityGroupId sets the VpcSecurityGroupId field's value.
|
[
"SetVpcSecurityGroupId",
"sets",
"the",
"VpcSecurityGroupId",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/neptune/api.go#L16486-L16489
|
166,253 |
aws/aws-sdk-go
|
aws/client/default_retryer.go
|
RetryRules
|
func (d DefaultRetryer) RetryRules(r *request.Request) time.Duration {
// Set the upper limit of delay in retrying at ~five minutes
minTime := 30
throttle := d.shouldThrottle(r)
if throttle {
if delay, ok := getRetryDelay(r); ok {
return delay
}
minTime = 500
}
retryCount := r.RetryCount
if throttle && retryCount > 8 {
retryCount = 8
} else if retryCount > 13 {
retryCount = 13
}
delay := (1 << uint(retryCount)) * (sdkrand.SeededRand.Intn(minTime) + minTime)
return time.Duration(delay) * time.Millisecond
}
|
go
|
func (d DefaultRetryer) RetryRules(r *request.Request) time.Duration {
// Set the upper limit of delay in retrying at ~five minutes
minTime := 30
throttle := d.shouldThrottle(r)
if throttle {
if delay, ok := getRetryDelay(r); ok {
return delay
}
minTime = 500
}
retryCount := r.RetryCount
if throttle && retryCount > 8 {
retryCount = 8
} else if retryCount > 13 {
retryCount = 13
}
delay := (1 << uint(retryCount)) * (sdkrand.SeededRand.Intn(minTime) + minTime)
return time.Duration(delay) * time.Millisecond
}
|
[
"func",
"(",
"d",
"DefaultRetryer",
")",
"RetryRules",
"(",
"r",
"*",
"request",
".",
"Request",
")",
"time",
".",
"Duration",
"{",
"// Set the upper limit of delay in retrying at ~five minutes",
"minTime",
":=",
"30",
"\n",
"throttle",
":=",
"d",
".",
"shouldThrottle",
"(",
"r",
")",
"\n",
"if",
"throttle",
"{",
"if",
"delay",
",",
"ok",
":=",
"getRetryDelay",
"(",
"r",
")",
";",
"ok",
"{",
"return",
"delay",
"\n",
"}",
"\n\n",
"minTime",
"=",
"500",
"\n",
"}",
"\n\n",
"retryCount",
":=",
"r",
".",
"RetryCount",
"\n",
"if",
"throttle",
"&&",
"retryCount",
">",
"8",
"{",
"retryCount",
"=",
"8",
"\n",
"}",
"else",
"if",
"retryCount",
">",
"13",
"{",
"retryCount",
"=",
"13",
"\n",
"}",
"\n\n",
"delay",
":=",
"(",
"1",
"<<",
"uint",
"(",
"retryCount",
")",
")",
"*",
"(",
"sdkrand",
".",
"SeededRand",
".",
"Intn",
"(",
"minTime",
")",
"+",
"minTime",
")",
"\n",
"return",
"time",
".",
"Duration",
"(",
"delay",
")",
"*",
"time",
".",
"Millisecond",
"\n",
"}"
] |
// RetryRules returns the delay duration before retrying this request again
|
[
"RetryRules",
"returns",
"the",
"delay",
"duration",
"before",
"retrying",
"this",
"request",
"again"
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/client/default_retryer.go#L34-L55
|
166,254 |
aws/aws-sdk-go
|
aws/client/default_retryer.go
|
ShouldRetry
|
func (d DefaultRetryer) ShouldRetry(r *request.Request) bool {
// If one of the other handlers already set the retry state
// we don't want to override it based on the service's state
if r.Retryable != nil {
return *r.Retryable
}
if r.HTTPResponse.StatusCode >= 500 && r.HTTPResponse.StatusCode != 501 {
return true
}
return r.IsErrorRetryable() || d.shouldThrottle(r)
}
|
go
|
func (d DefaultRetryer) ShouldRetry(r *request.Request) bool {
// If one of the other handlers already set the retry state
// we don't want to override it based on the service's state
if r.Retryable != nil {
return *r.Retryable
}
if r.HTTPResponse.StatusCode >= 500 && r.HTTPResponse.StatusCode != 501 {
return true
}
return r.IsErrorRetryable() || d.shouldThrottle(r)
}
|
[
"func",
"(",
"d",
"DefaultRetryer",
")",
"ShouldRetry",
"(",
"r",
"*",
"request",
".",
"Request",
")",
"bool",
"{",
"// If one of the other handlers already set the retry state",
"// we don't want to override it based on the service's state",
"if",
"r",
".",
"Retryable",
"!=",
"nil",
"{",
"return",
"*",
"r",
".",
"Retryable",
"\n",
"}",
"\n\n",
"if",
"r",
".",
"HTTPResponse",
".",
"StatusCode",
">=",
"500",
"&&",
"r",
".",
"HTTPResponse",
".",
"StatusCode",
"!=",
"501",
"{",
"return",
"true",
"\n",
"}",
"\n",
"return",
"r",
".",
"IsErrorRetryable",
"(",
")",
"||",
"d",
".",
"shouldThrottle",
"(",
"r",
")",
"\n",
"}"
] |
// ShouldRetry returns true if the request should be retried.
|
[
"ShouldRetry",
"returns",
"true",
"if",
"the",
"request",
"should",
"be",
"retried",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/client/default_retryer.go#L58-L69
|
166,255 |
aws/aws-sdk-go
|
aws/client/default_retryer.go
|
shouldThrottle
|
func (d DefaultRetryer) shouldThrottle(r *request.Request) bool {
switch r.HTTPResponse.StatusCode {
case 429:
case 502:
case 503:
case 504:
default:
return r.IsErrorThrottle()
}
return true
}
|
go
|
func (d DefaultRetryer) shouldThrottle(r *request.Request) bool {
switch r.HTTPResponse.StatusCode {
case 429:
case 502:
case 503:
case 504:
default:
return r.IsErrorThrottle()
}
return true
}
|
[
"func",
"(",
"d",
"DefaultRetryer",
")",
"shouldThrottle",
"(",
"r",
"*",
"request",
".",
"Request",
")",
"bool",
"{",
"switch",
"r",
".",
"HTTPResponse",
".",
"StatusCode",
"{",
"case",
"429",
":",
"case",
"502",
":",
"case",
"503",
":",
"case",
"504",
":",
"default",
":",
"return",
"r",
".",
"IsErrorThrottle",
"(",
")",
"\n",
"}",
"\n\n",
"return",
"true",
"\n",
"}"
] |
// ShouldThrottle returns true if the request should be throttled.
|
[
"ShouldThrottle",
"returns",
"true",
"if",
"the",
"request",
"should",
"be",
"throttled",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/client/default_retryer.go#L72-L83
|
166,256 |
aws/aws-sdk-go
|
aws/client/default_retryer.go
|
getRetryDelay
|
func getRetryDelay(r *request.Request) (time.Duration, bool) {
if !canUseRetryAfterHeader(r) {
return 0, false
}
delayStr := r.HTTPResponse.Header.Get("Retry-After")
if len(delayStr) == 0 {
return 0, false
}
delay, err := strconv.Atoi(delayStr)
if err != nil {
return 0, false
}
return time.Duration(delay) * time.Second, true
}
|
go
|
func getRetryDelay(r *request.Request) (time.Duration, bool) {
if !canUseRetryAfterHeader(r) {
return 0, false
}
delayStr := r.HTTPResponse.Header.Get("Retry-After")
if len(delayStr) == 0 {
return 0, false
}
delay, err := strconv.Atoi(delayStr)
if err != nil {
return 0, false
}
return time.Duration(delay) * time.Second, true
}
|
[
"func",
"getRetryDelay",
"(",
"r",
"*",
"request",
".",
"Request",
")",
"(",
"time",
".",
"Duration",
",",
"bool",
")",
"{",
"if",
"!",
"canUseRetryAfterHeader",
"(",
"r",
")",
"{",
"return",
"0",
",",
"false",
"\n",
"}",
"\n\n",
"delayStr",
":=",
"r",
".",
"HTTPResponse",
".",
"Header",
".",
"Get",
"(",
"\"",
"\"",
")",
"\n",
"if",
"len",
"(",
"delayStr",
")",
"==",
"0",
"{",
"return",
"0",
",",
"false",
"\n",
"}",
"\n\n",
"delay",
",",
"err",
":=",
"strconv",
".",
"Atoi",
"(",
"delayStr",
")",
"\n",
"if",
"err",
"!=",
"nil",
"{",
"return",
"0",
",",
"false",
"\n",
"}",
"\n\n",
"return",
"time",
".",
"Duration",
"(",
"delay",
")",
"*",
"time",
".",
"Second",
",",
"true",
"\n",
"}"
] |
// This will look in the Retry-After header, RFC 7231, for how long
// it will wait before attempting another request
|
[
"This",
"will",
"look",
"in",
"the",
"Retry",
"-",
"After",
"header",
"RFC",
"7231",
"for",
"how",
"long",
"it",
"will",
"wait",
"before",
"attempting",
"another",
"request"
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/client/default_retryer.go#L87-L103
|
166,257 |
aws/aws-sdk-go
|
aws/client/default_retryer.go
|
canUseRetryAfterHeader
|
func canUseRetryAfterHeader(r *request.Request) bool {
switch r.HTTPResponse.StatusCode {
case 429:
case 503:
default:
return false
}
return true
}
|
go
|
func canUseRetryAfterHeader(r *request.Request) bool {
switch r.HTTPResponse.StatusCode {
case 429:
case 503:
default:
return false
}
return true
}
|
[
"func",
"canUseRetryAfterHeader",
"(",
"r",
"*",
"request",
".",
"Request",
")",
"bool",
"{",
"switch",
"r",
".",
"HTTPResponse",
".",
"StatusCode",
"{",
"case",
"429",
":",
"case",
"503",
":",
"default",
":",
"return",
"false",
"\n",
"}",
"\n\n",
"return",
"true",
"\n",
"}"
] |
// Will look at the status code to see if the retry header pertains to
// the status code.
|
[
"Will",
"look",
"at",
"the",
"status",
"code",
"to",
"see",
"if",
"the",
"retry",
"header",
"pertains",
"to",
"the",
"status",
"code",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/client/default_retryer.go#L107-L116
|
166,258 |
aws/aws-sdk-go
|
service/rekognition/api.go
|
SetHigh
|
func (s *AgeRange) SetHigh(v int64) *AgeRange {
s.High = &v
return s
}
|
go
|
func (s *AgeRange) SetHigh(v int64) *AgeRange {
s.High = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"AgeRange",
")",
"SetHigh",
"(",
"v",
"int64",
")",
"*",
"AgeRange",
"{",
"s",
".",
"High",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetHigh sets the High field's value.
|
[
"SetHigh",
"sets",
"the",
"High",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rekognition/api.go#L4628-L4631
|
166,259 |
aws/aws-sdk-go
|
service/rekognition/api.go
|
SetLow
|
func (s *AgeRange) SetLow(v int64) *AgeRange {
s.Low = &v
return s
}
|
go
|
func (s *AgeRange) SetLow(v int64) *AgeRange {
s.Low = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"AgeRange",
")",
"SetLow",
"(",
"v",
"int64",
")",
"*",
"AgeRange",
"{",
"s",
".",
"Low",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetLow sets the Low field's value.
|
[
"SetLow",
"sets",
"the",
"Low",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rekognition/api.go#L4634-L4637
|
166,260 |
aws/aws-sdk-go
|
service/rekognition/api.go
|
SetLeft
|
func (s *BoundingBox) SetLeft(v float64) *BoundingBox {
s.Left = &v
return s
}
|
go
|
func (s *BoundingBox) SetLeft(v float64) *BoundingBox {
s.Left = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"BoundingBox",
")",
"SetLeft",
"(",
"v",
"float64",
")",
"*",
"BoundingBox",
"{",
"s",
".",
"Left",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetLeft sets the Left field's value.
|
[
"SetLeft",
"sets",
"the",
"Left",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rekognition/api.go#L4726-L4729
|
166,261 |
aws/aws-sdk-go
|
service/rekognition/api.go
|
SetTop
|
func (s *BoundingBox) SetTop(v float64) *BoundingBox {
s.Top = &v
return s
}
|
go
|
func (s *BoundingBox) SetTop(v float64) *BoundingBox {
s.Top = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"BoundingBox",
")",
"SetTop",
"(",
"v",
"float64",
")",
"*",
"BoundingBox",
"{",
"s",
".",
"Top",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetTop sets the Top field's value.
|
[
"SetTop",
"sets",
"the",
"Top",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rekognition/api.go#L4732-L4735
|
166,262 |
aws/aws-sdk-go
|
service/rekognition/api.go
|
SetMatchConfidence
|
func (s *Celebrity) SetMatchConfidence(v float64) *Celebrity {
s.MatchConfidence = &v
return s
}
|
go
|
func (s *Celebrity) SetMatchConfidence(v float64) *Celebrity {
s.MatchConfidence = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"Celebrity",
")",
"SetMatchConfidence",
"(",
"v",
"float64",
")",
"*",
"Celebrity",
"{",
"s",
".",
"MatchConfidence",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetMatchConfidence sets the MatchConfidence field's value.
|
[
"SetMatchConfidence",
"sets",
"the",
"MatchConfidence",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rekognition/api.go#L4790-L4793
|
166,263 |
aws/aws-sdk-go
|
service/rekognition/api.go
|
SetCelebrity
|
func (s *CelebrityRecognition) SetCelebrity(v *CelebrityDetail) *CelebrityRecognition {
s.Celebrity = v
return s
}
|
go
|
func (s *CelebrityRecognition) SetCelebrity(v *CelebrityDetail) *CelebrityRecognition {
s.Celebrity = v
return s
}
|
[
"func",
"(",
"s",
"*",
"CelebrityRecognition",
")",
"SetCelebrity",
"(",
"v",
"*",
"CelebrityDetail",
")",
"*",
"CelebrityRecognition",
"{",
"s",
".",
"Celebrity",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetCelebrity sets the Celebrity field's value.
|
[
"SetCelebrity",
"sets",
"the",
"Celebrity",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rekognition/api.go#L4902-L4905
|
166,264 |
aws/aws-sdk-go
|
service/rekognition/api.go
|
SetSimilarityThreshold
|
func (s *CompareFacesInput) SetSimilarityThreshold(v float64) *CompareFacesInput {
s.SimilarityThreshold = &v
return s
}
|
go
|
func (s *CompareFacesInput) SetSimilarityThreshold(v float64) *CompareFacesInput {
s.SimilarityThreshold = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"CompareFacesInput",
")",
"SetSimilarityThreshold",
"(",
"v",
"float64",
")",
"*",
"CompareFacesInput",
"{",
"s",
".",
"SimilarityThreshold",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetSimilarityThreshold sets the SimilarityThreshold field's value.
|
[
"SetSimilarityThreshold",
"sets",
"the",
"SimilarityThreshold",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rekognition/api.go#L4980-L4983
|
166,265 |
aws/aws-sdk-go
|
service/rekognition/api.go
|
SetSourceImage
|
func (s *CompareFacesInput) SetSourceImage(v *Image) *CompareFacesInput {
s.SourceImage = v
return s
}
|
go
|
func (s *CompareFacesInput) SetSourceImage(v *Image) *CompareFacesInput {
s.SourceImage = v
return s
}
|
[
"func",
"(",
"s",
"*",
"CompareFacesInput",
")",
"SetSourceImage",
"(",
"v",
"*",
"Image",
")",
"*",
"CompareFacesInput",
"{",
"s",
".",
"SourceImage",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetSourceImage sets the SourceImage field's value.
|
[
"SetSourceImage",
"sets",
"the",
"SourceImage",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rekognition/api.go#L4986-L4989
|
166,266 |
aws/aws-sdk-go
|
service/rekognition/api.go
|
SetTargetImage
|
func (s *CompareFacesInput) SetTargetImage(v *Image) *CompareFacesInput {
s.TargetImage = v
return s
}
|
go
|
func (s *CompareFacesInput) SetTargetImage(v *Image) *CompareFacesInput {
s.TargetImage = v
return s
}
|
[
"func",
"(",
"s",
"*",
"CompareFacesInput",
")",
"SetTargetImage",
"(",
"v",
"*",
"Image",
")",
"*",
"CompareFacesInput",
"{",
"s",
".",
"TargetImage",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetTargetImage sets the TargetImage field's value.
|
[
"SetTargetImage",
"sets",
"the",
"TargetImage",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rekognition/api.go#L4992-L4995
|
166,267 |
aws/aws-sdk-go
|
service/rekognition/api.go
|
SetSourceImageFace
|
func (s *CompareFacesOutput) SetSourceImageFace(v *ComparedSourceImageFace) *CompareFacesOutput {
s.SourceImageFace = v
return s
}
|
go
|
func (s *CompareFacesOutput) SetSourceImageFace(v *ComparedSourceImageFace) *CompareFacesOutput {
s.SourceImageFace = v
return s
}
|
[
"func",
"(",
"s",
"*",
"CompareFacesOutput",
")",
"SetSourceImageFace",
"(",
"v",
"*",
"ComparedSourceImageFace",
")",
"*",
"CompareFacesOutput",
"{",
"s",
".",
"SourceImageFace",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetSourceImageFace sets the SourceImageFace field's value.
|
[
"SetSourceImageFace",
"sets",
"the",
"SourceImageFace",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rekognition/api.go#L5098-L5101
|
166,268 |
aws/aws-sdk-go
|
service/rekognition/api.go
|
SetSourceImageOrientationCorrection
|
func (s *CompareFacesOutput) SetSourceImageOrientationCorrection(v string) *CompareFacesOutput {
s.SourceImageOrientationCorrection = &v
return s
}
|
go
|
func (s *CompareFacesOutput) SetSourceImageOrientationCorrection(v string) *CompareFacesOutput {
s.SourceImageOrientationCorrection = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"CompareFacesOutput",
")",
"SetSourceImageOrientationCorrection",
"(",
"v",
"string",
")",
"*",
"CompareFacesOutput",
"{",
"s",
".",
"SourceImageOrientationCorrection",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetSourceImageOrientationCorrection sets the SourceImageOrientationCorrection field's value.
|
[
"SetSourceImageOrientationCorrection",
"sets",
"the",
"SourceImageOrientationCorrection",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rekognition/api.go#L5104-L5107
|
166,269 |
aws/aws-sdk-go
|
service/rekognition/api.go
|
SetTargetImageOrientationCorrection
|
func (s *CompareFacesOutput) SetTargetImageOrientationCorrection(v string) *CompareFacesOutput {
s.TargetImageOrientationCorrection = &v
return s
}
|
go
|
func (s *CompareFacesOutput) SetTargetImageOrientationCorrection(v string) *CompareFacesOutput {
s.TargetImageOrientationCorrection = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"CompareFacesOutput",
")",
"SetTargetImageOrientationCorrection",
"(",
"v",
"string",
")",
"*",
"CompareFacesOutput",
"{",
"s",
".",
"TargetImageOrientationCorrection",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetTargetImageOrientationCorrection sets the TargetImageOrientationCorrection field's value.
|
[
"SetTargetImageOrientationCorrection",
"sets",
"the",
"TargetImageOrientationCorrection",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rekognition/api.go#L5110-L5113
|
166,270 |
aws/aws-sdk-go
|
service/rekognition/api.go
|
SetUnmatchedFaces
|
func (s *CompareFacesOutput) SetUnmatchedFaces(v []*ComparedFace) *CompareFacesOutput {
s.UnmatchedFaces = v
return s
}
|
go
|
func (s *CompareFacesOutput) SetUnmatchedFaces(v []*ComparedFace) *CompareFacesOutput {
s.UnmatchedFaces = v
return s
}
|
[
"func",
"(",
"s",
"*",
"CompareFacesOutput",
")",
"SetUnmatchedFaces",
"(",
"v",
"[",
"]",
"*",
"ComparedFace",
")",
"*",
"CompareFacesOutput",
"{",
"s",
".",
"UnmatchedFaces",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetUnmatchedFaces sets the UnmatchedFaces field's value.
|
[
"SetUnmatchedFaces",
"sets",
"the",
"UnmatchedFaces",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rekognition/api.go#L5116-L5119
|
166,271 |
aws/aws-sdk-go
|
service/rekognition/api.go
|
SetModerationLabel
|
func (s *ContentModerationDetection) SetModerationLabel(v *ModerationLabel) *ContentModerationDetection {
s.ModerationLabel = v
return s
}
|
go
|
func (s *ContentModerationDetection) SetModerationLabel(v *ModerationLabel) *ContentModerationDetection {
s.ModerationLabel = v
return s
}
|
[
"func",
"(",
"s",
"*",
"ContentModerationDetection",
")",
"SetModerationLabel",
"(",
"v",
"*",
"ModerationLabel",
")",
"*",
"ContentModerationDetection",
"{",
"s",
".",
"ModerationLabel",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetModerationLabel sets the ModerationLabel field's value.
|
[
"SetModerationLabel",
"sets",
"the",
"ModerationLabel",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rekognition/api.go#L5241-L5244
|
166,272 |
aws/aws-sdk-go
|
service/rekognition/api.go
|
SetCollectionArn
|
func (s *CreateCollectionOutput) SetCollectionArn(v string) *CreateCollectionOutput {
s.CollectionArn = &v
return s
}
|
go
|
func (s *CreateCollectionOutput) SetCollectionArn(v string) *CreateCollectionOutput {
s.CollectionArn = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"CreateCollectionOutput",
")",
"SetCollectionArn",
"(",
"v",
"string",
")",
"*",
"CreateCollectionOutput",
"{",
"s",
".",
"CollectionArn",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetCollectionArn sets the CollectionArn field's value.
|
[
"SetCollectionArn",
"sets",
"the",
"CollectionArn",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rekognition/api.go#L5319-L5322
|
166,273 |
aws/aws-sdk-go
|
service/rekognition/api.go
|
SetFaceIds
|
func (s *DeleteFacesInput) SetFaceIds(v []*string) *DeleteFacesInput {
s.FaceIds = v
return s
}
|
go
|
func (s *DeleteFacesInput) SetFaceIds(v []*string) *DeleteFacesInput {
s.FaceIds = v
return s
}
|
[
"func",
"(",
"s",
"*",
"DeleteFacesInput",
")",
"SetFaceIds",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"DeleteFacesInput",
"{",
"s",
".",
"FaceIds",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetFaceIds sets the FaceIds field's value.
|
[
"SetFaceIds",
"sets",
"the",
"FaceIds",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rekognition/api.go#L5583-L5586
|
166,274 |
aws/aws-sdk-go
|
service/rekognition/api.go
|
SetDeletedFaces
|
func (s *DeleteFacesOutput) SetDeletedFaces(v []*string) *DeleteFacesOutput {
s.DeletedFaces = v
return s
}
|
go
|
func (s *DeleteFacesOutput) SetDeletedFaces(v []*string) *DeleteFacesOutput {
s.DeletedFaces = v
return s
}
|
[
"func",
"(",
"s",
"*",
"DeleteFacesOutput",
")",
"SetDeletedFaces",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"DeleteFacesOutput",
"{",
"s",
".",
"DeletedFaces",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetDeletedFaces sets the DeletedFaces field's value.
|
[
"SetDeletedFaces",
"sets",
"the",
"DeletedFaces",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rekognition/api.go#L5606-L5609
|
166,275 |
aws/aws-sdk-go
|
service/rekognition/api.go
|
SetCollectionARN
|
func (s *DescribeCollectionOutput) SetCollectionARN(v string) *DescribeCollectionOutput {
s.CollectionARN = &v
return s
}
|
go
|
func (s *DescribeCollectionOutput) SetCollectionARN(v string) *DescribeCollectionOutput {
s.CollectionARN = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"DescribeCollectionOutput",
")",
"SetCollectionARN",
"(",
"v",
"string",
")",
"*",
"DescribeCollectionOutput",
"{",
"s",
".",
"CollectionARN",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetCollectionARN sets the CollectionARN field's value.
|
[
"SetCollectionARN",
"sets",
"the",
"CollectionARN",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rekognition/api.go#L5740-L5743
|
166,276 |
aws/aws-sdk-go
|
service/rekognition/api.go
|
SetFaceCount
|
func (s *DescribeCollectionOutput) SetFaceCount(v int64) *DescribeCollectionOutput {
s.FaceCount = &v
return s
}
|
go
|
func (s *DescribeCollectionOutput) SetFaceCount(v int64) *DescribeCollectionOutput {
s.FaceCount = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"DescribeCollectionOutput",
")",
"SetFaceCount",
"(",
"v",
"int64",
")",
"*",
"DescribeCollectionOutput",
"{",
"s",
".",
"FaceCount",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetFaceCount sets the FaceCount field's value.
|
[
"SetFaceCount",
"sets",
"the",
"FaceCount",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rekognition/api.go#L5752-L5755
|
166,277 |
aws/aws-sdk-go
|
service/rekognition/api.go
|
SetFaceDetails
|
func (s *DetectFacesOutput) SetFaceDetails(v []*FaceDetail) *DetectFacesOutput {
s.FaceDetails = v
return s
}
|
go
|
func (s *DetectFacesOutput) SetFaceDetails(v []*FaceDetail) *DetectFacesOutput {
s.FaceDetails = v
return s
}
|
[
"func",
"(",
"s",
"*",
"DetectFacesOutput",
")",
"SetFaceDetails",
"(",
"v",
"[",
"]",
"*",
"FaceDetail",
")",
"*",
"DetectFacesOutput",
"{",
"s",
".",
"FaceDetails",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetFaceDetails sets the FaceDetails field's value.
|
[
"SetFaceDetails",
"sets",
"the",
"FaceDetails",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rekognition/api.go#L6011-L6014
|
166,278 |
aws/aws-sdk-go
|
service/rekognition/api.go
|
SetMaxLabels
|
func (s *DetectLabelsInput) SetMaxLabels(v int64) *DetectLabelsInput {
s.MaxLabels = &v
return s
}
|
go
|
func (s *DetectLabelsInput) SetMaxLabels(v int64) *DetectLabelsInput {
s.MaxLabels = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"DetectLabelsInput",
")",
"SetMaxLabels",
"(",
"v",
"int64",
")",
"*",
"DetectLabelsInput",
"{",
"s",
".",
"MaxLabels",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetMaxLabels sets the MaxLabels field's value.
|
[
"SetMaxLabels",
"sets",
"the",
"MaxLabels",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rekognition/api.go#L6083-L6086
|
166,279 |
aws/aws-sdk-go
|
service/rekognition/api.go
|
SetTextDetections
|
func (s *DetectTextOutput) SetTextDetections(v []*TextDetection) *DetectTextOutput {
s.TextDetections = v
return s
}
|
go
|
func (s *DetectTextOutput) SetTextDetections(v []*TextDetection) *DetectTextOutput {
s.TextDetections = v
return s
}
|
[
"func",
"(",
"s",
"*",
"DetectTextOutput",
")",
"SetTextDetections",
"(",
"v",
"[",
"]",
"*",
"TextDetection",
")",
"*",
"DetectTextOutput",
"{",
"s",
".",
"TextDetections",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetTextDetections sets the TextDetections field's value.
|
[
"SetTextDetections",
"sets",
"the",
"TextDetections",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rekognition/api.go#L6310-L6313
|
166,280 |
aws/aws-sdk-go
|
service/rekognition/api.go
|
SetAgeRange
|
func (s *FaceDetail) SetAgeRange(v *AgeRange) *FaceDetail {
s.AgeRange = v
return s
}
|
go
|
func (s *FaceDetail) SetAgeRange(v *AgeRange) *FaceDetail {
s.AgeRange = v
return s
}
|
[
"func",
"(",
"s",
"*",
"FaceDetail",
")",
"SetAgeRange",
"(",
"v",
"*",
"AgeRange",
")",
"*",
"FaceDetail",
"{",
"s",
".",
"AgeRange",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetAgeRange sets the AgeRange field's value.
|
[
"SetAgeRange",
"sets",
"the",
"AgeRange",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rekognition/api.go#L6573-L6576
|
166,281 |
aws/aws-sdk-go
|
service/rekognition/api.go
|
SetBeard
|
func (s *FaceDetail) SetBeard(v *Beard) *FaceDetail {
s.Beard = v
return s
}
|
go
|
func (s *FaceDetail) SetBeard(v *Beard) *FaceDetail {
s.Beard = v
return s
}
|
[
"func",
"(",
"s",
"*",
"FaceDetail",
")",
"SetBeard",
"(",
"v",
"*",
"Beard",
")",
"*",
"FaceDetail",
"{",
"s",
".",
"Beard",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetBeard sets the Beard field's value.
|
[
"SetBeard",
"sets",
"the",
"Beard",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rekognition/api.go#L6579-L6582
|
166,282 |
aws/aws-sdk-go
|
service/rekognition/api.go
|
SetEmotions
|
func (s *FaceDetail) SetEmotions(v []*Emotion) *FaceDetail {
s.Emotions = v
return s
}
|
go
|
func (s *FaceDetail) SetEmotions(v []*Emotion) *FaceDetail {
s.Emotions = v
return s
}
|
[
"func",
"(",
"s",
"*",
"FaceDetail",
")",
"SetEmotions",
"(",
"v",
"[",
"]",
"*",
"Emotion",
")",
"*",
"FaceDetail",
"{",
"s",
".",
"Emotions",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetEmotions sets the Emotions field's value.
|
[
"SetEmotions",
"sets",
"the",
"Emotions",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rekognition/api.go#L6597-L6600
|
166,283 |
aws/aws-sdk-go
|
service/rekognition/api.go
|
SetEyeglasses
|
func (s *FaceDetail) SetEyeglasses(v *Eyeglasses) *FaceDetail {
s.Eyeglasses = v
return s
}
|
go
|
func (s *FaceDetail) SetEyeglasses(v *Eyeglasses) *FaceDetail {
s.Eyeglasses = v
return s
}
|
[
"func",
"(",
"s",
"*",
"FaceDetail",
")",
"SetEyeglasses",
"(",
"v",
"*",
"Eyeglasses",
")",
"*",
"FaceDetail",
"{",
"s",
".",
"Eyeglasses",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetEyeglasses sets the Eyeglasses field's value.
|
[
"SetEyeglasses",
"sets",
"the",
"Eyeglasses",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rekognition/api.go#L6603-L6606
|
166,284 |
aws/aws-sdk-go
|
service/rekognition/api.go
|
SetEyesOpen
|
func (s *FaceDetail) SetEyesOpen(v *EyeOpen) *FaceDetail {
s.EyesOpen = v
return s
}
|
go
|
func (s *FaceDetail) SetEyesOpen(v *EyeOpen) *FaceDetail {
s.EyesOpen = v
return s
}
|
[
"func",
"(",
"s",
"*",
"FaceDetail",
")",
"SetEyesOpen",
"(",
"v",
"*",
"EyeOpen",
")",
"*",
"FaceDetail",
"{",
"s",
".",
"EyesOpen",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetEyesOpen sets the EyesOpen field's value.
|
[
"SetEyesOpen",
"sets",
"the",
"EyesOpen",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rekognition/api.go#L6609-L6612
|
166,285 |
aws/aws-sdk-go
|
service/rekognition/api.go
|
SetMouthOpen
|
func (s *FaceDetail) SetMouthOpen(v *MouthOpen) *FaceDetail {
s.MouthOpen = v
return s
}
|
go
|
func (s *FaceDetail) SetMouthOpen(v *MouthOpen) *FaceDetail {
s.MouthOpen = v
return s
}
|
[
"func",
"(",
"s",
"*",
"FaceDetail",
")",
"SetMouthOpen",
"(",
"v",
"*",
"MouthOpen",
")",
"*",
"FaceDetail",
"{",
"s",
".",
"MouthOpen",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetMouthOpen sets the MouthOpen field's value.
|
[
"SetMouthOpen",
"sets",
"the",
"MouthOpen",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rekognition/api.go#L6627-L6630
|
166,286 |
aws/aws-sdk-go
|
service/rekognition/api.go
|
SetMustache
|
func (s *FaceDetail) SetMustache(v *Mustache) *FaceDetail {
s.Mustache = v
return s
}
|
go
|
func (s *FaceDetail) SetMustache(v *Mustache) *FaceDetail {
s.Mustache = v
return s
}
|
[
"func",
"(",
"s",
"*",
"FaceDetail",
")",
"SetMustache",
"(",
"v",
"*",
"Mustache",
")",
"*",
"FaceDetail",
"{",
"s",
".",
"Mustache",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetMustache sets the Mustache field's value.
|
[
"SetMustache",
"sets",
"the",
"Mustache",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rekognition/api.go#L6633-L6636
|
166,287 |
aws/aws-sdk-go
|
service/rekognition/api.go
|
SetSmile
|
func (s *FaceDetail) SetSmile(v *Smile) *FaceDetail {
s.Smile = v
return s
}
|
go
|
func (s *FaceDetail) SetSmile(v *Smile) *FaceDetail {
s.Smile = v
return s
}
|
[
"func",
"(",
"s",
"*",
"FaceDetail",
")",
"SetSmile",
"(",
"v",
"*",
"Smile",
")",
"*",
"FaceDetail",
"{",
"s",
".",
"Smile",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetSmile sets the Smile field's value.
|
[
"SetSmile",
"sets",
"the",
"Smile",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rekognition/api.go#L6651-L6654
|
166,288 |
aws/aws-sdk-go
|
service/rekognition/api.go
|
SetSunglasses
|
func (s *FaceDetail) SetSunglasses(v *Sunglasses) *FaceDetail {
s.Sunglasses = v
return s
}
|
go
|
func (s *FaceDetail) SetSunglasses(v *Sunglasses) *FaceDetail {
s.Sunglasses = v
return s
}
|
[
"func",
"(",
"s",
"*",
"FaceDetail",
")",
"SetSunglasses",
"(",
"v",
"*",
"Sunglasses",
")",
"*",
"FaceDetail",
"{",
"s",
".",
"Sunglasses",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetSunglasses sets the Sunglasses field's value.
|
[
"SetSunglasses",
"sets",
"the",
"Sunglasses",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rekognition/api.go#L6657-L6660
|
166,289 |
aws/aws-sdk-go
|
service/rekognition/api.go
|
SetPolygon
|
func (s *Geometry) SetPolygon(v []*Point) *Geometry {
s.Polygon = v
return s
}
|
go
|
func (s *Geometry) SetPolygon(v []*Point) *Geometry {
s.Polygon = v
return s
}
|
[
"func",
"(",
"s",
"*",
"Geometry",
")",
"SetPolygon",
"(",
"v",
"[",
"]",
"*",
"Point",
")",
"*",
"Geometry",
"{",
"s",
".",
"Polygon",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetPolygon sets the Polygon field's value.
|
[
"SetPolygon",
"sets",
"the",
"Polygon",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rekognition/api.go#L6878-L6881
|
166,290 |
aws/aws-sdk-go
|
service/rekognition/api.go
|
SetCelebrities
|
func (s *GetCelebrityRecognitionOutput) SetCelebrities(v []*CelebrityRecognition) *GetCelebrityRecognitionOutput {
s.Celebrities = v
return s
}
|
go
|
func (s *GetCelebrityRecognitionOutput) SetCelebrities(v []*CelebrityRecognition) *GetCelebrityRecognitionOutput {
s.Celebrities = v
return s
}
|
[
"func",
"(",
"s",
"*",
"GetCelebrityRecognitionOutput",
")",
"SetCelebrities",
"(",
"v",
"[",
"]",
"*",
"CelebrityRecognition",
")",
"*",
"GetCelebrityRecognitionOutput",
"{",
"s",
".",
"Celebrities",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetCelebrities sets the Celebrities field's value.
|
[
"SetCelebrities",
"sets",
"the",
"Celebrities",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rekognition/api.go#L7066-L7069
|
166,291 |
aws/aws-sdk-go
|
service/rekognition/api.go
|
SetDetectionAttributes
|
func (s *IndexFacesInput) SetDetectionAttributes(v []*string) *IndexFacesInput {
s.DetectionAttributes = v
return s
}
|
go
|
func (s *IndexFacesInput) SetDetectionAttributes(v []*string) *IndexFacesInput {
s.DetectionAttributes = v
return s
}
|
[
"func",
"(",
"s",
"*",
"IndexFacesInput",
")",
"SetDetectionAttributes",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"IndexFacesInput",
"{",
"s",
".",
"DetectionAttributes",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetDetectionAttributes sets the DetectionAttributes field's value.
|
[
"SetDetectionAttributes",
"sets",
"the",
"DetectionAttributes",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rekognition/api.go#L8045-L8048
|
166,292 |
aws/aws-sdk-go
|
service/rekognition/api.go
|
SetQualityFilter
|
func (s *IndexFacesInput) SetQualityFilter(v string) *IndexFacesInput {
s.QualityFilter = &v
return s
}
|
go
|
func (s *IndexFacesInput) SetQualityFilter(v string) *IndexFacesInput {
s.QualityFilter = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"IndexFacesInput",
")",
"SetQualityFilter",
"(",
"v",
"string",
")",
"*",
"IndexFacesInput",
"{",
"s",
".",
"QualityFilter",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetQualityFilter sets the QualityFilter field's value.
|
[
"SetQualityFilter",
"sets",
"the",
"QualityFilter",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rekognition/api.go#L8069-L8072
|
166,293 |
aws/aws-sdk-go
|
service/rekognition/api.go
|
SetFaceRecords
|
func (s *IndexFacesOutput) SetFaceRecords(v []*FaceRecord) *IndexFacesOutput {
s.FaceRecords = v
return s
}
|
go
|
func (s *IndexFacesOutput) SetFaceRecords(v []*FaceRecord) *IndexFacesOutput {
s.FaceRecords = v
return s
}
|
[
"func",
"(",
"s",
"*",
"IndexFacesOutput",
")",
"SetFaceRecords",
"(",
"v",
"[",
"]",
"*",
"FaceRecord",
")",
"*",
"IndexFacesOutput",
"{",
"s",
".",
"FaceRecords",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetFaceRecords sets the FaceRecords field's value.
|
[
"SetFaceRecords",
"sets",
"the",
"FaceRecords",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rekognition/api.go#L8134-L8137
|
166,294 |
aws/aws-sdk-go
|
service/rekognition/api.go
|
SetUnindexedFaces
|
func (s *IndexFacesOutput) SetUnindexedFaces(v []*UnindexedFace) *IndexFacesOutput {
s.UnindexedFaces = v
return s
}
|
go
|
func (s *IndexFacesOutput) SetUnindexedFaces(v []*UnindexedFace) *IndexFacesOutput {
s.UnindexedFaces = v
return s
}
|
[
"func",
"(",
"s",
"*",
"IndexFacesOutput",
")",
"SetUnindexedFaces",
"(",
"v",
"[",
"]",
"*",
"UnindexedFace",
")",
"*",
"IndexFacesOutput",
"{",
"s",
".",
"UnindexedFaces",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetUnindexedFaces sets the UnindexedFaces field's value.
|
[
"SetUnindexedFaces",
"sets",
"the",
"UnindexedFaces",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rekognition/api.go#L8146-L8149
|
166,295 |
aws/aws-sdk-go
|
service/rekognition/api.go
|
SetCollectionIds
|
func (s *ListCollectionsOutput) SetCollectionIds(v []*string) *ListCollectionsOutput {
s.CollectionIds = v
return s
}
|
go
|
func (s *ListCollectionsOutput) SetCollectionIds(v []*string) *ListCollectionsOutput {
s.CollectionIds = v
return s
}
|
[
"func",
"(",
"s",
"*",
"ListCollectionsOutput",
")",
"SetCollectionIds",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"ListCollectionsOutput",
"{",
"s",
".",
"CollectionIds",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetCollectionIds sets the CollectionIds field's value.
|
[
"SetCollectionIds",
"sets",
"the",
"CollectionIds",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rekognition/api.go#L8432-L8435
|
166,296 |
aws/aws-sdk-go
|
service/rekognition/api.go
|
SetFaceModelVersions
|
func (s *ListCollectionsOutput) SetFaceModelVersions(v []*string) *ListCollectionsOutput {
s.FaceModelVersions = v
return s
}
|
go
|
func (s *ListCollectionsOutput) SetFaceModelVersions(v []*string) *ListCollectionsOutput {
s.FaceModelVersions = v
return s
}
|
[
"func",
"(",
"s",
"*",
"ListCollectionsOutput",
")",
"SetFaceModelVersions",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"ListCollectionsOutput",
"{",
"s",
".",
"FaceModelVersions",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetFaceModelVersions sets the FaceModelVersions field's value.
|
[
"SetFaceModelVersions",
"sets",
"the",
"FaceModelVersions",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rekognition/api.go#L8438-L8441
|
166,297 |
aws/aws-sdk-go
|
service/rekognition/api.go
|
SetStreamProcessors
|
func (s *ListStreamProcessorsOutput) SetStreamProcessors(v []*StreamProcessor) *ListStreamProcessorsOutput {
s.StreamProcessors = v
return s
}
|
go
|
func (s *ListStreamProcessorsOutput) SetStreamProcessors(v []*StreamProcessor) *ListStreamProcessorsOutput {
s.StreamProcessors = v
return s
}
|
[
"func",
"(",
"s",
"*",
"ListStreamProcessorsOutput",
")",
"SetStreamProcessors",
"(",
"v",
"[",
"]",
"*",
"StreamProcessor",
")",
"*",
"ListStreamProcessorsOutput",
"{",
"s",
".",
"StreamProcessors",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetStreamProcessors sets the StreamProcessors field's value.
|
[
"SetStreamProcessors",
"sets",
"the",
"StreamProcessors",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rekognition/api.go#L8631-L8634
|
166,298 |
aws/aws-sdk-go
|
service/rekognition/api.go
|
SetParentName
|
func (s *ModerationLabel) SetParentName(v string) *ModerationLabel {
s.ParentName = &v
return s
}
|
go
|
func (s *ModerationLabel) SetParentName(v string) *ModerationLabel {
s.ParentName = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"ModerationLabel",
")",
"SetParentName",
"(",
"v",
"string",
")",
"*",
"ModerationLabel",
"{",
"s",
".",
"ParentName",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetParentName sets the ParentName field's value.
|
[
"SetParentName",
"sets",
"the",
"ParentName",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rekognition/api.go#L8682-L8685
|
166,299 |
aws/aws-sdk-go
|
service/rekognition/api.go
|
SetPitch
|
func (s *Pose) SetPitch(v float64) *Pose {
s.Pitch = &v
return s
}
|
go
|
func (s *Pose) SetPitch(v float64) *Pose {
s.Pitch = &v
return s
}
|
[
"func",
"(",
"s",
"*",
"Pose",
")",
"SetPitch",
"(",
"v",
"float64",
")",
"*",
"Pose",
"{",
"s",
".",
"Pitch",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] |
// SetPitch sets the Pitch field's value.
|
[
"SetPitch",
"sets",
"the",
"Pitch",
"field",
"s",
"value",
"."
] |
6c4060605190fc6f00d63cd4e5572faa9f07345d
|
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/rekognition/api.go#L9033-L9036
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.