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
|
---|---|---|---|---|---|---|---|---|---|---|---|
2,500 | aws/aws-sdk-go | service/firehose/api.go | SetMaxPaddingBytes | func (s *ParquetSerDe) SetMaxPaddingBytes(v int64) *ParquetSerDe {
s.MaxPaddingBytes = &v
return s
} | go | func (s *ParquetSerDe) SetMaxPaddingBytes(v int64) *ParquetSerDe {
s.MaxPaddingBytes = &v
return s
} | [
"func",
"(",
"s",
"*",
"ParquetSerDe",
")",
"SetMaxPaddingBytes",
"(",
"v",
"int64",
")",
"*",
"ParquetSerDe",
"{",
"s",
".",
"MaxPaddingBytes",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetMaxPaddingBytes sets the MaxPaddingBytes field's value. | [
"SetMaxPaddingBytes",
"sets",
"the",
"MaxPaddingBytes",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/firehose/api.go#L4037-L4040 |
2,501 | aws/aws-sdk-go | service/firehose/api.go | SetPageSizeBytes | func (s *ParquetSerDe) SetPageSizeBytes(v int64) *ParquetSerDe {
s.PageSizeBytes = &v
return s
} | go | func (s *ParquetSerDe) SetPageSizeBytes(v int64) *ParquetSerDe {
s.PageSizeBytes = &v
return s
} | [
"func",
"(",
"s",
"*",
"ParquetSerDe",
")",
"SetPageSizeBytes",
"(",
"v",
"int64",
")",
"*",
"ParquetSerDe",
"{",
"s",
".",
"PageSizeBytes",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetPageSizeBytes sets the PageSizeBytes field's value. | [
"SetPageSizeBytes",
"sets",
"the",
"PageSizeBytes",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/firehose/api.go#L4043-L4046 |
2,502 | aws/aws-sdk-go | service/firehose/api.go | SetWriterVersion | func (s *ParquetSerDe) SetWriterVersion(v string) *ParquetSerDe {
s.WriterVersion = &v
return s
} | go | func (s *ParquetSerDe) SetWriterVersion(v string) *ParquetSerDe {
s.WriterVersion = &v
return s
} | [
"func",
"(",
"s",
"*",
"ParquetSerDe",
")",
"SetWriterVersion",
"(",
"v",
"string",
")",
"*",
"ParquetSerDe",
"{",
"s",
".",
"WriterVersion",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetWriterVersion sets the WriterVersion field's value. | [
"SetWriterVersion",
"sets",
"the",
"WriterVersion",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/firehose/api.go#L4049-L4052 |
2,503 | aws/aws-sdk-go | service/firehose/api.go | SetProcessors | func (s *ProcessingConfiguration) SetProcessors(v []*Processor) *ProcessingConfiguration {
s.Processors = v
return s
} | go | func (s *ProcessingConfiguration) SetProcessors(v []*Processor) *ProcessingConfiguration {
s.Processors = v
return s
} | [
"func",
"(",
"s",
"*",
"ProcessingConfiguration",
")",
"SetProcessors",
"(",
"v",
"[",
"]",
"*",
"Processor",
")",
"*",
"ProcessingConfiguration",
"{",
"s",
".",
"Processors",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetProcessors sets the Processors field's value. | [
"SetProcessors",
"sets",
"the",
"Processors",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/firehose/api.go#L4102-L4105 |
2,504 | aws/aws-sdk-go | service/firehose/api.go | SetFailedPutCount | func (s *PutRecordBatchOutput) SetFailedPutCount(v int64) *PutRecordBatchOutput {
s.FailedPutCount = &v
return s
} | go | func (s *PutRecordBatchOutput) SetFailedPutCount(v int64) *PutRecordBatchOutput {
s.FailedPutCount = &v
return s
} | [
"func",
"(",
"s",
"*",
"PutRecordBatchOutput",
")",
"SetFailedPutCount",
"(",
"v",
"int64",
")",
"*",
"PutRecordBatchOutput",
"{",
"s",
".",
"FailedPutCount",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetFailedPutCount sets the FailedPutCount field's value. | [
"SetFailedPutCount",
"sets",
"the",
"FailedPutCount",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/firehose/api.go#L4326-L4329 |
2,505 | aws/aws-sdk-go | service/firehose/api.go | SetRequestResponses | func (s *PutRecordBatchOutput) SetRequestResponses(v []*PutRecordBatchResponseEntry) *PutRecordBatchOutput {
s.RequestResponses = v
return s
} | go | func (s *PutRecordBatchOutput) SetRequestResponses(v []*PutRecordBatchResponseEntry) *PutRecordBatchOutput {
s.RequestResponses = v
return s
} | [
"func",
"(",
"s",
"*",
"PutRecordBatchOutput",
")",
"SetRequestResponses",
"(",
"v",
"[",
"]",
"*",
"PutRecordBatchResponseEntry",
")",
"*",
"PutRecordBatchOutput",
"{",
"s",
".",
"RequestResponses",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetRequestResponses sets the RequestResponses field's value. | [
"SetRequestResponses",
"sets",
"the",
"RequestResponses",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/firehose/api.go#L4332-L4335 |
2,506 | aws/aws-sdk-go | service/firehose/api.go | SetOrcSerDe | func (s *Serializer) SetOrcSerDe(v *OrcSerDe) *Serializer {
s.OrcSerDe = v
return s
} | go | func (s *Serializer) SetOrcSerDe(v *OrcSerDe) *Serializer {
s.OrcSerDe = v
return s
} | [
"func",
"(",
"s",
"*",
"Serializer",
")",
"SetOrcSerDe",
"(",
"v",
"*",
"OrcSerDe",
")",
"*",
"Serializer",
"{",
"s",
".",
"OrcSerDe",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetOrcSerDe sets the OrcSerDe field's value. | [
"SetOrcSerDe",
"sets",
"the",
"OrcSerDe",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/firehose/api.go#L5518-L5521 |
2,507 | aws/aws-sdk-go | service/firehose/api.go | SetParquetSerDe | func (s *Serializer) SetParquetSerDe(v *ParquetSerDe) *Serializer {
s.ParquetSerDe = v
return s
} | go | func (s *Serializer) SetParquetSerDe(v *ParquetSerDe) *Serializer {
s.ParquetSerDe = v
return s
} | [
"func",
"(",
"s",
"*",
"Serializer",
")",
"SetParquetSerDe",
"(",
"v",
"*",
"ParquetSerDe",
")",
"*",
"Serializer",
"{",
"s",
".",
"ParquetSerDe",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetParquetSerDe sets the ParquetSerDe field's value. | [
"SetParquetSerDe",
"sets",
"the",
"ParquetSerDe",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/firehose/api.go#L5524-L5527 |
2,508 | aws/aws-sdk-go | service/firehose/api.go | SetKinesisStreamSourceDescription | func (s *SourceDescription) SetKinesisStreamSourceDescription(v *KinesisStreamSourceDescription) *SourceDescription {
s.KinesisStreamSourceDescription = v
return s
} | go | func (s *SourceDescription) SetKinesisStreamSourceDescription(v *KinesisStreamSourceDescription) *SourceDescription {
s.KinesisStreamSourceDescription = v
return s
} | [
"func",
"(",
"s",
"*",
"SourceDescription",
")",
"SetKinesisStreamSourceDescription",
"(",
"v",
"*",
"KinesisStreamSourceDescription",
")",
"*",
"SourceDescription",
"{",
"s",
".",
"KinesisStreamSourceDescription",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetKinesisStreamSourceDescription sets the KinesisStreamSourceDescription field's value. | [
"SetKinesisStreamSourceDescription",
"sets",
"the",
"KinesisStreamSourceDescription",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/firehose/api.go#L5549-L5552 |
2,509 | aws/aws-sdk-go | service/firehose/api.go | SetCurrentDeliveryStreamVersionId | func (s *UpdateDestinationInput) SetCurrentDeliveryStreamVersionId(v string) *UpdateDestinationInput {
s.CurrentDeliveryStreamVersionId = &v
return s
} | go | func (s *UpdateDestinationInput) SetCurrentDeliveryStreamVersionId(v string) *UpdateDestinationInput {
s.CurrentDeliveryStreamVersionId = &v
return s
} | [
"func",
"(",
"s",
"*",
"UpdateDestinationInput",
")",
"SetCurrentDeliveryStreamVersionId",
"(",
"v",
"string",
")",
"*",
"UpdateDestinationInput",
"{",
"s",
".",
"CurrentDeliveryStreamVersionId",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetCurrentDeliveryStreamVersionId sets the CurrentDeliveryStreamVersionId field's value. | [
"SetCurrentDeliveryStreamVersionId",
"sets",
"the",
"CurrentDeliveryStreamVersionId",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/firehose/api.go#L6391-L6394 |
2,510 | aws/aws-sdk-go | service/firehose/api.go | SetElasticsearchDestinationUpdate | func (s *UpdateDestinationInput) SetElasticsearchDestinationUpdate(v *ElasticsearchDestinationUpdate) *UpdateDestinationInput {
s.ElasticsearchDestinationUpdate = v
return s
} | go | func (s *UpdateDestinationInput) SetElasticsearchDestinationUpdate(v *ElasticsearchDestinationUpdate) *UpdateDestinationInput {
s.ElasticsearchDestinationUpdate = v
return s
} | [
"func",
"(",
"s",
"*",
"UpdateDestinationInput",
")",
"SetElasticsearchDestinationUpdate",
"(",
"v",
"*",
"ElasticsearchDestinationUpdate",
")",
"*",
"UpdateDestinationInput",
"{",
"s",
".",
"ElasticsearchDestinationUpdate",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetElasticsearchDestinationUpdate sets the ElasticsearchDestinationUpdate field's value. | [
"SetElasticsearchDestinationUpdate",
"sets",
"the",
"ElasticsearchDestinationUpdate",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/firehose/api.go#L6409-L6412 |
2,511 | aws/aws-sdk-go | service/firehose/api.go | SetExtendedS3DestinationUpdate | func (s *UpdateDestinationInput) SetExtendedS3DestinationUpdate(v *ExtendedS3DestinationUpdate) *UpdateDestinationInput {
s.ExtendedS3DestinationUpdate = v
return s
} | go | func (s *UpdateDestinationInput) SetExtendedS3DestinationUpdate(v *ExtendedS3DestinationUpdate) *UpdateDestinationInput {
s.ExtendedS3DestinationUpdate = v
return s
} | [
"func",
"(",
"s",
"*",
"UpdateDestinationInput",
")",
"SetExtendedS3DestinationUpdate",
"(",
"v",
"*",
"ExtendedS3DestinationUpdate",
")",
"*",
"UpdateDestinationInput",
"{",
"s",
".",
"ExtendedS3DestinationUpdate",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetExtendedS3DestinationUpdate sets the ExtendedS3DestinationUpdate field's value. | [
"SetExtendedS3DestinationUpdate",
"sets",
"the",
"ExtendedS3DestinationUpdate",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/firehose/api.go#L6415-L6418 |
2,512 | aws/aws-sdk-go | service/firehose/api.go | SetRedshiftDestinationUpdate | func (s *UpdateDestinationInput) SetRedshiftDestinationUpdate(v *RedshiftDestinationUpdate) *UpdateDestinationInput {
s.RedshiftDestinationUpdate = v
return s
} | go | func (s *UpdateDestinationInput) SetRedshiftDestinationUpdate(v *RedshiftDestinationUpdate) *UpdateDestinationInput {
s.RedshiftDestinationUpdate = v
return s
} | [
"func",
"(",
"s",
"*",
"UpdateDestinationInput",
")",
"SetRedshiftDestinationUpdate",
"(",
"v",
"*",
"RedshiftDestinationUpdate",
")",
"*",
"UpdateDestinationInput",
"{",
"s",
".",
"RedshiftDestinationUpdate",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetRedshiftDestinationUpdate sets the RedshiftDestinationUpdate field's value. | [
"SetRedshiftDestinationUpdate",
"sets",
"the",
"RedshiftDestinationUpdate",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/firehose/api.go#L6421-L6424 |
2,513 | aws/aws-sdk-go | service/firehose/api.go | SetS3DestinationUpdate | func (s *UpdateDestinationInput) SetS3DestinationUpdate(v *S3DestinationUpdate) *UpdateDestinationInput {
s.S3DestinationUpdate = v
return s
} | go | func (s *UpdateDestinationInput) SetS3DestinationUpdate(v *S3DestinationUpdate) *UpdateDestinationInput {
s.S3DestinationUpdate = v
return s
} | [
"func",
"(",
"s",
"*",
"UpdateDestinationInput",
")",
"SetS3DestinationUpdate",
"(",
"v",
"*",
"S3DestinationUpdate",
")",
"*",
"UpdateDestinationInput",
"{",
"s",
".",
"S3DestinationUpdate",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetS3DestinationUpdate sets the S3DestinationUpdate field's value. | [
"SetS3DestinationUpdate",
"sets",
"the",
"S3DestinationUpdate",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/firehose/api.go#L6427-L6430 |
2,514 | aws/aws-sdk-go | service/firehose/api.go | SetSplunkDestinationUpdate | func (s *UpdateDestinationInput) SetSplunkDestinationUpdate(v *SplunkDestinationUpdate) *UpdateDestinationInput {
s.SplunkDestinationUpdate = v
return s
} | go | func (s *UpdateDestinationInput) SetSplunkDestinationUpdate(v *SplunkDestinationUpdate) *UpdateDestinationInput {
s.SplunkDestinationUpdate = v
return s
} | [
"func",
"(",
"s",
"*",
"UpdateDestinationInput",
")",
"SetSplunkDestinationUpdate",
"(",
"v",
"*",
"SplunkDestinationUpdate",
")",
"*",
"UpdateDestinationInput",
"{",
"s",
".",
"SplunkDestinationUpdate",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetSplunkDestinationUpdate sets the SplunkDestinationUpdate field's value. | [
"SetSplunkDestinationUpdate",
"sets",
"the",
"SplunkDestinationUpdate",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/firehose/api.go#L6433-L6436 |
2,515 | aws/aws-sdk-go | service/appsync/api.go | SetAwsIamConfig | func (s *AuthorizationConfig) SetAwsIamConfig(v *AwsIamConfig) *AuthorizationConfig {
s.AwsIamConfig = v
return s
} | go | func (s *AuthorizationConfig) SetAwsIamConfig(v *AwsIamConfig) *AuthorizationConfig {
s.AwsIamConfig = v
return s
} | [
"func",
"(",
"s",
"*",
"AuthorizationConfig",
")",
"SetAwsIamConfig",
"(",
"v",
"*",
"AwsIamConfig",
")",
"*",
"AuthorizationConfig",
"{",
"s",
".",
"AwsIamConfig",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAwsIamConfig sets the AwsIamConfig field's value. | [
"SetAwsIamConfig",
"sets",
"the",
"AwsIamConfig",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/appsync/api.go#L3191-L3194 |
2,516 | aws/aws-sdk-go | service/appsync/api.go | SetSigningRegion | func (s *AwsIamConfig) SetSigningRegion(v string) *AwsIamConfig {
s.SigningRegion = &v
return s
} | go | func (s *AwsIamConfig) SetSigningRegion(v string) *AwsIamConfig {
s.SigningRegion = &v
return s
} | [
"func",
"(",
"s",
"*",
"AwsIamConfig",
")",
"SetSigningRegion",
"(",
"v",
"string",
")",
"*",
"AwsIamConfig",
"{",
"s",
".",
"SigningRegion",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetSigningRegion sets the SigningRegion field's value. | [
"SetSigningRegion",
"sets",
"the",
"SigningRegion",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/appsync/api.go#L3218-L3221 |
2,517 | aws/aws-sdk-go | service/appsync/api.go | SetSigningServiceName | func (s *AwsIamConfig) SetSigningServiceName(v string) *AwsIamConfig {
s.SigningServiceName = &v
return s
} | go | func (s *AwsIamConfig) SetSigningServiceName(v string) *AwsIamConfig {
s.SigningServiceName = &v
return s
} | [
"func",
"(",
"s",
"*",
"AwsIamConfig",
")",
"SetSigningServiceName",
"(",
"v",
"string",
")",
"*",
"AwsIamConfig",
"{",
"s",
".",
"SigningServiceName",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetSigningServiceName sets the SigningServiceName field's value. | [
"SetSigningServiceName",
"sets",
"the",
"SigningServiceName",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/appsync/api.go#L3224-L3227 |
2,518 | aws/aws-sdk-go | service/appsync/api.go | SetDataSourceArn | func (s *DataSource) SetDataSourceArn(v string) *DataSource {
s.DataSourceArn = &v
return s
} | go | func (s *DataSource) SetDataSourceArn(v string) *DataSource {
s.DataSourceArn = &v
return s
} | [
"func",
"(",
"s",
"*",
"DataSource",
")",
"SetDataSourceArn",
"(",
"v",
"string",
")",
"*",
"DataSource",
"{",
"s",
".",
"DataSourceArn",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDataSourceArn sets the DataSourceArn field's value. | [
"SetDataSourceArn",
"sets",
"the",
"DataSourceArn",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/appsync/api.go#L4073-L4076 |
2,519 | aws/aws-sdk-go | service/appsync/api.go | SetUseCallerCredentials | func (s *DynamodbDataSourceConfig) SetUseCallerCredentials(v bool) *DynamodbDataSourceConfig {
s.UseCallerCredentials = &v
return s
} | go | func (s *DynamodbDataSourceConfig) SetUseCallerCredentials(v bool) *DynamodbDataSourceConfig {
s.UseCallerCredentials = &v
return s
} | [
"func",
"(",
"s",
"*",
"DynamodbDataSourceConfig",
")",
"SetUseCallerCredentials",
"(",
"v",
"bool",
")",
"*",
"DynamodbDataSourceConfig",
"{",
"s",
".",
"UseCallerCredentials",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetUseCallerCredentials sets the UseCallerCredentials field's value. | [
"SetUseCallerCredentials",
"sets",
"the",
"UseCallerCredentials",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/appsync/api.go#L4621-L4624 |
2,520 | aws/aws-sdk-go | service/appsync/api.go | SetUris | func (s *GraphqlApi) SetUris(v map[string]*string) *GraphqlApi {
s.Uris = v
return s
} | go | func (s *GraphqlApi) SetUris(v map[string]*string) *GraphqlApi {
s.Uris = v
return s
} | [
"func",
"(",
"s",
"*",
"GraphqlApi",
")",
"SetUris",
"(",
"v",
"map",
"[",
"string",
"]",
"*",
"string",
")",
"*",
"GraphqlApi",
"{",
"s",
".",
"Uris",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetUris sets the Uris field's value. | [
"SetUris",
"sets",
"the",
"Uris",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/appsync/api.go#L5418-L5421 |
2,521 | aws/aws-sdk-go | service/appsync/api.go | SetAuthorizationConfig | func (s *HttpDataSourceConfig) SetAuthorizationConfig(v *AuthorizationConfig) *HttpDataSourceConfig {
s.AuthorizationConfig = v
return s
} | go | func (s *HttpDataSourceConfig) SetAuthorizationConfig(v *AuthorizationConfig) *HttpDataSourceConfig {
s.AuthorizationConfig = v
return s
} | [
"func",
"(",
"s",
"*",
"HttpDataSourceConfig",
")",
"SetAuthorizationConfig",
"(",
"v",
"*",
"AuthorizationConfig",
")",
"*",
"HttpDataSourceConfig",
"{",
"s",
".",
"AuthorizationConfig",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAuthorizationConfig sets the AuthorizationConfig field's value. | [
"SetAuthorizationConfig",
"sets",
"the",
"AuthorizationConfig",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/appsync/api.go#L5469-L5472 |
2,522 | aws/aws-sdk-go | service/appsync/api.go | SetApiKeys | func (s *ListApiKeysOutput) SetApiKeys(v []*ApiKey) *ListApiKeysOutput {
s.ApiKeys = v
return s
} | go | func (s *ListApiKeysOutput) SetApiKeys(v []*ApiKey) *ListApiKeysOutput {
s.ApiKeys = v
return s
} | [
"func",
"(",
"s",
"*",
"ListApiKeysOutput",
")",
"SetApiKeys",
"(",
"v",
"[",
"]",
"*",
"ApiKey",
")",
"*",
"ListApiKeysOutput",
"{",
"s",
".",
"ApiKeys",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetApiKeys sets the ApiKeys field's value. | [
"SetApiKeys",
"sets",
"the",
"ApiKeys",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/appsync/api.go#L5601-L5604 |
2,523 | aws/aws-sdk-go | service/appsync/api.go | SetGraphqlApis | func (s *ListGraphqlApisOutput) SetGraphqlApis(v []*GraphqlApi) *ListGraphqlApisOutput {
s.GraphqlApis = v
return s
} | go | func (s *ListGraphqlApisOutput) SetGraphqlApis(v []*GraphqlApi) *ListGraphqlApisOutput {
s.GraphqlApis = v
return s
} | [
"func",
"(",
"s",
"*",
"ListGraphqlApisOutput",
")",
"SetGraphqlApis",
"(",
"v",
"[",
"]",
"*",
"GraphqlApi",
")",
"*",
"ListGraphqlApisOutput",
"{",
"s",
".",
"GraphqlApis",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetGraphqlApis sets the GraphqlApis field's value. | [
"SetGraphqlApis",
"sets",
"the",
"GraphqlApis",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/appsync/api.go#L5853-L5856 |
2,524 | aws/aws-sdk-go | service/appsync/api.go | SetFieldLogLevel | func (s *LogConfig) SetFieldLogLevel(v string) *LogConfig {
s.FieldLogLevel = &v
return s
} | go | func (s *LogConfig) SetFieldLogLevel(v string) *LogConfig {
s.FieldLogLevel = &v
return s
} | [
"func",
"(",
"s",
"*",
"LogConfig",
")",
"SetFieldLogLevel",
"(",
"v",
"string",
")",
"*",
"LogConfig",
"{",
"s",
".",
"FieldLogLevel",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetFieldLogLevel sets the FieldLogLevel field's value. | [
"SetFieldLogLevel",
"sets",
"the",
"FieldLogLevel",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/appsync/api.go#L6256-L6259 |
2,525 | aws/aws-sdk-go | service/appsync/api.go | SetAuthTTL | func (s *OpenIDConnectConfig) SetAuthTTL(v int64) *OpenIDConnectConfig {
s.AuthTTL = &v
return s
} | go | func (s *OpenIDConnectConfig) SetAuthTTL(v int64) *OpenIDConnectConfig {
s.AuthTTL = &v
return s
} | [
"func",
"(",
"s",
"*",
"OpenIDConnectConfig",
")",
"SetAuthTTL",
"(",
"v",
"int64",
")",
"*",
"OpenIDConnectConfig",
"{",
"s",
".",
"AuthTTL",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAuthTTL sets the AuthTTL field's value. | [
"SetAuthTTL",
"sets",
"the",
"AuthTTL",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/appsync/api.go#L6308-L6311 |
2,526 | aws/aws-sdk-go | service/appsync/api.go | SetIatTTL | func (s *OpenIDConnectConfig) SetIatTTL(v int64) *OpenIDConnectConfig {
s.IatTTL = &v
return s
} | go | func (s *OpenIDConnectConfig) SetIatTTL(v int64) *OpenIDConnectConfig {
s.IatTTL = &v
return s
} | [
"func",
"(",
"s",
"*",
"OpenIDConnectConfig",
")",
"SetIatTTL",
"(",
"v",
"int64",
")",
"*",
"OpenIDConnectConfig",
"{",
"s",
".",
"IatTTL",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetIatTTL sets the IatTTL field's value. | [
"SetIatTTL",
"sets",
"the",
"IatTTL",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/appsync/api.go#L6320-L6323 |
2,527 | aws/aws-sdk-go | service/appsync/api.go | SetRdsHttpEndpointConfig | func (s *RelationalDatabaseDataSourceConfig) SetRdsHttpEndpointConfig(v *RdsHttpEndpointConfig) *RelationalDatabaseDataSourceConfig {
s.RdsHttpEndpointConfig = v
return s
} | go | func (s *RelationalDatabaseDataSourceConfig) SetRdsHttpEndpointConfig(v *RdsHttpEndpointConfig) *RelationalDatabaseDataSourceConfig {
s.RdsHttpEndpointConfig = v
return s
} | [
"func",
"(",
"s",
"*",
"RelationalDatabaseDataSourceConfig",
")",
"SetRdsHttpEndpointConfig",
"(",
"v",
"*",
"RdsHttpEndpointConfig",
")",
"*",
"RelationalDatabaseDataSourceConfig",
"{",
"s",
".",
"RdsHttpEndpointConfig",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetRdsHttpEndpointConfig sets the RdsHttpEndpointConfig field's value. | [
"SetRdsHttpEndpointConfig",
"sets",
"the",
"RdsHttpEndpointConfig",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/appsync/api.go#L6440-L6443 |
2,528 | aws/aws-sdk-go | service/appsync/api.go | SetRelationalDatabaseSourceType | func (s *RelationalDatabaseDataSourceConfig) SetRelationalDatabaseSourceType(v string) *RelationalDatabaseDataSourceConfig {
s.RelationalDatabaseSourceType = &v
return s
} | go | func (s *RelationalDatabaseDataSourceConfig) SetRelationalDatabaseSourceType(v string) *RelationalDatabaseDataSourceConfig {
s.RelationalDatabaseSourceType = &v
return s
} | [
"func",
"(",
"s",
"*",
"RelationalDatabaseDataSourceConfig",
")",
"SetRelationalDatabaseSourceType",
"(",
"v",
"string",
")",
"*",
"RelationalDatabaseDataSourceConfig",
"{",
"s",
".",
"RelationalDatabaseSourceType",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetRelationalDatabaseSourceType sets the RelationalDatabaseSourceType field's value. | [
"SetRelationalDatabaseSourceType",
"sets",
"the",
"RelationalDatabaseSourceType",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/appsync/api.go#L6446-L6449 |
2,529 | aws/aws-sdk-go | service/appsync/api.go | SetResolverArn | func (s *Resolver) SetResolverArn(v string) *Resolver {
s.ResolverArn = &v
return s
} | go | func (s *Resolver) SetResolverArn(v string) *Resolver {
s.ResolverArn = &v
return s
} | [
"func",
"(",
"s",
"*",
"Resolver",
")",
"SetResolverArn",
"(",
"v",
"string",
")",
"*",
"Resolver",
"{",
"s",
".",
"ResolverArn",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetResolverArn sets the ResolverArn field's value. | [
"SetResolverArn",
"sets",
"the",
"ResolverArn",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/appsync/api.go#L6529-L6532 |
2,530 | aws/aws-sdk-go | service/appsync/api.go | SetAppIdClientRegex | func (s *UserPoolConfig) SetAppIdClientRegex(v string) *UserPoolConfig {
s.AppIdClientRegex = &v
return s
} | go | func (s *UserPoolConfig) SetAppIdClientRegex(v string) *UserPoolConfig {
s.AppIdClientRegex = &v
return s
} | [
"func",
"(",
"s",
"*",
"UserPoolConfig",
")",
"SetAppIdClientRegex",
"(",
"v",
"string",
")",
"*",
"UserPoolConfig",
"{",
"s",
".",
"AppIdClientRegex",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAppIdClientRegex sets the AppIdClientRegex field's value. | [
"SetAppIdClientRegex",
"sets",
"the",
"AppIdClientRegex",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/appsync/api.go#L7579-L7582 |
2,531 | aws/aws-sdk-go | internal/ini/ast.go | AppendChild | func (a *AST) AppendChild(child AST) {
a.Children = append(a.Children, child)
} | go | func (a *AST) AppendChild(child AST) {
a.Children = append(a.Children, child)
} | [
"func",
"(",
"a",
"*",
"AST",
")",
"AppendChild",
"(",
"child",
"AST",
")",
"{",
"a",
".",
"Children",
"=",
"append",
"(",
"a",
".",
"Children",
",",
"child",
")",
"\n",
"}"
] | // AppendChild will append to the list of children an AST has. | [
"AppendChild",
"will",
"append",
"to",
"the",
"list",
"of",
"children",
"an",
"AST",
"has",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/internal/ini/ast.go#L79-L81 |
2,532 | aws/aws-sdk-go | internal/ini/ast.go | GetRoot | func (a *AST) GetRoot() AST {
if a.RootToken {
return *a
}
if len(a.Children) == 0 {
return AST{}
}
return a.Children[0]
} | go | func (a *AST) GetRoot() AST {
if a.RootToken {
return *a
}
if len(a.Children) == 0 {
return AST{}
}
return a.Children[0]
} | [
"func",
"(",
"a",
"*",
"AST",
")",
"GetRoot",
"(",
")",
"AST",
"{",
"if",
"a",
".",
"RootToken",
"{",
"return",
"*",
"a",
"\n",
"}",
"\n\n",
"if",
"len",
"(",
"a",
".",
"Children",
")",
"==",
"0",
"{",
"return",
"AST",
"{",
"}",
"\n",
"}",
"\n\n",
"return",
"a",
".",
"Children",
"[",
"0",
"]",
"\n",
"}"
] | // GetRoot will return the root AST which can be the first entry
// in the children list or a token. | [
"GetRoot",
"will",
"return",
"the",
"root",
"AST",
"which",
"can",
"be",
"the",
"first",
"entry",
"in",
"the",
"children",
"list",
"or",
"a",
"token",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/internal/ini/ast.go#L85-L95 |
2,533 | aws/aws-sdk-go | internal/ini/ast.go | GetChildren | func (a *AST) GetChildren() []AST {
if len(a.Children) == 0 {
return []AST{}
}
if a.RootToken {
return a.Children
}
return a.Children[1:]
} | go | func (a *AST) GetChildren() []AST {
if len(a.Children) == 0 {
return []AST{}
}
if a.RootToken {
return a.Children
}
return a.Children[1:]
} | [
"func",
"(",
"a",
"*",
"AST",
")",
"GetChildren",
"(",
")",
"[",
"]",
"AST",
"{",
"if",
"len",
"(",
"a",
".",
"Children",
")",
"==",
"0",
"{",
"return",
"[",
"]",
"AST",
"{",
"}",
"\n",
"}",
"\n\n",
"if",
"a",
".",
"RootToken",
"{",
"return",
"a",
".",
"Children",
"\n",
"}",
"\n\n",
"return",
"a",
".",
"Children",
"[",
"1",
":",
"]",
"\n",
"}"
] | // GetChildren will return the current AST's list of children | [
"GetChildren",
"will",
"return",
"the",
"current",
"AST",
"s",
"list",
"of",
"children"
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/internal/ini/ast.go#L98-L108 |
2,534 | aws/aws-sdk-go | internal/ini/ast.go | SetChildren | func (a *AST) SetChildren(children []AST) {
if a.RootToken {
a.Children = children
} else {
a.Children = append(a.Children[:1], children...)
}
} | go | func (a *AST) SetChildren(children []AST) {
if a.RootToken {
a.Children = children
} else {
a.Children = append(a.Children[:1], children...)
}
} | [
"func",
"(",
"a",
"*",
"AST",
")",
"SetChildren",
"(",
"children",
"[",
"]",
"AST",
")",
"{",
"if",
"a",
".",
"RootToken",
"{",
"a",
".",
"Children",
"=",
"children",
"\n",
"}",
"else",
"{",
"a",
".",
"Children",
"=",
"append",
"(",
"a",
".",
"Children",
"[",
":",
"1",
"]",
",",
"children",
"...",
")",
"\n",
"}",
"\n",
"}"
] | // SetChildren will set and override all children of the AST. | [
"SetChildren",
"will",
"set",
"and",
"override",
"all",
"children",
"of",
"the",
"AST",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/internal/ini/ast.go#L111-L117 |
2,535 | aws/aws-sdk-go | service/cloudfront/sign/sign_url.go | NewURLSigner | func NewURLSigner(keyID string, privKey *rsa.PrivateKey) *URLSigner {
return &URLSigner{
keyID: keyID,
privKey: privKey,
}
} | go | func NewURLSigner(keyID string, privKey *rsa.PrivateKey) *URLSigner {
return &URLSigner{
keyID: keyID,
privKey: privKey,
}
} | [
"func",
"NewURLSigner",
"(",
"keyID",
"string",
",",
"privKey",
"*",
"rsa",
".",
"PrivateKey",
")",
"*",
"URLSigner",
"{",
"return",
"&",
"URLSigner",
"{",
"keyID",
":",
"keyID",
",",
"privKey",
":",
"privKey",
",",
"}",
"\n",
"}"
] | // NewURLSigner constructs and returns a new URLSigner to be used to for signing
// Amazon CloudFront URL resources with. | [
"NewURLSigner",
"constructs",
"and",
"returns",
"a",
"new",
"URLSigner",
"to",
"be",
"used",
"to",
"for",
"signing",
"Amazon",
"CloudFront",
"URL",
"resources",
"with",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/cloudfront/sign/sign_url.go#L41-L46 |
2,536 | aws/aws-sdk-go | aws/request/waiter.go | ConstantWaiterDelay | func ConstantWaiterDelay(delay time.Duration) WaiterDelay {
return func(attempt int) time.Duration {
return delay
}
} | go | func ConstantWaiterDelay(delay time.Duration) WaiterDelay {
return func(attempt int) time.Duration {
return delay
}
} | [
"func",
"ConstantWaiterDelay",
"(",
"delay",
"time",
".",
"Duration",
")",
"WaiterDelay",
"{",
"return",
"func",
"(",
"attempt",
"int",
")",
"time",
".",
"Duration",
"{",
"return",
"delay",
"\n",
"}",
"\n",
"}"
] | // ConstantWaiterDelay returns a WaiterDelay that will always return a constant
// delay the waiter should use between attempts. It ignores the number of
// attempts made. | [
"ConstantWaiterDelay",
"returns",
"a",
"WaiterDelay",
"that",
"will",
"always",
"return",
"a",
"constant",
"delay",
"the",
"waiter",
"should",
"use",
"between",
"attempts",
".",
"It",
"ignores",
"the",
"number",
"of",
"attempts",
"made",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/request/waiter.go#L39-L43 |
2,537 | aws/aws-sdk-go | aws/request/waiter.go | WithWaiterLogger | func WithWaiterLogger(logger aws.Logger) WaiterOption {
return func(w *Waiter) {
w.Logger = logger
}
} | go | func WithWaiterLogger(logger aws.Logger) WaiterOption {
return func(w *Waiter) {
w.Logger = logger
}
} | [
"func",
"WithWaiterLogger",
"(",
"logger",
"aws",
".",
"Logger",
")",
"WaiterOption",
"{",
"return",
"func",
"(",
"w",
"*",
"Waiter",
")",
"{",
"w",
".",
"Logger",
"=",
"logger",
"\n",
"}",
"\n",
"}"
] | // WithWaiterLogger returns a waiter option to set the logger a waiter
// should use to log warnings and errors to. | [
"WithWaiterLogger",
"returns",
"a",
"waiter",
"option",
"to",
"set",
"the",
"logger",
"a",
"waiter",
"should",
"use",
"to",
"log",
"warnings",
"and",
"errors",
"to",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/request/waiter.go#L54-L58 |
2,538 | aws/aws-sdk-go | aws/request/waiter.go | WithWaiterRequestOptions | func WithWaiterRequestOptions(opts ...Option) WaiterOption {
return func(w *Waiter) {
w.RequestOptions = append(w.RequestOptions, opts...)
}
} | go | func WithWaiterRequestOptions(opts ...Option) WaiterOption {
return func(w *Waiter) {
w.RequestOptions = append(w.RequestOptions, opts...)
}
} | [
"func",
"WithWaiterRequestOptions",
"(",
"opts",
"...",
"Option",
")",
"WaiterOption",
"{",
"return",
"func",
"(",
"w",
"*",
"Waiter",
")",
"{",
"w",
".",
"RequestOptions",
"=",
"append",
"(",
"w",
".",
"RequestOptions",
",",
"opts",
"...",
")",
"\n",
"}",
"\n",
"}"
] | // WithWaiterRequestOptions returns a waiter option setting the request
// options for each request the waiter makes. Appends to waiter's request
// options already set. | [
"WithWaiterRequestOptions",
"returns",
"a",
"waiter",
"option",
"setting",
"the",
"request",
"options",
"for",
"each",
"request",
"the",
"waiter",
"makes",
".",
"Appends",
"to",
"waiter",
"s",
"request",
"options",
"already",
"set",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/request/waiter.go#L63-L67 |
2,539 | aws/aws-sdk-go | aws/request/waiter.go | ApplyOptions | func (w *Waiter) ApplyOptions(opts ...WaiterOption) {
for _, fn := range opts {
fn(w)
}
} | go | func (w *Waiter) ApplyOptions(opts ...WaiterOption) {
for _, fn := range opts {
fn(w)
}
} | [
"func",
"(",
"w",
"*",
"Waiter",
")",
"ApplyOptions",
"(",
"opts",
"...",
"WaiterOption",
")",
"{",
"for",
"_",
",",
"fn",
":=",
"range",
"opts",
"{",
"fn",
"(",
"w",
")",
"\n",
"}",
"\n",
"}"
] | // ApplyOptions updates the waiter with the list of waiter options provided. | [
"ApplyOptions",
"updates",
"the",
"waiter",
"with",
"the",
"list",
"of",
"waiter",
"options",
"provided",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/request/waiter.go#L88-L92 |
2,540 | aws/aws-sdk-go | aws/request/waiter.go | String | func (m WaiterMatchMode) String() string {
switch m {
case PathAllWaiterMatch:
return "pathAll"
case PathWaiterMatch:
return "path"
case PathAnyWaiterMatch:
return "pathAny"
case PathListWaiterMatch:
return "pathList"
case StatusWaiterMatch:
return "status"
case ErrorWaiterMatch:
return "error"
default:
return "unknown waiter match mode"
}
} | go | func (m WaiterMatchMode) String() string {
switch m {
case PathAllWaiterMatch:
return "pathAll"
case PathWaiterMatch:
return "path"
case PathAnyWaiterMatch:
return "pathAny"
case PathListWaiterMatch:
return "pathList"
case StatusWaiterMatch:
return "status"
case ErrorWaiterMatch:
return "error"
default:
return "unknown waiter match mode"
}
} | [
"func",
"(",
"m",
"WaiterMatchMode",
")",
"String",
"(",
")",
"string",
"{",
"switch",
"m",
"{",
"case",
"PathAllWaiterMatch",
":",
"return",
"\"",
"\"",
"\n",
"case",
"PathWaiterMatch",
":",
"return",
"\"",
"\"",
"\n",
"case",
"PathAnyWaiterMatch",
":",
"return",
"\"",
"\"",
"\n",
"case",
"PathListWaiterMatch",
":",
"return",
"\"",
"\"",
"\n",
"case",
"StatusWaiterMatch",
":",
"return",
"\"",
"\"",
"\n",
"case",
"ErrorWaiterMatch",
":",
"return",
"\"",
"\"",
"\n",
"default",
":",
"return",
"\"",
"\"",
"\n",
"}",
"\n",
"}"
] | // String returns the string representation of the waiter match mode. | [
"String",
"returns",
"the",
"string",
"representation",
"of",
"the",
"waiter",
"match",
"mode",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/request/waiter.go#L135-L152 |
2,541 | aws/aws-sdk-go | aws/request/waiter.go | WaitWithContext | func (w Waiter) WaitWithContext(ctx aws.Context) error {
for attempt := 1; ; attempt++ {
req, err := w.NewRequest(w.RequestOptions)
if err != nil {
waiterLogf(w.Logger, "unable to create request %v", err)
return err
}
req.Handlers.Build.PushBack(MakeAddToUserAgentFreeFormHandler("Waiter"))
err = req.Send()
// See if any of the acceptors match the request's response, or error
for _, a := range w.Acceptors {
if matched, matchErr := a.match(w.Name, w.Logger, req, err); matched {
return matchErr
}
}
// The Waiter should only check the resource state MaxAttempts times
// This is here instead of in the for loop above to prevent delaying
// unnecessary when the waiter will not retry.
if attempt == w.MaxAttempts {
break
}
// Delay to wait before inspecting the resource again
delay := w.Delay(attempt)
if sleepFn := req.Config.SleepDelay; sleepFn != nil {
// Support SleepDelay for backwards compatibility and testing
sleepFn(delay)
} else {
sleepCtxFn := w.SleepWithContext
if sleepCtxFn == nil {
sleepCtxFn = aws.SleepWithContext
}
if err := sleepCtxFn(ctx, delay); err != nil {
return awserr.New(CanceledErrorCode, "waiter context canceled", err)
}
}
}
return awserr.New(WaiterResourceNotReadyErrorCode, "exceeded wait attempts", nil)
} | go | func (w Waiter) WaitWithContext(ctx aws.Context) error {
for attempt := 1; ; attempt++ {
req, err := w.NewRequest(w.RequestOptions)
if err != nil {
waiterLogf(w.Logger, "unable to create request %v", err)
return err
}
req.Handlers.Build.PushBack(MakeAddToUserAgentFreeFormHandler("Waiter"))
err = req.Send()
// See if any of the acceptors match the request's response, or error
for _, a := range w.Acceptors {
if matched, matchErr := a.match(w.Name, w.Logger, req, err); matched {
return matchErr
}
}
// The Waiter should only check the resource state MaxAttempts times
// This is here instead of in the for loop above to prevent delaying
// unnecessary when the waiter will not retry.
if attempt == w.MaxAttempts {
break
}
// Delay to wait before inspecting the resource again
delay := w.Delay(attempt)
if sleepFn := req.Config.SleepDelay; sleepFn != nil {
// Support SleepDelay for backwards compatibility and testing
sleepFn(delay)
} else {
sleepCtxFn := w.SleepWithContext
if sleepCtxFn == nil {
sleepCtxFn = aws.SleepWithContext
}
if err := sleepCtxFn(ctx, delay); err != nil {
return awserr.New(CanceledErrorCode, "waiter context canceled", err)
}
}
}
return awserr.New(WaiterResourceNotReadyErrorCode, "exceeded wait attempts", nil)
} | [
"func",
"(",
"w",
"Waiter",
")",
"WaitWithContext",
"(",
"ctx",
"aws",
".",
"Context",
")",
"error",
"{",
"for",
"attempt",
":=",
"1",
";",
";",
"attempt",
"++",
"{",
"req",
",",
"err",
":=",
"w",
".",
"NewRequest",
"(",
"w",
".",
"RequestOptions",
")",
"\n",
"if",
"err",
"!=",
"nil",
"{",
"waiterLogf",
"(",
"w",
".",
"Logger",
",",
"\"",
"\"",
",",
"err",
")",
"\n",
"return",
"err",
"\n",
"}",
"\n",
"req",
".",
"Handlers",
".",
"Build",
".",
"PushBack",
"(",
"MakeAddToUserAgentFreeFormHandler",
"(",
"\"",
"\"",
")",
")",
"\n",
"err",
"=",
"req",
".",
"Send",
"(",
")",
"\n\n",
"// See if any of the acceptors match the request's response, or error",
"for",
"_",
",",
"a",
":=",
"range",
"w",
".",
"Acceptors",
"{",
"if",
"matched",
",",
"matchErr",
":=",
"a",
".",
"match",
"(",
"w",
".",
"Name",
",",
"w",
".",
"Logger",
",",
"req",
",",
"err",
")",
";",
"matched",
"{",
"return",
"matchErr",
"\n",
"}",
"\n",
"}",
"\n\n",
"// The Waiter should only check the resource state MaxAttempts times",
"// This is here instead of in the for loop above to prevent delaying",
"// unnecessary when the waiter will not retry.",
"if",
"attempt",
"==",
"w",
".",
"MaxAttempts",
"{",
"break",
"\n",
"}",
"\n\n",
"// Delay to wait before inspecting the resource again",
"delay",
":=",
"w",
".",
"Delay",
"(",
"attempt",
")",
"\n",
"if",
"sleepFn",
":=",
"req",
".",
"Config",
".",
"SleepDelay",
";",
"sleepFn",
"!=",
"nil",
"{",
"// Support SleepDelay for backwards compatibility and testing",
"sleepFn",
"(",
"delay",
")",
"\n",
"}",
"else",
"{",
"sleepCtxFn",
":=",
"w",
".",
"SleepWithContext",
"\n",
"if",
"sleepCtxFn",
"==",
"nil",
"{",
"sleepCtxFn",
"=",
"aws",
".",
"SleepWithContext",
"\n",
"}",
"\n\n",
"if",
"err",
":=",
"sleepCtxFn",
"(",
"ctx",
",",
"delay",
")",
";",
"err",
"!=",
"nil",
"{",
"return",
"awserr",
".",
"New",
"(",
"CanceledErrorCode",
",",
"\"",
"\"",
",",
"err",
")",
"\n",
"}",
"\n",
"}",
"\n",
"}",
"\n\n",
"return",
"awserr",
".",
"New",
"(",
"WaiterResourceNotReadyErrorCode",
",",
"\"",
"\"",
",",
"nil",
")",
"\n",
"}"
] | // WaitWithContext will make requests for the API operation using NewRequest to
// build API requests. The request's response will be compared against the
// Waiter's Acceptors to determine the successful state of the resource the
// waiter is inspecting.
//
// The passed in context must not be nil. If it is nil a panic will occur. The
// Context will be used to cancel the waiter's pending requests and retry delays.
// Use aws.BackgroundContext if no context is available.
//
// The waiter will continue until the target state defined by the Acceptors,
// or the max attempts expires.
//
// Will return the WaiterResourceNotReadyErrorCode error code if the waiter's
// retryer ShouldRetry returns false. This normally will happen when the max
// wait attempts expires. | [
"WaitWithContext",
"will",
"make",
"requests",
"for",
"the",
"API",
"operation",
"using",
"NewRequest",
"to",
"build",
"API",
"requests",
".",
"The",
"request",
"s",
"response",
"will",
"be",
"compared",
"against",
"the",
"Waiter",
"s",
"Acceptors",
"to",
"determine",
"the",
"successful",
"state",
"of",
"the",
"resource",
"the",
"waiter",
"is",
"inspecting",
".",
"The",
"passed",
"in",
"context",
"must",
"not",
"be",
"nil",
".",
"If",
"it",
"is",
"nil",
"a",
"panic",
"will",
"occur",
".",
"The",
"Context",
"will",
"be",
"used",
"to",
"cancel",
"the",
"waiter",
"s",
"pending",
"requests",
"and",
"retry",
"delays",
".",
"Use",
"aws",
".",
"BackgroundContext",
"if",
"no",
"context",
"is",
"available",
".",
"The",
"waiter",
"will",
"continue",
"until",
"the",
"target",
"state",
"defined",
"by",
"the",
"Acceptors",
"or",
"the",
"max",
"attempts",
"expires",
".",
"Will",
"return",
"the",
"WaiterResourceNotReadyErrorCode",
"error",
"code",
"if",
"the",
"waiter",
"s",
"retryer",
"ShouldRetry",
"returns",
"false",
".",
"This",
"normally",
"will",
"happen",
"when",
"the",
"max",
"wait",
"attempts",
"expires",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/request/waiter.go#L169-L212 |
2,542 | aws/aws-sdk-go | aws/request/waiter.go | match | func (a *WaiterAcceptor) match(name string, l aws.Logger, req *Request, err error) (bool, error) {
result := false
var vals []interface{}
switch a.Matcher {
case PathAllWaiterMatch, PathWaiterMatch:
// Require all matches to be equal for result to match
vals, _ = awsutil.ValuesAtPath(req.Data, a.Argument)
if len(vals) == 0 {
break
}
result = true
for _, val := range vals {
if !awsutil.DeepEqual(val, a.Expected) {
result = false
break
}
}
case PathAnyWaiterMatch:
// Only a single match needs to equal for the result to match
vals, _ = awsutil.ValuesAtPath(req.Data, a.Argument)
for _, val := range vals {
if awsutil.DeepEqual(val, a.Expected) {
result = true
break
}
}
case PathListWaiterMatch:
// ignored matcher
case StatusWaiterMatch:
s := a.Expected.(int)
result = s == req.HTTPResponse.StatusCode
case ErrorWaiterMatch:
if aerr, ok := err.(awserr.Error); ok {
result = aerr.Code() == a.Expected.(string)
}
default:
waiterLogf(l, "WARNING: Waiter %s encountered unexpected matcher: %s",
name, a.Matcher)
}
if !result {
// If there was no matching result found there is nothing more to do
// for this response, retry the request.
return false, nil
}
switch a.State {
case SuccessWaiterState:
// waiter completed
return true, nil
case FailureWaiterState:
// Waiter failure state triggered
return true, awserr.New(WaiterResourceNotReadyErrorCode,
"failed waiting for successful resource state", err)
case RetryWaiterState:
// clear the error and retry the operation
return false, nil
default:
waiterLogf(l, "WARNING: Waiter %s encountered unexpected state: %s",
name, a.State)
return false, nil
}
} | go | func (a *WaiterAcceptor) match(name string, l aws.Logger, req *Request, err error) (bool, error) {
result := false
var vals []interface{}
switch a.Matcher {
case PathAllWaiterMatch, PathWaiterMatch:
// Require all matches to be equal for result to match
vals, _ = awsutil.ValuesAtPath(req.Data, a.Argument)
if len(vals) == 0 {
break
}
result = true
for _, val := range vals {
if !awsutil.DeepEqual(val, a.Expected) {
result = false
break
}
}
case PathAnyWaiterMatch:
// Only a single match needs to equal for the result to match
vals, _ = awsutil.ValuesAtPath(req.Data, a.Argument)
for _, val := range vals {
if awsutil.DeepEqual(val, a.Expected) {
result = true
break
}
}
case PathListWaiterMatch:
// ignored matcher
case StatusWaiterMatch:
s := a.Expected.(int)
result = s == req.HTTPResponse.StatusCode
case ErrorWaiterMatch:
if aerr, ok := err.(awserr.Error); ok {
result = aerr.Code() == a.Expected.(string)
}
default:
waiterLogf(l, "WARNING: Waiter %s encountered unexpected matcher: %s",
name, a.Matcher)
}
if !result {
// If there was no matching result found there is nothing more to do
// for this response, retry the request.
return false, nil
}
switch a.State {
case SuccessWaiterState:
// waiter completed
return true, nil
case FailureWaiterState:
// Waiter failure state triggered
return true, awserr.New(WaiterResourceNotReadyErrorCode,
"failed waiting for successful resource state", err)
case RetryWaiterState:
// clear the error and retry the operation
return false, nil
default:
waiterLogf(l, "WARNING: Waiter %s encountered unexpected state: %s",
name, a.State)
return false, nil
}
} | [
"func",
"(",
"a",
"*",
"WaiterAcceptor",
")",
"match",
"(",
"name",
"string",
",",
"l",
"aws",
".",
"Logger",
",",
"req",
"*",
"Request",
",",
"err",
"error",
")",
"(",
"bool",
",",
"error",
")",
"{",
"result",
":=",
"false",
"\n",
"var",
"vals",
"[",
"]",
"interface",
"{",
"}",
"\n\n",
"switch",
"a",
".",
"Matcher",
"{",
"case",
"PathAllWaiterMatch",
",",
"PathWaiterMatch",
":",
"// Require all matches to be equal for result to match",
"vals",
",",
"_",
"=",
"awsutil",
".",
"ValuesAtPath",
"(",
"req",
".",
"Data",
",",
"a",
".",
"Argument",
")",
"\n",
"if",
"len",
"(",
"vals",
")",
"==",
"0",
"{",
"break",
"\n",
"}",
"\n",
"result",
"=",
"true",
"\n",
"for",
"_",
",",
"val",
":=",
"range",
"vals",
"{",
"if",
"!",
"awsutil",
".",
"DeepEqual",
"(",
"val",
",",
"a",
".",
"Expected",
")",
"{",
"result",
"=",
"false",
"\n",
"break",
"\n",
"}",
"\n",
"}",
"\n",
"case",
"PathAnyWaiterMatch",
":",
"// Only a single match needs to equal for the result to match",
"vals",
",",
"_",
"=",
"awsutil",
".",
"ValuesAtPath",
"(",
"req",
".",
"Data",
",",
"a",
".",
"Argument",
")",
"\n",
"for",
"_",
",",
"val",
":=",
"range",
"vals",
"{",
"if",
"awsutil",
".",
"DeepEqual",
"(",
"val",
",",
"a",
".",
"Expected",
")",
"{",
"result",
"=",
"true",
"\n",
"break",
"\n",
"}",
"\n",
"}",
"\n",
"case",
"PathListWaiterMatch",
":",
"// ignored matcher",
"case",
"StatusWaiterMatch",
":",
"s",
":=",
"a",
".",
"Expected",
".",
"(",
"int",
")",
"\n",
"result",
"=",
"s",
"==",
"req",
".",
"HTTPResponse",
".",
"StatusCode",
"\n",
"case",
"ErrorWaiterMatch",
":",
"if",
"aerr",
",",
"ok",
":=",
"err",
".",
"(",
"awserr",
".",
"Error",
")",
";",
"ok",
"{",
"result",
"=",
"aerr",
".",
"Code",
"(",
")",
"==",
"a",
".",
"Expected",
".",
"(",
"string",
")",
"\n",
"}",
"\n",
"default",
":",
"waiterLogf",
"(",
"l",
",",
"\"",
"\"",
",",
"name",
",",
"a",
".",
"Matcher",
")",
"\n",
"}",
"\n\n",
"if",
"!",
"result",
"{",
"// If there was no matching result found there is nothing more to do",
"// for this response, retry the request.",
"return",
"false",
",",
"nil",
"\n",
"}",
"\n\n",
"switch",
"a",
".",
"State",
"{",
"case",
"SuccessWaiterState",
":",
"// waiter completed",
"return",
"true",
",",
"nil",
"\n",
"case",
"FailureWaiterState",
":",
"// Waiter failure state triggered",
"return",
"true",
",",
"awserr",
".",
"New",
"(",
"WaiterResourceNotReadyErrorCode",
",",
"\"",
"\"",
",",
"err",
")",
"\n",
"case",
"RetryWaiterState",
":",
"// clear the error and retry the operation",
"return",
"false",
",",
"nil",
"\n",
"default",
":",
"waiterLogf",
"(",
"l",
",",
"\"",
"\"",
",",
"name",
",",
"a",
".",
"State",
")",
"\n",
"return",
"false",
",",
"nil",
"\n",
"}",
"\n",
"}"
] | // match returns if the acceptor found a match with the passed in request
// or error. True is returned if the acceptor made a match, error is returned
// if there was an error attempting to perform the match. | [
"match",
"returns",
"if",
"the",
"acceptor",
"found",
"a",
"match",
"with",
"the",
"passed",
"in",
"request",
"or",
"error",
".",
"True",
"is",
"returned",
"if",
"the",
"acceptor",
"made",
"a",
"match",
"error",
"is",
"returned",
"if",
"there",
"was",
"an",
"error",
"attempting",
"to",
"perform",
"the",
"match",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/request/waiter.go#L226-L289 |
2,543 | aws/aws-sdk-go | service/redshift/waiters.go | WaitUntilClusterAvailable | func (c *Redshift) WaitUntilClusterAvailable(input *DescribeClustersInput) error {
return c.WaitUntilClusterAvailableWithContext(aws.BackgroundContext(), input)
} | go | func (c *Redshift) WaitUntilClusterAvailable(input *DescribeClustersInput) error {
return c.WaitUntilClusterAvailableWithContext(aws.BackgroundContext(), input)
} | [
"func",
"(",
"c",
"*",
"Redshift",
")",
"WaitUntilClusterAvailable",
"(",
"input",
"*",
"DescribeClustersInput",
")",
"error",
"{",
"return",
"c",
".",
"WaitUntilClusterAvailableWithContext",
"(",
"aws",
".",
"BackgroundContext",
"(",
")",
",",
"input",
")",
"\n",
"}"
] | // WaitUntilClusterAvailable uses the Amazon Redshift API operation
// DescribeClusters to wait for a condition to be met before returning.
// If the condition is not met within the max attempt window, an error will
// be returned. | [
"WaitUntilClusterAvailable",
"uses",
"the",
"Amazon",
"Redshift",
"API",
"operation",
"DescribeClusters",
"to",
"wait",
"for",
"a",
"condition",
"to",
"be",
"met",
"before",
"returning",
".",
"If",
"the",
"condition",
"is",
"not",
"met",
"within",
"the",
"max",
"attempt",
"window",
"an",
"error",
"will",
"be",
"returned",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/waiters.go#L16-L18 |
2,544 | aws/aws-sdk-go | service/redshift/waiters.go | WaitUntilClusterDeleted | func (c *Redshift) WaitUntilClusterDeleted(input *DescribeClustersInput) error {
return c.WaitUntilClusterDeletedWithContext(aws.BackgroundContext(), input)
} | go | func (c *Redshift) WaitUntilClusterDeleted(input *DescribeClustersInput) error {
return c.WaitUntilClusterDeletedWithContext(aws.BackgroundContext(), input)
} | [
"func",
"(",
"c",
"*",
"Redshift",
")",
"WaitUntilClusterDeleted",
"(",
"input",
"*",
"DescribeClustersInput",
")",
"error",
"{",
"return",
"c",
".",
"WaitUntilClusterDeletedWithContext",
"(",
"aws",
".",
"BackgroundContext",
"(",
")",
",",
"input",
")",
"\n",
"}"
] | // WaitUntilClusterDeleted uses the Amazon Redshift API operation
// DescribeClusters to wait for a condition to be met before returning.
// If the condition is not met within the max attempt window, an error will
// be returned. | [
"WaitUntilClusterDeleted",
"uses",
"the",
"Amazon",
"Redshift",
"API",
"operation",
"DescribeClusters",
"to",
"wait",
"for",
"a",
"condition",
"to",
"be",
"met",
"before",
"returning",
".",
"If",
"the",
"condition",
"is",
"not",
"met",
"within",
"the",
"max",
"attempt",
"window",
"an",
"error",
"will",
"be",
"returned",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/waiters.go#L72-L74 |
2,545 | aws/aws-sdk-go | service/redshift/waiters.go | WaitUntilClusterRestored | func (c *Redshift) WaitUntilClusterRestored(input *DescribeClustersInput) error {
return c.WaitUntilClusterRestoredWithContext(aws.BackgroundContext(), input)
} | go | func (c *Redshift) WaitUntilClusterRestored(input *DescribeClustersInput) error {
return c.WaitUntilClusterRestoredWithContext(aws.BackgroundContext(), input)
} | [
"func",
"(",
"c",
"*",
"Redshift",
")",
"WaitUntilClusterRestored",
"(",
"input",
"*",
"DescribeClustersInput",
")",
"error",
"{",
"return",
"c",
".",
"WaitUntilClusterRestoredWithContext",
"(",
"aws",
".",
"BackgroundContext",
"(",
")",
",",
"input",
")",
"\n",
"}"
] | // WaitUntilClusterRestored uses the Amazon Redshift API operation
// DescribeClusters to wait for a condition to be met before returning.
// If the condition is not met within the max attempt window, an error will
// be returned. | [
"WaitUntilClusterRestored",
"uses",
"the",
"Amazon",
"Redshift",
"API",
"operation",
"DescribeClusters",
"to",
"wait",
"for",
"a",
"condition",
"to",
"be",
"met",
"before",
"returning",
".",
"If",
"the",
"condition",
"is",
"not",
"met",
"within",
"the",
"max",
"attempt",
"window",
"an",
"error",
"will",
"be",
"returned",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/waiters.go#L128-L130 |
2,546 | aws/aws-sdk-go | service/redshift/waiters.go | WaitUntilSnapshotAvailable | func (c *Redshift) WaitUntilSnapshotAvailable(input *DescribeClusterSnapshotsInput) error {
return c.WaitUntilSnapshotAvailableWithContext(aws.BackgroundContext(), input)
} | go | func (c *Redshift) WaitUntilSnapshotAvailable(input *DescribeClusterSnapshotsInput) error {
return c.WaitUntilSnapshotAvailableWithContext(aws.BackgroundContext(), input)
} | [
"func",
"(",
"c",
"*",
"Redshift",
")",
"WaitUntilSnapshotAvailable",
"(",
"input",
"*",
"DescribeClusterSnapshotsInput",
")",
"error",
"{",
"return",
"c",
".",
"WaitUntilSnapshotAvailableWithContext",
"(",
"aws",
".",
"BackgroundContext",
"(",
")",
",",
"input",
")",
"\n",
"}"
] | // WaitUntilSnapshotAvailable uses the Amazon Redshift API operation
// DescribeClusterSnapshots to wait for a condition to be met before returning.
// If the condition is not met within the max attempt window, an error will
// be returned. | [
"WaitUntilSnapshotAvailable",
"uses",
"the",
"Amazon",
"Redshift",
"API",
"operation",
"DescribeClusterSnapshots",
"to",
"wait",
"for",
"a",
"condition",
"to",
"be",
"met",
"before",
"returning",
".",
"If",
"the",
"condition",
"is",
"not",
"met",
"within",
"the",
"max",
"attempt",
"window",
"an",
"error",
"will",
"be",
"returned",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/redshift/waiters.go#L179-L181 |
2,547 | aws/aws-sdk-go | service/health/api.go | SetEntityArn | func (s *AffectedEntity) SetEntityArn(v string) *AffectedEntity {
s.EntityArn = &v
return s
} | go | func (s *AffectedEntity) SetEntityArn(v string) *AffectedEntity {
s.EntityArn = &v
return s
} | [
"func",
"(",
"s",
"*",
"AffectedEntity",
")",
"SetEntityArn",
"(",
"v",
"string",
")",
"*",
"AffectedEntity",
"{",
"s",
".",
"EntityArn",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetEntityArn sets the EntityArn field's value. | [
"SetEntityArn",
"sets",
"the",
"EntityArn",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/health/api.go#L790-L793 |
2,548 | aws/aws-sdk-go | service/health/api.go | SetEntityValue | func (s *AffectedEntity) SetEntityValue(v string) *AffectedEntity {
s.EntityValue = &v
return s
} | go | func (s *AffectedEntity) SetEntityValue(v string) *AffectedEntity {
s.EntityValue = &v
return s
} | [
"func",
"(",
"s",
"*",
"AffectedEntity",
")",
"SetEntityValue",
"(",
"v",
"string",
")",
"*",
"AffectedEntity",
"{",
"s",
".",
"EntityValue",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetEntityValue sets the EntityValue field's value. | [
"SetEntityValue",
"sets",
"the",
"EntityValue",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/health/api.go#L802-L805 |
2,549 | aws/aws-sdk-go | service/health/api.go | SetEntityAggregates | func (s *DescribeEntityAggregatesOutput) SetEntityAggregates(v []*EntityAggregate) *DescribeEntityAggregatesOutput {
s.EntityAggregates = v
return s
} | go | func (s *DescribeEntityAggregatesOutput) SetEntityAggregates(v []*EntityAggregate) *DescribeEntityAggregatesOutput {
s.EntityAggregates = v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeEntityAggregatesOutput",
")",
"SetEntityAggregates",
"(",
"v",
"[",
"]",
"*",
"EntityAggregate",
")",
"*",
"DescribeEntityAggregatesOutput",
"{",
"s",
".",
"EntityAggregates",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetEntityAggregates sets the EntityAggregates field's value. | [
"SetEntityAggregates",
"sets",
"the",
"EntityAggregates",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/health/api.go#L1041-L1044 |
2,550 | aws/aws-sdk-go | service/health/api.go | SetAggregateField | func (s *DescribeEventAggregatesInput) SetAggregateField(v string) *DescribeEventAggregatesInput {
s.AggregateField = &v
return s
} | go | func (s *DescribeEventAggregatesInput) SetAggregateField(v string) *DescribeEventAggregatesInput {
s.AggregateField = &v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeEventAggregatesInput",
")",
"SetAggregateField",
"(",
"v",
"string",
")",
"*",
"DescribeEventAggregatesInput",
"{",
"s",
".",
"AggregateField",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAggregateField sets the AggregateField field's value. | [
"SetAggregateField",
"sets",
"the",
"AggregateField",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/health/api.go#L1100-L1103 |
2,551 | aws/aws-sdk-go | service/health/api.go | SetEventAggregates | func (s *DescribeEventAggregatesOutput) SetEventAggregates(v []*EventAggregate) *DescribeEventAggregatesOutput {
s.EventAggregates = v
return s
} | go | func (s *DescribeEventAggregatesOutput) SetEventAggregates(v []*EventAggregate) *DescribeEventAggregatesOutput {
s.EventAggregates = v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeEventAggregatesOutput",
")",
"SetEventAggregates",
"(",
"v",
"[",
"]",
"*",
"EventAggregate",
")",
"*",
"DescribeEventAggregatesOutput",
"{",
"s",
".",
"EventAggregates",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetEventAggregates sets the EventAggregates field's value. | [
"SetEventAggregates",
"sets",
"the",
"EventAggregates",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/health/api.go#L1148-L1151 |
2,552 | aws/aws-sdk-go | service/health/api.go | SetFailedSet | func (s *DescribeEventDetailsOutput) SetFailedSet(v []*EventDetailsErrorItem) *DescribeEventDetailsOutput {
s.FailedSet = v
return s
} | go | func (s *DescribeEventDetailsOutput) SetFailedSet(v []*EventDetailsErrorItem) *DescribeEventDetailsOutput {
s.FailedSet = v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeEventDetailsOutput",
")",
"SetFailedSet",
"(",
"v",
"[",
"]",
"*",
"EventDetailsErrorItem",
")",
"*",
"DescribeEventDetailsOutput",
"{",
"s",
".",
"FailedSet",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetFailedSet sets the FailedSet field's value. | [
"SetFailedSet",
"sets",
"the",
"FailedSet",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/health/api.go#L1235-L1238 |
2,553 | aws/aws-sdk-go | service/health/api.go | SetSuccessfulSet | func (s *DescribeEventDetailsOutput) SetSuccessfulSet(v []*EventDetails) *DescribeEventDetailsOutput {
s.SuccessfulSet = v
return s
} | go | func (s *DescribeEventDetailsOutput) SetSuccessfulSet(v []*EventDetails) *DescribeEventDetailsOutput {
s.SuccessfulSet = v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeEventDetailsOutput",
")",
"SetSuccessfulSet",
"(",
"v",
"[",
"]",
"*",
"EventDetails",
")",
"*",
"DescribeEventDetailsOutput",
"{",
"s",
".",
"SuccessfulSet",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetSuccessfulSet sets the SuccessfulSet field's value. | [
"SetSuccessfulSet",
"sets",
"the",
"SuccessfulSet",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/health/api.go#L1241-L1244 |
2,554 | aws/aws-sdk-go | service/health/api.go | SetEventTypeCategory | func (s *Event) SetEventTypeCategory(v string) *Event {
s.EventTypeCategory = &v
return s
} | go | func (s *Event) SetEventTypeCategory(v string) *Event {
s.EventTypeCategory = &v
return s
} | [
"func",
"(",
"s",
"*",
"Event",
")",
"SetEventTypeCategory",
"(",
"v",
"string",
")",
"*",
"Event",
"{",
"s",
".",
"EventTypeCategory",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetEventTypeCategory sets the EventTypeCategory field's value. | [
"SetEventTypeCategory",
"sets",
"the",
"EventTypeCategory",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/health/api.go#L1678-L1681 |
2,555 | aws/aws-sdk-go | service/health/api.go | SetEventTypeCode | func (s *Event) SetEventTypeCode(v string) *Event {
s.EventTypeCode = &v
return s
} | go | func (s *Event) SetEventTypeCode(v string) *Event {
s.EventTypeCode = &v
return s
} | [
"func",
"(",
"s",
"*",
"Event",
")",
"SetEventTypeCode",
"(",
"v",
"string",
")",
"*",
"Event",
"{",
"s",
".",
"EventTypeCode",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetEventTypeCode sets the EventTypeCode field's value. | [
"SetEventTypeCode",
"sets",
"the",
"EventTypeCode",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/health/api.go#L1684-L1687 |
2,556 | aws/aws-sdk-go | service/health/api.go | SetAggregateValue | func (s *EventAggregate) SetAggregateValue(v string) *EventAggregate {
s.AggregateValue = &v
return s
} | go | func (s *EventAggregate) SetAggregateValue(v string) *EventAggregate {
s.AggregateValue = &v
return s
} | [
"func",
"(",
"s",
"*",
"EventAggregate",
")",
"SetAggregateValue",
"(",
"v",
"string",
")",
"*",
"EventAggregate",
"{",
"s",
".",
"AggregateValue",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAggregateValue sets the AggregateValue field's value. | [
"SetAggregateValue",
"sets",
"the",
"AggregateValue",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/health/api.go#L1742-L1745 |
2,557 | aws/aws-sdk-go | service/health/api.go | SetEventMetadata | func (s *EventDetails) SetEventMetadata(v map[string]*string) *EventDetails {
s.EventMetadata = v
return s
} | go | func (s *EventDetails) SetEventMetadata(v map[string]*string) *EventDetails {
s.EventMetadata = v
return s
} | [
"func",
"(",
"s",
"*",
"EventDetails",
")",
"SetEventMetadata",
"(",
"v",
"map",
"[",
"string",
"]",
"*",
"string",
")",
"*",
"EventDetails",
"{",
"s",
".",
"EventMetadata",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetEventMetadata sets the EventMetadata field's value. | [
"SetEventMetadata",
"sets",
"the",
"EventMetadata",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/health/api.go#L1817-L1820 |
2,558 | aws/aws-sdk-go | service/health/api.go | SetErrorName | func (s *EventDetailsErrorItem) SetErrorName(v string) *EventDetailsErrorItem {
s.ErrorName = &v
return s
} | go | func (s *EventDetailsErrorItem) SetErrorName(v string) *EventDetailsErrorItem {
s.ErrorName = &v
return s
} | [
"func",
"(",
"s",
"*",
"EventDetailsErrorItem",
")",
"SetErrorName",
"(",
"v",
"string",
")",
"*",
"EventDetailsErrorItem",
"{",
"s",
".",
"ErrorName",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetErrorName sets the ErrorName field's value. | [
"SetErrorName",
"sets",
"the",
"ErrorName",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/health/api.go#L1855-L1858 |
2,559 | aws/aws-sdk-go | service/health/api.go | SetEndTimes | func (s *EventFilter) SetEndTimes(v []*DateTimeRange) *EventFilter {
s.EndTimes = v
return s
} | go | func (s *EventFilter) SetEndTimes(v []*DateTimeRange) *EventFilter {
s.EndTimes = v
return s
} | [
"func",
"(",
"s",
"*",
"EventFilter",
")",
"SetEndTimes",
"(",
"v",
"[",
"]",
"*",
"DateTimeRange",
")",
"*",
"EventFilter",
"{",
"s",
".",
"EndTimes",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetEndTimes sets the EndTimes field's value. | [
"SetEndTimes",
"sets",
"the",
"EndTimes",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/health/api.go#L1973-L1976 |
2,560 | aws/aws-sdk-go | service/health/api.go | SetEventStatusCodes | func (s *EventFilter) SetEventStatusCodes(v []*string) *EventFilter {
s.EventStatusCodes = v
return s
} | go | func (s *EventFilter) SetEventStatusCodes(v []*string) *EventFilter {
s.EventStatusCodes = v
return s
} | [
"func",
"(",
"s",
"*",
"EventFilter",
")",
"SetEventStatusCodes",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"EventFilter",
"{",
"s",
".",
"EventStatusCodes",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetEventStatusCodes sets the EventStatusCodes field's value. | [
"SetEventStatusCodes",
"sets",
"the",
"EventStatusCodes",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/health/api.go#L1997-L2000 |
2,561 | aws/aws-sdk-go | service/health/api.go | SetStartTimes | func (s *EventFilter) SetStartTimes(v []*DateTimeRange) *EventFilter {
s.StartTimes = v
return s
} | go | func (s *EventFilter) SetStartTimes(v []*DateTimeRange) *EventFilter {
s.StartTimes = v
return s
} | [
"func",
"(",
"s",
"*",
"EventFilter",
")",
"SetStartTimes",
"(",
"v",
"[",
"]",
"*",
"DateTimeRange",
")",
"*",
"EventFilter",
"{",
"s",
".",
"StartTimes",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetStartTimes sets the StartTimes field's value. | [
"SetStartTimes",
"sets",
"the",
"StartTimes",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/health/api.go#L2033-L2036 |
2,562 | aws/aws-sdk-go | service/datapipeline/api.go | SetCancelActive | func (s *DeactivatePipelineInput) SetCancelActive(v bool) *DeactivatePipelineInput {
s.CancelActive = &v
return s
} | go | func (s *DeactivatePipelineInput) SetCancelActive(v bool) *DeactivatePipelineInput {
s.CancelActive = &v
return s
} | [
"func",
"(",
"s",
"*",
"DeactivatePipelineInput",
")",
"SetCancelActive",
"(",
"v",
"bool",
")",
"*",
"DeactivatePipelineInput",
"{",
"s",
".",
"CancelActive",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetCancelActive sets the CancelActive field's value. | [
"SetCancelActive",
"sets",
"the",
"CancelActive",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/datapipeline/api.go#L2324-L2327 |
2,563 | aws/aws-sdk-go | service/datapipeline/api.go | SetEvaluateExpressions | func (s *DescribeObjectsInput) SetEvaluateExpressions(v bool) *DescribeObjectsInput {
s.EvaluateExpressions = &v
return s
} | go | func (s *DescribeObjectsInput) SetEvaluateExpressions(v bool) *DescribeObjectsInput {
s.EvaluateExpressions = &v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeObjectsInput",
")",
"SetEvaluateExpressions",
"(",
"v",
"bool",
")",
"*",
"DescribeObjectsInput",
"{",
"s",
".",
"EvaluateExpressions",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetEvaluateExpressions sets the EvaluateExpressions field's value. | [
"SetEvaluateExpressions",
"sets",
"the",
"EvaluateExpressions",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/datapipeline/api.go#L2462-L2465 |
2,564 | aws/aws-sdk-go | service/datapipeline/api.go | SetPipelineIds | func (s *DescribePipelinesInput) SetPipelineIds(v []*string) *DescribePipelinesInput {
s.PipelineIds = v
return s
} | go | func (s *DescribePipelinesInput) SetPipelineIds(v []*string) *DescribePipelinesInput {
s.PipelineIds = v
return s
} | [
"func",
"(",
"s",
"*",
"DescribePipelinesInput",
")",
"SetPipelineIds",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"DescribePipelinesInput",
"{",
"s",
".",
"PipelineIds",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetPipelineIds sets the PipelineIds field's value. | [
"SetPipelineIds",
"sets",
"the",
"PipelineIds",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/datapipeline/api.go#L2566-L2569 |
2,565 | aws/aws-sdk-go | service/datapipeline/api.go | SetPipelineDescriptionList | func (s *DescribePipelinesOutput) SetPipelineDescriptionList(v []*PipelineDescription) *DescribePipelinesOutput {
s.PipelineDescriptionList = v
return s
} | go | func (s *DescribePipelinesOutput) SetPipelineDescriptionList(v []*PipelineDescription) *DescribePipelinesOutput {
s.PipelineDescriptionList = v
return s
} | [
"func",
"(",
"s",
"*",
"DescribePipelinesOutput",
")",
"SetPipelineDescriptionList",
"(",
"v",
"[",
"]",
"*",
"PipelineDescription",
")",
"*",
"DescribePipelinesOutput",
"{",
"s",
".",
"PipelineDescriptionList",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetPipelineDescriptionList sets the PipelineDescriptionList field's value. | [
"SetPipelineDescriptionList",
"sets",
"the",
"PipelineDescriptionList",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/datapipeline/api.go#L2592-L2595 |
2,566 | aws/aws-sdk-go | service/datapipeline/api.go | SetObjectId | func (s *EvaluateExpressionInput) SetObjectId(v string) *EvaluateExpressionInput {
s.ObjectId = &v
return s
} | go | func (s *EvaluateExpressionInput) SetObjectId(v string) *EvaluateExpressionInput {
s.ObjectId = &v
return s
} | [
"func",
"(",
"s",
"*",
"EvaluateExpressionInput",
")",
"SetObjectId",
"(",
"v",
"string",
")",
"*",
"EvaluateExpressionInput",
"{",
"s",
".",
"ObjectId",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetObjectId sets the ObjectId field's value. | [
"SetObjectId",
"sets",
"the",
"ObjectId",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/datapipeline/api.go#L2659-L2662 |
2,567 | aws/aws-sdk-go | service/datapipeline/api.go | SetEvaluatedExpression | func (s *EvaluateExpressionOutput) SetEvaluatedExpression(v string) *EvaluateExpressionOutput {
s.EvaluatedExpression = &v
return s
} | go | func (s *EvaluateExpressionOutput) SetEvaluatedExpression(v string) *EvaluateExpressionOutput {
s.EvaluatedExpression = &v
return s
} | [
"func",
"(",
"s",
"*",
"EvaluateExpressionOutput",
")",
"SetEvaluatedExpression",
"(",
"v",
"string",
")",
"*",
"EvaluateExpressionOutput",
"{",
"s",
".",
"EvaluatedExpression",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetEvaluatedExpression sets the EvaluatedExpression field's value. | [
"SetEvaluatedExpression",
"sets",
"the",
"EvaluatedExpression",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/datapipeline/api.go#L2691-L2694 |
2,568 | aws/aws-sdk-go | service/datapipeline/api.go | SetRefValue | func (s *Field) SetRefValue(v string) *Field {
s.RefValue = &v
return s
} | go | func (s *Field) SetRefValue(v string) *Field {
s.RefValue = &v
return s
} | [
"func",
"(",
"s",
"*",
"Field",
")",
"SetRefValue",
"(",
"v",
"string",
")",
"*",
"Field",
"{",
"s",
".",
"RefValue",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetRefValue sets the RefValue field's value. | [
"SetRefValue",
"sets",
"the",
"RefValue",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/datapipeline/api.go#L2750-L2753 |
2,569 | aws/aws-sdk-go | service/datapipeline/api.go | SetPipelineIdList | func (s *ListPipelinesOutput) SetPipelineIdList(v []*PipelineIdName) *ListPipelinesOutput {
s.PipelineIdList = v
return s
} | go | func (s *ListPipelinesOutput) SetPipelineIdList(v []*PipelineIdName) *ListPipelinesOutput {
s.PipelineIdList = v
return s
} | [
"func",
"(",
"s",
"*",
"ListPipelinesOutput",
")",
"SetPipelineIdList",
"(",
"v",
"[",
"]",
"*",
"PipelineIdName",
")",
"*",
"ListPipelinesOutput",
"{",
"s",
".",
"PipelineIdList",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetPipelineIdList sets the PipelineIdList field's value. | [
"SetPipelineIdList",
"sets",
"the",
"PipelineIdList",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/datapipeline/api.go#L2967-L2970 |
2,570 | aws/aws-sdk-go | service/datapipeline/api.go | SetTaskObject | func (s *PollForTaskOutput) SetTaskObject(v *TaskObject) *PollForTaskOutput {
s.TaskObject = v
return s
} | go | func (s *PollForTaskOutput) SetTaskObject(v *TaskObject) *PollForTaskOutput {
s.TaskObject = v
return s
} | [
"func",
"(",
"s",
"*",
"PollForTaskOutput",
")",
"SetTaskObject",
"(",
"v",
"*",
"TaskObject",
")",
"*",
"PollForTaskOutput",
"{",
"s",
".",
"TaskObject",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetTaskObject sets the TaskObject field's value. | [
"SetTaskObject",
"sets",
"the",
"TaskObject",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/datapipeline/api.go#L3493-L3496 |
2,571 | aws/aws-sdk-go | service/datapipeline/api.go | SetSelectors | func (s *Query) SetSelectors(v []*Selector) *Query {
s.Selectors = v
return s
} | go | func (s *Query) SetSelectors(v []*Selector) *Query {
s.Selectors = v
return s
} | [
"func",
"(",
"s",
"*",
"Query",
")",
"SetSelectors",
"(",
"v",
"[",
"]",
"*",
"Selector",
")",
"*",
"Query",
"{",
"s",
".",
"Selectors",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetSelectors sets the Selectors field's value. | [
"SetSelectors",
"sets",
"the",
"Selectors",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/datapipeline/api.go#L3669-L3672 |
2,572 | aws/aws-sdk-go | service/datapipeline/api.go | SetSphere | func (s *QueryObjectsInput) SetSphere(v string) *QueryObjectsInput {
s.Sphere = &v
return s
} | go | func (s *QueryObjectsInput) SetSphere(v string) *QueryObjectsInput {
s.Sphere = &v
return s
} | [
"func",
"(",
"s",
"*",
"QueryObjectsInput",
")",
"SetSphere",
"(",
"v",
"string",
")",
"*",
"QueryObjectsInput",
"{",
"s",
".",
"Sphere",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetSphere sets the Sphere field's value. | [
"SetSphere",
"sets",
"the",
"Sphere",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/datapipeline/api.go#L3760-L3763 |
2,573 | aws/aws-sdk-go | service/datapipeline/api.go | SetCanceled | func (s *ReportTaskProgressOutput) SetCanceled(v bool) *ReportTaskProgressOutput {
s.Canceled = &v
return s
} | go | func (s *ReportTaskProgressOutput) SetCanceled(v bool) *ReportTaskProgressOutput {
s.Canceled = &v
return s
} | [
"func",
"(",
"s",
"*",
"ReportTaskProgressOutput",
")",
"SetCanceled",
"(",
"v",
"bool",
")",
"*",
"ReportTaskProgressOutput",
"{",
"s",
".",
"Canceled",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetCanceled sets the Canceled field's value. | [
"SetCanceled",
"sets",
"the",
"Canceled",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/datapipeline/api.go#L3966-L3969 |
2,574 | aws/aws-sdk-go | service/datapipeline/api.go | SetTaskrunnerId | func (s *ReportTaskRunnerHeartbeatInput) SetTaskrunnerId(v string) *ReportTaskRunnerHeartbeatInput {
s.TaskrunnerId = &v
return s
} | go | func (s *ReportTaskRunnerHeartbeatInput) SetTaskrunnerId(v string) *ReportTaskRunnerHeartbeatInput {
s.TaskrunnerId = &v
return s
} | [
"func",
"(",
"s",
"*",
"ReportTaskRunnerHeartbeatInput",
")",
"SetTaskrunnerId",
"(",
"v",
"string",
")",
"*",
"ReportTaskRunnerHeartbeatInput",
"{",
"s",
".",
"TaskrunnerId",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetTaskrunnerId sets the TaskrunnerId field's value. | [
"SetTaskrunnerId",
"sets",
"the",
"TaskrunnerId",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/datapipeline/api.go#L4031-L4034 |
2,575 | aws/aws-sdk-go | service/datapipeline/api.go | SetTerminate | func (s *ReportTaskRunnerHeartbeatOutput) SetTerminate(v bool) *ReportTaskRunnerHeartbeatOutput {
s.Terminate = &v
return s
} | go | func (s *ReportTaskRunnerHeartbeatOutput) SetTerminate(v bool) *ReportTaskRunnerHeartbeatOutput {
s.Terminate = &v
return s
} | [
"func",
"(",
"s",
"*",
"ReportTaskRunnerHeartbeatOutput",
")",
"SetTerminate",
"(",
"v",
"bool",
")",
"*",
"ReportTaskRunnerHeartbeatOutput",
"{",
"s",
".",
"Terminate",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetTerminate sets the Terminate field's value. | [
"SetTerminate",
"sets",
"the",
"Terminate",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/datapipeline/api.go#L4063-L4066 |
2,576 | aws/aws-sdk-go | service/datapipeline/api.go | SetErrorId | func (s *SetTaskStatusInput) SetErrorId(v string) *SetTaskStatusInput {
s.ErrorId = &v
return s
} | go | func (s *SetTaskStatusInput) SetErrorId(v string) *SetTaskStatusInput {
s.ErrorId = &v
return s
} | [
"func",
"(",
"s",
"*",
"SetTaskStatusInput",
")",
"SetErrorId",
"(",
"v",
"string",
")",
"*",
"SetTaskStatusInput",
"{",
"s",
".",
"ErrorId",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetErrorId sets the ErrorId field's value. | [
"SetErrorId",
"sets",
"the",
"ErrorId",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/datapipeline/api.go#L4257-L4260 |
2,577 | aws/aws-sdk-go | service/datapipeline/api.go | SetErrorStackTrace | func (s *SetTaskStatusInput) SetErrorStackTrace(v string) *SetTaskStatusInput {
s.ErrorStackTrace = &v
return s
} | go | func (s *SetTaskStatusInput) SetErrorStackTrace(v string) *SetTaskStatusInput {
s.ErrorStackTrace = &v
return s
} | [
"func",
"(",
"s",
"*",
"SetTaskStatusInput",
")",
"SetErrorStackTrace",
"(",
"v",
"string",
")",
"*",
"SetTaskStatusInput",
"{",
"s",
".",
"ErrorStackTrace",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetErrorStackTrace sets the ErrorStackTrace field's value. | [
"SetErrorStackTrace",
"sets",
"the",
"ErrorStackTrace",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/datapipeline/api.go#L4269-L4272 |
2,578 | aws/aws-sdk-go | service/datapipeline/api.go | SetAttemptId | func (s *TaskObject) SetAttemptId(v string) *TaskObject {
s.AttemptId = &v
return s
} | go | func (s *TaskObject) SetAttemptId(v string) *TaskObject {
s.AttemptId = &v
return s
} | [
"func",
"(",
"s",
"*",
"TaskObject",
")",
"SetAttemptId",
"(",
"v",
"string",
")",
"*",
"TaskObject",
"{",
"s",
".",
"AttemptId",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAttemptId sets the AttemptId field's value. | [
"SetAttemptId",
"sets",
"the",
"AttemptId",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/datapipeline/api.go#L4396-L4399 |
2,579 | aws/aws-sdk-go | service/directconnect/api.go | SetAssociatedGatewayOwnerAccount | func (s *AcceptDirectConnectGatewayAssociationProposalInput) SetAssociatedGatewayOwnerAccount(v string) *AcceptDirectConnectGatewayAssociationProposalInput {
s.AssociatedGatewayOwnerAccount = &v
return s
} | go | func (s *AcceptDirectConnectGatewayAssociationProposalInput) SetAssociatedGatewayOwnerAccount(v string) *AcceptDirectConnectGatewayAssociationProposalInput {
s.AssociatedGatewayOwnerAccount = &v
return s
} | [
"func",
"(",
"s",
"*",
"AcceptDirectConnectGatewayAssociationProposalInput",
")",
"SetAssociatedGatewayOwnerAccount",
"(",
"v",
"string",
")",
"*",
"AcceptDirectConnectGatewayAssociationProposalInput",
"{",
"s",
".",
"AssociatedGatewayOwnerAccount",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAssociatedGatewayOwnerAccount sets the AssociatedGatewayOwnerAccount field's value. | [
"SetAssociatedGatewayOwnerAccount",
"sets",
"the",
"AssociatedGatewayOwnerAccount",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/directconnect/api.go#L4763-L4766 |
2,580 | aws/aws-sdk-go | service/directconnect/api.go | SetOverrideAllowedPrefixesToDirectConnectGateway | func (s *AcceptDirectConnectGatewayAssociationProposalInput) SetOverrideAllowedPrefixesToDirectConnectGateway(v []*RouteFilterPrefix) *AcceptDirectConnectGatewayAssociationProposalInput {
s.OverrideAllowedPrefixesToDirectConnectGateway = v
return s
} | go | func (s *AcceptDirectConnectGatewayAssociationProposalInput) SetOverrideAllowedPrefixesToDirectConnectGateway(v []*RouteFilterPrefix) *AcceptDirectConnectGatewayAssociationProposalInput {
s.OverrideAllowedPrefixesToDirectConnectGateway = v
return s
} | [
"func",
"(",
"s",
"*",
"AcceptDirectConnectGatewayAssociationProposalInput",
")",
"SetOverrideAllowedPrefixesToDirectConnectGateway",
"(",
"v",
"[",
"]",
"*",
"RouteFilterPrefix",
")",
"*",
"AcceptDirectConnectGatewayAssociationProposalInput",
"{",
"s",
".",
"OverrideAllowedPrefixesToDirectConnectGateway",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetOverrideAllowedPrefixesToDirectConnectGateway sets the OverrideAllowedPrefixesToDirectConnectGateway field's value. | [
"SetOverrideAllowedPrefixesToDirectConnectGateway",
"sets",
"the",
"OverrideAllowedPrefixesToDirectConnectGateway",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/directconnect/api.go#L4775-L4778 |
2,581 | aws/aws-sdk-go | service/directconnect/api.go | SetNewPrivateVirtualInterfaceAllocation | func (s *AllocatePrivateVirtualInterfaceInput) SetNewPrivateVirtualInterfaceAllocation(v *NewPrivateVirtualInterfaceAllocation) *AllocatePrivateVirtualInterfaceInput {
s.NewPrivateVirtualInterfaceAllocation = v
return s
} | go | func (s *AllocatePrivateVirtualInterfaceInput) SetNewPrivateVirtualInterfaceAllocation(v *NewPrivateVirtualInterfaceAllocation) *AllocatePrivateVirtualInterfaceInput {
s.NewPrivateVirtualInterfaceAllocation = v
return s
} | [
"func",
"(",
"s",
"*",
"AllocatePrivateVirtualInterfaceInput",
")",
"SetNewPrivateVirtualInterfaceAllocation",
"(",
"v",
"*",
"NewPrivateVirtualInterfaceAllocation",
")",
"*",
"AllocatePrivateVirtualInterfaceInput",
"{",
"s",
".",
"NewPrivateVirtualInterfaceAllocation",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetNewPrivateVirtualInterfaceAllocation sets the NewPrivateVirtualInterfaceAllocation field's value. | [
"SetNewPrivateVirtualInterfaceAllocation",
"sets",
"the",
"NewPrivateVirtualInterfaceAllocation",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/directconnect/api.go#L5065-L5068 |
2,582 | aws/aws-sdk-go | service/directconnect/api.go | SetNewPublicVirtualInterfaceAllocation | func (s *AllocatePublicVirtualInterfaceInput) SetNewPublicVirtualInterfaceAllocation(v *NewPublicVirtualInterfaceAllocation) *AllocatePublicVirtualInterfaceInput {
s.NewPublicVirtualInterfaceAllocation = v
return s
} | go | func (s *AllocatePublicVirtualInterfaceInput) SetNewPublicVirtualInterfaceAllocation(v *NewPublicVirtualInterfaceAllocation) *AllocatePublicVirtualInterfaceInput {
s.NewPublicVirtualInterfaceAllocation = v
return s
} | [
"func",
"(",
"s",
"*",
"AllocatePublicVirtualInterfaceInput",
")",
"SetNewPublicVirtualInterfaceAllocation",
"(",
"v",
"*",
"NewPublicVirtualInterfaceAllocation",
")",
"*",
"AllocatePublicVirtualInterfaceInput",
"{",
"s",
".",
"NewPublicVirtualInterfaceAllocation",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetNewPublicVirtualInterfaceAllocation sets the NewPublicVirtualInterfaceAllocation field's value. | [
"SetNewPublicVirtualInterfaceAllocation",
"sets",
"the",
"NewPublicVirtualInterfaceAllocation",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/directconnect/api.go#L5136-L5139 |
2,583 | aws/aws-sdk-go | service/directconnect/api.go | SetNewTransitVirtualInterfaceAllocation | func (s *AllocateTransitVirtualInterfaceInput) SetNewTransitVirtualInterfaceAllocation(v *NewTransitVirtualInterfaceAllocation) *AllocateTransitVirtualInterfaceInput {
s.NewTransitVirtualInterfaceAllocation = v
return s
} | go | func (s *AllocateTransitVirtualInterfaceInput) SetNewTransitVirtualInterfaceAllocation(v *NewTransitVirtualInterfaceAllocation) *AllocateTransitVirtualInterfaceInput {
s.NewTransitVirtualInterfaceAllocation = v
return s
} | [
"func",
"(",
"s",
"*",
"AllocateTransitVirtualInterfaceInput",
")",
"SetNewTransitVirtualInterfaceAllocation",
"(",
"v",
"*",
"NewTransitVirtualInterfaceAllocation",
")",
"*",
"AllocateTransitVirtualInterfaceInput",
"{",
"s",
".",
"NewTransitVirtualInterfaceAllocation",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetNewTransitVirtualInterfaceAllocation sets the NewTransitVirtualInterfaceAllocation field's value. | [
"SetNewTransitVirtualInterfaceAllocation",
"sets",
"the",
"NewTransitVirtualInterfaceAllocation",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/directconnect/api.go#L5202-L5205 |
2,584 | aws/aws-sdk-go | service/directconnect/api.go | SetParentConnectionId | func (s *AssociateHostedConnectionInput) SetParentConnectionId(v string) *AssociateHostedConnectionInput {
s.ParentConnectionId = &v
return s
} | go | func (s *AssociateHostedConnectionInput) SetParentConnectionId(v string) *AssociateHostedConnectionInput {
s.ParentConnectionId = &v
return s
} | [
"func",
"(",
"s",
"*",
"AssociateHostedConnectionInput",
")",
"SetParentConnectionId",
"(",
"v",
"string",
")",
"*",
"AssociateHostedConnectionInput",
"{",
"s",
".",
"ParentConnectionId",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetParentConnectionId sets the ParentConnectionId field's value. | [
"SetParentConnectionId",
"sets",
"the",
"ParentConnectionId",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/directconnect/api.go#L5335-L5338 |
2,585 | aws/aws-sdk-go | service/directconnect/api.go | SetBgpPeerState | func (s *BGPPeer) SetBgpPeerState(v string) *BGPPeer {
s.BgpPeerState = &v
return s
} | go | func (s *BGPPeer) SetBgpPeerState(v string) *BGPPeer {
s.BgpPeerState = &v
return s
} | [
"func",
"(",
"s",
"*",
"BGPPeer",
")",
"SetBgpPeerState",
"(",
"v",
"string",
")",
"*",
"BGPPeer",
"{",
"s",
".",
"BgpPeerState",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetBgpPeerState sets the BgpPeerState field's value. | [
"SetBgpPeerState",
"sets",
"the",
"BgpPeerState",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/directconnect/api.go#L5544-L5547 |
2,586 | aws/aws-sdk-go | service/directconnect/api.go | SetBgpStatus | func (s *BGPPeer) SetBgpStatus(v string) *BGPPeer {
s.BgpStatus = &v
return s
} | go | func (s *BGPPeer) SetBgpStatus(v string) *BGPPeer {
s.BgpStatus = &v
return s
} | [
"func",
"(",
"s",
"*",
"BGPPeer",
")",
"SetBgpStatus",
"(",
"v",
"string",
")",
"*",
"BGPPeer",
"{",
"s",
".",
"BgpStatus",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetBgpStatus sets the BgpStatus field's value. | [
"SetBgpStatus",
"sets",
"the",
"BgpStatus",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/directconnect/api.go#L5550-L5553 |
2,587 | aws/aws-sdk-go | service/directconnect/api.go | SetPartnerName | func (s *Connection) SetPartnerName(v string) *Connection {
s.PartnerName = &v
return s
} | go | func (s *Connection) SetPartnerName(v string) *Connection {
s.PartnerName = &v
return s
} | [
"func",
"(",
"s",
"*",
"Connection",
")",
"SetPartnerName",
"(",
"v",
"string",
")",
"*",
"Connection",
"{",
"s",
".",
"PartnerName",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetPartnerName sets the PartnerName field's value. | [
"SetPartnerName",
"sets",
"the",
"PartnerName",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/directconnect/api.go#L6104-L6107 |
2,588 | aws/aws-sdk-go | service/directconnect/api.go | SetNewBGPPeer | func (s *CreateBGPPeerInput) SetNewBGPPeer(v *NewBGPPeer) *CreateBGPPeerInput {
s.NewBGPPeer = v
return s
} | go | func (s *CreateBGPPeerInput) SetNewBGPPeer(v *NewBGPPeer) *CreateBGPPeerInput {
s.NewBGPPeer = v
return s
} | [
"func",
"(",
"s",
"*",
"CreateBGPPeerInput",
")",
"SetNewBGPPeer",
"(",
"v",
"*",
"NewBGPPeer",
")",
"*",
"CreateBGPPeerInput",
"{",
"s",
".",
"NewBGPPeer",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetNewBGPPeer sets the NewBGPPeer field's value. | [
"SetNewBGPPeer",
"sets",
"the",
"NewBGPPeer",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/directconnect/api.go#L6165-L6168 |
2,589 | aws/aws-sdk-go | service/directconnect/api.go | SetNewPrivateVirtualInterface | func (s *CreatePrivateVirtualInterfaceInput) SetNewPrivateVirtualInterface(v *NewPrivateVirtualInterface) *CreatePrivateVirtualInterfaceInput {
s.NewPrivateVirtualInterface = v
return s
} | go | func (s *CreatePrivateVirtualInterfaceInput) SetNewPrivateVirtualInterface(v *NewPrivateVirtualInterface) *CreatePrivateVirtualInterfaceInput {
s.NewPrivateVirtualInterface = v
return s
} | [
"func",
"(",
"s",
"*",
"CreatePrivateVirtualInterfaceInput",
")",
"SetNewPrivateVirtualInterface",
"(",
"v",
"*",
"NewPrivateVirtualInterface",
")",
"*",
"CreatePrivateVirtualInterfaceInput",
"{",
"s",
".",
"NewPrivateVirtualInterface",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetNewPrivateVirtualInterface sets the NewPrivateVirtualInterface field's value. | [
"SetNewPrivateVirtualInterface",
"sets",
"the",
"NewPrivateVirtualInterface",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/directconnect/api.go#L6761-L6764 |
2,590 | aws/aws-sdk-go | service/directconnect/api.go | SetNewPublicVirtualInterface | func (s *CreatePublicVirtualInterfaceInput) SetNewPublicVirtualInterface(v *NewPublicVirtualInterface) *CreatePublicVirtualInterfaceInput {
s.NewPublicVirtualInterface = v
return s
} | go | func (s *CreatePublicVirtualInterfaceInput) SetNewPublicVirtualInterface(v *NewPublicVirtualInterface) *CreatePublicVirtualInterfaceInput {
s.NewPublicVirtualInterface = v
return s
} | [
"func",
"(",
"s",
"*",
"CreatePublicVirtualInterfaceInput",
")",
"SetNewPublicVirtualInterface",
"(",
"v",
"*",
"NewPublicVirtualInterface",
")",
"*",
"CreatePublicVirtualInterfaceInput",
"{",
"s",
".",
"NewPublicVirtualInterface",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetNewPublicVirtualInterface sets the NewPublicVirtualInterface field's value. | [
"SetNewPublicVirtualInterface",
"sets",
"the",
"NewPublicVirtualInterface",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/directconnect/api.go#L6818-L6821 |
2,591 | aws/aws-sdk-go | service/directconnect/api.go | SetNewTransitVirtualInterface | func (s *CreateTransitVirtualInterfaceInput) SetNewTransitVirtualInterface(v *NewTransitVirtualInterface) *CreateTransitVirtualInterfaceInput {
s.NewTransitVirtualInterface = v
return s
} | go | func (s *CreateTransitVirtualInterfaceInput) SetNewTransitVirtualInterface(v *NewTransitVirtualInterface) *CreateTransitVirtualInterfaceInput {
s.NewTransitVirtualInterface = v
return s
} | [
"func",
"(",
"s",
"*",
"CreateTransitVirtualInterfaceInput",
")",
"SetNewTransitVirtualInterface",
"(",
"v",
"*",
"NewTransitVirtualInterface",
")",
"*",
"CreateTransitVirtualInterfaceInput",
"{",
"s",
".",
"NewTransitVirtualInterface",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetNewTransitVirtualInterface sets the NewTransitVirtualInterface field's value. | [
"SetNewTransitVirtualInterface",
"sets",
"the",
"NewTransitVirtualInterface",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/directconnect/api.go#L6870-L6873 |
2,592 | aws/aws-sdk-go | service/directconnect/api.go | SetDirectConnectGatewayAssociationProposals | func (s *DescribeDirectConnectGatewayAssociationProposalsOutput) SetDirectConnectGatewayAssociationProposals(v []*GatewayAssociationProposal) *DescribeDirectConnectGatewayAssociationProposalsOutput {
s.DirectConnectGatewayAssociationProposals = v
return s
} | go | func (s *DescribeDirectConnectGatewayAssociationProposalsOutput) SetDirectConnectGatewayAssociationProposals(v []*GatewayAssociationProposal) *DescribeDirectConnectGatewayAssociationProposalsOutput {
s.DirectConnectGatewayAssociationProposals = v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeDirectConnectGatewayAssociationProposalsOutput",
")",
"SetDirectConnectGatewayAssociationProposals",
"(",
"v",
"[",
"]",
"*",
"GatewayAssociationProposal",
")",
"*",
"DescribeDirectConnectGatewayAssociationProposalsOutput",
"{",
"s",
".",
"DirectConnectGatewayAssociationProposals",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDirectConnectGatewayAssociationProposals sets the DirectConnectGatewayAssociationProposals field's value. | [
"SetDirectConnectGatewayAssociationProposals",
"sets",
"the",
"DirectConnectGatewayAssociationProposals",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/directconnect/api.go#L7628-L7631 |
2,593 | aws/aws-sdk-go | service/directconnect/api.go | SetDirectConnectGatewayAssociations | func (s *DescribeDirectConnectGatewayAssociationsOutput) SetDirectConnectGatewayAssociations(v []*GatewayAssociation) *DescribeDirectConnectGatewayAssociationsOutput {
s.DirectConnectGatewayAssociations = v
return s
} | go | func (s *DescribeDirectConnectGatewayAssociationsOutput) SetDirectConnectGatewayAssociations(v []*GatewayAssociation) *DescribeDirectConnectGatewayAssociationsOutput {
s.DirectConnectGatewayAssociations = v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeDirectConnectGatewayAssociationsOutput",
")",
"SetDirectConnectGatewayAssociations",
"(",
"v",
"[",
"]",
"*",
"GatewayAssociation",
")",
"*",
"DescribeDirectConnectGatewayAssociationsOutput",
"{",
"s",
".",
"DirectConnectGatewayAssociations",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDirectConnectGatewayAssociations sets the DirectConnectGatewayAssociations field's value. | [
"SetDirectConnectGatewayAssociations",
"sets",
"the",
"DirectConnectGatewayAssociations",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/directconnect/api.go#L7731-L7734 |
2,594 | aws/aws-sdk-go | service/directconnect/api.go | SetDirectConnectGatewayAttachments | func (s *DescribeDirectConnectGatewayAttachmentsOutput) SetDirectConnectGatewayAttachments(v []*GatewayAttachment) *DescribeDirectConnectGatewayAttachmentsOutput {
s.DirectConnectGatewayAttachments = v
return s
} | go | func (s *DescribeDirectConnectGatewayAttachmentsOutput) SetDirectConnectGatewayAttachments(v []*GatewayAttachment) *DescribeDirectConnectGatewayAttachmentsOutput {
s.DirectConnectGatewayAttachments = v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeDirectConnectGatewayAttachmentsOutput",
")",
"SetDirectConnectGatewayAttachments",
"(",
"v",
"[",
"]",
"*",
"GatewayAttachment",
")",
"*",
"DescribeDirectConnectGatewayAttachmentsOutput",
"{",
"s",
".",
"DirectConnectGatewayAttachments",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDirectConnectGatewayAttachments sets the DirectConnectGatewayAttachments field's value. | [
"SetDirectConnectGatewayAttachments",
"sets",
"the",
"DirectConnectGatewayAttachments",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/directconnect/api.go#L7816-L7819 |
2,595 | aws/aws-sdk-go | service/directconnect/api.go | SetDirectConnectGateways | func (s *DescribeDirectConnectGatewaysOutput) SetDirectConnectGateways(v []*Gateway) *DescribeDirectConnectGatewaysOutput {
s.DirectConnectGateways = v
return s
} | go | func (s *DescribeDirectConnectGatewaysOutput) SetDirectConnectGateways(v []*Gateway) *DescribeDirectConnectGatewaysOutput {
s.DirectConnectGateways = v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeDirectConnectGatewaysOutput",
")",
"SetDirectConnectGateways",
"(",
"v",
"[",
"]",
"*",
"Gateway",
")",
"*",
"DescribeDirectConnectGatewaysOutput",
"{",
"s",
".",
"DirectConnectGateways",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDirectConnectGateways sets the DirectConnectGateways field's value. | [
"SetDirectConnectGateways",
"sets",
"the",
"DirectConnectGateways",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/directconnect/api.go#L7892-L7895 |
2,596 | aws/aws-sdk-go | service/directconnect/api.go | SetInterconnects | func (s *DescribeInterconnectsOutput) SetInterconnects(v []*Interconnect) *DescribeInterconnectsOutput {
s.Interconnects = v
return s
} | go | func (s *DescribeInterconnectsOutput) SetInterconnects(v []*Interconnect) *DescribeInterconnectsOutput {
s.Interconnects = v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeInterconnectsOutput",
")",
"SetInterconnects",
"(",
"v",
"[",
"]",
"*",
"Interconnect",
")",
"*",
"DescribeInterconnectsOutput",
"{",
"s",
".",
"Interconnects",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetInterconnects sets the Interconnects field's value. | [
"SetInterconnects",
"sets",
"the",
"Interconnects",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/directconnect/api.go#L8064-L8067 |
2,597 | aws/aws-sdk-go | service/directconnect/api.go | SetLags | func (s *DescribeLagsOutput) SetLags(v []*Lag) *DescribeLagsOutput {
s.Lags = v
return s
} | go | func (s *DescribeLagsOutput) SetLags(v []*Lag) *DescribeLagsOutput {
s.Lags = v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeLagsOutput",
")",
"SetLags",
"(",
"v",
"[",
"]",
"*",
"Lag",
")",
"*",
"DescribeLagsOutput",
"{",
"s",
".",
"Lags",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetLags sets the Lags field's value. | [
"SetLags",
"sets",
"the",
"Lags",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/directconnect/api.go#L8110-L8113 |
2,598 | aws/aws-sdk-go | service/directconnect/api.go | SetVirtualGateways | func (s *DescribeVirtualGatewaysOutput) SetVirtualGateways(v []*VirtualGateway) *DescribeVirtualGatewaysOutput {
s.VirtualGateways = v
return s
} | go | func (s *DescribeVirtualGatewaysOutput) SetVirtualGateways(v []*VirtualGateway) *DescribeVirtualGatewaysOutput {
s.VirtualGateways = v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeVirtualGatewaysOutput",
")",
"SetVirtualGateways",
"(",
"v",
"[",
"]",
"*",
"VirtualGateway",
")",
"*",
"DescribeVirtualGatewaysOutput",
"{",
"s",
".",
"VirtualGateways",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetVirtualGateways sets the VirtualGateways field's value. | [
"SetVirtualGateways",
"sets",
"the",
"VirtualGateways",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/directconnect/api.go#L8304-L8307 |
2,599 | aws/aws-sdk-go | service/directconnect/api.go | SetVirtualInterfaces | func (s *DescribeVirtualInterfacesOutput) SetVirtualInterfaces(v []*VirtualInterface) *DescribeVirtualInterfacesOutput {
s.VirtualInterfaces = v
return s
} | go | func (s *DescribeVirtualInterfacesOutput) SetVirtualInterfaces(v []*VirtualInterface) *DescribeVirtualInterfacesOutput {
s.VirtualInterfaces = v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeVirtualInterfacesOutput",
")",
"SetVirtualInterfaces",
"(",
"v",
"[",
"]",
"*",
"VirtualInterface",
")",
"*",
"DescribeVirtualInterfacesOutput",
"{",
"s",
".",
"VirtualInterfaces",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetVirtualInterfaces sets the VirtualInterfaces field's value. | [
"SetVirtualInterfaces",
"sets",
"the",
"VirtualInterfaces",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/directconnect/api.go#L8359-L8362 |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.