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
|
---|---|---|---|---|---|---|---|---|---|---|---|
1,800 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetSupportedEndpointTypes | func (s *DescribeEndpointTypesOutput) SetSupportedEndpointTypes(v []*SupportedEndpointType) *DescribeEndpointTypesOutput {
s.SupportedEndpointTypes = v
return s
} | go | func (s *DescribeEndpointTypesOutput) SetSupportedEndpointTypes(v []*SupportedEndpointType) *DescribeEndpointTypesOutput {
s.SupportedEndpointTypes = v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeEndpointTypesOutput",
")",
"SetSupportedEndpointTypes",
"(",
"v",
"[",
"]",
"*",
"SupportedEndpointType",
")",
"*",
"DescribeEndpointTypesOutput",
"{",
"s",
".",
"SupportedEndpointTypes",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetSupportedEndpointTypes sets the SupportedEndpointTypes field's value. | [
"SetSupportedEndpointTypes",
"sets",
"the",
"SupportedEndpointTypes",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L6926-L6929 |
1,801 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetEventCategoryGroupList | func (s *DescribeEventCategoriesOutput) SetEventCategoryGroupList(v []*EventCategoryGroup) *DescribeEventCategoriesOutput {
s.EventCategoryGroupList = v
return s
} | go | func (s *DescribeEventCategoriesOutput) SetEventCategoryGroupList(v []*EventCategoryGroup) *DescribeEventCategoriesOutput {
s.EventCategoryGroupList = v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeEventCategoriesOutput",
")",
"SetEventCategoryGroupList",
"(",
"v",
"[",
"]",
"*",
"EventCategoryGroup",
")",
"*",
"DescribeEventCategoriesOutput",
"{",
"s",
".",
"EventCategoryGroupList",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetEventCategoryGroupList sets the EventCategoryGroupList field's value. | [
"SetEventCategoryGroupList",
"sets",
"the",
"EventCategoryGroupList",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L7108-L7111 |
1,802 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetOrderableReplicationInstances | func (s *DescribeOrderableReplicationInstancesOutput) SetOrderableReplicationInstances(v []*OrderableReplicationInstance) *DescribeOrderableReplicationInstancesOutput {
s.OrderableReplicationInstances = v
return s
} | go | func (s *DescribeOrderableReplicationInstancesOutput) SetOrderableReplicationInstances(v []*OrderableReplicationInstance) *DescribeOrderableReplicationInstancesOutput {
s.OrderableReplicationInstances = v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeOrderableReplicationInstancesOutput",
")",
"SetOrderableReplicationInstances",
"(",
"v",
"[",
"]",
"*",
"OrderableReplicationInstance",
")",
"*",
"DescribeOrderableReplicationInstancesOutput",
"{",
"s",
".",
"OrderableReplicationInstances",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetOrderableReplicationInstances sets the OrderableReplicationInstances field's value. | [
"SetOrderableReplicationInstances",
"sets",
"the",
"OrderableReplicationInstances",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L7455-L7458 |
1,803 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetReplicationInstanceTaskLogs | func (s *DescribeReplicationInstanceTaskLogsOutput) SetReplicationInstanceTaskLogs(v []*ReplicationInstanceTaskLog) *DescribeReplicationInstanceTaskLogsOutput {
s.ReplicationInstanceTaskLogs = v
return s
} | go | func (s *DescribeReplicationInstanceTaskLogsOutput) SetReplicationInstanceTaskLogs(v []*ReplicationInstanceTaskLog) *DescribeReplicationInstanceTaskLogsOutput {
s.ReplicationInstanceTaskLogs = v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeReplicationInstanceTaskLogsOutput",
")",
"SetReplicationInstanceTaskLogs",
"(",
"v",
"[",
"]",
"*",
"ReplicationInstanceTaskLog",
")",
"*",
"DescribeReplicationInstanceTaskLogsOutput",
"{",
"s",
".",
"ReplicationInstanceTaskLogs",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetReplicationInstanceTaskLogs sets the ReplicationInstanceTaskLogs field's value. | [
"SetReplicationInstanceTaskLogs",
"sets",
"the",
"ReplicationInstanceTaskLogs",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L7735-L7738 |
1,804 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetReplicationInstances | func (s *DescribeReplicationInstancesOutput) SetReplicationInstances(v []*ReplicationInstance) *DescribeReplicationInstancesOutput {
s.ReplicationInstances = v
return s
} | go | func (s *DescribeReplicationInstancesOutput) SetReplicationInstances(v []*ReplicationInstance) *DescribeReplicationInstancesOutput {
s.ReplicationInstances = v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeReplicationInstancesOutput",
")",
"SetReplicationInstances",
"(",
"v",
"[",
"]",
"*",
"ReplicationInstance",
")",
"*",
"DescribeReplicationInstancesOutput",
"{",
"s",
".",
"ReplicationInstances",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetReplicationInstances sets the ReplicationInstances field's value. | [
"SetReplicationInstances",
"sets",
"the",
"ReplicationInstances",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L7841-L7844 |
1,805 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetReplicationSubnetGroups | func (s *DescribeReplicationSubnetGroupsOutput) SetReplicationSubnetGroups(v []*ReplicationSubnetGroup) *DescribeReplicationSubnetGroupsOutput {
s.ReplicationSubnetGroups = v
return s
} | go | func (s *DescribeReplicationSubnetGroupsOutput) SetReplicationSubnetGroups(v []*ReplicationSubnetGroup) *DescribeReplicationSubnetGroupsOutput {
s.ReplicationSubnetGroups = v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeReplicationSubnetGroupsOutput",
")",
"SetReplicationSubnetGroups",
"(",
"v",
"[",
"]",
"*",
"ReplicationSubnetGroup",
")",
"*",
"DescribeReplicationSubnetGroupsOutput",
"{",
"s",
".",
"ReplicationSubnetGroups",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetReplicationSubnetGroups sets the ReplicationSubnetGroups field's value. | [
"SetReplicationSubnetGroups",
"sets",
"the",
"ReplicationSubnetGroups",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L7944-L7947 |
1,806 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetReplicationTaskAssessmentResults | func (s *DescribeReplicationTaskAssessmentResultsOutput) SetReplicationTaskAssessmentResults(v []*ReplicationTaskAssessmentResult) *DescribeReplicationTaskAssessmentResultsOutput {
s.ReplicationTaskAssessmentResults = v
return s
} | go | func (s *DescribeReplicationTaskAssessmentResultsOutput) SetReplicationTaskAssessmentResults(v []*ReplicationTaskAssessmentResult) *DescribeReplicationTaskAssessmentResultsOutput {
s.ReplicationTaskAssessmentResults = v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeReplicationTaskAssessmentResultsOutput",
")",
"SetReplicationTaskAssessmentResults",
"(",
"v",
"[",
"]",
"*",
"ReplicationTaskAssessmentResult",
")",
"*",
"DescribeReplicationTaskAssessmentResultsOutput",
"{",
"s",
".",
"ReplicationTaskAssessmentResults",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetReplicationTaskAssessmentResults sets the ReplicationTaskAssessmentResults field's value. | [
"SetReplicationTaskAssessmentResults",
"sets",
"the",
"ReplicationTaskAssessmentResults",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L8038-L8041 |
1,807 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetWithoutSettings | func (s *DescribeReplicationTasksInput) SetWithoutSettings(v bool) *DescribeReplicationTasksInput {
s.WithoutSettings = &v
return s
} | go | func (s *DescribeReplicationTasksInput) SetWithoutSettings(v bool) *DescribeReplicationTasksInput {
s.WithoutSettings = &v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeReplicationTasksInput",
")",
"SetWithoutSettings",
"(",
"v",
"bool",
")",
"*",
"DescribeReplicationTasksInput",
"{",
"s",
".",
"WithoutSettings",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetWithoutSettings sets the WithoutSettings field's value. | [
"SetWithoutSettings",
"sets",
"the",
"WithoutSettings",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L8121-L8124 |
1,808 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetReplicationTasks | func (s *DescribeReplicationTasksOutput) SetReplicationTasks(v []*ReplicationTask) *DescribeReplicationTasksOutput {
s.ReplicationTasks = v
return s
} | go | func (s *DescribeReplicationTasksOutput) SetReplicationTasks(v []*ReplicationTask) *DescribeReplicationTasksOutput {
s.ReplicationTasks = v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeReplicationTasksOutput",
")",
"SetReplicationTasks",
"(",
"v",
"[",
"]",
"*",
"ReplicationTask",
")",
"*",
"DescribeReplicationTasksOutput",
"{",
"s",
".",
"ReplicationTasks",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetReplicationTasks sets the ReplicationTasks field's value. | [
"SetReplicationTasks",
"sets",
"the",
"ReplicationTasks",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L8155-L8158 |
1,809 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetTableStatistics | func (s *DescribeTableStatisticsOutput) SetTableStatistics(v []*TableStatistics) *DescribeTableStatisticsOutput {
s.TableStatistics = v
return s
} | go | func (s *DescribeTableStatisticsOutput) SetTableStatistics(v []*TableStatistics) *DescribeTableStatisticsOutput {
s.TableStatistics = v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeTableStatisticsOutput",
")",
"SetTableStatistics",
"(",
"v",
"[",
"]",
"*",
"TableStatistics",
")",
"*",
"DescribeTableStatisticsOutput",
"{",
"s",
".",
"TableStatistics",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetTableStatistics sets the TableStatistics field's value. | [
"SetTableStatistics",
"sets",
"the",
"TableStatistics",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L8384-L8387 |
1,810 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetEndpointUri | func (s *ElasticsearchSettings) SetEndpointUri(v string) *ElasticsearchSettings {
s.EndpointUri = &v
return s
} | go | func (s *ElasticsearchSettings) SetEndpointUri(v string) *ElasticsearchSettings {
s.EndpointUri = &v
return s
} | [
"func",
"(",
"s",
"*",
"ElasticsearchSettings",
")",
"SetEndpointUri",
"(",
"v",
"string",
")",
"*",
"ElasticsearchSettings",
"{",
"s",
".",
"EndpointUri",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetEndpointUri sets the EndpointUri field's value. | [
"SetEndpointUri",
"sets",
"the",
"EndpointUri",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L8509-L8512 |
1,811 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetErrorRetryDuration | func (s *ElasticsearchSettings) SetErrorRetryDuration(v int64) *ElasticsearchSettings {
s.ErrorRetryDuration = &v
return s
} | go | func (s *ElasticsearchSettings) SetErrorRetryDuration(v int64) *ElasticsearchSettings {
s.ErrorRetryDuration = &v
return s
} | [
"func",
"(",
"s",
"*",
"ElasticsearchSettings",
")",
"SetErrorRetryDuration",
"(",
"v",
"int64",
")",
"*",
"ElasticsearchSettings",
"{",
"s",
".",
"ErrorRetryDuration",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetErrorRetryDuration sets the ErrorRetryDuration field's value. | [
"SetErrorRetryDuration",
"sets",
"the",
"ErrorRetryDuration",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L8515-L8518 |
1,812 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetFullLoadErrorPercentage | func (s *ElasticsearchSettings) SetFullLoadErrorPercentage(v int64) *ElasticsearchSettings {
s.FullLoadErrorPercentage = &v
return s
} | go | func (s *ElasticsearchSettings) SetFullLoadErrorPercentage(v int64) *ElasticsearchSettings {
s.FullLoadErrorPercentage = &v
return s
} | [
"func",
"(",
"s",
"*",
"ElasticsearchSettings",
")",
"SetFullLoadErrorPercentage",
"(",
"v",
"int64",
")",
"*",
"ElasticsearchSettings",
"{",
"s",
".",
"FullLoadErrorPercentage",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetFullLoadErrorPercentage sets the FullLoadErrorPercentage field's value. | [
"SetFullLoadErrorPercentage",
"sets",
"the",
"FullLoadErrorPercentage",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L8521-L8524 |
1,813 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetAuthMechanism | func (s *MongoDbSettings) SetAuthMechanism(v string) *MongoDbSettings {
s.AuthMechanism = &v
return s
} | go | func (s *MongoDbSettings) SetAuthMechanism(v string) *MongoDbSettings {
s.AuthMechanism = &v
return s
} | [
"func",
"(",
"s",
"*",
"MongoDbSettings",
")",
"SetAuthMechanism",
"(",
"v",
"string",
")",
"*",
"MongoDbSettings",
"{",
"s",
".",
"AuthMechanism",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAuthMechanism sets the AuthMechanism field's value. | [
"SetAuthMechanism",
"sets",
"the",
"AuthMechanism",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L10154-L10157 |
1,814 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetAuthSource | func (s *MongoDbSettings) SetAuthSource(v string) *MongoDbSettings {
s.AuthSource = &v
return s
} | go | func (s *MongoDbSettings) SetAuthSource(v string) *MongoDbSettings {
s.AuthSource = &v
return s
} | [
"func",
"(",
"s",
"*",
"MongoDbSettings",
")",
"SetAuthSource",
"(",
"v",
"string",
")",
"*",
"MongoDbSettings",
"{",
"s",
".",
"AuthSource",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAuthSource sets the AuthSource field's value. | [
"SetAuthSource",
"sets",
"the",
"AuthSource",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L10160-L10163 |
1,815 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetDocsToInvestigate | func (s *MongoDbSettings) SetDocsToInvestigate(v string) *MongoDbSettings {
s.DocsToInvestigate = &v
return s
} | go | func (s *MongoDbSettings) SetDocsToInvestigate(v string) *MongoDbSettings {
s.DocsToInvestigate = &v
return s
} | [
"func",
"(",
"s",
"*",
"MongoDbSettings",
")",
"SetDocsToInvestigate",
"(",
"v",
"string",
")",
"*",
"MongoDbSettings",
"{",
"s",
".",
"DocsToInvestigate",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDocsToInvestigate sets the DocsToInvestigate field's value. | [
"SetDocsToInvestigate",
"sets",
"the",
"DocsToInvestigate",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L10178-L10181 |
1,816 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetExtractDocId | func (s *MongoDbSettings) SetExtractDocId(v string) *MongoDbSettings {
s.ExtractDocId = &v
return s
} | go | func (s *MongoDbSettings) SetExtractDocId(v string) *MongoDbSettings {
s.ExtractDocId = &v
return s
} | [
"func",
"(",
"s",
"*",
"MongoDbSettings",
")",
"SetExtractDocId",
"(",
"v",
"string",
")",
"*",
"MongoDbSettings",
"{",
"s",
".",
"ExtractDocId",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetExtractDocId sets the ExtractDocId field's value. | [
"SetExtractDocId",
"sets",
"the",
"ExtractDocId",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L10184-L10187 |
1,817 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetNestingLevel | func (s *MongoDbSettings) SetNestingLevel(v string) *MongoDbSettings {
s.NestingLevel = &v
return s
} | go | func (s *MongoDbSettings) SetNestingLevel(v string) *MongoDbSettings {
s.NestingLevel = &v
return s
} | [
"func",
"(",
"s",
"*",
"MongoDbSettings",
")",
"SetNestingLevel",
"(",
"v",
"string",
")",
"*",
"MongoDbSettings",
"{",
"s",
".",
"NestingLevel",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetNestingLevel sets the NestingLevel field's value. | [
"SetNestingLevel",
"sets",
"the",
"NestingLevel",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L10196-L10199 |
1,818 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetDefaultAllocatedStorage | func (s *OrderableReplicationInstance) SetDefaultAllocatedStorage(v int64) *OrderableReplicationInstance {
s.DefaultAllocatedStorage = &v
return s
} | go | func (s *OrderableReplicationInstance) SetDefaultAllocatedStorage(v int64) *OrderableReplicationInstance {
s.DefaultAllocatedStorage = &v
return s
} | [
"func",
"(",
"s",
"*",
"OrderableReplicationInstance",
")",
"SetDefaultAllocatedStorage",
"(",
"v",
"int64",
")",
"*",
"OrderableReplicationInstance",
"{",
"s",
".",
"DefaultAllocatedStorage",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDefaultAllocatedStorage sets the DefaultAllocatedStorage field's value. | [
"SetDefaultAllocatedStorage",
"sets",
"the",
"DefaultAllocatedStorage",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L10277-L10280 |
1,819 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetIncludedAllocatedStorage | func (s *OrderableReplicationInstance) SetIncludedAllocatedStorage(v int64) *OrderableReplicationInstance {
s.IncludedAllocatedStorage = &v
return s
} | go | func (s *OrderableReplicationInstance) SetIncludedAllocatedStorage(v int64) *OrderableReplicationInstance {
s.IncludedAllocatedStorage = &v
return s
} | [
"func",
"(",
"s",
"*",
"OrderableReplicationInstance",
")",
"SetIncludedAllocatedStorage",
"(",
"v",
"int64",
")",
"*",
"OrderableReplicationInstance",
"{",
"s",
".",
"IncludedAllocatedStorage",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetIncludedAllocatedStorage sets the IncludedAllocatedStorage field's value. | [
"SetIncludedAllocatedStorage",
"sets",
"the",
"IncludedAllocatedStorage",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L10289-L10292 |
1,820 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetMaxAllocatedStorage | func (s *OrderableReplicationInstance) SetMaxAllocatedStorage(v int64) *OrderableReplicationInstance {
s.MaxAllocatedStorage = &v
return s
} | go | func (s *OrderableReplicationInstance) SetMaxAllocatedStorage(v int64) *OrderableReplicationInstance {
s.MaxAllocatedStorage = &v
return s
} | [
"func",
"(",
"s",
"*",
"OrderableReplicationInstance",
")",
"SetMaxAllocatedStorage",
"(",
"v",
"int64",
")",
"*",
"OrderableReplicationInstance",
"{",
"s",
".",
"MaxAllocatedStorage",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetMaxAllocatedStorage sets the MaxAllocatedStorage field's value. | [
"SetMaxAllocatedStorage",
"sets",
"the",
"MaxAllocatedStorage",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L10295-L10298 |
1,821 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetMinAllocatedStorage | func (s *OrderableReplicationInstance) SetMinAllocatedStorage(v int64) *OrderableReplicationInstance {
s.MinAllocatedStorage = &v
return s
} | go | func (s *OrderableReplicationInstance) SetMinAllocatedStorage(v int64) *OrderableReplicationInstance {
s.MinAllocatedStorage = &v
return s
} | [
"func",
"(",
"s",
"*",
"OrderableReplicationInstance",
")",
"SetMinAllocatedStorage",
"(",
"v",
"int64",
")",
"*",
"OrderableReplicationInstance",
"{",
"s",
".",
"MinAllocatedStorage",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetMinAllocatedStorage sets the MinAllocatedStorage field's value. | [
"SetMinAllocatedStorage",
"sets",
"the",
"MinAllocatedStorage",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L10301-L10304 |
1,822 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetAcceptAnyDate | func (s *RedshiftSettings) SetAcceptAnyDate(v bool) *RedshiftSettings {
s.AcceptAnyDate = &v
return s
} | go | func (s *RedshiftSettings) SetAcceptAnyDate(v bool) *RedshiftSettings {
s.AcceptAnyDate = &v
return s
} | [
"func",
"(",
"s",
"*",
"RedshiftSettings",
")",
"SetAcceptAnyDate",
"(",
"v",
"bool",
")",
"*",
"RedshiftSettings",
"{",
"s",
".",
"AcceptAnyDate",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAcceptAnyDate sets the AcceptAnyDate field's value. | [
"SetAcceptAnyDate",
"sets",
"the",
"AcceptAnyDate",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L10599-L10602 |
1,823 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetAfterConnectScript | func (s *RedshiftSettings) SetAfterConnectScript(v string) *RedshiftSettings {
s.AfterConnectScript = &v
return s
} | go | func (s *RedshiftSettings) SetAfterConnectScript(v string) *RedshiftSettings {
s.AfterConnectScript = &v
return s
} | [
"func",
"(",
"s",
"*",
"RedshiftSettings",
")",
"SetAfterConnectScript",
"(",
"v",
"string",
")",
"*",
"RedshiftSettings",
"{",
"s",
".",
"AfterConnectScript",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAfterConnectScript sets the AfterConnectScript field's value. | [
"SetAfterConnectScript",
"sets",
"the",
"AfterConnectScript",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L10605-L10608 |
1,824 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetConnectionTimeout | func (s *RedshiftSettings) SetConnectionTimeout(v int64) *RedshiftSettings {
s.ConnectionTimeout = &v
return s
} | go | func (s *RedshiftSettings) SetConnectionTimeout(v int64) *RedshiftSettings {
s.ConnectionTimeout = &v
return s
} | [
"func",
"(",
"s",
"*",
"RedshiftSettings",
")",
"SetConnectionTimeout",
"(",
"v",
"int64",
")",
"*",
"RedshiftSettings",
"{",
"s",
".",
"ConnectionTimeout",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetConnectionTimeout sets the ConnectionTimeout field's value. | [
"SetConnectionTimeout",
"sets",
"the",
"ConnectionTimeout",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L10623-L10626 |
1,825 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetDateFormat | func (s *RedshiftSettings) SetDateFormat(v string) *RedshiftSettings {
s.DateFormat = &v
return s
} | go | func (s *RedshiftSettings) SetDateFormat(v string) *RedshiftSettings {
s.DateFormat = &v
return s
} | [
"func",
"(",
"s",
"*",
"RedshiftSettings",
")",
"SetDateFormat",
"(",
"v",
"string",
")",
"*",
"RedshiftSettings",
"{",
"s",
".",
"DateFormat",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDateFormat sets the DateFormat field's value. | [
"SetDateFormat",
"sets",
"the",
"DateFormat",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L10635-L10638 |
1,826 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetEmptyAsNull | func (s *RedshiftSettings) SetEmptyAsNull(v bool) *RedshiftSettings {
s.EmptyAsNull = &v
return s
} | go | func (s *RedshiftSettings) SetEmptyAsNull(v bool) *RedshiftSettings {
s.EmptyAsNull = &v
return s
} | [
"func",
"(",
"s",
"*",
"RedshiftSettings",
")",
"SetEmptyAsNull",
"(",
"v",
"bool",
")",
"*",
"RedshiftSettings",
"{",
"s",
".",
"EmptyAsNull",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetEmptyAsNull sets the EmptyAsNull field's value. | [
"SetEmptyAsNull",
"sets",
"the",
"EmptyAsNull",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L10641-L10644 |
1,827 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetFileTransferUploadStreams | func (s *RedshiftSettings) SetFileTransferUploadStreams(v int64) *RedshiftSettings {
s.FileTransferUploadStreams = &v
return s
} | go | func (s *RedshiftSettings) SetFileTransferUploadStreams(v int64) *RedshiftSettings {
s.FileTransferUploadStreams = &v
return s
} | [
"func",
"(",
"s",
"*",
"RedshiftSettings",
")",
"SetFileTransferUploadStreams",
"(",
"v",
"int64",
")",
"*",
"RedshiftSettings",
"{",
"s",
".",
"FileTransferUploadStreams",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetFileTransferUploadStreams sets the FileTransferUploadStreams field's value. | [
"SetFileTransferUploadStreams",
"sets",
"the",
"FileTransferUploadStreams",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L10653-L10656 |
1,828 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetLoadTimeout | func (s *RedshiftSettings) SetLoadTimeout(v int64) *RedshiftSettings {
s.LoadTimeout = &v
return s
} | go | func (s *RedshiftSettings) SetLoadTimeout(v int64) *RedshiftSettings {
s.LoadTimeout = &v
return s
} | [
"func",
"(",
"s",
"*",
"RedshiftSettings",
")",
"SetLoadTimeout",
"(",
"v",
"int64",
")",
"*",
"RedshiftSettings",
"{",
"s",
".",
"LoadTimeout",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetLoadTimeout sets the LoadTimeout field's value. | [
"SetLoadTimeout",
"sets",
"the",
"LoadTimeout",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L10659-L10662 |
1,829 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetMaxFileSize | func (s *RedshiftSettings) SetMaxFileSize(v int64) *RedshiftSettings {
s.MaxFileSize = &v
return s
} | go | func (s *RedshiftSettings) SetMaxFileSize(v int64) *RedshiftSettings {
s.MaxFileSize = &v
return s
} | [
"func",
"(",
"s",
"*",
"RedshiftSettings",
")",
"SetMaxFileSize",
"(",
"v",
"int64",
")",
"*",
"RedshiftSettings",
"{",
"s",
".",
"MaxFileSize",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetMaxFileSize sets the MaxFileSize field's value. | [
"SetMaxFileSize",
"sets",
"the",
"MaxFileSize",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L10665-L10668 |
1,830 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetRemoveQuotes | func (s *RedshiftSettings) SetRemoveQuotes(v bool) *RedshiftSettings {
s.RemoveQuotes = &v
return s
} | go | func (s *RedshiftSettings) SetRemoveQuotes(v bool) *RedshiftSettings {
s.RemoveQuotes = &v
return s
} | [
"func",
"(",
"s",
"*",
"RedshiftSettings",
")",
"SetRemoveQuotes",
"(",
"v",
"bool",
")",
"*",
"RedshiftSettings",
"{",
"s",
".",
"RemoveQuotes",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetRemoveQuotes sets the RemoveQuotes field's value. | [
"SetRemoveQuotes",
"sets",
"the",
"RemoveQuotes",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L10683-L10686 |
1,831 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetReplaceChars | func (s *RedshiftSettings) SetReplaceChars(v string) *RedshiftSettings {
s.ReplaceChars = &v
return s
} | go | func (s *RedshiftSettings) SetReplaceChars(v string) *RedshiftSettings {
s.ReplaceChars = &v
return s
} | [
"func",
"(",
"s",
"*",
"RedshiftSettings",
")",
"SetReplaceChars",
"(",
"v",
"string",
")",
"*",
"RedshiftSettings",
"{",
"s",
".",
"ReplaceChars",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetReplaceChars sets the ReplaceChars field's value. | [
"SetReplaceChars",
"sets",
"the",
"ReplaceChars",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L10689-L10692 |
1,832 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetReplaceInvalidChars | func (s *RedshiftSettings) SetReplaceInvalidChars(v string) *RedshiftSettings {
s.ReplaceInvalidChars = &v
return s
} | go | func (s *RedshiftSettings) SetReplaceInvalidChars(v string) *RedshiftSettings {
s.ReplaceInvalidChars = &v
return s
} | [
"func",
"(",
"s",
"*",
"RedshiftSettings",
")",
"SetReplaceInvalidChars",
"(",
"v",
"string",
")",
"*",
"RedshiftSettings",
"{",
"s",
".",
"ReplaceInvalidChars",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetReplaceInvalidChars sets the ReplaceInvalidChars field's value. | [
"SetReplaceInvalidChars",
"sets",
"the",
"ReplaceInvalidChars",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L10695-L10698 |
1,833 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetTimeFormat | func (s *RedshiftSettings) SetTimeFormat(v string) *RedshiftSettings {
s.TimeFormat = &v
return s
} | go | func (s *RedshiftSettings) SetTimeFormat(v string) *RedshiftSettings {
s.TimeFormat = &v
return s
} | [
"func",
"(",
"s",
"*",
"RedshiftSettings",
")",
"SetTimeFormat",
"(",
"v",
"string",
")",
"*",
"RedshiftSettings",
"{",
"s",
".",
"TimeFormat",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetTimeFormat sets the TimeFormat field's value. | [
"SetTimeFormat",
"sets",
"the",
"TimeFormat",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L10719-L10722 |
1,834 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetTrimBlanks | func (s *RedshiftSettings) SetTrimBlanks(v bool) *RedshiftSettings {
s.TrimBlanks = &v
return s
} | go | func (s *RedshiftSettings) SetTrimBlanks(v bool) *RedshiftSettings {
s.TrimBlanks = &v
return s
} | [
"func",
"(",
"s",
"*",
"RedshiftSettings",
")",
"SetTrimBlanks",
"(",
"v",
"bool",
")",
"*",
"RedshiftSettings",
"{",
"s",
".",
"TrimBlanks",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetTrimBlanks sets the TrimBlanks field's value. | [
"SetTrimBlanks",
"sets",
"the",
"TrimBlanks",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L10725-L10728 |
1,835 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetTruncateColumns | func (s *RedshiftSettings) SetTruncateColumns(v bool) *RedshiftSettings {
s.TruncateColumns = &v
return s
} | go | func (s *RedshiftSettings) SetTruncateColumns(v bool) *RedshiftSettings {
s.TruncateColumns = &v
return s
} | [
"func",
"(",
"s",
"*",
"RedshiftSettings",
")",
"SetTruncateColumns",
"(",
"v",
"bool",
")",
"*",
"RedshiftSettings",
"{",
"s",
".",
"TruncateColumns",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetTruncateColumns sets the TruncateColumns field's value. | [
"SetTruncateColumns",
"sets",
"the",
"TruncateColumns",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L10731-L10734 |
1,836 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetWriteBufferSize | func (s *RedshiftSettings) SetWriteBufferSize(v int64) *RedshiftSettings {
s.WriteBufferSize = &v
return s
} | go | func (s *RedshiftSettings) SetWriteBufferSize(v int64) *RedshiftSettings {
s.WriteBufferSize = &v
return s
} | [
"func",
"(",
"s",
"*",
"RedshiftSettings",
")",
"SetWriteBufferSize",
"(",
"v",
"int64",
")",
"*",
"RedshiftSettings",
"{",
"s",
".",
"WriteBufferSize",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetWriteBufferSize sets the WriteBufferSize field's value. | [
"SetWriteBufferSize",
"sets",
"the",
"WriteBufferSize",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L10743-L10746 |
1,837 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetLastRefreshDate | func (s *RefreshSchemasStatus) SetLastRefreshDate(v time.Time) *RefreshSchemasStatus {
s.LastRefreshDate = &v
return s
} | go | func (s *RefreshSchemasStatus) SetLastRefreshDate(v time.Time) *RefreshSchemasStatus {
s.LastRefreshDate = &v
return s
} | [
"func",
"(",
"s",
"*",
"RefreshSchemasStatus",
")",
"SetLastRefreshDate",
"(",
"v",
"time",
".",
"Time",
")",
"*",
"RefreshSchemasStatus",
"{",
"s",
".",
"LastRefreshDate",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetLastRefreshDate sets the LastRefreshDate field's value. | [
"SetLastRefreshDate",
"sets",
"the",
"LastRefreshDate",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L10865-L10868 |
1,838 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetReloadOption | func (s *ReloadTablesInput) SetReloadOption(v string) *ReloadTablesInput {
s.ReloadOption = &v
return s
} | go | func (s *ReloadTablesInput) SetReloadOption(v string) *ReloadTablesInput {
s.ReloadOption = &v
return s
} | [
"func",
"(",
"s",
"*",
"ReloadTablesInput",
")",
"SetReloadOption",
"(",
"v",
"string",
")",
"*",
"ReloadTablesInput",
"{",
"s",
".",
"ReloadOption",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetReloadOption sets the ReloadOption field's value. | [
"SetReloadOption",
"sets",
"the",
"ReloadOption",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L10932-L10935 |
1,839 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetTablesToReload | func (s *ReloadTablesInput) SetTablesToReload(v []*TableToReload) *ReloadTablesInput {
s.TablesToReload = v
return s
} | go | func (s *ReloadTablesInput) SetTablesToReload(v []*TableToReload) *ReloadTablesInput {
s.TablesToReload = v
return s
} | [
"func",
"(",
"s",
"*",
"ReloadTablesInput",
")",
"SetTablesToReload",
"(",
"v",
"[",
"]",
"*",
"TableToReload",
")",
"*",
"ReloadTablesInput",
"{",
"s",
".",
"TablesToReload",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetTablesToReload sets the TablesToReload field's value. | [
"SetTablesToReload",
"sets",
"the",
"TablesToReload",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L10944-L10947 |
1,840 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetFreeUntil | func (s *ReplicationInstance) SetFreeUntil(v time.Time) *ReplicationInstance {
s.FreeUntil = &v
return s
} | go | func (s *ReplicationInstance) SetFreeUntil(v time.Time) *ReplicationInstance {
s.FreeUntil = &v
return s
} | [
"func",
"(",
"s",
"*",
"ReplicationInstance",
")",
"SetFreeUntil",
"(",
"v",
"time",
".",
"Time",
")",
"*",
"ReplicationInstance",
"{",
"s",
".",
"FreeUntil",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetFreeUntil sets the FreeUntil field's value. | [
"SetFreeUntil",
"sets",
"the",
"FreeUntil",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L11181-L11184 |
1,841 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetReplicationInstancePrivateIpAddress | func (s *ReplicationInstance) SetReplicationInstancePrivateIpAddress(v string) *ReplicationInstance {
s.ReplicationInstancePrivateIpAddress = &v
return s
} | go | func (s *ReplicationInstance) SetReplicationInstancePrivateIpAddress(v string) *ReplicationInstance {
s.ReplicationInstancePrivateIpAddress = &v
return s
} | [
"func",
"(",
"s",
"*",
"ReplicationInstance",
")",
"SetReplicationInstancePrivateIpAddress",
"(",
"v",
"string",
")",
"*",
"ReplicationInstance",
"{",
"s",
".",
"ReplicationInstancePrivateIpAddress",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetReplicationInstancePrivateIpAddress sets the ReplicationInstancePrivateIpAddress field's value. | [
"SetReplicationInstancePrivateIpAddress",
"sets",
"the",
"ReplicationInstancePrivateIpAddress",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L11241-L11244 |
1,842 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetReplicationInstancePrivateIpAddresses | func (s *ReplicationInstance) SetReplicationInstancePrivateIpAddresses(v []*string) *ReplicationInstance {
s.ReplicationInstancePrivateIpAddresses = v
return s
} | go | func (s *ReplicationInstance) SetReplicationInstancePrivateIpAddresses(v []*string) *ReplicationInstance {
s.ReplicationInstancePrivateIpAddresses = v
return s
} | [
"func",
"(",
"s",
"*",
"ReplicationInstance",
")",
"SetReplicationInstancePrivateIpAddresses",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"ReplicationInstance",
"{",
"s",
".",
"ReplicationInstancePrivateIpAddresses",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetReplicationInstancePrivateIpAddresses sets the ReplicationInstancePrivateIpAddresses field's value. | [
"SetReplicationInstancePrivateIpAddresses",
"sets",
"the",
"ReplicationInstancePrivateIpAddresses",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L11247-L11250 |
1,843 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetReplicationInstancePublicIpAddress | func (s *ReplicationInstance) SetReplicationInstancePublicIpAddress(v string) *ReplicationInstance {
s.ReplicationInstancePublicIpAddress = &v
return s
} | go | func (s *ReplicationInstance) SetReplicationInstancePublicIpAddress(v string) *ReplicationInstance {
s.ReplicationInstancePublicIpAddress = &v
return s
} | [
"func",
"(",
"s",
"*",
"ReplicationInstance",
")",
"SetReplicationInstancePublicIpAddress",
"(",
"v",
"string",
")",
"*",
"ReplicationInstance",
"{",
"s",
".",
"ReplicationInstancePublicIpAddress",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetReplicationInstancePublicIpAddress sets the ReplicationInstancePublicIpAddress field's value. | [
"SetReplicationInstancePublicIpAddress",
"sets",
"the",
"ReplicationInstancePublicIpAddress",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L11253-L11256 |
1,844 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetReplicationInstancePublicIpAddresses | func (s *ReplicationInstance) SetReplicationInstancePublicIpAddresses(v []*string) *ReplicationInstance {
s.ReplicationInstancePublicIpAddresses = v
return s
} | go | func (s *ReplicationInstance) SetReplicationInstancePublicIpAddresses(v []*string) *ReplicationInstance {
s.ReplicationInstancePublicIpAddresses = v
return s
} | [
"func",
"(",
"s",
"*",
"ReplicationInstance",
")",
"SetReplicationInstancePublicIpAddresses",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"ReplicationInstance",
"{",
"s",
".",
"ReplicationInstancePublicIpAddresses",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetReplicationInstancePublicIpAddresses sets the ReplicationInstancePublicIpAddresses field's value. | [
"SetReplicationInstancePublicIpAddresses",
"sets",
"the",
"ReplicationInstancePublicIpAddresses",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L11259-L11262 |
1,845 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetReplicationInstanceStatus | func (s *ReplicationInstance) SetReplicationInstanceStatus(v string) *ReplicationInstance {
s.ReplicationInstanceStatus = &v
return s
} | go | func (s *ReplicationInstance) SetReplicationInstanceStatus(v string) *ReplicationInstance {
s.ReplicationInstanceStatus = &v
return s
} | [
"func",
"(",
"s",
"*",
"ReplicationInstance",
")",
"SetReplicationInstanceStatus",
"(",
"v",
"string",
")",
"*",
"ReplicationInstance",
"{",
"s",
".",
"ReplicationInstanceStatus",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetReplicationInstanceStatus sets the ReplicationInstanceStatus field's value. | [
"SetReplicationInstanceStatus",
"sets",
"the",
"ReplicationInstanceStatus",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L11265-L11268 |
1,846 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetReplicationInstanceTaskLogSize | func (s *ReplicationInstanceTaskLog) SetReplicationInstanceTaskLogSize(v int64) *ReplicationInstanceTaskLog {
s.ReplicationInstanceTaskLogSize = &v
return s
} | go | func (s *ReplicationInstanceTaskLog) SetReplicationInstanceTaskLogSize(v int64) *ReplicationInstanceTaskLog {
s.ReplicationInstanceTaskLogSize = &v
return s
} | [
"func",
"(",
"s",
"*",
"ReplicationInstanceTaskLog",
")",
"SetReplicationInstanceTaskLogSize",
"(",
"v",
"int64",
")",
"*",
"ReplicationInstanceTaskLog",
"{",
"s",
".",
"ReplicationInstanceTaskLogSize",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetReplicationInstanceTaskLogSize sets the ReplicationInstanceTaskLogSize field's value. | [
"SetReplicationInstanceTaskLogSize",
"sets",
"the",
"ReplicationInstanceTaskLogSize",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L11313-L11316 |
1,847 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetReplicationTaskName | func (s *ReplicationInstanceTaskLog) SetReplicationTaskName(v string) *ReplicationInstanceTaskLog {
s.ReplicationTaskName = &v
return s
} | go | func (s *ReplicationInstanceTaskLog) SetReplicationTaskName(v string) *ReplicationInstanceTaskLog {
s.ReplicationTaskName = &v
return s
} | [
"func",
"(",
"s",
"*",
"ReplicationInstanceTaskLog",
")",
"SetReplicationTaskName",
"(",
"v",
"string",
")",
"*",
"ReplicationInstanceTaskLog",
"{",
"s",
".",
"ReplicationTaskName",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetReplicationTaskName sets the ReplicationTaskName field's value. | [
"SetReplicationTaskName",
"sets",
"the",
"ReplicationTaskName",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L11325-L11328 |
1,848 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetRecoveryCheckpoint | func (s *ReplicationTask) SetRecoveryCheckpoint(v string) *ReplicationTask {
s.RecoveryCheckpoint = &v
return s
} | go | func (s *ReplicationTask) SetRecoveryCheckpoint(v string) *ReplicationTask {
s.RecoveryCheckpoint = &v
return s
} | [
"func",
"(",
"s",
"*",
"ReplicationTask",
")",
"SetRecoveryCheckpoint",
"(",
"v",
"string",
")",
"*",
"ReplicationTask",
"{",
"s",
".",
"RecoveryCheckpoint",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetRecoveryCheckpoint sets the RecoveryCheckpoint field's value. | [
"SetRecoveryCheckpoint",
"sets",
"the",
"RecoveryCheckpoint",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L11561-L11564 |
1,849 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetReplicationTaskCreationDate | func (s *ReplicationTask) SetReplicationTaskCreationDate(v time.Time) *ReplicationTask {
s.ReplicationTaskCreationDate = &v
return s
} | go | func (s *ReplicationTask) SetReplicationTaskCreationDate(v time.Time) *ReplicationTask {
s.ReplicationTaskCreationDate = &v
return s
} | [
"func",
"(",
"s",
"*",
"ReplicationTask",
")",
"SetReplicationTaskCreationDate",
"(",
"v",
"time",
".",
"Time",
")",
"*",
"ReplicationTask",
"{",
"s",
".",
"ReplicationTaskCreationDate",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetReplicationTaskCreationDate sets the ReplicationTaskCreationDate field's value. | [
"SetReplicationTaskCreationDate",
"sets",
"the",
"ReplicationTaskCreationDate",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L11579-L11582 |
1,850 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetReplicationTaskStartDate | func (s *ReplicationTask) SetReplicationTaskStartDate(v time.Time) *ReplicationTask {
s.ReplicationTaskStartDate = &v
return s
} | go | func (s *ReplicationTask) SetReplicationTaskStartDate(v time.Time) *ReplicationTask {
s.ReplicationTaskStartDate = &v
return s
} | [
"func",
"(",
"s",
"*",
"ReplicationTask",
")",
"SetReplicationTaskStartDate",
"(",
"v",
"time",
".",
"Time",
")",
"*",
"ReplicationTask",
"{",
"s",
".",
"ReplicationTaskStartDate",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetReplicationTaskStartDate sets the ReplicationTaskStartDate field's value. | [
"SetReplicationTaskStartDate",
"sets",
"the",
"ReplicationTaskStartDate",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L11597-L11600 |
1,851 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetReplicationTaskStats | func (s *ReplicationTask) SetReplicationTaskStats(v *ReplicationTaskStats) *ReplicationTask {
s.ReplicationTaskStats = v
return s
} | go | func (s *ReplicationTask) SetReplicationTaskStats(v *ReplicationTaskStats) *ReplicationTask {
s.ReplicationTaskStats = v
return s
} | [
"func",
"(",
"s",
"*",
"ReplicationTask",
")",
"SetReplicationTaskStats",
"(",
"v",
"*",
"ReplicationTaskStats",
")",
"*",
"ReplicationTask",
"{",
"s",
".",
"ReplicationTaskStats",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetReplicationTaskStats sets the ReplicationTaskStats field's value. | [
"SetReplicationTaskStats",
"sets",
"the",
"ReplicationTaskStats",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L11603-L11606 |
1,852 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetStopReason | func (s *ReplicationTask) SetStopReason(v string) *ReplicationTask {
s.StopReason = &v
return s
} | go | func (s *ReplicationTask) SetStopReason(v string) *ReplicationTask {
s.StopReason = &v
return s
} | [
"func",
"(",
"s",
"*",
"ReplicationTask",
")",
"SetStopReason",
"(",
"v",
"string",
")",
"*",
"ReplicationTask",
"{",
"s",
".",
"StopReason",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetStopReason sets the StopReason field's value. | [
"SetStopReason",
"sets",
"the",
"StopReason",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L11621-L11624 |
1,853 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetAssessmentResults | func (s *ReplicationTaskAssessmentResult) SetAssessmentResults(v string) *ReplicationTaskAssessmentResult {
s.AssessmentResults = &v
return s
} | go | func (s *ReplicationTaskAssessmentResult) SetAssessmentResults(v string) *ReplicationTaskAssessmentResult {
s.AssessmentResults = &v
return s
} | [
"func",
"(",
"s",
"*",
"ReplicationTaskAssessmentResult",
")",
"SetAssessmentResults",
"(",
"v",
"string",
")",
"*",
"ReplicationTaskAssessmentResult",
"{",
"s",
".",
"AssessmentResults",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAssessmentResults sets the AssessmentResults field's value. | [
"SetAssessmentResults",
"sets",
"the",
"AssessmentResults",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L11676-L11679 |
1,854 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetAssessmentResultsFile | func (s *ReplicationTaskAssessmentResult) SetAssessmentResultsFile(v string) *ReplicationTaskAssessmentResult {
s.AssessmentResultsFile = &v
return s
} | go | func (s *ReplicationTaskAssessmentResult) SetAssessmentResultsFile(v string) *ReplicationTaskAssessmentResult {
s.AssessmentResultsFile = &v
return s
} | [
"func",
"(",
"s",
"*",
"ReplicationTaskAssessmentResult",
")",
"SetAssessmentResultsFile",
"(",
"v",
"string",
")",
"*",
"ReplicationTaskAssessmentResult",
"{",
"s",
".",
"AssessmentResultsFile",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAssessmentResultsFile sets the AssessmentResultsFile field's value. | [
"SetAssessmentResultsFile",
"sets",
"the",
"AssessmentResultsFile",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L11682-L11685 |
1,855 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetAssessmentStatus | func (s *ReplicationTaskAssessmentResult) SetAssessmentStatus(v string) *ReplicationTaskAssessmentResult {
s.AssessmentStatus = &v
return s
} | go | func (s *ReplicationTaskAssessmentResult) SetAssessmentStatus(v string) *ReplicationTaskAssessmentResult {
s.AssessmentStatus = &v
return s
} | [
"func",
"(",
"s",
"*",
"ReplicationTaskAssessmentResult",
")",
"SetAssessmentStatus",
"(",
"v",
"string",
")",
"*",
"ReplicationTaskAssessmentResult",
"{",
"s",
".",
"AssessmentStatus",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAssessmentStatus sets the AssessmentStatus field's value. | [
"SetAssessmentStatus",
"sets",
"the",
"AssessmentStatus",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L11688-L11691 |
1,856 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetReplicationTaskLastAssessmentDate | func (s *ReplicationTaskAssessmentResult) SetReplicationTaskLastAssessmentDate(v time.Time) *ReplicationTaskAssessmentResult {
s.ReplicationTaskLastAssessmentDate = &v
return s
} | go | func (s *ReplicationTaskAssessmentResult) SetReplicationTaskLastAssessmentDate(v time.Time) *ReplicationTaskAssessmentResult {
s.ReplicationTaskLastAssessmentDate = &v
return s
} | [
"func",
"(",
"s",
"*",
"ReplicationTaskAssessmentResult",
")",
"SetReplicationTaskLastAssessmentDate",
"(",
"v",
"time",
".",
"Time",
")",
"*",
"ReplicationTaskAssessmentResult",
"{",
"s",
".",
"ReplicationTaskLastAssessmentDate",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetReplicationTaskLastAssessmentDate sets the ReplicationTaskLastAssessmentDate field's value. | [
"SetReplicationTaskLastAssessmentDate",
"sets",
"the",
"ReplicationTaskLastAssessmentDate",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L11706-L11709 |
1,857 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetS3ObjectUrl | func (s *ReplicationTaskAssessmentResult) SetS3ObjectUrl(v string) *ReplicationTaskAssessmentResult {
s.S3ObjectUrl = &v
return s
} | go | func (s *ReplicationTaskAssessmentResult) SetS3ObjectUrl(v string) *ReplicationTaskAssessmentResult {
s.S3ObjectUrl = &v
return s
} | [
"func",
"(",
"s",
"*",
"ReplicationTaskAssessmentResult",
")",
"SetS3ObjectUrl",
"(",
"v",
"string",
")",
"*",
"ReplicationTaskAssessmentResult",
"{",
"s",
".",
"S3ObjectUrl",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetS3ObjectUrl sets the S3ObjectUrl field's value. | [
"SetS3ObjectUrl",
"sets",
"the",
"S3ObjectUrl",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L11712-L11715 |
1,858 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetElapsedTimeMillis | func (s *ReplicationTaskStats) SetElapsedTimeMillis(v int64) *ReplicationTaskStats {
s.ElapsedTimeMillis = &v
return s
} | go | func (s *ReplicationTaskStats) SetElapsedTimeMillis(v int64) *ReplicationTaskStats {
s.ElapsedTimeMillis = &v
return s
} | [
"func",
"(",
"s",
"*",
"ReplicationTaskStats",
")",
"SetElapsedTimeMillis",
"(",
"v",
"int64",
")",
"*",
"ReplicationTaskStats",
"{",
"s",
".",
"ElapsedTimeMillis",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetElapsedTimeMillis sets the ElapsedTimeMillis field's value. | [
"SetElapsedTimeMillis",
"sets",
"the",
"ElapsedTimeMillis",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L11750-L11753 |
1,859 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetFullLoadProgressPercent | func (s *ReplicationTaskStats) SetFullLoadProgressPercent(v int64) *ReplicationTaskStats {
s.FullLoadProgressPercent = &v
return s
} | go | func (s *ReplicationTaskStats) SetFullLoadProgressPercent(v int64) *ReplicationTaskStats {
s.FullLoadProgressPercent = &v
return s
} | [
"func",
"(",
"s",
"*",
"ReplicationTaskStats",
")",
"SetFullLoadProgressPercent",
"(",
"v",
"int64",
")",
"*",
"ReplicationTaskStats",
"{",
"s",
".",
"FullLoadProgressPercent",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetFullLoadProgressPercent sets the FullLoadProgressPercent field's value. | [
"SetFullLoadProgressPercent",
"sets",
"the",
"FullLoadProgressPercent",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L11756-L11759 |
1,860 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetTablesErrored | func (s *ReplicationTaskStats) SetTablesErrored(v int64) *ReplicationTaskStats {
s.TablesErrored = &v
return s
} | go | func (s *ReplicationTaskStats) SetTablesErrored(v int64) *ReplicationTaskStats {
s.TablesErrored = &v
return s
} | [
"func",
"(",
"s",
"*",
"ReplicationTaskStats",
")",
"SetTablesErrored",
"(",
"v",
"int64",
")",
"*",
"ReplicationTaskStats",
"{",
"s",
".",
"TablesErrored",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetTablesErrored sets the TablesErrored field's value. | [
"SetTablesErrored",
"sets",
"the",
"TablesErrored",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L11762-L11765 |
1,861 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetTablesLoaded | func (s *ReplicationTaskStats) SetTablesLoaded(v int64) *ReplicationTaskStats {
s.TablesLoaded = &v
return s
} | go | func (s *ReplicationTaskStats) SetTablesLoaded(v int64) *ReplicationTaskStats {
s.TablesLoaded = &v
return s
} | [
"func",
"(",
"s",
"*",
"ReplicationTaskStats",
")",
"SetTablesLoaded",
"(",
"v",
"int64",
")",
"*",
"ReplicationTaskStats",
"{",
"s",
".",
"TablesLoaded",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetTablesLoaded sets the TablesLoaded field's value. | [
"SetTablesLoaded",
"sets",
"the",
"TablesLoaded",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L11768-L11771 |
1,862 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetTablesLoading | func (s *ReplicationTaskStats) SetTablesLoading(v int64) *ReplicationTaskStats {
s.TablesLoading = &v
return s
} | go | func (s *ReplicationTaskStats) SetTablesLoading(v int64) *ReplicationTaskStats {
s.TablesLoading = &v
return s
} | [
"func",
"(",
"s",
"*",
"ReplicationTaskStats",
")",
"SetTablesLoading",
"(",
"v",
"int64",
")",
"*",
"ReplicationTaskStats",
"{",
"s",
".",
"TablesLoading",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetTablesLoading sets the TablesLoading field's value. | [
"SetTablesLoading",
"sets",
"the",
"TablesLoading",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L11774-L11777 |
1,863 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetTablesQueued | func (s *ReplicationTaskStats) SetTablesQueued(v int64) *ReplicationTaskStats {
s.TablesQueued = &v
return s
} | go | func (s *ReplicationTaskStats) SetTablesQueued(v int64) *ReplicationTaskStats {
s.TablesQueued = &v
return s
} | [
"func",
"(",
"s",
"*",
"ReplicationTaskStats",
")",
"SetTablesQueued",
"(",
"v",
"int64",
")",
"*",
"ReplicationTaskStats",
"{",
"s",
".",
"TablesQueued",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetTablesQueued sets the TablesQueued field's value. | [
"SetTablesQueued",
"sets",
"the",
"TablesQueued",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L11780-L11783 |
1,864 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetCdcInsertsOnly | func (s *S3Settings) SetCdcInsertsOnly(v bool) *S3Settings {
s.CdcInsertsOnly = &v
return s
} | go | func (s *S3Settings) SetCdcInsertsOnly(v bool) *S3Settings {
s.CdcInsertsOnly = &v
return s
} | [
"func",
"(",
"s",
"*",
"S3Settings",
")",
"SetCdcInsertsOnly",
"(",
"v",
"bool",
")",
"*",
"S3Settings",
"{",
"s",
".",
"CdcInsertsOnly",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetCdcInsertsOnly sets the CdcInsertsOnly field's value. | [
"SetCdcInsertsOnly",
"sets",
"the",
"CdcInsertsOnly",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L11968-L11971 |
1,865 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetCsvDelimiter | func (s *S3Settings) SetCsvDelimiter(v string) *S3Settings {
s.CsvDelimiter = &v
return s
} | go | func (s *S3Settings) SetCsvDelimiter(v string) *S3Settings {
s.CsvDelimiter = &v
return s
} | [
"func",
"(",
"s",
"*",
"S3Settings",
")",
"SetCsvDelimiter",
"(",
"v",
"string",
")",
"*",
"S3Settings",
"{",
"s",
".",
"CsvDelimiter",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetCsvDelimiter sets the CsvDelimiter field's value. | [
"SetCsvDelimiter",
"sets",
"the",
"CsvDelimiter",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L11980-L11983 |
1,866 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetCsvRowDelimiter | func (s *S3Settings) SetCsvRowDelimiter(v string) *S3Settings {
s.CsvRowDelimiter = &v
return s
} | go | func (s *S3Settings) SetCsvRowDelimiter(v string) *S3Settings {
s.CsvRowDelimiter = &v
return s
} | [
"func",
"(",
"s",
"*",
"S3Settings",
")",
"SetCsvRowDelimiter",
"(",
"v",
"string",
")",
"*",
"S3Settings",
"{",
"s",
".",
"CsvRowDelimiter",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetCsvRowDelimiter sets the CsvRowDelimiter field's value. | [
"SetCsvRowDelimiter",
"sets",
"the",
"CsvRowDelimiter",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L11986-L11989 |
1,867 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetDataFormat | func (s *S3Settings) SetDataFormat(v string) *S3Settings {
s.DataFormat = &v
return s
} | go | func (s *S3Settings) SetDataFormat(v string) *S3Settings {
s.DataFormat = &v
return s
} | [
"func",
"(",
"s",
"*",
"S3Settings",
")",
"SetDataFormat",
"(",
"v",
"string",
")",
"*",
"S3Settings",
"{",
"s",
".",
"DataFormat",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDataFormat sets the DataFormat field's value. | [
"SetDataFormat",
"sets",
"the",
"DataFormat",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L11992-L11995 |
1,868 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetDataPageSize | func (s *S3Settings) SetDataPageSize(v int64) *S3Settings {
s.DataPageSize = &v
return s
} | go | func (s *S3Settings) SetDataPageSize(v int64) *S3Settings {
s.DataPageSize = &v
return s
} | [
"func",
"(",
"s",
"*",
"S3Settings",
")",
"SetDataPageSize",
"(",
"v",
"int64",
")",
"*",
"S3Settings",
"{",
"s",
".",
"DataPageSize",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDataPageSize sets the DataPageSize field's value. | [
"SetDataPageSize",
"sets",
"the",
"DataPageSize",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L11998-L12001 |
1,869 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetDictPageSizeLimit | func (s *S3Settings) SetDictPageSizeLimit(v int64) *S3Settings {
s.DictPageSizeLimit = &v
return s
} | go | func (s *S3Settings) SetDictPageSizeLimit(v int64) *S3Settings {
s.DictPageSizeLimit = &v
return s
} | [
"func",
"(",
"s",
"*",
"S3Settings",
")",
"SetDictPageSizeLimit",
"(",
"v",
"int64",
")",
"*",
"S3Settings",
"{",
"s",
".",
"DictPageSizeLimit",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDictPageSizeLimit sets the DictPageSizeLimit field's value. | [
"SetDictPageSizeLimit",
"sets",
"the",
"DictPageSizeLimit",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L12004-L12007 |
1,870 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetEnableStatistics | func (s *S3Settings) SetEnableStatistics(v bool) *S3Settings {
s.EnableStatistics = &v
return s
} | go | func (s *S3Settings) SetEnableStatistics(v bool) *S3Settings {
s.EnableStatistics = &v
return s
} | [
"func",
"(",
"s",
"*",
"S3Settings",
")",
"SetEnableStatistics",
"(",
"v",
"bool",
")",
"*",
"S3Settings",
"{",
"s",
".",
"EnableStatistics",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetEnableStatistics sets the EnableStatistics field's value. | [
"SetEnableStatistics",
"sets",
"the",
"EnableStatistics",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L12010-L12013 |
1,871 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetParquetVersion | func (s *S3Settings) SetParquetVersion(v string) *S3Settings {
s.ParquetVersion = &v
return s
} | go | func (s *S3Settings) SetParquetVersion(v string) *S3Settings {
s.ParquetVersion = &v
return s
} | [
"func",
"(",
"s",
"*",
"S3Settings",
")",
"SetParquetVersion",
"(",
"v",
"string",
")",
"*",
"S3Settings",
"{",
"s",
".",
"ParquetVersion",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetParquetVersion sets the ParquetVersion field's value. | [
"SetParquetVersion",
"sets",
"the",
"ParquetVersion",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L12034-L12037 |
1,872 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetRowGroupLength | func (s *S3Settings) SetRowGroupLength(v int64) *S3Settings {
s.RowGroupLength = &v
return s
} | go | func (s *S3Settings) SetRowGroupLength(v int64) *S3Settings {
s.RowGroupLength = &v
return s
} | [
"func",
"(",
"s",
"*",
"S3Settings",
")",
"SetRowGroupLength",
"(",
"v",
"int64",
")",
"*",
"S3Settings",
"{",
"s",
".",
"RowGroupLength",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetRowGroupLength sets the RowGroupLength field's value. | [
"SetRowGroupLength",
"sets",
"the",
"RowGroupLength",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L12040-L12043 |
1,873 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetStartReplicationTaskType | func (s *StartReplicationTaskInput) SetStartReplicationTaskType(v string) *StartReplicationTaskInput {
s.StartReplicationTaskType = &v
return s
} | go | func (s *StartReplicationTaskInput) SetStartReplicationTaskType(v string) *StartReplicationTaskInput {
s.StartReplicationTaskType = &v
return s
} | [
"func",
"(",
"s",
"*",
"StartReplicationTaskInput",
")",
"SetStartReplicationTaskType",
"(",
"v",
"string",
")",
"*",
"StartReplicationTaskInput",
"{",
"s",
".",
"StartReplicationTaskType",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetStartReplicationTaskType sets the StartReplicationTaskType field's value. | [
"SetStartReplicationTaskType",
"sets",
"the",
"StartReplicationTaskType",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L12212-L12215 |
1,874 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetSupportsCDC | func (s *SupportedEndpointType) SetSupportsCDC(v bool) *SupportedEndpointType {
s.SupportsCDC = &v
return s
} | go | func (s *SupportedEndpointType) SetSupportsCDC(v bool) *SupportedEndpointType {
s.SupportsCDC = &v
return s
} | [
"func",
"(",
"s",
"*",
"SupportedEndpointType",
")",
"SetSupportsCDC",
"(",
"v",
"bool",
")",
"*",
"SupportedEndpointType",
"{",
"s",
".",
"SupportsCDC",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetSupportsCDC sets the SupportsCDC field's value. | [
"SetSupportsCDC",
"sets",
"the",
"SupportsCDC",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L12390-L12393 |
1,875 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetDdls | func (s *TableStatistics) SetDdls(v int64) *TableStatistics {
s.Ddls = &v
return s
} | go | func (s *TableStatistics) SetDdls(v int64) *TableStatistics {
s.Ddls = &v
return s
} | [
"func",
"(",
"s",
"*",
"TableStatistics",
")",
"SetDdls",
"(",
"v",
"int64",
")",
"*",
"TableStatistics",
"{",
"s",
".",
"Ddls",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDdls sets the Ddls field's value. | [
"SetDdls",
"sets",
"the",
"Ddls",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L12488-L12491 |
1,876 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetFullLoadCondtnlChkFailedRows | func (s *TableStatistics) SetFullLoadCondtnlChkFailedRows(v int64) *TableStatistics {
s.FullLoadCondtnlChkFailedRows = &v
return s
} | go | func (s *TableStatistics) SetFullLoadCondtnlChkFailedRows(v int64) *TableStatistics {
s.FullLoadCondtnlChkFailedRows = &v
return s
} | [
"func",
"(",
"s",
"*",
"TableStatistics",
")",
"SetFullLoadCondtnlChkFailedRows",
"(",
"v",
"int64",
")",
"*",
"TableStatistics",
"{",
"s",
".",
"FullLoadCondtnlChkFailedRows",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetFullLoadCondtnlChkFailedRows sets the FullLoadCondtnlChkFailedRows field's value. | [
"SetFullLoadCondtnlChkFailedRows",
"sets",
"the",
"FullLoadCondtnlChkFailedRows",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L12500-L12503 |
1,877 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetFullLoadErrorRows | func (s *TableStatistics) SetFullLoadErrorRows(v int64) *TableStatistics {
s.FullLoadErrorRows = &v
return s
} | go | func (s *TableStatistics) SetFullLoadErrorRows(v int64) *TableStatistics {
s.FullLoadErrorRows = &v
return s
} | [
"func",
"(",
"s",
"*",
"TableStatistics",
")",
"SetFullLoadErrorRows",
"(",
"v",
"int64",
")",
"*",
"TableStatistics",
"{",
"s",
".",
"FullLoadErrorRows",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetFullLoadErrorRows sets the FullLoadErrorRows field's value. | [
"SetFullLoadErrorRows",
"sets",
"the",
"FullLoadErrorRows",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L12506-L12509 |
1,878 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetFullLoadRows | func (s *TableStatistics) SetFullLoadRows(v int64) *TableStatistics {
s.FullLoadRows = &v
return s
} | go | func (s *TableStatistics) SetFullLoadRows(v int64) *TableStatistics {
s.FullLoadRows = &v
return s
} | [
"func",
"(",
"s",
"*",
"TableStatistics",
")",
"SetFullLoadRows",
"(",
"v",
"int64",
")",
"*",
"TableStatistics",
"{",
"s",
".",
"FullLoadRows",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetFullLoadRows sets the FullLoadRows field's value. | [
"SetFullLoadRows",
"sets",
"the",
"FullLoadRows",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L12512-L12515 |
1,879 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetInserts | func (s *TableStatistics) SetInserts(v int64) *TableStatistics {
s.Inserts = &v
return s
} | go | func (s *TableStatistics) SetInserts(v int64) *TableStatistics {
s.Inserts = &v
return s
} | [
"func",
"(",
"s",
"*",
"TableStatistics",
")",
"SetInserts",
"(",
"v",
"int64",
")",
"*",
"TableStatistics",
"{",
"s",
".",
"Inserts",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetInserts sets the Inserts field's value. | [
"SetInserts",
"sets",
"the",
"Inserts",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L12518-L12521 |
1,880 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetTableState | func (s *TableStatistics) SetTableState(v string) *TableStatistics {
s.TableState = &v
return s
} | go | func (s *TableStatistics) SetTableState(v string) *TableStatistics {
s.TableState = &v
return s
} | [
"func",
"(",
"s",
"*",
"TableStatistics",
")",
"SetTableState",
"(",
"v",
"string",
")",
"*",
"TableStatistics",
"{",
"s",
".",
"TableState",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetTableState sets the TableState field's value. | [
"SetTableState",
"sets",
"the",
"TableState",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L12542-L12545 |
1,881 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetValidationFailedRecords | func (s *TableStatistics) SetValidationFailedRecords(v int64) *TableStatistics {
s.ValidationFailedRecords = &v
return s
} | go | func (s *TableStatistics) SetValidationFailedRecords(v int64) *TableStatistics {
s.ValidationFailedRecords = &v
return s
} | [
"func",
"(",
"s",
"*",
"TableStatistics",
")",
"SetValidationFailedRecords",
"(",
"v",
"int64",
")",
"*",
"TableStatistics",
"{",
"s",
".",
"ValidationFailedRecords",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetValidationFailedRecords sets the ValidationFailedRecords field's value. | [
"SetValidationFailedRecords",
"sets",
"the",
"ValidationFailedRecords",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L12554-L12557 |
1,882 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetValidationPendingRecords | func (s *TableStatistics) SetValidationPendingRecords(v int64) *TableStatistics {
s.ValidationPendingRecords = &v
return s
} | go | func (s *TableStatistics) SetValidationPendingRecords(v int64) *TableStatistics {
s.ValidationPendingRecords = &v
return s
} | [
"func",
"(",
"s",
"*",
"TableStatistics",
")",
"SetValidationPendingRecords",
"(",
"v",
"int64",
")",
"*",
"TableStatistics",
"{",
"s",
".",
"ValidationPendingRecords",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetValidationPendingRecords sets the ValidationPendingRecords field's value. | [
"SetValidationPendingRecords",
"sets",
"the",
"ValidationPendingRecords",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L12560-L12563 |
1,883 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetValidationState | func (s *TableStatistics) SetValidationState(v string) *TableStatistics {
s.ValidationState = &v
return s
} | go | func (s *TableStatistics) SetValidationState(v string) *TableStatistics {
s.ValidationState = &v
return s
} | [
"func",
"(",
"s",
"*",
"TableStatistics",
")",
"SetValidationState",
"(",
"v",
"string",
")",
"*",
"TableStatistics",
"{",
"s",
".",
"ValidationState",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetValidationState sets the ValidationState field's value. | [
"SetValidationState",
"sets",
"the",
"ValidationState",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L12566-L12569 |
1,884 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetValidationStateDetails | func (s *TableStatistics) SetValidationStateDetails(v string) *TableStatistics {
s.ValidationStateDetails = &v
return s
} | go | func (s *TableStatistics) SetValidationStateDetails(v string) *TableStatistics {
s.ValidationStateDetails = &v
return s
} | [
"func",
"(",
"s",
"*",
"TableStatistics",
")",
"SetValidationStateDetails",
"(",
"v",
"string",
")",
"*",
"TableStatistics",
"{",
"s",
".",
"ValidationStateDetails",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetValidationStateDetails sets the ValidationStateDetails field's value. | [
"SetValidationStateDetails",
"sets",
"the",
"ValidationStateDetails",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L12572-L12575 |
1,885 | aws/aws-sdk-go | service/databasemigrationservice/api.go | SetValidationSuspendedRecords | func (s *TableStatistics) SetValidationSuspendedRecords(v int64) *TableStatistics {
s.ValidationSuspendedRecords = &v
return s
} | go | func (s *TableStatistics) SetValidationSuspendedRecords(v int64) *TableStatistics {
s.ValidationSuspendedRecords = &v
return s
} | [
"func",
"(",
"s",
"*",
"TableStatistics",
")",
"SetValidationSuspendedRecords",
"(",
"v",
"int64",
")",
"*",
"TableStatistics",
"{",
"s",
".",
"ValidationSuspendedRecords",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetValidationSuspendedRecords sets the ValidationSuspendedRecords field's value. | [
"SetValidationSuspendedRecords",
"sets",
"the",
"ValidationSuspendedRecords",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/databasemigrationservice/api.go#L12578-L12581 |
1,886 | aws/aws-sdk-go | service/s3/s3crypto/aes_cbc.go | newAESCBC | func newAESCBC(cd CipherData, padder Padder) (Cipher, error) {
block, err := aes.NewCipher(cd.Key)
if err != nil {
return nil, err
}
encrypter := cipher.NewCBCEncrypter(block, cd.IV)
decrypter := cipher.NewCBCDecrypter(block, cd.IV)
return &aesCBC{encrypter, decrypter, padder}, nil
} | go | func newAESCBC(cd CipherData, padder Padder) (Cipher, error) {
block, err := aes.NewCipher(cd.Key)
if err != nil {
return nil, err
}
encrypter := cipher.NewCBCEncrypter(block, cd.IV)
decrypter := cipher.NewCBCDecrypter(block, cd.IV)
return &aesCBC{encrypter, decrypter, padder}, nil
} | [
"func",
"newAESCBC",
"(",
"cd",
"CipherData",
",",
"padder",
"Padder",
")",
"(",
"Cipher",
",",
"error",
")",
"{",
"block",
",",
"err",
":=",
"aes",
".",
"NewCipher",
"(",
"cd",
".",
"Key",
")",
"\n",
"if",
"err",
"!=",
"nil",
"{",
"return",
"nil",
",",
"err",
"\n",
"}",
"\n\n",
"encrypter",
":=",
"cipher",
".",
"NewCBCEncrypter",
"(",
"block",
",",
"cd",
".",
"IV",
")",
"\n",
"decrypter",
":=",
"cipher",
".",
"NewCBCDecrypter",
"(",
"block",
",",
"cd",
".",
"IV",
")",
"\n\n",
"return",
"&",
"aesCBC",
"{",
"encrypter",
",",
"decrypter",
",",
"padder",
"}",
",",
"nil",
"\n",
"}"
] | // newAESCBC creates a new AES CBC cipher. Expects keys to be of
// the correct size. | [
"newAESCBC",
"creates",
"a",
"new",
"AES",
"CBC",
"cipher",
".",
"Expects",
"keys",
"to",
"be",
"of",
"the",
"correct",
"size",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/s3/s3crypto/aes_cbc.go#L22-L32 |
1,887 | aws/aws-sdk-go | service/s3/s3crypto/aes_cbc.go | Encrypt | func (c *aesCBC) Encrypt(src io.Reader) io.Reader {
reader := &cbcEncryptReader{
encrypter: c.encrypter,
src: src,
padder: c.padder,
}
return reader
} | go | func (c *aesCBC) Encrypt(src io.Reader) io.Reader {
reader := &cbcEncryptReader{
encrypter: c.encrypter,
src: src,
padder: c.padder,
}
return reader
} | [
"func",
"(",
"c",
"*",
"aesCBC",
")",
"Encrypt",
"(",
"src",
"io",
".",
"Reader",
")",
"io",
".",
"Reader",
"{",
"reader",
":=",
"&",
"cbcEncryptReader",
"{",
"encrypter",
":",
"c",
".",
"encrypter",
",",
"src",
":",
"src",
",",
"padder",
":",
"c",
".",
"padder",
",",
"}",
"\n",
"return",
"reader",
"\n",
"}"
] | // Encrypt will encrypt the data using AES CBC by returning
// an io.Reader. The io.Reader will encrypt the data as Read
// is called. | [
"Encrypt",
"will",
"encrypt",
"the",
"data",
"using",
"AES",
"CBC",
"by",
"returning",
"an",
"io",
".",
"Reader",
".",
"The",
"io",
".",
"Reader",
"will",
"encrypt",
"the",
"data",
"as",
"Read",
"is",
"called",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/s3/s3crypto/aes_cbc.go#L37-L44 |
1,888 | aws/aws-sdk-go | service/s3/s3crypto/aes_cbc.go | Decrypt | func (c *aesCBC) Decrypt(src io.Reader) io.Reader {
return &cbcDecryptReader{
decrypter: c.decrypter,
src: src,
padder: c.padder,
}
} | go | func (c *aesCBC) Decrypt(src io.Reader) io.Reader {
return &cbcDecryptReader{
decrypter: c.decrypter,
src: src,
padder: c.padder,
}
} | [
"func",
"(",
"c",
"*",
"aesCBC",
")",
"Decrypt",
"(",
"src",
"io",
".",
"Reader",
")",
"io",
".",
"Reader",
"{",
"return",
"&",
"cbcDecryptReader",
"{",
"decrypter",
":",
"c",
".",
"decrypter",
",",
"src",
":",
"src",
",",
"padder",
":",
"c",
".",
"padder",
",",
"}",
"\n",
"}"
] | // Decrypt will decrypt the data using AES CBC | [
"Decrypt",
"will",
"decrypt",
"the",
"data",
"using",
"AES",
"CBC"
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/s3/s3crypto/aes_cbc.go#L107-L113 |
1,889 | aws/aws-sdk-go | service/s3/s3crypto/aes_cbc.go | Read | func (reader *cbcDecryptReader) Read(data []byte) (int, error) {
n, err := reader.src.Read(data)
blockSize := reader.decrypter.BlockSize()
reader.buf.Write(data[:n])
if err == io.EOF {
b := make([]byte, getSliceSize(blockSize, reader.buf.Len(), len(data)))
n, err = reader.buf.Read(b)
if err != nil && err != io.EOF {
return n, err
}
// We only want to decrypt if we have read anything
if n > 0 {
reader.decrypter.CryptBlocks(data, b)
}
if reader.buf.Len() == 0 {
b, err = reader.padder.Unpad(data[:n])
n = len(b)
if err != nil {
return n, err
}
err = io.EOF
}
return n, err
}
if err != nil {
return n, err
}
if size := reader.buf.Len(); size >= blockSize {
nBlocks := size / blockSize
if size > len(data) {
nBlocks = len(data) / blockSize
}
// The last block is always padded. This will allow us to unpad
// when we receive an io.EOF error
nBlocks -= blockSize
if nBlocks > 0 {
b := make([]byte, nBlocks*blockSize)
n, _ = reader.buf.Read(b)
reader.decrypter.CryptBlocks(data, b[:n])
} else {
n = 0
}
}
return n, nil
} | go | func (reader *cbcDecryptReader) Read(data []byte) (int, error) {
n, err := reader.src.Read(data)
blockSize := reader.decrypter.BlockSize()
reader.buf.Write(data[:n])
if err == io.EOF {
b := make([]byte, getSliceSize(blockSize, reader.buf.Len(), len(data)))
n, err = reader.buf.Read(b)
if err != nil && err != io.EOF {
return n, err
}
// We only want to decrypt if we have read anything
if n > 0 {
reader.decrypter.CryptBlocks(data, b)
}
if reader.buf.Len() == 0 {
b, err = reader.padder.Unpad(data[:n])
n = len(b)
if err != nil {
return n, err
}
err = io.EOF
}
return n, err
}
if err != nil {
return n, err
}
if size := reader.buf.Len(); size >= blockSize {
nBlocks := size / blockSize
if size > len(data) {
nBlocks = len(data) / blockSize
}
// The last block is always padded. This will allow us to unpad
// when we receive an io.EOF error
nBlocks -= blockSize
if nBlocks > 0 {
b := make([]byte, nBlocks*blockSize)
n, _ = reader.buf.Read(b)
reader.decrypter.CryptBlocks(data, b[:n])
} else {
n = 0
}
}
return n, nil
} | [
"func",
"(",
"reader",
"*",
"cbcDecryptReader",
")",
"Read",
"(",
"data",
"[",
"]",
"byte",
")",
"(",
"int",
",",
"error",
")",
"{",
"n",
",",
"err",
":=",
"reader",
".",
"src",
".",
"Read",
"(",
"data",
")",
"\n",
"blockSize",
":=",
"reader",
".",
"decrypter",
".",
"BlockSize",
"(",
")",
"\n",
"reader",
".",
"buf",
".",
"Write",
"(",
"data",
"[",
":",
"n",
"]",
")",
"\n\n",
"if",
"err",
"==",
"io",
".",
"EOF",
"{",
"b",
":=",
"make",
"(",
"[",
"]",
"byte",
",",
"getSliceSize",
"(",
"blockSize",
",",
"reader",
".",
"buf",
".",
"Len",
"(",
")",
",",
"len",
"(",
"data",
")",
")",
")",
"\n",
"n",
",",
"err",
"=",
"reader",
".",
"buf",
".",
"Read",
"(",
"b",
")",
"\n",
"if",
"err",
"!=",
"nil",
"&&",
"err",
"!=",
"io",
".",
"EOF",
"{",
"return",
"n",
",",
"err",
"\n",
"}",
"\n",
"// We only want to decrypt if we have read anything",
"if",
"n",
">",
"0",
"{",
"reader",
".",
"decrypter",
".",
"CryptBlocks",
"(",
"data",
",",
"b",
")",
"\n",
"}",
"\n\n",
"if",
"reader",
".",
"buf",
".",
"Len",
"(",
")",
"==",
"0",
"{",
"b",
",",
"err",
"=",
"reader",
".",
"padder",
".",
"Unpad",
"(",
"data",
"[",
":",
"n",
"]",
")",
"\n",
"n",
"=",
"len",
"(",
"b",
")",
"\n",
"if",
"err",
"!=",
"nil",
"{",
"return",
"n",
",",
"err",
"\n",
"}",
"\n",
"err",
"=",
"io",
".",
"EOF",
"\n",
"}",
"\n",
"return",
"n",
",",
"err",
"\n",
"}",
"\n\n",
"if",
"err",
"!=",
"nil",
"{",
"return",
"n",
",",
"err",
"\n",
"}",
"\n\n",
"if",
"size",
":=",
"reader",
".",
"buf",
".",
"Len",
"(",
")",
";",
"size",
">=",
"blockSize",
"{",
"nBlocks",
":=",
"size",
"/",
"blockSize",
"\n",
"if",
"size",
">",
"len",
"(",
"data",
")",
"{",
"nBlocks",
"=",
"len",
"(",
"data",
")",
"/",
"blockSize",
"\n",
"}",
"\n",
"// The last block is always padded. This will allow us to unpad",
"// when we receive an io.EOF error",
"nBlocks",
"-=",
"blockSize",
"\n\n",
"if",
"nBlocks",
">",
"0",
"{",
"b",
":=",
"make",
"(",
"[",
"]",
"byte",
",",
"nBlocks",
"*",
"blockSize",
")",
"\n",
"n",
",",
"_",
"=",
"reader",
".",
"buf",
".",
"Read",
"(",
"b",
")",
"\n",
"reader",
".",
"decrypter",
".",
"CryptBlocks",
"(",
"data",
",",
"b",
"[",
":",
"n",
"]",
")",
"\n",
"}",
"else",
"{",
"n",
"=",
"0",
"\n",
"}",
"\n",
"}",
"\n\n",
"return",
"n",
",",
"nil",
"\n",
"}"
] | // Read will read from our io.Reader and decrypt the data as necessary.
// Due to padding, we have to do some logic that when we encounter an
// end of file to pad properly. | [
"Read",
"will",
"read",
"from",
"our",
"io",
".",
"Reader",
"and",
"decrypt",
"the",
"data",
"as",
"necessary",
".",
"Due",
"to",
"padding",
"we",
"have",
"to",
"do",
"some",
"logic",
"that",
"when",
"we",
"encounter",
"an",
"end",
"of",
"file",
"to",
"pad",
"properly",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/s3/s3crypto/aes_cbc.go#L125-L175 |
1,890 | aws/aws-sdk-go | service/s3/s3crypto/aes_cbc.go | getSliceSize | func getSliceSize(blockSize, bufSize, dataSize int) int {
size := bufSize
if bufSize > dataSize {
size = dataSize
}
size = size - (size % blockSize) - blockSize
if size <= 0 {
size = blockSize
}
return size
} | go | func getSliceSize(blockSize, bufSize, dataSize int) int {
size := bufSize
if bufSize > dataSize {
size = dataSize
}
size = size - (size % blockSize) - blockSize
if size <= 0 {
size = blockSize
}
return size
} | [
"func",
"getSliceSize",
"(",
"blockSize",
",",
"bufSize",
",",
"dataSize",
"int",
")",
"int",
"{",
"size",
":=",
"bufSize",
"\n",
"if",
"bufSize",
">",
"dataSize",
"{",
"size",
"=",
"dataSize",
"\n",
"}",
"\n",
"size",
"=",
"size",
"-",
"(",
"size",
"%",
"blockSize",
")",
"-",
"blockSize",
"\n",
"if",
"size",
"<=",
"0",
"{",
"size",
"=",
"blockSize",
"\n",
"}",
"\n\n",
"return",
"size",
"\n",
"}"
] | // getSliceSize will return the correct amount of bytes we need to
// read with regards to padding. | [
"getSliceSize",
"will",
"return",
"the",
"correct",
"amount",
"of",
"bytes",
"we",
"need",
"to",
"read",
"with",
"regards",
"to",
"padding",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/s3/s3crypto/aes_cbc.go#L179-L190 |
1,891 | aws/aws-sdk-go | service/route53resolver/api.go | SetResolverRuleAssociationId | func (s *GetResolverRuleAssociationInput) SetResolverRuleAssociationId(v string) *GetResolverRuleAssociationInput {
s.ResolverRuleAssociationId = &v
return s
} | go | func (s *GetResolverRuleAssociationInput) SetResolverRuleAssociationId(v string) *GetResolverRuleAssociationInput {
s.ResolverRuleAssociationId = &v
return s
} | [
"func",
"(",
"s",
"*",
"GetResolverRuleAssociationInput",
")",
"SetResolverRuleAssociationId",
"(",
"v",
"string",
")",
"*",
"GetResolverRuleAssociationInput",
"{",
"s",
".",
"ResolverRuleAssociationId",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetResolverRuleAssociationId sets the ResolverRuleAssociationId field's value. | [
"SetResolverRuleAssociationId",
"sets",
"the",
"ResolverRuleAssociationId",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53resolver/api.go#L3246-L3249 |
1,892 | aws/aws-sdk-go | service/route53resolver/api.go | SetResolverEndpoints | func (s *ListResolverEndpointsOutput) SetResolverEndpoints(v []*ResolverEndpoint) *ListResolverEndpointsOutput {
s.ResolverEndpoints = v
return s
} | go | func (s *ListResolverEndpointsOutput) SetResolverEndpoints(v []*ResolverEndpoint) *ListResolverEndpointsOutput {
s.ResolverEndpoints = v
return s
} | [
"func",
"(",
"s",
"*",
"ListResolverEndpointsOutput",
")",
"SetResolverEndpoints",
"(",
"v",
"[",
"]",
"*",
"ResolverEndpoint",
")",
"*",
"ListResolverEndpointsOutput",
"{",
"s",
".",
"ResolverEndpoints",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetResolverEndpoints sets the ResolverEndpoints field's value. | [
"SetResolverEndpoints",
"sets",
"the",
"ResolverEndpoints",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53resolver/api.go#L3833-L3836 |
1,893 | aws/aws-sdk-go | service/route53resolver/api.go | SetResolverRuleAssociations | func (s *ListResolverRuleAssociationsOutput) SetResolverRuleAssociations(v []*ResolverRuleAssociation) *ListResolverRuleAssociationsOutput {
s.ResolverRuleAssociations = v
return s
} | go | func (s *ListResolverRuleAssociationsOutput) SetResolverRuleAssociations(v []*ResolverRuleAssociation) *ListResolverRuleAssociationsOutput {
s.ResolverRuleAssociations = v
return s
} | [
"func",
"(",
"s",
"*",
"ListResolverRuleAssociationsOutput",
")",
"SetResolverRuleAssociations",
"(",
"v",
"[",
"]",
"*",
"ResolverRuleAssociation",
")",
"*",
"ListResolverRuleAssociationsOutput",
"{",
"s",
".",
"ResolverRuleAssociations",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetResolverRuleAssociations sets the ResolverRuleAssociations field's value. | [
"SetResolverRuleAssociations",
"sets",
"the",
"ResolverRuleAssociations",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53resolver/api.go#L3953-L3956 |
1,894 | aws/aws-sdk-go | service/route53resolver/api.go | SetResolverRules | func (s *ListResolverRulesOutput) SetResolverRules(v []*ResolverRule) *ListResolverRulesOutput {
s.ResolverRules = v
return s
} | go | func (s *ListResolverRulesOutput) SetResolverRules(v []*ResolverRule) *ListResolverRulesOutput {
s.ResolverRules = v
return s
} | [
"func",
"(",
"s",
"*",
"ListResolverRulesOutput",
")",
"SetResolverRules",
"(",
"v",
"[",
"]",
"*",
"ResolverRule",
")",
"*",
"ListResolverRulesOutput",
"{",
"s",
".",
"ResolverRules",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetResolverRules sets the ResolverRules field's value. | [
"SetResolverRules",
"sets",
"the",
"ResolverRules",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53resolver/api.go#L4072-L4075 |
1,895 | aws/aws-sdk-go | service/route53resolver/api.go | SetHostVPCId | func (s *ResolverEndpoint) SetHostVPCId(v string) *ResolverEndpoint {
s.HostVPCId = &v
return s
} | go | func (s *ResolverEndpoint) SetHostVPCId(v string) *ResolverEndpoint {
s.HostVPCId = &v
return s
} | [
"func",
"(",
"s",
"*",
"ResolverEndpoint",
")",
"SetHostVPCId",
"(",
"v",
"string",
")",
"*",
"ResolverEndpoint",
"{",
"s",
".",
"HostVPCId",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetHostVPCId sets the HostVPCId field's value. | [
"SetHostVPCId",
"sets",
"the",
"HostVPCId",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53resolver/api.go#L4352-L4355 |
1,896 | aws/aws-sdk-go | service/route53resolver/api.go | SetIpAddressCount | func (s *ResolverEndpoint) SetIpAddressCount(v int64) *ResolverEndpoint {
s.IpAddressCount = &v
return s
} | go | func (s *ResolverEndpoint) SetIpAddressCount(v int64) *ResolverEndpoint {
s.IpAddressCount = &v
return s
} | [
"func",
"(",
"s",
"*",
"ResolverEndpoint",
")",
"SetIpAddressCount",
"(",
"v",
"int64",
")",
"*",
"ResolverEndpoint",
"{",
"s",
".",
"IpAddressCount",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetIpAddressCount sets the IpAddressCount field's value. | [
"SetIpAddressCount",
"sets",
"the",
"IpAddressCount",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/route53resolver/api.go#L4364-L4367 |
1,897 | aws/aws-sdk-go | aws/crr/cache.go | get | func (c *EndpointCache) get(endpointKey string) (Endpoint, bool) {
endpoint, ok := c.endpoints.Load(endpointKey)
if !ok {
return Endpoint{}, false
}
c.endpoints.Store(endpointKey, endpoint)
return endpoint.(Endpoint), true
} | go | func (c *EndpointCache) get(endpointKey string) (Endpoint, bool) {
endpoint, ok := c.endpoints.Load(endpointKey)
if !ok {
return Endpoint{}, false
}
c.endpoints.Store(endpointKey, endpoint)
return endpoint.(Endpoint), true
} | [
"func",
"(",
"c",
"*",
"EndpointCache",
")",
"get",
"(",
"endpointKey",
"string",
")",
"(",
"Endpoint",
",",
"bool",
")",
"{",
"endpoint",
",",
"ok",
":=",
"c",
".",
"endpoints",
".",
"Load",
"(",
"endpointKey",
")",
"\n",
"if",
"!",
"ok",
"{",
"return",
"Endpoint",
"{",
"}",
",",
"false",
"\n",
"}",
"\n\n",
"c",
".",
"endpoints",
".",
"Store",
"(",
"endpointKey",
",",
"endpoint",
")",
"\n",
"return",
"endpoint",
".",
"(",
"Endpoint",
")",
",",
"true",
"\n",
"}"
] | // get is a concurrent safe get operation that will retrieve an endpoint
// based on endpointKey. A boolean will also be returned to illustrate whether
// or not the endpoint had been found. | [
"get",
"is",
"a",
"concurrent",
"safe",
"get",
"operation",
"that",
"will",
"retrieve",
"an",
"endpoint",
"based",
"on",
"endpointKey",
".",
"A",
"boolean",
"will",
"also",
"be",
"returned",
"to",
"illustrate",
"whether",
"or",
"not",
"the",
"endpoint",
"had",
"been",
"found",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/crr/cache.go#L31-L39 |
1,898 | aws/aws-sdk-go | aws/crr/cache.go | Has | func (c *EndpointCache) Has(endpointKey string) bool {
endpoint, ok := c.get(endpointKey)
_, found := endpoint.GetValidAddress()
return ok && found
} | go | func (c *EndpointCache) Has(endpointKey string) bool {
endpoint, ok := c.get(endpointKey)
_, found := endpoint.GetValidAddress()
return ok && found
} | [
"func",
"(",
"c",
"*",
"EndpointCache",
")",
"Has",
"(",
"endpointKey",
"string",
")",
"bool",
"{",
"endpoint",
",",
"ok",
":=",
"c",
".",
"get",
"(",
"endpointKey",
")",
"\n",
"_",
",",
"found",
":=",
"endpoint",
".",
"GetValidAddress",
"(",
")",
"\n\n",
"return",
"ok",
"&&",
"found",
"\n",
"}"
] | // Has returns if the enpoint cache contains a valid entry for the endpoint key
// provided. | [
"Has",
"returns",
"if",
"the",
"enpoint",
"cache",
"contains",
"a",
"valid",
"entry",
"for",
"the",
"endpoint",
"key",
"provided",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/crr/cache.go#L43-L48 |
1,899 | aws/aws-sdk-go | aws/crr/cache.go | Get | func (c *EndpointCache) Get(d Discoverer, endpointKey string, required bool) (WeightedAddress, error) {
var err error
endpoint, ok := c.get(endpointKey)
weighted, found := endpoint.GetValidAddress()
shouldGet := !ok || !found
if required && shouldGet {
if endpoint, err = c.discover(d, endpointKey); err != nil {
return WeightedAddress{}, err
}
weighted, _ = endpoint.GetValidAddress()
} else if shouldGet {
go c.discover(d, endpointKey)
}
return weighted, nil
} | go | func (c *EndpointCache) Get(d Discoverer, endpointKey string, required bool) (WeightedAddress, error) {
var err error
endpoint, ok := c.get(endpointKey)
weighted, found := endpoint.GetValidAddress()
shouldGet := !ok || !found
if required && shouldGet {
if endpoint, err = c.discover(d, endpointKey); err != nil {
return WeightedAddress{}, err
}
weighted, _ = endpoint.GetValidAddress()
} else if shouldGet {
go c.discover(d, endpointKey)
}
return weighted, nil
} | [
"func",
"(",
"c",
"*",
"EndpointCache",
")",
"Get",
"(",
"d",
"Discoverer",
",",
"endpointKey",
"string",
",",
"required",
"bool",
")",
"(",
"WeightedAddress",
",",
"error",
")",
"{",
"var",
"err",
"error",
"\n",
"endpoint",
",",
"ok",
":=",
"c",
".",
"get",
"(",
"endpointKey",
")",
"\n",
"weighted",
",",
"found",
":=",
"endpoint",
".",
"GetValidAddress",
"(",
")",
"\n",
"shouldGet",
":=",
"!",
"ok",
"||",
"!",
"found",
"\n\n",
"if",
"required",
"&&",
"shouldGet",
"{",
"if",
"endpoint",
",",
"err",
"=",
"c",
".",
"discover",
"(",
"d",
",",
"endpointKey",
")",
";",
"err",
"!=",
"nil",
"{",
"return",
"WeightedAddress",
"{",
"}",
",",
"err",
"\n",
"}",
"\n\n",
"weighted",
",",
"_",
"=",
"endpoint",
".",
"GetValidAddress",
"(",
")",
"\n",
"}",
"else",
"if",
"shouldGet",
"{",
"go",
"c",
".",
"discover",
"(",
"d",
",",
"endpointKey",
")",
"\n",
"}",
"\n\n",
"return",
"weighted",
",",
"nil",
"\n",
"}"
] | // Get will retrieve a weighted address based off of the endpoint key. If an endpoint
// should be retrieved, due to not existing or the current endpoint has expired
// the Discoverer object that was passed in will attempt to discover a new endpoint
// and add that to the cache. | [
"Get",
"will",
"retrieve",
"a",
"weighted",
"address",
"based",
"off",
"of",
"the",
"endpoint",
"key",
".",
"If",
"an",
"endpoint",
"should",
"be",
"retrieved",
"due",
"to",
"not",
"existing",
"or",
"the",
"current",
"endpoint",
"has",
"expired",
"the",
"Discoverer",
"object",
"that",
"was",
"passed",
"in",
"will",
"attempt",
"to",
"discover",
"a",
"new",
"endpoint",
"and",
"add",
"that",
"to",
"the",
"cache",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/crr/cache.go#L54-L71 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.