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
|
---|---|---|---|---|---|---|---|---|---|---|---|
166,500 | aws/aws-sdk-go | service/pinpoint/api.go | SetMessageRequest | func (s *SendMessagesInput) SetMessageRequest(v *MessageRequest) *SendMessagesInput {
s.MessageRequest = v
return s
} | go | func (s *SendMessagesInput) SetMessageRequest(v *MessageRequest) *SendMessagesInput {
s.MessageRequest = v
return s
} | [
"func",
"(",
"s",
"*",
"SendMessagesInput",
")",
"SetMessageRequest",
"(",
"v",
"*",
"MessageRequest",
")",
"*",
"SendMessagesInput",
"{",
"s",
".",
"MessageRequest",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetMessageRequest sets the MessageRequest field's value. | [
"SetMessageRequest",
"sets",
"the",
"MessageRequest",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/pinpoint/api.go#L18926-L18929 |
166,501 | aws/aws-sdk-go | service/pinpoint/api.go | SetMessageResponse | func (s *SendMessagesOutput) SetMessageResponse(v *MessageResponse) *SendMessagesOutput {
s.MessageResponse = v
return s
} | go | func (s *SendMessagesOutput) SetMessageResponse(v *MessageResponse) *SendMessagesOutput {
s.MessageResponse = v
return s
} | [
"func",
"(",
"s",
"*",
"SendMessagesOutput",
")",
"SetMessageResponse",
"(",
"v",
"*",
"MessageResponse",
")",
"*",
"SendMessagesOutput",
"{",
"s",
".",
"MessageResponse",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetMessageResponse sets the MessageResponse field's value. | [
"SetMessageResponse",
"sets",
"the",
"MessageResponse",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/pinpoint/api.go#L18951-L18954 |
166,502 | aws/aws-sdk-go | service/pinpoint/api.go | SetSendUsersMessageRequest | func (s *SendUsersMessagesInput) SetSendUsersMessageRequest(v *SendUsersMessageRequest) *SendUsersMessagesInput {
s.SendUsersMessageRequest = v
return s
} | go | func (s *SendUsersMessagesInput) SetSendUsersMessageRequest(v *SendUsersMessageRequest) *SendUsersMessagesInput {
s.SendUsersMessageRequest = v
return s
} | [
"func",
"(",
"s",
"*",
"SendUsersMessagesInput",
")",
"SetSendUsersMessageRequest",
"(",
"v",
"*",
"SendUsersMessageRequest",
")",
"*",
"SendUsersMessagesInput",
"{",
"s",
".",
"SendUsersMessageRequest",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetSendUsersMessageRequest sets the SendUsersMessageRequest field's value. | [
"SetSendUsersMessageRequest",
"sets",
"the",
"SendUsersMessageRequest",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/pinpoint/api.go#L19106-L19109 |
166,503 | aws/aws-sdk-go | service/pinpoint/api.go | SetSendUsersMessageResponse | func (s *SendUsersMessagesOutput) SetSendUsersMessageResponse(v *SendUsersMessageResponse) *SendUsersMessagesOutput {
s.SendUsersMessageResponse = v
return s
} | go | func (s *SendUsersMessagesOutput) SetSendUsersMessageResponse(v *SendUsersMessageResponse) *SendUsersMessagesOutput {
s.SendUsersMessageResponse = v
return s
} | [
"func",
"(",
"s",
"*",
"SendUsersMessagesOutput",
")",
"SetSendUsersMessageResponse",
"(",
"v",
"*",
"SendUsersMessageResponse",
")",
"*",
"SendUsersMessagesOutput",
"{",
"s",
".",
"SendUsersMessageResponse",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetSendUsersMessageResponse sets the SendUsersMessageResponse field's value. | [
"SetSendUsersMessageResponse",
"sets",
"the",
"SendUsersMessageResponse",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/pinpoint/api.go#L19131-L19134 |
166,504 | aws/aws-sdk-go | service/pinpoint/api.go | SetStopTimestamp | func (s *Session) SetStopTimestamp(v string) *Session {
s.StopTimestamp = &v
return s
} | go | func (s *Session) SetStopTimestamp(v string) *Session {
s.StopTimestamp = &v
return s
} | [
"func",
"(",
"s",
"*",
"Session",
")",
"SetStopTimestamp",
"(",
"v",
"string",
")",
"*",
"Session",
"{",
"s",
".",
"StopTimestamp",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetStopTimestamp sets the StopTimestamp field's value. | [
"SetStopTimestamp",
"sets",
"the",
"StopTimestamp",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/pinpoint/api.go#L19182-L19185 |
166,505 | aws/aws-sdk-go | service/pinpoint/api.go | SetDimensionType | func (s *SetDimension) SetDimensionType(v string) *SetDimension {
s.DimensionType = &v
return s
} | go | func (s *SetDimension) SetDimensionType(v string) *SetDimension {
s.DimensionType = &v
return s
} | [
"func",
"(",
"s",
"*",
"SetDimension",
")",
"SetDimensionType",
"(",
"v",
"string",
")",
"*",
"SetDimension",
"{",
"s",
".",
"DimensionType",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDimensionType sets the DimensionType field's value. | [
"SetDimensionType",
"sets",
"the",
"DimensionType",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/pinpoint/api.go#L19213-L19216 |
166,506 | aws/aws-sdk-go | service/pinpoint/api.go | SetADMChannelRequest | func (s *UpdateAdmChannelInput) SetADMChannelRequest(v *ADMChannelRequest) *UpdateAdmChannelInput {
s.ADMChannelRequest = v
return s
} | go | func (s *UpdateAdmChannelInput) SetADMChannelRequest(v *ADMChannelRequest) *UpdateAdmChannelInput {
s.ADMChannelRequest = v
return s
} | [
"func",
"(",
"s",
"*",
"UpdateAdmChannelInput",
")",
"SetADMChannelRequest",
"(",
"v",
"*",
"ADMChannelRequest",
")",
"*",
"UpdateAdmChannelInput",
"{",
"s",
".",
"ADMChannelRequest",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetADMChannelRequest sets the ADMChannelRequest field's value. | [
"SetADMChannelRequest",
"sets",
"the",
"ADMChannelRequest",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/pinpoint/api.go#L19594-L19597 |
166,507 | aws/aws-sdk-go | service/pinpoint/api.go | SetAPNSChannelRequest | func (s *UpdateApnsChannelInput) SetAPNSChannelRequest(v *APNSChannelRequest) *UpdateApnsChannelInput {
s.APNSChannelRequest = v
return s
} | go | func (s *UpdateApnsChannelInput) SetAPNSChannelRequest(v *APNSChannelRequest) *UpdateApnsChannelInput {
s.APNSChannelRequest = v
return s
} | [
"func",
"(",
"s",
"*",
"UpdateApnsChannelInput",
")",
"SetAPNSChannelRequest",
"(",
"v",
"*",
"APNSChannelRequest",
")",
"*",
"UpdateApnsChannelInput",
"{",
"s",
".",
"APNSChannelRequest",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAPNSChannelRequest sets the APNSChannelRequest field's value. | [
"SetAPNSChannelRequest",
"sets",
"the",
"APNSChannelRequest",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/pinpoint/api.go#L19672-L19675 |
166,508 | aws/aws-sdk-go | service/pinpoint/api.go | SetAPNSSandboxChannelRequest | func (s *UpdateApnsSandboxChannelInput) SetAPNSSandboxChannelRequest(v *APNSSandboxChannelRequest) *UpdateApnsSandboxChannelInput {
s.APNSSandboxChannelRequest = v
return s
} | go | func (s *UpdateApnsSandboxChannelInput) SetAPNSSandboxChannelRequest(v *APNSSandboxChannelRequest) *UpdateApnsSandboxChannelInput {
s.APNSSandboxChannelRequest = v
return s
} | [
"func",
"(",
"s",
"*",
"UpdateApnsSandboxChannelInput",
")",
"SetAPNSSandboxChannelRequest",
"(",
"v",
"*",
"APNSSandboxChannelRequest",
")",
"*",
"UpdateApnsSandboxChannelInput",
"{",
"s",
".",
"APNSSandboxChannelRequest",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAPNSSandboxChannelRequest sets the APNSSandboxChannelRequest field's value. | [
"SetAPNSSandboxChannelRequest",
"sets",
"the",
"APNSSandboxChannelRequest",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/pinpoint/api.go#L19750-L19753 |
166,509 | aws/aws-sdk-go | service/pinpoint/api.go | SetAPNSVoipChannelRequest | func (s *UpdateApnsVoipChannelInput) SetAPNSVoipChannelRequest(v *APNSVoipChannelRequest) *UpdateApnsVoipChannelInput {
s.APNSVoipChannelRequest = v
return s
} | go | func (s *UpdateApnsVoipChannelInput) SetAPNSVoipChannelRequest(v *APNSVoipChannelRequest) *UpdateApnsVoipChannelInput {
s.APNSVoipChannelRequest = v
return s
} | [
"func",
"(",
"s",
"*",
"UpdateApnsVoipChannelInput",
")",
"SetAPNSVoipChannelRequest",
"(",
"v",
"*",
"APNSVoipChannelRequest",
")",
"*",
"UpdateApnsVoipChannelInput",
"{",
"s",
".",
"APNSVoipChannelRequest",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAPNSVoipChannelRequest sets the APNSVoipChannelRequest field's value. | [
"SetAPNSVoipChannelRequest",
"sets",
"the",
"APNSVoipChannelRequest",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/pinpoint/api.go#L19828-L19831 |
166,510 | aws/aws-sdk-go | service/pinpoint/api.go | SetAPNSVoipSandboxChannelRequest | func (s *UpdateApnsVoipSandboxChannelInput) SetAPNSVoipSandboxChannelRequest(v *APNSVoipSandboxChannelRequest) *UpdateApnsVoipSandboxChannelInput {
s.APNSVoipSandboxChannelRequest = v
return s
} | go | func (s *UpdateApnsVoipSandboxChannelInput) SetAPNSVoipSandboxChannelRequest(v *APNSVoipSandboxChannelRequest) *UpdateApnsVoipSandboxChannelInput {
s.APNSVoipSandboxChannelRequest = v
return s
} | [
"func",
"(",
"s",
"*",
"UpdateApnsVoipSandboxChannelInput",
")",
"SetAPNSVoipSandboxChannelRequest",
"(",
"v",
"*",
"APNSVoipSandboxChannelRequest",
")",
"*",
"UpdateApnsVoipSandboxChannelInput",
"{",
"s",
".",
"APNSVoipSandboxChannelRequest",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAPNSVoipSandboxChannelRequest sets the APNSVoipSandboxChannelRequest field's value. | [
"SetAPNSVoipSandboxChannelRequest",
"sets",
"the",
"APNSVoipSandboxChannelRequest",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/pinpoint/api.go#L19906-L19909 |
166,511 | aws/aws-sdk-go | service/pinpoint/api.go | SetWriteApplicationSettingsRequest | func (s *UpdateApplicationSettingsInput) SetWriteApplicationSettingsRequest(v *WriteApplicationSettingsRequest) *UpdateApplicationSettingsInput {
s.WriteApplicationSettingsRequest = v
return s
} | go | func (s *UpdateApplicationSettingsInput) SetWriteApplicationSettingsRequest(v *WriteApplicationSettingsRequest) *UpdateApplicationSettingsInput {
s.WriteApplicationSettingsRequest = v
return s
} | [
"func",
"(",
"s",
"*",
"UpdateApplicationSettingsInput",
")",
"SetWriteApplicationSettingsRequest",
"(",
"v",
"*",
"WriteApplicationSettingsRequest",
")",
"*",
"UpdateApplicationSettingsInput",
"{",
"s",
".",
"WriteApplicationSettingsRequest",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetWriteApplicationSettingsRequest sets the WriteApplicationSettingsRequest field's value. | [
"SetWriteApplicationSettingsRequest",
"sets",
"the",
"WriteApplicationSettingsRequest",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/pinpoint/api.go#L19990-L19993 |
166,512 | aws/aws-sdk-go | service/pinpoint/api.go | SetBlacklist | func (s *UpdateAttributesRequest) SetBlacklist(v []*string) *UpdateAttributesRequest {
s.Blacklist = v
return s
} | go | func (s *UpdateAttributesRequest) SetBlacklist(v []*string) *UpdateAttributesRequest {
s.Blacklist = v
return s
} | [
"func",
"(",
"s",
"*",
"UpdateAttributesRequest",
")",
"SetBlacklist",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"UpdateAttributesRequest",
"{",
"s",
".",
"Blacklist",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetBlacklist sets the Blacklist field's value. | [
"SetBlacklist",
"sets",
"the",
"Blacklist",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/pinpoint/api.go#L20039-L20042 |
166,513 | aws/aws-sdk-go | service/pinpoint/api.go | SetBaiduChannelRequest | func (s *UpdateBaiduChannelInput) SetBaiduChannelRequest(v *BaiduChannelRequest) *UpdateBaiduChannelInput {
s.BaiduChannelRequest = v
return s
} | go | func (s *UpdateBaiduChannelInput) SetBaiduChannelRequest(v *BaiduChannelRequest) *UpdateBaiduChannelInput {
s.BaiduChannelRequest = v
return s
} | [
"func",
"(",
"s",
"*",
"UpdateBaiduChannelInput",
")",
"SetBaiduChannelRequest",
"(",
"v",
"*",
"BaiduChannelRequest",
")",
"*",
"UpdateBaiduChannelInput",
"{",
"s",
".",
"BaiduChannelRequest",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetBaiduChannelRequest sets the BaiduChannelRequest field's value. | [
"SetBaiduChannelRequest",
"sets",
"the",
"BaiduChannelRequest",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/pinpoint/api.go#L20092-L20095 |
166,514 | aws/aws-sdk-go | service/pinpoint/api.go | SetEmailChannelRequest | func (s *UpdateEmailChannelInput) SetEmailChannelRequest(v *EmailChannelRequest) *UpdateEmailChannelInput {
s.EmailChannelRequest = v
return s
} | go | func (s *UpdateEmailChannelInput) SetEmailChannelRequest(v *EmailChannelRequest) *UpdateEmailChannelInput {
s.EmailChannelRequest = v
return s
} | [
"func",
"(",
"s",
"*",
"UpdateEmailChannelInput",
")",
"SetEmailChannelRequest",
"(",
"v",
"*",
"EmailChannelRequest",
")",
"*",
"UpdateEmailChannelInput",
"{",
"s",
".",
"EmailChannelRequest",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetEmailChannelRequest sets the EmailChannelRequest field's value. | [
"SetEmailChannelRequest",
"sets",
"the",
"EmailChannelRequest",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/pinpoint/api.go#L20263-L20266 |
166,515 | aws/aws-sdk-go | service/pinpoint/api.go | SetEndpointRequest | func (s *UpdateEndpointInput) SetEndpointRequest(v *EndpointRequest) *UpdateEndpointInput {
s.EndpointRequest = v
return s
} | go | func (s *UpdateEndpointInput) SetEndpointRequest(v *EndpointRequest) *UpdateEndpointInput {
s.EndpointRequest = v
return s
} | [
"func",
"(",
"s",
"*",
"UpdateEndpointInput",
")",
"SetEndpointRequest",
"(",
"v",
"*",
"EndpointRequest",
")",
"*",
"UpdateEndpointInput",
"{",
"s",
".",
"EndpointRequest",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetEndpointRequest sets the EndpointRequest field's value. | [
"SetEndpointRequest",
"sets",
"the",
"EndpointRequest",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/pinpoint/api.go#L20356-L20359 |
166,516 | aws/aws-sdk-go | service/pinpoint/api.go | SetEndpointBatchRequest | func (s *UpdateEndpointsBatchInput) SetEndpointBatchRequest(v *EndpointBatchRequest) *UpdateEndpointsBatchInput {
s.EndpointBatchRequest = v
return s
} | go | func (s *UpdateEndpointsBatchInput) SetEndpointBatchRequest(v *EndpointBatchRequest) *UpdateEndpointsBatchInput {
s.EndpointBatchRequest = v
return s
} | [
"func",
"(",
"s",
"*",
"UpdateEndpointsBatchInput",
")",
"SetEndpointBatchRequest",
"(",
"v",
"*",
"EndpointBatchRequest",
")",
"*",
"UpdateEndpointsBatchInput",
"{",
"s",
".",
"EndpointBatchRequest",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetEndpointBatchRequest sets the EndpointBatchRequest field's value. | [
"SetEndpointBatchRequest",
"sets",
"the",
"EndpointBatchRequest",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/pinpoint/api.go#L20434-L20437 |
166,517 | aws/aws-sdk-go | service/pinpoint/api.go | SetGCMChannelRequest | func (s *UpdateGcmChannelInput) SetGCMChannelRequest(v *GCMChannelRequest) *UpdateGcmChannelInput {
s.GCMChannelRequest = v
return s
} | go | func (s *UpdateGcmChannelInput) SetGCMChannelRequest(v *GCMChannelRequest) *UpdateGcmChannelInput {
s.GCMChannelRequest = v
return s
} | [
"func",
"(",
"s",
"*",
"UpdateGcmChannelInput",
")",
"SetGCMChannelRequest",
"(",
"v",
"*",
"GCMChannelRequest",
")",
"*",
"UpdateGcmChannelInput",
"{",
"s",
".",
"GCMChannelRequest",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetGCMChannelRequest sets the GCMChannelRequest field's value. | [
"SetGCMChannelRequest",
"sets",
"the",
"GCMChannelRequest",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/pinpoint/api.go#L20512-L20515 |
166,518 | aws/aws-sdk-go | service/pinpoint/api.go | SetSMSChannelRequest | func (s *UpdateSmsChannelInput) SetSMSChannelRequest(v *SMSChannelRequest) *UpdateSmsChannelInput {
s.SMSChannelRequest = v
return s
} | go | func (s *UpdateSmsChannelInput) SetSMSChannelRequest(v *SMSChannelRequest) *UpdateSmsChannelInput {
s.SMSChannelRequest = v
return s
} | [
"func",
"(",
"s",
"*",
"UpdateSmsChannelInput",
")",
"SetSMSChannelRequest",
"(",
"v",
"*",
"SMSChannelRequest",
")",
"*",
"UpdateSmsChannelInput",
"{",
"s",
".",
"SMSChannelRequest",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetSMSChannelRequest sets the SMSChannelRequest field's value. | [
"SetSMSChannelRequest",
"sets",
"the",
"SMSChannelRequest",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/pinpoint/api.go#L20683-L20686 |
166,519 | aws/aws-sdk-go | service/pinpoint/api.go | SetVoiceChannelRequest | func (s *UpdateVoiceChannelInput) SetVoiceChannelRequest(v *VoiceChannelRequest) *UpdateVoiceChannelInput {
s.VoiceChannelRequest = v
return s
} | go | func (s *UpdateVoiceChannelInput) SetVoiceChannelRequest(v *VoiceChannelRequest) *UpdateVoiceChannelInput {
s.VoiceChannelRequest = v
return s
} | [
"func",
"(",
"s",
"*",
"UpdateVoiceChannelInput",
")",
"SetVoiceChannelRequest",
"(",
"v",
"*",
"VoiceChannelRequest",
")",
"*",
"UpdateVoiceChannelInput",
"{",
"s",
".",
"VoiceChannelRequest",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetVoiceChannelRequest sets the VoiceChannelRequest field's value. | [
"SetVoiceChannelRequest",
"sets",
"the",
"VoiceChannelRequest",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/pinpoint/api.go#L20761-L20764 |
166,520 | aws/aws-sdk-go | service/pinpoint/api.go | SetCloudWatchMetricsEnabled | func (s *WriteApplicationSettingsRequest) SetCloudWatchMetricsEnabled(v bool) *WriteApplicationSettingsRequest {
s.CloudWatchMetricsEnabled = &v
return s
} | go | func (s *WriteApplicationSettingsRequest) SetCloudWatchMetricsEnabled(v bool) *WriteApplicationSettingsRequest {
s.CloudWatchMetricsEnabled = &v
return s
} | [
"func",
"(",
"s",
"*",
"WriteApplicationSettingsRequest",
")",
"SetCloudWatchMetricsEnabled",
"(",
"v",
"bool",
")",
"*",
"WriteApplicationSettingsRequest",
"{",
"s",
".",
"CloudWatchMetricsEnabled",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetCloudWatchMetricsEnabled sets the CloudWatchMetricsEnabled field's value. | [
"SetCloudWatchMetricsEnabled",
"sets",
"the",
"CloudWatchMetricsEnabled",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/pinpoint/api.go#L21028-L21031 |
166,521 | aws/aws-sdk-go | service/migrationhub/api.go | SetCreatedArtifact | func (s *AssociateCreatedArtifactInput) SetCreatedArtifact(v *CreatedArtifact) *AssociateCreatedArtifactInput {
s.CreatedArtifact = v
return s
} | go | func (s *AssociateCreatedArtifactInput) SetCreatedArtifact(v *CreatedArtifact) *AssociateCreatedArtifactInput {
s.CreatedArtifact = v
return s
} | [
"func",
"(",
"s",
"*",
"AssociateCreatedArtifactInput",
")",
"SetCreatedArtifact",
"(",
"v",
"*",
"CreatedArtifact",
")",
"*",
"AssociateCreatedArtifactInput",
"{",
"s",
".",
"CreatedArtifact",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetCreatedArtifact sets the CreatedArtifact field's value. | [
"SetCreatedArtifact",
"sets",
"the",
"CreatedArtifact",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/migrationhub/api.go#L1818-L1821 |
166,522 | aws/aws-sdk-go | service/migrationhub/api.go | SetDiscoveredResource | func (s *AssociateDiscoveredResourceInput) SetDiscoveredResource(v *DiscoveredResource) *AssociateDiscoveredResourceInput {
s.DiscoveredResource = v
return s
} | go | func (s *AssociateDiscoveredResourceInput) SetDiscoveredResource(v *DiscoveredResource) *AssociateDiscoveredResourceInput {
s.DiscoveredResource = v
return s
} | [
"func",
"(",
"s",
"*",
"AssociateDiscoveredResourceInput",
")",
"SetDiscoveredResource",
"(",
"v",
"*",
"DiscoveredResource",
")",
"*",
"AssociateDiscoveredResourceInput",
"{",
"s",
".",
"DiscoveredResource",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDiscoveredResource sets the DiscoveredResource field's value. | [
"SetDiscoveredResource",
"sets",
"the",
"DiscoveredResource",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/migrationhub/api.go#L1919-L1922 |
166,523 | aws/aws-sdk-go | service/migrationhub/api.go | SetMigrationTask | func (s *DescribeMigrationTaskOutput) SetMigrationTask(v *MigrationTask) *DescribeMigrationTaskOutput {
s.MigrationTask = v
return s
} | go | func (s *DescribeMigrationTaskOutput) SetMigrationTask(v *MigrationTask) *DescribeMigrationTaskOutput {
s.MigrationTask = v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeMigrationTaskOutput",
")",
"SetMigrationTask",
"(",
"v",
"*",
"MigrationTask",
")",
"*",
"DescribeMigrationTaskOutput",
"{",
"s",
".",
"MigrationTask",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetMigrationTask sets the MigrationTask field's value. | [
"SetMigrationTask",
"sets",
"the",
"MigrationTask",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/migrationhub/api.go#L2288-L2291 |
166,524 | aws/aws-sdk-go | service/migrationhub/api.go | SetCreatedArtifactName | func (s *DisassociateCreatedArtifactInput) SetCreatedArtifactName(v string) *DisassociateCreatedArtifactInput {
s.CreatedArtifactName = &v
return s
} | go | func (s *DisassociateCreatedArtifactInput) SetCreatedArtifactName(v string) *DisassociateCreatedArtifactInput {
s.CreatedArtifactName = &v
return s
} | [
"func",
"(",
"s",
"*",
"DisassociateCreatedArtifactInput",
")",
"SetCreatedArtifactName",
"(",
"v",
"string",
")",
"*",
"DisassociateCreatedArtifactInput",
"{",
"s",
".",
"CreatedArtifactName",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetCreatedArtifactName sets the CreatedArtifactName field's value. | [
"SetCreatedArtifactName",
"sets",
"the",
"CreatedArtifactName",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/migrationhub/api.go#L2357-L2360 |
166,525 | aws/aws-sdk-go | service/migrationhub/api.go | SetCreatedArtifactList | func (s *ListCreatedArtifactsOutput) SetCreatedArtifactList(v []*CreatedArtifact) *ListCreatedArtifactsOutput {
s.CreatedArtifactList = v
return s
} | go | func (s *ListCreatedArtifactsOutput) SetCreatedArtifactList(v []*CreatedArtifact) *ListCreatedArtifactsOutput {
s.CreatedArtifactList = v
return s
} | [
"func",
"(",
"s",
"*",
"ListCreatedArtifactsOutput",
")",
"SetCreatedArtifactList",
"(",
"v",
"[",
"]",
"*",
"CreatedArtifact",
")",
"*",
"ListCreatedArtifactsOutput",
"{",
"s",
".",
"CreatedArtifactList",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetCreatedArtifactList sets the CreatedArtifactList field's value. | [
"SetCreatedArtifactList",
"sets",
"the",
"CreatedArtifactList",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/migrationhub/api.go#L2731-L2734 |
166,526 | aws/aws-sdk-go | service/migrationhub/api.go | SetDiscoveredResourceList | func (s *ListDiscoveredResourcesOutput) SetDiscoveredResourceList(v []*DiscoveredResource) *ListDiscoveredResourcesOutput {
s.DiscoveredResourceList = v
return s
} | go | func (s *ListDiscoveredResourcesOutput) SetDiscoveredResourceList(v []*DiscoveredResource) *ListDiscoveredResourcesOutput {
s.DiscoveredResourceList = v
return s
} | [
"func",
"(",
"s",
"*",
"ListDiscoveredResourcesOutput",
")",
"SetDiscoveredResourceList",
"(",
"v",
"[",
"]",
"*",
"DiscoveredResource",
")",
"*",
"ListDiscoveredResourcesOutput",
"{",
"s",
".",
"DiscoveredResourceList",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDiscoveredResourceList sets the DiscoveredResourceList field's value. | [
"SetDiscoveredResourceList",
"sets",
"the",
"DiscoveredResourceList",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/migrationhub/api.go#L2845-L2848 |
166,527 | aws/aws-sdk-go | service/migrationhub/api.go | SetMigrationTaskSummaryList | func (s *ListMigrationTasksOutput) SetMigrationTaskSummaryList(v []*MigrationTaskSummary) *ListMigrationTasksOutput {
s.MigrationTaskSummaryList = v
return s
} | go | func (s *ListMigrationTasksOutput) SetMigrationTaskSummaryList(v []*MigrationTaskSummary) *ListMigrationTasksOutput {
s.MigrationTaskSummaryList = v
return s
} | [
"func",
"(",
"s",
"*",
"ListMigrationTasksOutput",
")",
"SetMigrationTaskSummaryList",
"(",
"v",
"[",
"]",
"*",
"MigrationTaskSummary",
")",
"*",
"ListMigrationTasksOutput",
"{",
"s",
".",
"MigrationTaskSummaryList",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetMigrationTaskSummaryList sets the MigrationTaskSummaryList field's value. | [
"SetMigrationTaskSummaryList",
"sets",
"the",
"MigrationTaskSummaryList",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/migrationhub/api.go#L2938-L2941 |
166,528 | aws/aws-sdk-go | service/migrationhub/api.go | SetProgressUpdateStreamSummaryList | func (s *ListProgressUpdateStreamsOutput) SetProgressUpdateStreamSummaryList(v []*ProgressUpdateStreamSummary) *ListProgressUpdateStreamsOutput {
s.ProgressUpdateStreamSummaryList = v
return s
} | go | func (s *ListProgressUpdateStreamsOutput) SetProgressUpdateStreamSummaryList(v []*ProgressUpdateStreamSummary) *ListProgressUpdateStreamsOutput {
s.ProgressUpdateStreamSummaryList = v
return s
} | [
"func",
"(",
"s",
"*",
"ListProgressUpdateStreamsOutput",
")",
"SetProgressUpdateStreamSummaryList",
"(",
"v",
"[",
"]",
"*",
"ProgressUpdateStreamSummary",
")",
"*",
"ListProgressUpdateStreamsOutput",
"{",
"s",
".",
"ProgressUpdateStreamSummaryList",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetProgressUpdateStreamSummaryList sets the ProgressUpdateStreamSummaryList field's value. | [
"SetProgressUpdateStreamSummaryList",
"sets",
"the",
"ProgressUpdateStreamSummaryList",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/migrationhub/api.go#L3025-L3028 |
166,529 | aws/aws-sdk-go | service/migrationhub/api.go | SetNextUpdateSeconds | func (s *NotifyMigrationTaskStateInput) SetNextUpdateSeconds(v int64) *NotifyMigrationTaskStateInput {
s.NextUpdateSeconds = &v
return s
} | go | func (s *NotifyMigrationTaskStateInput) SetNextUpdateSeconds(v int64) *NotifyMigrationTaskStateInput {
s.NextUpdateSeconds = &v
return s
} | [
"func",
"(",
"s",
"*",
"NotifyMigrationTaskStateInput",
")",
"SetNextUpdateSeconds",
"(",
"v",
"int64",
")",
"*",
"NotifyMigrationTaskStateInput",
"{",
"s",
".",
"NextUpdateSeconds",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetNextUpdateSeconds sets the NextUpdateSeconds field's value. | [
"SetNextUpdateSeconds",
"sets",
"the",
"NextUpdateSeconds",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/migrationhub/api.go#L3332-L3335 |
166,530 | aws/aws-sdk-go | service/dynamodb/expression/expression.go | aliasValue | func (al *aliasList) aliasValue(dav dynamodb.AttributeValue) (string, error) {
al.valuesList = append(al.valuesList, dav)
return fmt.Sprintf(":%d", len(al.valuesList)-1), nil
} | go | func (al *aliasList) aliasValue(dav dynamodb.AttributeValue) (string, error) {
al.valuesList = append(al.valuesList, dav)
return fmt.Sprintf(":%d", len(al.valuesList)-1), nil
} | [
"func",
"(",
"al",
"*",
"aliasList",
")",
"aliasValue",
"(",
"dav",
"dynamodb",
".",
"AttributeValue",
")",
"(",
"string",
",",
"error",
")",
"{",
"al",
".",
"valuesList",
"=",
"append",
"(",
"al",
".",
"valuesList",
",",
"dav",
")",
"\n",
"return",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"len",
"(",
"al",
".",
"valuesList",
")",
"-",
"1",
")",
",",
"nil",
"\n",
"}"
] | // aliasValue returns the corresponding alias to the dav value argument. Since
// values are not deduplicated as of now, all values are just appended to the
// aliasList and given the index as the alias. | [
"aliasValue",
"returns",
"the",
"corresponding",
"alias",
"to",
"the",
"dav",
"value",
"argument",
".",
"Since",
"values",
"are",
"not",
"deduplicated",
"as",
"of",
"now",
"all",
"values",
"are",
"just",
"appended",
"to",
"the",
"aliasList",
"and",
"given",
"the",
"index",
"as",
"the",
"alias",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/dynamodb/expression/expression.go#L622-L625 |
166,531 | aws/aws-sdk-go | service/dynamodb/expression/expression.go | aliasPath | func (al *aliasList) aliasPath(nm string) (string, error) {
for ind, name := range al.namesList {
if nm == name {
return fmt.Sprintf("#%d", ind), nil
}
}
al.namesList = append(al.namesList, nm)
return fmt.Sprintf("#%d", len(al.namesList)-1), nil
} | go | func (al *aliasList) aliasPath(nm string) (string, error) {
for ind, name := range al.namesList {
if nm == name {
return fmt.Sprintf("#%d", ind), nil
}
}
al.namesList = append(al.namesList, nm)
return fmt.Sprintf("#%d", len(al.namesList)-1), nil
} | [
"func",
"(",
"al",
"*",
"aliasList",
")",
"aliasPath",
"(",
"nm",
"string",
")",
"(",
"string",
",",
"error",
")",
"{",
"for",
"ind",
",",
"name",
":=",
"range",
"al",
".",
"namesList",
"{",
"if",
"nm",
"==",
"name",
"{",
"return",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"ind",
")",
",",
"nil",
"\n",
"}",
"\n",
"}",
"\n",
"al",
".",
"namesList",
"=",
"append",
"(",
"al",
".",
"namesList",
",",
"nm",
")",
"\n",
"return",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"len",
"(",
"al",
".",
"namesList",
")",
"-",
"1",
")",
",",
"nil",
"\n",
"}"
] | // aliasPath returns the corresponding alias to the argument string. The
// argument is checked against all existing aliasList names in order to avoid
// duplicate strings getting two different aliases. | [
"aliasPath",
"returns",
"the",
"corresponding",
"alias",
"to",
"the",
"argument",
"string",
".",
"The",
"argument",
"is",
"checked",
"against",
"all",
"existing",
"aliasList",
"names",
"in",
"order",
"to",
"avoid",
"duplicate",
"strings",
"getting",
"two",
"different",
"aliases",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/dynamodb/expression/expression.go#L630-L638 |
166,532 | aws/aws-sdk-go | example/aws/request/httptrace/logger.go | RecordTrace | func RecordTrace(w io.Writer, trace *RequestTrace) {
attempt := AttemptReport{
Reused: trace.Reused,
Latency: trace.Finish.Sub(trace.Start),
ReqWritten: trace.RequestWritten.Sub(trace.Start),
}
if !trace.FirstResponseByte.IsZero() {
attempt.RespFirstByte = trace.FirstResponseByte.Sub(trace.Start)
attempt.WaitRespFirstByte = trace.FirstResponseByte.Sub(trace.RequestWritten)
}
if !trace.Reused {
attempt.DNSStart = trace.DNSStart.Sub(trace.Start)
attempt.DNSDone = trace.DNSDone.Sub(trace.Start)
attempt.DNS = trace.DNSDone.Sub(trace.DNSStart)
attempt.ConnectStart = trace.ConnectStart.Sub(trace.Start)
attempt.ConnectDone = trace.ConnectDone.Sub(trace.Start)
attempt.Connect = trace.ConnectDone.Sub(trace.ConnectStart)
attempt.TLSHandshakeStart = trace.TLSHandshakeStart.Sub(trace.Start)
attempt.TLSHandshakeDone = trace.TLSHandshakeDone.Sub(trace.Start)
attempt.TLSHandshake = trace.TLSHandshakeDone.Sub(trace.TLSHandshakeStart)
}
_, err := fmt.Fprintln(w,
"Latency:",
attempt.Latency,
"ConnectionReused:",
fmt.Sprintf("%t", attempt.Reused),
"DNSStartAt:",
fmt.Sprintf("%s", attempt.DNSStart),
"DNSDoneAt:",
fmt.Sprintf("%s", attempt.DNSDone),
"DNSDur:",
fmt.Sprintf("%s", attempt.DNS),
"ConnectStartAt:",
fmt.Sprintf("%s", attempt.ConnectStart),
"ConnectDoneAt:",
fmt.Sprintf("%s", attempt.ConnectDone),
"ConnectDur:",
fmt.Sprintf("%s", attempt.Connect),
"TLSStatAt:",
fmt.Sprintf("%s", attempt.TLSHandshakeStart),
"TLSDoneAt:",
fmt.Sprintf("%s", attempt.TLSHandshakeDone),
"TLSDur:",
fmt.Sprintf("%s", attempt.TLSHandshake),
"RequestWritten",
fmt.Sprintf("%s", attempt.ReqWritten),
"RespFirstByte:",
fmt.Sprintf("%s", attempt.RespFirstByte),
"WaitRespFirstByte:",
fmt.Sprintf("%s", attempt.WaitRespFirstByte),
)
if err != nil {
fmt.Fprintf(os.Stderr, "failed to write request trace, %v\n", err)
}
} | go | func RecordTrace(w io.Writer, trace *RequestTrace) {
attempt := AttemptReport{
Reused: trace.Reused,
Latency: trace.Finish.Sub(trace.Start),
ReqWritten: trace.RequestWritten.Sub(trace.Start),
}
if !trace.FirstResponseByte.IsZero() {
attempt.RespFirstByte = trace.FirstResponseByte.Sub(trace.Start)
attempt.WaitRespFirstByte = trace.FirstResponseByte.Sub(trace.RequestWritten)
}
if !trace.Reused {
attempt.DNSStart = trace.DNSStart.Sub(trace.Start)
attempt.DNSDone = trace.DNSDone.Sub(trace.Start)
attempt.DNS = trace.DNSDone.Sub(trace.DNSStart)
attempt.ConnectStart = trace.ConnectStart.Sub(trace.Start)
attempt.ConnectDone = trace.ConnectDone.Sub(trace.Start)
attempt.Connect = trace.ConnectDone.Sub(trace.ConnectStart)
attempt.TLSHandshakeStart = trace.TLSHandshakeStart.Sub(trace.Start)
attempt.TLSHandshakeDone = trace.TLSHandshakeDone.Sub(trace.Start)
attempt.TLSHandshake = trace.TLSHandshakeDone.Sub(trace.TLSHandshakeStart)
}
_, err := fmt.Fprintln(w,
"Latency:",
attempt.Latency,
"ConnectionReused:",
fmt.Sprintf("%t", attempt.Reused),
"DNSStartAt:",
fmt.Sprintf("%s", attempt.DNSStart),
"DNSDoneAt:",
fmt.Sprintf("%s", attempt.DNSDone),
"DNSDur:",
fmt.Sprintf("%s", attempt.DNS),
"ConnectStartAt:",
fmt.Sprintf("%s", attempt.ConnectStart),
"ConnectDoneAt:",
fmt.Sprintf("%s", attempt.ConnectDone),
"ConnectDur:",
fmt.Sprintf("%s", attempt.Connect),
"TLSStatAt:",
fmt.Sprintf("%s", attempt.TLSHandshakeStart),
"TLSDoneAt:",
fmt.Sprintf("%s", attempt.TLSHandshakeDone),
"TLSDur:",
fmt.Sprintf("%s", attempt.TLSHandshake),
"RequestWritten",
fmt.Sprintf("%s", attempt.ReqWritten),
"RespFirstByte:",
fmt.Sprintf("%s", attempt.RespFirstByte),
"WaitRespFirstByte:",
fmt.Sprintf("%s", attempt.WaitRespFirstByte),
)
if err != nil {
fmt.Fprintf(os.Stderr, "failed to write request trace, %v\n", err)
}
} | [
"func",
"RecordTrace",
"(",
"w",
"io",
".",
"Writer",
",",
"trace",
"*",
"RequestTrace",
")",
"{",
"attempt",
":=",
"AttemptReport",
"{",
"Reused",
":",
"trace",
".",
"Reused",
",",
"Latency",
":",
"trace",
".",
"Finish",
".",
"Sub",
"(",
"trace",
".",
"Start",
")",
",",
"ReqWritten",
":",
"trace",
".",
"RequestWritten",
".",
"Sub",
"(",
"trace",
".",
"Start",
")",
",",
"}",
"\n\n",
"if",
"!",
"trace",
".",
"FirstResponseByte",
".",
"IsZero",
"(",
")",
"{",
"attempt",
".",
"RespFirstByte",
"=",
"trace",
".",
"FirstResponseByte",
".",
"Sub",
"(",
"trace",
".",
"Start",
")",
"\n",
"attempt",
".",
"WaitRespFirstByte",
"=",
"trace",
".",
"FirstResponseByte",
".",
"Sub",
"(",
"trace",
".",
"RequestWritten",
")",
"\n",
"}",
"\n\n",
"if",
"!",
"trace",
".",
"Reused",
"{",
"attempt",
".",
"DNSStart",
"=",
"trace",
".",
"DNSStart",
".",
"Sub",
"(",
"trace",
".",
"Start",
")",
"\n",
"attempt",
".",
"DNSDone",
"=",
"trace",
".",
"DNSDone",
".",
"Sub",
"(",
"trace",
".",
"Start",
")",
"\n",
"attempt",
".",
"DNS",
"=",
"trace",
".",
"DNSDone",
".",
"Sub",
"(",
"trace",
".",
"DNSStart",
")",
"\n\n",
"attempt",
".",
"ConnectStart",
"=",
"trace",
".",
"ConnectStart",
".",
"Sub",
"(",
"trace",
".",
"Start",
")",
"\n",
"attempt",
".",
"ConnectDone",
"=",
"trace",
".",
"ConnectDone",
".",
"Sub",
"(",
"trace",
".",
"Start",
")",
"\n",
"attempt",
".",
"Connect",
"=",
"trace",
".",
"ConnectDone",
".",
"Sub",
"(",
"trace",
".",
"ConnectStart",
")",
"\n\n",
"attempt",
".",
"TLSHandshakeStart",
"=",
"trace",
".",
"TLSHandshakeStart",
".",
"Sub",
"(",
"trace",
".",
"Start",
")",
"\n",
"attempt",
".",
"TLSHandshakeDone",
"=",
"trace",
".",
"TLSHandshakeDone",
".",
"Sub",
"(",
"trace",
".",
"Start",
")",
"\n",
"attempt",
".",
"TLSHandshake",
"=",
"trace",
".",
"TLSHandshakeDone",
".",
"Sub",
"(",
"trace",
".",
"TLSHandshakeStart",
")",
"\n",
"}",
"\n\n",
"_",
",",
"err",
":=",
"fmt",
".",
"Fprintln",
"(",
"w",
",",
"\"",
"\"",
",",
"attempt",
".",
"Latency",
",",
"\"",
"\"",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"attempt",
".",
"Reused",
")",
",",
"\"",
"\"",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"attempt",
".",
"DNSStart",
")",
",",
"\"",
"\"",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"attempt",
".",
"DNSDone",
")",
",",
"\"",
"\"",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"attempt",
".",
"DNS",
")",
",",
"\"",
"\"",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"attempt",
".",
"ConnectStart",
")",
",",
"\"",
"\"",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"attempt",
".",
"ConnectDone",
")",
",",
"\"",
"\"",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"attempt",
".",
"Connect",
")",
",",
"\"",
"\"",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"attempt",
".",
"TLSHandshakeStart",
")",
",",
"\"",
"\"",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"attempt",
".",
"TLSHandshakeDone",
")",
",",
"\"",
"\"",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"attempt",
".",
"TLSHandshake",
")",
",",
"\"",
"\"",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"attempt",
".",
"ReqWritten",
")",
",",
"\"",
"\"",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"attempt",
".",
"RespFirstByte",
")",
",",
"\"",
"\"",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"attempt",
".",
"WaitRespFirstByte",
")",
",",
")",
"\n",
"if",
"err",
"!=",
"nil",
"{",
"fmt",
".",
"Fprintf",
"(",
"os",
".",
"Stderr",
",",
"\"",
"\\n",
"\"",
",",
"err",
")",
"\n",
"}",
"\n",
"}"
] | // RecordTrace outputs the request trace as text. | [
"RecordTrace",
"outputs",
"the",
"request",
"trace",
"as",
"text",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/example/aws/request/httptrace/logger.go#L13-L77 |
166,533 | aws/aws-sdk-go | aws/signer/v4/header_rules.go | IsValid | func (m mapRule) IsValid(value string) bool {
_, ok := m[value]
return ok
} | go | func (m mapRule) IsValid(value string) bool {
_, ok := m[value]
return ok
} | [
"func",
"(",
"m",
"mapRule",
")",
"IsValid",
"(",
"value",
"string",
")",
"bool",
"{",
"_",
",",
"ok",
":=",
"m",
"[",
"value",
"]",
"\n",
"return",
"ok",
"\n",
"}"
] | // IsValid for the map rule satisfies whether it exists in the map | [
"IsValid",
"for",
"the",
"map",
"rule",
"satisfies",
"whether",
"it",
"exists",
"in",
"the",
"map"
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/signer/v4/header_rules.go#L33-L36 |
166,534 | aws/aws-sdk-go | aws/signer/v4/header_rules.go | IsValid | func (p patterns) IsValid(value string) bool {
for _, pattern := range p {
if strings.HasPrefix(http.CanonicalHeaderKey(value), pattern) {
return true
}
}
return false
} | go | func (p patterns) IsValid(value string) bool {
for _, pattern := range p {
if strings.HasPrefix(http.CanonicalHeaderKey(value), pattern) {
return true
}
}
return false
} | [
"func",
"(",
"p",
"patterns",
")",
"IsValid",
"(",
"value",
"string",
")",
"bool",
"{",
"for",
"_",
",",
"pattern",
":=",
"range",
"p",
"{",
"if",
"strings",
".",
"HasPrefix",
"(",
"http",
".",
"CanonicalHeaderKey",
"(",
"value",
")",
",",
"pattern",
")",
"{",
"return",
"true",
"\n",
"}",
"\n",
"}",
"\n",
"return",
"false",
"\n",
"}"
] | // IsValid for patterns checks each pattern and returns if a match has
// been found | [
"IsValid",
"for",
"patterns",
"checks",
"each",
"pattern",
"and",
"returns",
"if",
"a",
"match",
"has",
"been",
"found"
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/signer/v4/header_rules.go#L62-L69 |
166,535 | aws/aws-sdk-go | aws/signer/v4/header_rules.go | IsValid | func (r inclusiveRules) IsValid(value string) bool {
for _, rule := range r {
if !rule.IsValid(value) {
return false
}
}
return true
} | go | func (r inclusiveRules) IsValid(value string) bool {
for _, rule := range r {
if !rule.IsValid(value) {
return false
}
}
return true
} | [
"func",
"(",
"r",
"inclusiveRules",
")",
"IsValid",
"(",
"value",
"string",
")",
"bool",
"{",
"for",
"_",
",",
"rule",
":=",
"range",
"r",
"{",
"if",
"!",
"rule",
".",
"IsValid",
"(",
"value",
")",
"{",
"return",
"false",
"\n",
"}",
"\n",
"}",
"\n",
"return",
"true",
"\n",
"}"
] | // IsValid will return true if all rules are true | [
"IsValid",
"will",
"return",
"true",
"if",
"all",
"rules",
"are",
"true"
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/signer/v4/header_rules.go#L75-L82 |
166,536 | aws/aws-sdk-go | aws/credentials/endpointcreds/provider.go | NewProviderClient | func NewProviderClient(cfg aws.Config, handlers request.Handlers, endpoint string, options ...func(*Provider)) credentials.Provider {
p := &Provider{
Client: client.New(
cfg,
metadata.ClientInfo{
ServiceName: "CredentialsEndpoint",
Endpoint: endpoint,
},
handlers,
),
}
p.Client.Handlers.Unmarshal.PushBack(unmarshalHandler)
p.Client.Handlers.UnmarshalError.PushBack(unmarshalError)
p.Client.Handlers.Validate.Clear()
p.Client.Handlers.Validate.PushBack(validateEndpointHandler)
for _, option := range options {
option(p)
}
return p
} | go | func NewProviderClient(cfg aws.Config, handlers request.Handlers, endpoint string, options ...func(*Provider)) credentials.Provider {
p := &Provider{
Client: client.New(
cfg,
metadata.ClientInfo{
ServiceName: "CredentialsEndpoint",
Endpoint: endpoint,
},
handlers,
),
}
p.Client.Handlers.Unmarshal.PushBack(unmarshalHandler)
p.Client.Handlers.UnmarshalError.PushBack(unmarshalError)
p.Client.Handlers.Validate.Clear()
p.Client.Handlers.Validate.PushBack(validateEndpointHandler)
for _, option := range options {
option(p)
}
return p
} | [
"func",
"NewProviderClient",
"(",
"cfg",
"aws",
".",
"Config",
",",
"handlers",
"request",
".",
"Handlers",
",",
"endpoint",
"string",
",",
"options",
"...",
"func",
"(",
"*",
"Provider",
")",
")",
"credentials",
".",
"Provider",
"{",
"p",
":=",
"&",
"Provider",
"{",
"Client",
":",
"client",
".",
"New",
"(",
"cfg",
",",
"metadata",
".",
"ClientInfo",
"{",
"ServiceName",
":",
"\"",
"\"",
",",
"Endpoint",
":",
"endpoint",
",",
"}",
",",
"handlers",
",",
")",
",",
"}",
"\n\n",
"p",
".",
"Client",
".",
"Handlers",
".",
"Unmarshal",
".",
"PushBack",
"(",
"unmarshalHandler",
")",
"\n",
"p",
".",
"Client",
".",
"Handlers",
".",
"UnmarshalError",
".",
"PushBack",
"(",
"unmarshalError",
")",
"\n",
"p",
".",
"Client",
".",
"Handlers",
".",
"Validate",
".",
"Clear",
"(",
")",
"\n",
"p",
".",
"Client",
".",
"Handlers",
".",
"Validate",
".",
"PushBack",
"(",
"validateEndpointHandler",
")",
"\n\n",
"for",
"_",
",",
"option",
":=",
"range",
"options",
"{",
"option",
"(",
"p",
")",
"\n",
"}",
"\n\n",
"return",
"p",
"\n",
"}"
] | // NewProviderClient returns a credentials Provider for retrieving AWS credentials
// from arbitrary endpoint. | [
"NewProviderClient",
"returns",
"a",
"credentials",
"Provider",
"for",
"retrieving",
"AWS",
"credentials",
"from",
"arbitrary",
"endpoint",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/credentials/endpointcreds/provider.go#L76-L98 |
166,537 | aws/aws-sdk-go | aws/credentials/endpointcreds/provider.go | NewCredentialsClient | func NewCredentialsClient(cfg aws.Config, handlers request.Handlers, endpoint string, options ...func(*Provider)) *credentials.Credentials {
return credentials.NewCredentials(NewProviderClient(cfg, handlers, endpoint, options...))
} | go | func NewCredentialsClient(cfg aws.Config, handlers request.Handlers, endpoint string, options ...func(*Provider)) *credentials.Credentials {
return credentials.NewCredentials(NewProviderClient(cfg, handlers, endpoint, options...))
} | [
"func",
"NewCredentialsClient",
"(",
"cfg",
"aws",
".",
"Config",
",",
"handlers",
"request",
".",
"Handlers",
",",
"endpoint",
"string",
",",
"options",
"...",
"func",
"(",
"*",
"Provider",
")",
")",
"*",
"credentials",
".",
"Credentials",
"{",
"return",
"credentials",
".",
"NewCredentials",
"(",
"NewProviderClient",
"(",
"cfg",
",",
"handlers",
",",
"endpoint",
",",
"options",
"...",
")",
")",
"\n",
"}"
] | // NewCredentialsClient returns a Credentials wrapper for retrieving credentials
// from an arbitrary endpoint concurrently. The client will request the | [
"NewCredentialsClient",
"returns",
"a",
"Credentials",
"wrapper",
"for",
"retrieving",
"credentials",
"from",
"an",
"arbitrary",
"endpoint",
"concurrently",
".",
"The",
"client",
"will",
"request",
"the"
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/credentials/endpointcreds/provider.go#L102-L104 |
166,538 | aws/aws-sdk-go | aws/credentials/endpointcreds/provider.go | Retrieve | func (p *Provider) Retrieve() (credentials.Value, error) {
resp, err := p.getCredentials()
if err != nil {
return credentials.Value{ProviderName: ProviderName},
awserr.New("CredentialsEndpointError", "failed to load credentials", err)
}
if resp.Expiration != nil {
p.SetExpiration(*resp.Expiration, p.ExpiryWindow)
} else {
p.staticCreds = true
}
return credentials.Value{
AccessKeyID: resp.AccessKeyID,
SecretAccessKey: resp.SecretAccessKey,
SessionToken: resp.Token,
ProviderName: ProviderName,
}, nil
} | go | func (p *Provider) Retrieve() (credentials.Value, error) {
resp, err := p.getCredentials()
if err != nil {
return credentials.Value{ProviderName: ProviderName},
awserr.New("CredentialsEndpointError", "failed to load credentials", err)
}
if resp.Expiration != nil {
p.SetExpiration(*resp.Expiration, p.ExpiryWindow)
} else {
p.staticCreds = true
}
return credentials.Value{
AccessKeyID: resp.AccessKeyID,
SecretAccessKey: resp.SecretAccessKey,
SessionToken: resp.Token,
ProviderName: ProviderName,
}, nil
} | [
"func",
"(",
"p",
"*",
"Provider",
")",
"Retrieve",
"(",
")",
"(",
"credentials",
".",
"Value",
",",
"error",
")",
"{",
"resp",
",",
"err",
":=",
"p",
".",
"getCredentials",
"(",
")",
"\n",
"if",
"err",
"!=",
"nil",
"{",
"return",
"credentials",
".",
"Value",
"{",
"ProviderName",
":",
"ProviderName",
"}",
",",
"awserr",
".",
"New",
"(",
"\"",
"\"",
",",
"\"",
"\"",
",",
"err",
")",
"\n",
"}",
"\n\n",
"if",
"resp",
".",
"Expiration",
"!=",
"nil",
"{",
"p",
".",
"SetExpiration",
"(",
"*",
"resp",
".",
"Expiration",
",",
"p",
".",
"ExpiryWindow",
")",
"\n",
"}",
"else",
"{",
"p",
".",
"staticCreds",
"=",
"true",
"\n",
"}",
"\n\n",
"return",
"credentials",
".",
"Value",
"{",
"AccessKeyID",
":",
"resp",
".",
"AccessKeyID",
",",
"SecretAccessKey",
":",
"resp",
".",
"SecretAccessKey",
",",
"SessionToken",
":",
"resp",
".",
"Token",
",",
"ProviderName",
":",
"ProviderName",
",",
"}",
",",
"nil",
"\n",
"}"
] | // Retrieve will attempt to request the credentials from the endpoint the Provider
// was configured for. And error will be returned if the retrieval fails. | [
"Retrieve",
"will",
"attempt",
"to",
"request",
"the",
"credentials",
"from",
"the",
"endpoint",
"the",
"Provider",
"was",
"configured",
"for",
".",
"And",
"error",
"will",
"be",
"returned",
"if",
"the",
"retrieval",
"fails",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/credentials/endpointcreds/provider.go#L117-L136 |
166,539 | aws/aws-sdk-go | service/elbv2/api.go | SetAuthenticateCognitoConfig | func (s *Action) SetAuthenticateCognitoConfig(v *AuthenticateCognitoActionConfig) *Action {
s.AuthenticateCognitoConfig = v
return s
} | go | func (s *Action) SetAuthenticateCognitoConfig(v *AuthenticateCognitoActionConfig) *Action {
s.AuthenticateCognitoConfig = v
return s
} | [
"func",
"(",
"s",
"*",
"Action",
")",
"SetAuthenticateCognitoConfig",
"(",
"v",
"*",
"AuthenticateCognitoActionConfig",
")",
"*",
"Action",
"{",
"s",
".",
"AuthenticateCognitoConfig",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAuthenticateCognitoConfig sets the AuthenticateCognitoConfig field's value. | [
"SetAuthenticateCognitoConfig",
"sets",
"the",
"AuthenticateCognitoConfig",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elbv2/api.go#L3462-L3465 |
166,540 | aws/aws-sdk-go | service/elbv2/api.go | SetAuthenticateOidcConfig | func (s *Action) SetAuthenticateOidcConfig(v *AuthenticateOidcActionConfig) *Action {
s.AuthenticateOidcConfig = v
return s
} | go | func (s *Action) SetAuthenticateOidcConfig(v *AuthenticateOidcActionConfig) *Action {
s.AuthenticateOidcConfig = v
return s
} | [
"func",
"(",
"s",
"*",
"Action",
")",
"SetAuthenticateOidcConfig",
"(",
"v",
"*",
"AuthenticateOidcActionConfig",
")",
"*",
"Action",
"{",
"s",
".",
"AuthenticateOidcConfig",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAuthenticateOidcConfig sets the AuthenticateOidcConfig field's value. | [
"SetAuthenticateOidcConfig",
"sets",
"the",
"AuthenticateOidcConfig",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elbv2/api.go#L3468-L3471 |
166,541 | aws/aws-sdk-go | service/elbv2/api.go | SetFixedResponseConfig | func (s *Action) SetFixedResponseConfig(v *FixedResponseActionConfig) *Action {
s.FixedResponseConfig = v
return s
} | go | func (s *Action) SetFixedResponseConfig(v *FixedResponseActionConfig) *Action {
s.FixedResponseConfig = v
return s
} | [
"func",
"(",
"s",
"*",
"Action",
")",
"SetFixedResponseConfig",
"(",
"v",
"*",
"FixedResponseActionConfig",
")",
"*",
"Action",
"{",
"s",
".",
"FixedResponseConfig",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetFixedResponseConfig sets the FixedResponseConfig field's value. | [
"SetFixedResponseConfig",
"sets",
"the",
"FixedResponseConfig",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elbv2/api.go#L3474-L3477 |
166,542 | aws/aws-sdk-go | service/elbv2/api.go | SetRedirectConfig | func (s *Action) SetRedirectConfig(v *RedirectActionConfig) *Action {
s.RedirectConfig = v
return s
} | go | func (s *Action) SetRedirectConfig(v *RedirectActionConfig) *Action {
s.RedirectConfig = v
return s
} | [
"func",
"(",
"s",
"*",
"Action",
")",
"SetRedirectConfig",
"(",
"v",
"*",
"RedirectActionConfig",
")",
"*",
"Action",
"{",
"s",
".",
"RedirectConfig",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetRedirectConfig sets the RedirectConfig field's value. | [
"SetRedirectConfig",
"sets",
"the",
"RedirectConfig",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elbv2/api.go#L3486-L3489 |
166,543 | aws/aws-sdk-go | service/elbv2/api.go | SetUserPoolArn | func (s *AuthenticateCognitoActionConfig) SetUserPoolArn(v string) *AuthenticateCognitoActionConfig {
s.UserPoolArn = &v
return s
} | go | func (s *AuthenticateCognitoActionConfig) SetUserPoolArn(v string) *AuthenticateCognitoActionConfig {
s.UserPoolArn = &v
return s
} | [
"func",
"(",
"s",
"*",
"AuthenticateCognitoActionConfig",
")",
"SetUserPoolArn",
"(",
"v",
"string",
")",
"*",
"AuthenticateCognitoActionConfig",
"{",
"s",
".",
"UserPoolArn",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetUserPoolArn sets the UserPoolArn field's value. | [
"SetUserPoolArn",
"sets",
"the",
"UserPoolArn",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elbv2/api.go#L3768-L3771 |
166,544 | aws/aws-sdk-go | service/elbv2/api.go | SetUserPoolClientId | func (s *AuthenticateCognitoActionConfig) SetUserPoolClientId(v string) *AuthenticateCognitoActionConfig {
s.UserPoolClientId = &v
return s
} | go | func (s *AuthenticateCognitoActionConfig) SetUserPoolClientId(v string) *AuthenticateCognitoActionConfig {
s.UserPoolClientId = &v
return s
} | [
"func",
"(",
"s",
"*",
"AuthenticateCognitoActionConfig",
")",
"SetUserPoolClientId",
"(",
"v",
"string",
")",
"*",
"AuthenticateCognitoActionConfig",
"{",
"s",
".",
"UserPoolClientId",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetUserPoolClientId sets the UserPoolClientId field's value. | [
"SetUserPoolClientId",
"sets",
"the",
"UserPoolClientId",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elbv2/api.go#L3774-L3777 |
166,545 | aws/aws-sdk-go | service/elbv2/api.go | SetUserPoolDomain | func (s *AuthenticateCognitoActionConfig) SetUserPoolDomain(v string) *AuthenticateCognitoActionConfig {
s.UserPoolDomain = &v
return s
} | go | func (s *AuthenticateCognitoActionConfig) SetUserPoolDomain(v string) *AuthenticateCognitoActionConfig {
s.UserPoolDomain = &v
return s
} | [
"func",
"(",
"s",
"*",
"AuthenticateCognitoActionConfig",
")",
"SetUserPoolDomain",
"(",
"v",
"string",
")",
"*",
"AuthenticateCognitoActionConfig",
"{",
"s",
".",
"UserPoolDomain",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetUserPoolDomain sets the UserPoolDomain field's value. | [
"SetUserPoolDomain",
"sets",
"the",
"UserPoolDomain",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elbv2/api.go#L3780-L3783 |
166,546 | aws/aws-sdk-go | service/elbv2/api.go | SetAuthorizationEndpoint | func (s *AuthenticateOidcActionConfig) SetAuthorizationEndpoint(v string) *AuthenticateOidcActionConfig {
s.AuthorizationEndpoint = &v
return s
} | go | func (s *AuthenticateOidcActionConfig) SetAuthorizationEndpoint(v string) *AuthenticateOidcActionConfig {
s.AuthorizationEndpoint = &v
return s
} | [
"func",
"(",
"s",
"*",
"AuthenticateOidcActionConfig",
")",
"SetAuthorizationEndpoint",
"(",
"v",
"string",
")",
"*",
"AuthenticateOidcActionConfig",
"{",
"s",
".",
"AuthorizationEndpoint",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAuthorizationEndpoint sets the AuthorizationEndpoint field's value. | [
"SetAuthorizationEndpoint",
"sets",
"the",
"AuthorizationEndpoint",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elbv2/api.go#L3899-L3902 |
166,547 | aws/aws-sdk-go | service/elbv2/api.go | SetTokenEndpoint | func (s *AuthenticateOidcActionConfig) SetTokenEndpoint(v string) *AuthenticateOidcActionConfig {
s.TokenEndpoint = &v
return s
} | go | func (s *AuthenticateOidcActionConfig) SetTokenEndpoint(v string) *AuthenticateOidcActionConfig {
s.TokenEndpoint = &v
return s
} | [
"func",
"(",
"s",
"*",
"AuthenticateOidcActionConfig",
")",
"SetTokenEndpoint",
"(",
"v",
"string",
")",
"*",
"AuthenticateOidcActionConfig",
"{",
"s",
".",
"TokenEndpoint",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetTokenEndpoint sets the TokenEndpoint field's value. | [
"SetTokenEndpoint",
"sets",
"the",
"TokenEndpoint",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elbv2/api.go#L3947-L3950 |
166,548 | aws/aws-sdk-go | service/elbv2/api.go | SetUseExistingClientSecret | func (s *AuthenticateOidcActionConfig) SetUseExistingClientSecret(v bool) *AuthenticateOidcActionConfig {
s.UseExistingClientSecret = &v
return s
} | go | func (s *AuthenticateOidcActionConfig) SetUseExistingClientSecret(v bool) *AuthenticateOidcActionConfig {
s.UseExistingClientSecret = &v
return s
} | [
"func",
"(",
"s",
"*",
"AuthenticateOidcActionConfig",
")",
"SetUseExistingClientSecret",
"(",
"v",
"bool",
")",
"*",
"AuthenticateOidcActionConfig",
"{",
"s",
".",
"UseExistingClientSecret",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetUseExistingClientSecret sets the UseExistingClientSecret field's value. | [
"SetUseExistingClientSecret",
"sets",
"the",
"UseExistingClientSecret",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elbv2/api.go#L3953-L3956 |
166,549 | aws/aws-sdk-go | service/elbv2/api.go | SetUserInfoEndpoint | func (s *AuthenticateOidcActionConfig) SetUserInfoEndpoint(v string) *AuthenticateOidcActionConfig {
s.UserInfoEndpoint = &v
return s
} | go | func (s *AuthenticateOidcActionConfig) SetUserInfoEndpoint(v string) *AuthenticateOidcActionConfig {
s.UserInfoEndpoint = &v
return s
} | [
"func",
"(",
"s",
"*",
"AuthenticateOidcActionConfig",
")",
"SetUserInfoEndpoint",
"(",
"v",
"string",
")",
"*",
"AuthenticateOidcActionConfig",
"{",
"s",
".",
"UserInfoEndpoint",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetUserInfoEndpoint sets the UserInfoEndpoint field's value. | [
"SetUserInfoEndpoint",
"sets",
"the",
"UserInfoEndpoint",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elbv2/api.go#L3959-L3962 |
166,550 | aws/aws-sdk-go | service/elbv2/api.go | SetLoadBalancerAddresses | func (s *AvailabilityZone) SetLoadBalancerAddresses(v []*LoadBalancerAddress) *AvailabilityZone {
s.LoadBalancerAddresses = v
return s
} | go | func (s *AvailabilityZone) SetLoadBalancerAddresses(v []*LoadBalancerAddress) *AvailabilityZone {
s.LoadBalancerAddresses = v
return s
} | [
"func",
"(",
"s",
"*",
"AvailabilityZone",
")",
"SetLoadBalancerAddresses",
"(",
"v",
"[",
"]",
"*",
"LoadBalancerAddress",
")",
"*",
"AvailabilityZone",
"{",
"s",
".",
"LoadBalancerAddresses",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetLoadBalancerAddresses sets the LoadBalancerAddresses field's value. | [
"SetLoadBalancerAddresses",
"sets",
"the",
"LoadBalancerAddresses",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elbv2/api.go#L3989-L3992 |
166,551 | aws/aws-sdk-go | service/elbv2/api.go | SetZoneName | func (s *AvailabilityZone) SetZoneName(v string) *AvailabilityZone {
s.ZoneName = &v
return s
} | go | func (s *AvailabilityZone) SetZoneName(v string) *AvailabilityZone {
s.ZoneName = &v
return s
} | [
"func",
"(",
"s",
"*",
"AvailabilityZone",
")",
"SetZoneName",
"(",
"v",
"string",
")",
"*",
"AvailabilityZone",
"{",
"s",
".",
"ZoneName",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetZoneName sets the ZoneName field's value. | [
"SetZoneName",
"sets",
"the",
"ZoneName",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elbv2/api.go#L4001-L4004 |
166,552 | aws/aws-sdk-go | service/elbv2/api.go | SetRuleArns | func (s *DescribeRulesInput) SetRuleArns(v []*string) *DescribeRulesInput {
s.RuleArns = v
return s
} | go | func (s *DescribeRulesInput) SetRuleArns(v []*string) *DescribeRulesInput {
s.RuleArns = v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeRulesInput",
")",
"SetRuleArns",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"DescribeRulesInput",
"{",
"s",
".",
"RuleArns",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetRuleArns sets the RuleArns field's value. | [
"SetRuleArns",
"sets",
"the",
"RuleArns",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elbv2/api.go#L5582-L5585 |
166,553 | aws/aws-sdk-go | service/elbv2/api.go | SetSslPolicies | func (s *DescribeSSLPoliciesOutput) SetSslPolicies(v []*SslPolicy) *DescribeSSLPoliciesOutput {
s.SslPolicies = v
return s
} | go | func (s *DescribeSSLPoliciesOutput) SetSslPolicies(v []*SslPolicy) *DescribeSSLPoliciesOutput {
s.SslPolicies = v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeSSLPoliciesOutput",
")",
"SetSslPolicies",
"(",
"v",
"[",
"]",
"*",
"SslPolicy",
")",
"*",
"DescribeSSLPoliciesOutput",
"{",
"s",
".",
"SslPolicies",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetSslPolicies sets the SslPolicies field's value. | [
"SetSslPolicies",
"sets",
"the",
"SslPolicies",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elbv2/api.go#L5703-L5706 |
166,554 | aws/aws-sdk-go | service/elbv2/api.go | SetTargetGroupArns | func (s *DescribeTargetGroupsInput) SetTargetGroupArns(v []*string) *DescribeTargetGroupsInput {
s.TargetGroupArns = v
return s
} | go | func (s *DescribeTargetGroupsInput) SetTargetGroupArns(v []*string) *DescribeTargetGroupsInput {
s.TargetGroupArns = v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeTargetGroupsInput",
")",
"SetTargetGroupArns",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"DescribeTargetGroupsInput",
"{",
"s",
".",
"TargetGroupArns",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetTargetGroupArns sets the TargetGroupArns field's value. | [
"SetTargetGroupArns",
"sets",
"the",
"TargetGroupArns",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elbv2/api.go#L5898-L5901 |
166,555 | aws/aws-sdk-go | service/elbv2/api.go | SetTargetHealthDescriptions | func (s *DescribeTargetHealthOutput) SetTargetHealthDescriptions(v []*TargetHealthDescription) *DescribeTargetHealthOutput {
s.TargetHealthDescriptions = v
return s
} | go | func (s *DescribeTargetHealthOutput) SetTargetHealthDescriptions(v []*TargetHealthDescription) *DescribeTargetHealthOutput {
s.TargetHealthDescriptions = v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeTargetHealthOutput",
")",
"SetTargetHealthDescriptions",
"(",
"v",
"[",
"]",
"*",
"TargetHealthDescription",
")",
"*",
"DescribeTargetHealthOutput",
"{",
"s",
".",
"TargetHealthDescriptions",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetTargetHealthDescriptions sets the TargetHealthDescriptions field's value. | [
"SetTargetHealthDescriptions",
"sets",
"the",
"TargetHealthDescriptions",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elbv2/api.go#L6011-L6014 |
166,556 | aws/aws-sdk-go | service/elbv2/api.go | SetHttpHeaderName | func (s *HttpHeaderConditionConfig) SetHttpHeaderName(v string) *HttpHeaderConditionConfig {
s.HttpHeaderName = &v
return s
} | go | func (s *HttpHeaderConditionConfig) SetHttpHeaderName(v string) *HttpHeaderConditionConfig {
s.HttpHeaderName = &v
return s
} | [
"func",
"(",
"s",
"*",
"HttpHeaderConditionConfig",
")",
"SetHttpHeaderName",
"(",
"v",
"string",
")",
"*",
"HttpHeaderConditionConfig",
"{",
"s",
".",
"HttpHeaderName",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetHttpHeaderName sets the HttpHeaderName field's value. | [
"SetHttpHeaderName",
"sets",
"the",
"HttpHeaderName",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elbv2/api.go#L6117-L6120 |
166,557 | aws/aws-sdk-go | service/elbv2/api.go | SetCanonicalHostedZoneId | func (s *LoadBalancer) SetCanonicalHostedZoneId(v string) *LoadBalancer {
s.CanonicalHostedZoneId = &v
return s
} | go | func (s *LoadBalancer) SetCanonicalHostedZoneId(v string) *LoadBalancer {
s.CanonicalHostedZoneId = &v
return s
} | [
"func",
"(",
"s",
"*",
"LoadBalancer",
")",
"SetCanonicalHostedZoneId",
"(",
"v",
"string",
")",
"*",
"LoadBalancer",
"{",
"s",
".",
"CanonicalHostedZoneId",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetCanonicalHostedZoneId sets the CanonicalHostedZoneId field's value. | [
"SetCanonicalHostedZoneId",
"sets",
"the",
"CanonicalHostedZoneId",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elbv2/api.go#L6349-L6352 |
166,558 | aws/aws-sdk-go | service/elbv2/api.go | SetHttpCode | func (s *Matcher) SetHttpCode(v string) *Matcher {
s.HttpCode = &v
return s
} | go | func (s *Matcher) SetHttpCode(v string) *Matcher {
s.HttpCode = &v
return s
} | [
"func",
"(",
"s",
"*",
"Matcher",
")",
"SetHttpCode",
"(",
"v",
"string",
")",
"*",
"Matcher",
"{",
"s",
".",
"HttpCode",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetHttpCode sets the HttpCode field's value. | [
"SetHttpCode",
"sets",
"the",
"HttpCode",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elbv2/api.go#L6585-L6588 |
166,559 | aws/aws-sdk-go | service/elbv2/api.go | SetHostHeaderConfig | func (s *RuleCondition) SetHostHeaderConfig(v *HostHeaderConditionConfig) *RuleCondition {
s.HostHeaderConfig = v
return s
} | go | func (s *RuleCondition) SetHostHeaderConfig(v *HostHeaderConditionConfig) *RuleCondition {
s.HostHeaderConfig = v
return s
} | [
"func",
"(",
"s",
"*",
"RuleCondition",
")",
"SetHostHeaderConfig",
"(",
"v",
"*",
"HostHeaderConditionConfig",
")",
"*",
"RuleCondition",
"{",
"s",
".",
"HostHeaderConfig",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetHostHeaderConfig sets the HostHeaderConfig field's value. | [
"SetHostHeaderConfig",
"sets",
"the",
"HostHeaderConfig",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elbv2/api.go#L7730-L7733 |
166,560 | aws/aws-sdk-go | service/elbv2/api.go | SetHttpHeaderConfig | func (s *RuleCondition) SetHttpHeaderConfig(v *HttpHeaderConditionConfig) *RuleCondition {
s.HttpHeaderConfig = v
return s
} | go | func (s *RuleCondition) SetHttpHeaderConfig(v *HttpHeaderConditionConfig) *RuleCondition {
s.HttpHeaderConfig = v
return s
} | [
"func",
"(",
"s",
"*",
"RuleCondition",
")",
"SetHttpHeaderConfig",
"(",
"v",
"*",
"HttpHeaderConditionConfig",
")",
"*",
"RuleCondition",
"{",
"s",
".",
"HttpHeaderConfig",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetHttpHeaderConfig sets the HttpHeaderConfig field's value. | [
"SetHttpHeaderConfig",
"sets",
"the",
"HttpHeaderConfig",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elbv2/api.go#L7736-L7739 |
166,561 | aws/aws-sdk-go | service/elbv2/api.go | SetHttpRequestMethodConfig | func (s *RuleCondition) SetHttpRequestMethodConfig(v *HttpRequestMethodConditionConfig) *RuleCondition {
s.HttpRequestMethodConfig = v
return s
} | go | func (s *RuleCondition) SetHttpRequestMethodConfig(v *HttpRequestMethodConditionConfig) *RuleCondition {
s.HttpRequestMethodConfig = v
return s
} | [
"func",
"(",
"s",
"*",
"RuleCondition",
")",
"SetHttpRequestMethodConfig",
"(",
"v",
"*",
"HttpRequestMethodConditionConfig",
")",
"*",
"RuleCondition",
"{",
"s",
".",
"HttpRequestMethodConfig",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetHttpRequestMethodConfig sets the HttpRequestMethodConfig field's value. | [
"SetHttpRequestMethodConfig",
"sets",
"the",
"HttpRequestMethodConfig",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elbv2/api.go#L7742-L7745 |
166,562 | aws/aws-sdk-go | service/elbv2/api.go | SetPathPatternConfig | func (s *RuleCondition) SetPathPatternConfig(v *PathPatternConditionConfig) *RuleCondition {
s.PathPatternConfig = v
return s
} | go | func (s *RuleCondition) SetPathPatternConfig(v *PathPatternConditionConfig) *RuleCondition {
s.PathPatternConfig = v
return s
} | [
"func",
"(",
"s",
"*",
"RuleCondition",
")",
"SetPathPatternConfig",
"(",
"v",
"*",
"PathPatternConditionConfig",
")",
"*",
"RuleCondition",
"{",
"s",
".",
"PathPatternConfig",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetPathPatternConfig sets the PathPatternConfig field's value. | [
"SetPathPatternConfig",
"sets",
"the",
"PathPatternConfig",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elbv2/api.go#L7748-L7751 |
166,563 | aws/aws-sdk-go | service/elbv2/api.go | SetQueryStringConfig | func (s *RuleCondition) SetQueryStringConfig(v *QueryStringConditionConfig) *RuleCondition {
s.QueryStringConfig = v
return s
} | go | func (s *RuleCondition) SetQueryStringConfig(v *QueryStringConditionConfig) *RuleCondition {
s.QueryStringConfig = v
return s
} | [
"func",
"(",
"s",
"*",
"RuleCondition",
")",
"SetQueryStringConfig",
"(",
"v",
"*",
"QueryStringConditionConfig",
")",
"*",
"RuleCondition",
"{",
"s",
".",
"QueryStringConfig",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetQueryStringConfig sets the QueryStringConfig field's value. | [
"SetQueryStringConfig",
"sets",
"the",
"QueryStringConfig",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elbv2/api.go#L7754-L7757 |
166,564 | aws/aws-sdk-go | service/elbv2/api.go | SetSourceIpConfig | func (s *RuleCondition) SetSourceIpConfig(v *SourceIpConditionConfig) *RuleCondition {
s.SourceIpConfig = v
return s
} | go | func (s *RuleCondition) SetSourceIpConfig(v *SourceIpConditionConfig) *RuleCondition {
s.SourceIpConfig = v
return s
} | [
"func",
"(",
"s",
"*",
"RuleCondition",
")",
"SetSourceIpConfig",
"(",
"v",
"*",
"SourceIpConditionConfig",
")",
"*",
"RuleCondition",
"{",
"s",
".",
"SourceIpConfig",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetSourceIpConfig sets the SourceIpConfig field's value. | [
"SetSourceIpConfig",
"sets",
"the",
"SourceIpConfig",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elbv2/api.go#L7760-L7763 |
166,565 | aws/aws-sdk-go | service/elbv2/api.go | SetRulePriorities | func (s *SetRulePrioritiesInput) SetRulePriorities(v []*RulePriorityPair) *SetRulePrioritiesInput {
s.RulePriorities = v
return s
} | go | func (s *SetRulePrioritiesInput) SetRulePriorities(v []*RulePriorityPair) *SetRulePrioritiesInput {
s.RulePriorities = v
return s
} | [
"func",
"(",
"s",
"*",
"SetRulePrioritiesInput",
")",
"SetRulePriorities",
"(",
"v",
"[",
"]",
"*",
"RulePriorityPair",
")",
"*",
"SetRulePrioritiesInput",
"{",
"s",
".",
"RulePriorities",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetRulePriorities sets the RulePriorities field's value. | [
"SetRulePriorities",
"sets",
"the",
"RulePriorities",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elbv2/api.go#L7937-L7940 |
166,566 | aws/aws-sdk-go | service/elbv2/api.go | SetCiphers | func (s *SslPolicy) SetCiphers(v []*Cipher) *SslPolicy {
s.Ciphers = v
return s
} | go | func (s *SslPolicy) SetCiphers(v []*Cipher) *SslPolicy {
s.Ciphers = v
return s
} | [
"func",
"(",
"s",
"*",
"SslPolicy",
")",
"SetCiphers",
"(",
"v",
"[",
"]",
"*",
"Cipher",
")",
"*",
"SslPolicy",
"{",
"s",
".",
"Ciphers",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetCiphers sets the Ciphers field's value. | [
"SetCiphers",
"sets",
"the",
"Ciphers",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elbv2/api.go#L8172-L8175 |
166,567 | aws/aws-sdk-go | service/elbv2/api.go | SetSslProtocols | func (s *SslPolicy) SetSslProtocols(v []*string) *SslPolicy {
s.SslProtocols = v
return s
} | go | func (s *SslPolicy) SetSslProtocols(v []*string) *SslPolicy {
s.SslProtocols = v
return s
} | [
"func",
"(",
"s",
"*",
"SslPolicy",
")",
"SetSslProtocols",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"SslPolicy",
"{",
"s",
".",
"SslProtocols",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetSslProtocols sets the SslProtocols field's value. | [
"SetSslProtocols",
"sets",
"the",
"SslProtocols",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elbv2/api.go#L8184-L8187 |
166,568 | aws/aws-sdk-go | service/elbv2/api.go | SetTargetGroupName | func (s *TargetGroup) SetTargetGroupName(v string) *TargetGroup {
s.TargetGroupName = &v
return s
} | go | func (s *TargetGroup) SetTargetGroupName(v string) *TargetGroup {
s.TargetGroupName = &v
return s
} | [
"func",
"(",
"s",
"*",
"TargetGroup",
")",
"SetTargetGroupName",
"(",
"v",
"string",
")",
"*",
"TargetGroup",
"{",
"s",
".",
"TargetGroupName",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetTargetGroupName sets the TargetGroupName field's value. | [
"SetTargetGroupName",
"sets",
"the",
"TargetGroupName",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elbv2/api.go#L8527-L8530 |
166,569 | aws/aws-sdk-go | service/elbv2/api.go | SetTargetHealth | func (s *TargetHealthDescription) SetTargetHealth(v *TargetHealth) *TargetHealthDescription {
s.TargetHealth = v
return s
} | go | func (s *TargetHealthDescription) SetTargetHealth(v *TargetHealth) *TargetHealthDescription {
s.TargetHealth = v
return s
} | [
"func",
"(",
"s",
"*",
"TargetHealthDescription",
")",
"SetTargetHealth",
"(",
"v",
"*",
"TargetHealth",
")",
"*",
"TargetHealthDescription",
"{",
"s",
".",
"TargetHealth",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetTargetHealth sets the TargetHealth field's value. | [
"SetTargetHealth",
"sets",
"the",
"TargetHealth",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elbv2/api.go#L8758-L8761 |
166,570 | aws/aws-sdk-go | service/costexplorer/api.go | SetCoverageCost | func (s *Coverage) SetCoverageCost(v *CoverageCost) *Coverage {
s.CoverageCost = v
return s
} | go | func (s *Coverage) SetCoverageCost(v *CoverageCost) *Coverage {
s.CoverageCost = v
return s
} | [
"func",
"(",
"s",
"*",
"Coverage",
")",
"SetCoverageCost",
"(",
"v",
"*",
"CoverageCost",
")",
"*",
"Coverage",
"{",
"s",
".",
"CoverageCost",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetCoverageCost sets the CoverageCost field's value. | [
"SetCoverageCost",
"sets",
"the",
"CoverageCost",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/costexplorer/api.go#L710-L713 |
166,571 | aws/aws-sdk-go | service/costexplorer/api.go | SetCoverageHours | func (s *Coverage) SetCoverageHours(v *CoverageHours) *Coverage {
s.CoverageHours = v
return s
} | go | func (s *Coverage) SetCoverageHours(v *CoverageHours) *Coverage {
s.CoverageHours = v
return s
} | [
"func",
"(",
"s",
"*",
"Coverage",
")",
"SetCoverageHours",
"(",
"v",
"*",
"CoverageHours",
")",
"*",
"Coverage",
"{",
"s",
".",
"CoverageHours",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetCoverageHours sets the CoverageHours field's value. | [
"SetCoverageHours",
"sets",
"the",
"CoverageHours",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/costexplorer/api.go#L716-L719 |
166,572 | aws/aws-sdk-go | service/costexplorer/api.go | SetCoverageNormalizedUnits | func (s *Coverage) SetCoverageNormalizedUnits(v *CoverageNormalizedUnits) *Coverage {
s.CoverageNormalizedUnits = v
return s
} | go | func (s *Coverage) SetCoverageNormalizedUnits(v *CoverageNormalizedUnits) *Coverage {
s.CoverageNormalizedUnits = v
return s
} | [
"func",
"(",
"s",
"*",
"Coverage",
")",
"SetCoverageNormalizedUnits",
"(",
"v",
"*",
"CoverageNormalizedUnits",
")",
"*",
"Coverage",
"{",
"s",
".",
"CoverageNormalizedUnits",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetCoverageNormalizedUnits sets the CoverageNormalizedUnits field's value. | [
"SetCoverageNormalizedUnits",
"sets",
"the",
"CoverageNormalizedUnits",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/costexplorer/api.go#L722-L725 |
166,573 | aws/aws-sdk-go | service/costexplorer/api.go | SetOnDemandCost | func (s *CoverageCost) SetOnDemandCost(v string) *CoverageCost {
s.OnDemandCost = &v
return s
} | go | func (s *CoverageCost) SetOnDemandCost(v string) *CoverageCost {
s.OnDemandCost = &v
return s
} | [
"func",
"(",
"s",
"*",
"CoverageCost",
")",
"SetOnDemandCost",
"(",
"v",
"string",
")",
"*",
"CoverageCost",
"{",
"s",
".",
"OnDemandCost",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetOnDemandCost sets the OnDemandCost field's value. | [
"SetOnDemandCost",
"sets",
"the",
"OnDemandCost",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/costexplorer/api.go#L788-L791 |
166,574 | aws/aws-sdk-go | service/costexplorer/api.go | SetCoverageHoursPercentage | func (s *CoverageHours) SetCoverageHoursPercentage(v string) *CoverageHours {
s.CoverageHoursPercentage = &v
return s
} | go | func (s *CoverageHours) SetCoverageHoursPercentage(v string) *CoverageHours {
s.CoverageHoursPercentage = &v
return s
} | [
"func",
"(",
"s",
"*",
"CoverageHours",
")",
"SetCoverageHoursPercentage",
"(",
"v",
"string",
")",
"*",
"CoverageHours",
"{",
"s",
".",
"CoverageHoursPercentage",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetCoverageHoursPercentage sets the CoverageHoursPercentage field's value. | [
"SetCoverageHoursPercentage",
"sets",
"the",
"CoverageHoursPercentage",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/costexplorer/api.go#L821-L824 |
166,575 | aws/aws-sdk-go | service/costexplorer/api.go | SetOnDemandHours | func (s *CoverageHours) SetOnDemandHours(v string) *CoverageHours {
s.OnDemandHours = &v
return s
} | go | func (s *CoverageHours) SetOnDemandHours(v string) *CoverageHours {
s.OnDemandHours = &v
return s
} | [
"func",
"(",
"s",
"*",
"CoverageHours",
")",
"SetOnDemandHours",
"(",
"v",
"string",
")",
"*",
"CoverageHours",
"{",
"s",
".",
"OnDemandHours",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetOnDemandHours sets the OnDemandHours field's value. | [
"SetOnDemandHours",
"sets",
"the",
"OnDemandHours",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/costexplorer/api.go#L827-L830 |
166,576 | aws/aws-sdk-go | service/costexplorer/api.go | SetReservedHours | func (s *CoverageHours) SetReservedHours(v string) *CoverageHours {
s.ReservedHours = &v
return s
} | go | func (s *CoverageHours) SetReservedHours(v string) *CoverageHours {
s.ReservedHours = &v
return s
} | [
"func",
"(",
"s",
"*",
"CoverageHours",
")",
"SetReservedHours",
"(",
"v",
"string",
")",
"*",
"CoverageHours",
"{",
"s",
".",
"ReservedHours",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetReservedHours sets the ReservedHours field's value. | [
"SetReservedHours",
"sets",
"the",
"ReservedHours",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/costexplorer/api.go#L833-L836 |
166,577 | aws/aws-sdk-go | service/costexplorer/api.go | SetTotalRunningHours | func (s *CoverageHours) SetTotalRunningHours(v string) *CoverageHours {
s.TotalRunningHours = &v
return s
} | go | func (s *CoverageHours) SetTotalRunningHours(v string) *CoverageHours {
s.TotalRunningHours = &v
return s
} | [
"func",
"(",
"s",
"*",
"CoverageHours",
")",
"SetTotalRunningHours",
"(",
"v",
"string",
")",
"*",
"CoverageHours",
"{",
"s",
".",
"TotalRunningHours",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetTotalRunningHours sets the TotalRunningHours field's value. | [
"SetTotalRunningHours",
"sets",
"the",
"TotalRunningHours",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/costexplorer/api.go#L839-L842 |
166,578 | aws/aws-sdk-go | service/costexplorer/api.go | SetCoverageNormalizedUnitsPercentage | func (s *CoverageNormalizedUnits) SetCoverageNormalizedUnitsPercentage(v string) *CoverageNormalizedUnits {
s.CoverageNormalizedUnitsPercentage = &v
return s
} | go | func (s *CoverageNormalizedUnits) SetCoverageNormalizedUnitsPercentage(v string) *CoverageNormalizedUnits {
s.CoverageNormalizedUnitsPercentage = &v
return s
} | [
"func",
"(",
"s",
"*",
"CoverageNormalizedUnits",
")",
"SetCoverageNormalizedUnitsPercentage",
"(",
"v",
"string",
")",
"*",
"CoverageNormalizedUnits",
"{",
"s",
".",
"CoverageNormalizedUnitsPercentage",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetCoverageNormalizedUnitsPercentage sets the CoverageNormalizedUnitsPercentage field's value. | [
"SetCoverageNormalizedUnitsPercentage",
"sets",
"the",
"CoverageNormalizedUnitsPercentage",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/costexplorer/api.go#L884-L887 |
166,579 | aws/aws-sdk-go | service/costexplorer/api.go | SetOnDemandNormalizedUnits | func (s *CoverageNormalizedUnits) SetOnDemandNormalizedUnits(v string) *CoverageNormalizedUnits {
s.OnDemandNormalizedUnits = &v
return s
} | go | func (s *CoverageNormalizedUnits) SetOnDemandNormalizedUnits(v string) *CoverageNormalizedUnits {
s.OnDemandNormalizedUnits = &v
return s
} | [
"func",
"(",
"s",
"*",
"CoverageNormalizedUnits",
")",
"SetOnDemandNormalizedUnits",
"(",
"v",
"string",
")",
"*",
"CoverageNormalizedUnits",
"{",
"s",
".",
"OnDemandNormalizedUnits",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetOnDemandNormalizedUnits sets the OnDemandNormalizedUnits field's value. | [
"SetOnDemandNormalizedUnits",
"sets",
"the",
"OnDemandNormalizedUnits",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/costexplorer/api.go#L890-L893 |
166,580 | aws/aws-sdk-go | service/costexplorer/api.go | SetReservedNormalizedUnits | func (s *CoverageNormalizedUnits) SetReservedNormalizedUnits(v string) *CoverageNormalizedUnits {
s.ReservedNormalizedUnits = &v
return s
} | go | func (s *CoverageNormalizedUnits) SetReservedNormalizedUnits(v string) *CoverageNormalizedUnits {
s.ReservedNormalizedUnits = &v
return s
} | [
"func",
"(",
"s",
"*",
"CoverageNormalizedUnits",
")",
"SetReservedNormalizedUnits",
"(",
"v",
"string",
")",
"*",
"CoverageNormalizedUnits",
"{",
"s",
".",
"ReservedNormalizedUnits",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetReservedNormalizedUnits sets the ReservedNormalizedUnits field's value. | [
"SetReservedNormalizedUnits",
"sets",
"the",
"ReservedNormalizedUnits",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/costexplorer/api.go#L896-L899 |
166,581 | aws/aws-sdk-go | service/costexplorer/api.go | SetTotalRunningNormalizedUnits | func (s *CoverageNormalizedUnits) SetTotalRunningNormalizedUnits(v string) *CoverageNormalizedUnits {
s.TotalRunningNormalizedUnits = &v
return s
} | go | func (s *CoverageNormalizedUnits) SetTotalRunningNormalizedUnits(v string) *CoverageNormalizedUnits {
s.TotalRunningNormalizedUnits = &v
return s
} | [
"func",
"(",
"s",
"*",
"CoverageNormalizedUnits",
")",
"SetTotalRunningNormalizedUnits",
"(",
"v",
"string",
")",
"*",
"CoverageNormalizedUnits",
"{",
"s",
".",
"TotalRunningNormalizedUnits",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetTotalRunningNormalizedUnits sets the TotalRunningNormalizedUnits field's value. | [
"SetTotalRunningNormalizedUnits",
"sets",
"the",
"TotalRunningNormalizedUnits",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/costexplorer/api.go#L902-L905 |
166,582 | aws/aws-sdk-go | service/costexplorer/api.go | SetOfferingClass | func (s *EC2Specification) SetOfferingClass(v string) *EC2Specification {
s.OfferingClass = &v
return s
} | go | func (s *EC2Specification) SetOfferingClass(v string) *EC2Specification {
s.OfferingClass = &v
return s
} | [
"func",
"(",
"s",
"*",
"EC2Specification",
")",
"SetOfferingClass",
"(",
"v",
"string",
")",
"*",
"EC2Specification",
"{",
"s",
".",
"OfferingClass",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetOfferingClass sets the OfferingClass field's value. | [
"SetOfferingClass",
"sets",
"the",
"OfferingClass",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/costexplorer/api.go#L1146-L1149 |
166,583 | aws/aws-sdk-go | service/costexplorer/api.go | SetInstanceClass | func (s *ESInstanceDetails) SetInstanceClass(v string) *ESInstanceDetails {
s.InstanceClass = &v
return s
} | go | func (s *ESInstanceDetails) SetInstanceClass(v string) *ESInstanceDetails {
s.InstanceClass = &v
return s
} | [
"func",
"(",
"s",
"*",
"ESInstanceDetails",
")",
"SetInstanceClass",
"(",
"v",
"string",
")",
"*",
"ESInstanceDetails",
"{",
"s",
".",
"InstanceClass",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetInstanceClass sets the InstanceClass field's value. | [
"SetInstanceClass",
"sets",
"the",
"InstanceClass",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/costexplorer/api.go#L1188-L1191 |
166,584 | aws/aws-sdk-go | service/costexplorer/api.go | SetInstanceSize | func (s *ESInstanceDetails) SetInstanceSize(v string) *ESInstanceDetails {
s.InstanceSize = &v
return s
} | go | func (s *ESInstanceDetails) SetInstanceSize(v string) *ESInstanceDetails {
s.InstanceSize = &v
return s
} | [
"func",
"(",
"s",
"*",
"ESInstanceDetails",
")",
"SetInstanceSize",
"(",
"v",
"string",
")",
"*",
"ESInstanceDetails",
"{",
"s",
".",
"InstanceSize",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetInstanceSize sets the InstanceSize field's value. | [
"SetInstanceSize",
"sets",
"the",
"InstanceSize",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/costexplorer/api.go#L1194-L1197 |
166,585 | aws/aws-sdk-go | service/costexplorer/api.go | SetNot | func (s *Expression) SetNot(v *Expression) *Expression {
s.Not = v
return s
} | go | func (s *Expression) SetNot(v *Expression) *Expression {
s.Not = v
return s
} | [
"func",
"(",
"s",
"*",
"Expression",
")",
"SetNot",
"(",
"v",
"*",
"Expression",
")",
"*",
"Expression",
"{",
"s",
".",
"Not",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetNot sets the Not field's value. | [
"SetNot",
"sets",
"the",
"Not",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/costexplorer/api.go#L1355-L1358 |
166,586 | aws/aws-sdk-go | service/costexplorer/api.go | SetOr | func (s *Expression) SetOr(v []*Expression) *Expression {
s.Or = v
return s
} | go | func (s *Expression) SetOr(v []*Expression) *Expression {
s.Or = v
return s
} | [
"func",
"(",
"s",
"*",
"Expression",
")",
"SetOr",
"(",
"v",
"[",
"]",
"*",
"Expression",
")",
"*",
"Expression",
"{",
"s",
".",
"Or",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetOr sets the Or field's value. | [
"SetOr",
"sets",
"the",
"Or",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/costexplorer/api.go#L1361-L1364 |
166,587 | aws/aws-sdk-go | service/costexplorer/api.go | SetMeanValue | func (s *ForecastResult) SetMeanValue(v string) *ForecastResult {
s.MeanValue = &v
return s
} | go | func (s *ForecastResult) SetMeanValue(v string) *ForecastResult {
s.MeanValue = &v
return s
} | [
"func",
"(",
"s",
"*",
"ForecastResult",
")",
"SetMeanValue",
"(",
"v",
"string",
")",
"*",
"ForecastResult",
"{",
"s",
".",
"MeanValue",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetMeanValue sets the MeanValue field's value. | [
"SetMeanValue",
"sets",
"the",
"MeanValue",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/costexplorer/api.go#L1400-L1403 |
166,588 | aws/aws-sdk-go | service/costexplorer/api.go | SetPredictionIntervalLowerBound | func (s *ForecastResult) SetPredictionIntervalLowerBound(v string) *ForecastResult {
s.PredictionIntervalLowerBound = &v
return s
} | go | func (s *ForecastResult) SetPredictionIntervalLowerBound(v string) *ForecastResult {
s.PredictionIntervalLowerBound = &v
return s
} | [
"func",
"(",
"s",
"*",
"ForecastResult",
")",
"SetPredictionIntervalLowerBound",
"(",
"v",
"string",
")",
"*",
"ForecastResult",
"{",
"s",
".",
"PredictionIntervalLowerBound",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetPredictionIntervalLowerBound sets the PredictionIntervalLowerBound field's value. | [
"SetPredictionIntervalLowerBound",
"sets",
"the",
"PredictionIntervalLowerBound",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/costexplorer/api.go#L1406-L1409 |
166,589 | aws/aws-sdk-go | service/costexplorer/api.go | SetPredictionIntervalUpperBound | func (s *ForecastResult) SetPredictionIntervalUpperBound(v string) *ForecastResult {
s.PredictionIntervalUpperBound = &v
return s
} | go | func (s *ForecastResult) SetPredictionIntervalUpperBound(v string) *ForecastResult {
s.PredictionIntervalUpperBound = &v
return s
} | [
"func",
"(",
"s",
"*",
"ForecastResult",
")",
"SetPredictionIntervalUpperBound",
"(",
"v",
"string",
")",
"*",
"ForecastResult",
"{",
"s",
".",
"PredictionIntervalUpperBound",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetPredictionIntervalUpperBound sets the PredictionIntervalUpperBound field's value. | [
"SetPredictionIntervalUpperBound",
"sets",
"the",
"PredictionIntervalUpperBound",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/costexplorer/api.go#L1412-L1415 |
166,590 | aws/aws-sdk-go | service/costexplorer/api.go | SetGroupDefinitions | func (s *GetCostAndUsageOutput) SetGroupDefinitions(v []*GroupDefinition) *GetCostAndUsageOutput {
s.GroupDefinitions = v
return s
} | go | func (s *GetCostAndUsageOutput) SetGroupDefinitions(v []*GroupDefinition) *GetCostAndUsageOutput {
s.GroupDefinitions = v
return s
} | [
"func",
"(",
"s",
"*",
"GetCostAndUsageOutput",
")",
"SetGroupDefinitions",
"(",
"v",
"[",
"]",
"*",
"GroupDefinition",
")",
"*",
"GetCostAndUsageOutput",
"{",
"s",
".",
"GroupDefinitions",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetGroupDefinitions sets the GroupDefinitions field's value. | [
"SetGroupDefinitions",
"sets",
"the",
"GroupDefinitions",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/costexplorer/api.go#L1569-L1572 |
166,591 | aws/aws-sdk-go | service/costexplorer/api.go | SetResultsByTime | func (s *GetCostAndUsageOutput) SetResultsByTime(v []*ResultByTime) *GetCostAndUsageOutput {
s.ResultsByTime = v
return s
} | go | func (s *GetCostAndUsageOutput) SetResultsByTime(v []*ResultByTime) *GetCostAndUsageOutput {
s.ResultsByTime = v
return s
} | [
"func",
"(",
"s",
"*",
"GetCostAndUsageOutput",
")",
"SetResultsByTime",
"(",
"v",
"[",
"]",
"*",
"ResultByTime",
")",
"*",
"GetCostAndUsageOutput",
"{",
"s",
".",
"ResultsByTime",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetResultsByTime sets the ResultsByTime field's value. | [
"SetResultsByTime",
"sets",
"the",
"ResultsByTime",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/costexplorer/api.go#L1581-L1584 |
166,592 | aws/aws-sdk-go | service/costexplorer/api.go | SetPredictionIntervalLevel | func (s *GetCostForecastInput) SetPredictionIntervalLevel(v int64) *GetCostForecastInput {
s.PredictionIntervalLevel = &v
return s
} | go | func (s *GetCostForecastInput) SetPredictionIntervalLevel(v int64) *GetCostForecastInput {
s.PredictionIntervalLevel = &v
return s
} | [
"func",
"(",
"s",
"*",
"GetCostForecastInput",
")",
"SetPredictionIntervalLevel",
"(",
"v",
"int64",
")",
"*",
"GetCostForecastInput",
"{",
"s",
".",
"PredictionIntervalLevel",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetPredictionIntervalLevel sets the PredictionIntervalLevel field's value. | [
"SetPredictionIntervalLevel",
"sets",
"the",
"PredictionIntervalLevel",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/costexplorer/api.go#L1689-L1692 |
166,593 | aws/aws-sdk-go | service/costexplorer/api.go | SetForecastResultsByTime | func (s *GetCostForecastOutput) SetForecastResultsByTime(v []*ForecastResult) *GetCostForecastOutput {
s.ForecastResultsByTime = v
return s
} | go | func (s *GetCostForecastOutput) SetForecastResultsByTime(v []*ForecastResult) *GetCostForecastOutput {
s.ForecastResultsByTime = v
return s
} | [
"func",
"(",
"s",
"*",
"GetCostForecastOutput",
")",
"SetForecastResultsByTime",
"(",
"v",
"[",
"]",
"*",
"ForecastResult",
")",
"*",
"GetCostForecastOutput",
"{",
"s",
".",
"ForecastResultsByTime",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetForecastResultsByTime sets the ForecastResultsByTime field's value. | [
"SetForecastResultsByTime",
"sets",
"the",
"ForecastResultsByTime",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/costexplorer/api.go#L1722-L1725 |
166,594 | aws/aws-sdk-go | service/costexplorer/api.go | SetDimensionValues | func (s *GetDimensionValuesOutput) SetDimensionValues(v []*DimensionValuesWithAttributes) *GetDimensionValuesOutput {
s.DimensionValues = v
return s
} | go | func (s *GetDimensionValuesOutput) SetDimensionValues(v []*DimensionValuesWithAttributes) *GetDimensionValuesOutput {
s.DimensionValues = v
return s
} | [
"func",
"(",
"s",
"*",
"GetDimensionValuesOutput",
")",
"SetDimensionValues",
"(",
"v",
"[",
"]",
"*",
"DimensionValuesWithAttributes",
")",
"*",
"GetDimensionValuesOutput",
"{",
"s",
".",
"DimensionValues",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDimensionValues sets the DimensionValues field's value. | [
"SetDimensionValues",
"sets",
"the",
"DimensionValues",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/costexplorer/api.go#L2005-L2008 |
166,595 | aws/aws-sdk-go | service/costexplorer/api.go | SetCoveragesByTime | func (s *GetReservationCoverageOutput) SetCoveragesByTime(v []*CoverageByTime) *GetReservationCoverageOutput {
s.CoveragesByTime = v
return s
} | go | func (s *GetReservationCoverageOutput) SetCoveragesByTime(v []*CoverageByTime) *GetReservationCoverageOutput {
s.CoveragesByTime = v
return s
} | [
"func",
"(",
"s",
"*",
"GetReservationCoverageOutput",
")",
"SetCoveragesByTime",
"(",
"v",
"[",
"]",
"*",
"CoverageByTime",
")",
"*",
"GetReservationCoverageOutput",
"{",
"s",
".",
"CoveragesByTime",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetCoveragesByTime sets the CoveragesByTime field's value. | [
"SetCoveragesByTime",
"sets",
"the",
"CoveragesByTime",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/costexplorer/api.go#L2212-L2215 |
166,596 | aws/aws-sdk-go | service/costexplorer/api.go | SetRecommendations | func (s *GetReservationPurchaseRecommendationOutput) SetRecommendations(v []*ReservationPurchaseRecommendation) *GetReservationPurchaseRecommendationOutput {
s.Recommendations = v
return s
} | go | func (s *GetReservationPurchaseRecommendationOutput) SetRecommendations(v []*ReservationPurchaseRecommendation) *GetReservationPurchaseRecommendationOutput {
s.Recommendations = v
return s
} | [
"func",
"(",
"s",
"*",
"GetReservationPurchaseRecommendationOutput",
")",
"SetRecommendations",
"(",
"v",
"[",
"]",
"*",
"ReservationPurchaseRecommendation",
")",
"*",
"GetReservationPurchaseRecommendationOutput",
"{",
"s",
".",
"Recommendations",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetRecommendations sets the Recommendations field's value. | [
"SetRecommendations",
"sets",
"the",
"Recommendations",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/costexplorer/api.go#L2385-L2388 |
166,597 | aws/aws-sdk-go | service/costexplorer/api.go | SetUtilizationsByTime | func (s *GetReservationUtilizationOutput) SetUtilizationsByTime(v []*UtilizationByTime) *GetReservationUtilizationOutput {
s.UtilizationsByTime = v
return s
} | go | func (s *GetReservationUtilizationOutput) SetUtilizationsByTime(v []*UtilizationByTime) *GetReservationUtilizationOutput {
s.UtilizationsByTime = v
return s
} | [
"func",
"(",
"s",
"*",
"GetReservationUtilizationOutput",
")",
"SetUtilizationsByTime",
"(",
"v",
"[",
"]",
"*",
"UtilizationByTime",
")",
"*",
"GetReservationUtilizationOutput",
"{",
"s",
".",
"UtilizationsByTime",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetUtilizationsByTime sets the UtilizationsByTime field's value. | [
"SetUtilizationsByTime",
"sets",
"the",
"UtilizationsByTime",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/costexplorer/api.go#L2548-L2551 |
166,598 | aws/aws-sdk-go | service/costexplorer/api.go | SetEC2InstanceDetails | func (s *InstanceDetails) SetEC2InstanceDetails(v *EC2InstanceDetails) *InstanceDetails {
s.EC2InstanceDetails = v
return s
} | go | func (s *InstanceDetails) SetEC2InstanceDetails(v *EC2InstanceDetails) *InstanceDetails {
s.EC2InstanceDetails = v
return s
} | [
"func",
"(",
"s",
"*",
"InstanceDetails",
")",
"SetEC2InstanceDetails",
"(",
"v",
"*",
"EC2InstanceDetails",
")",
"*",
"InstanceDetails",
"{",
"s",
".",
"EC2InstanceDetails",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetEC2InstanceDetails sets the EC2InstanceDetails field's value. | [
"SetEC2InstanceDetails",
"sets",
"the",
"EC2InstanceDetails",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/costexplorer/api.go#L2784-L2787 |
166,599 | aws/aws-sdk-go | service/costexplorer/api.go | SetESInstanceDetails | func (s *InstanceDetails) SetESInstanceDetails(v *ESInstanceDetails) *InstanceDetails {
s.ESInstanceDetails = v
return s
} | go | func (s *InstanceDetails) SetESInstanceDetails(v *ESInstanceDetails) *InstanceDetails {
s.ESInstanceDetails = v
return s
} | [
"func",
"(",
"s",
"*",
"InstanceDetails",
")",
"SetESInstanceDetails",
"(",
"v",
"*",
"ESInstanceDetails",
")",
"*",
"InstanceDetails",
"{",
"s",
".",
"ESInstanceDetails",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetESInstanceDetails sets the ESInstanceDetails field's value. | [
"SetESInstanceDetails",
"sets",
"the",
"ESInstanceDetails",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/costexplorer/api.go#L2790-L2793 |