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,000
aws/aws-sdk-go
service/elastictranscoder/api.go
SetBitOrder
func (s *AudioCodecOptions) SetBitOrder(v string) *AudioCodecOptions { s.BitOrder = &v return s }
go
func (s *AudioCodecOptions) SetBitOrder(v string) *AudioCodecOptions { s.BitOrder = &v return s }
[ "func", "(", "s", "*", "AudioCodecOptions", ")", "SetBitOrder", "(", "v", "string", ")", "*", "AudioCodecOptions", "{", "s", ".", "BitOrder", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetBitOrder sets the BitOrder field's value.
[ "SetBitOrder", "sets", "the", "BitOrder", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elastictranscoder/api.go#L2076-L2079
166,001
aws/aws-sdk-go
service/elastictranscoder/api.go
SetSigned
func (s *AudioCodecOptions) SetSigned(v string) *AudioCodecOptions { s.Signed = &v return s }
go
func (s *AudioCodecOptions) SetSigned(v string) *AudioCodecOptions { s.Signed = &v return s }
[ "func", "(", "s", "*", "AudioCodecOptions", ")", "SetSigned", "(", "v", "string", ")", "*", "AudioCodecOptions", "{", "s", ".", "Signed", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetSigned sets the Signed field's value.
[ "SetSigned", "sets", "the", "Signed", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elastictranscoder/api.go#L2088-L2091
166,002
aws/aws-sdk-go
service/elastictranscoder/api.go
SetAudioPackingMode
func (s *AudioParameters) SetAudioPackingMode(v string) *AudioParameters { s.AudioPackingMode = &v return s }
go
func (s *AudioParameters) SetAudioPackingMode(v string) *AudioParameters { s.AudioPackingMode = &v return s }
[ "func", "(", "s", "*", "AudioParameters", ")", "SetAudioPackingMode", "(", "v", "string", ")", "*", "AudioParameters", "{", "s", ".", "AudioPackingMode", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetAudioPackingMode sets the AudioPackingMode field's value.
[ "SetAudioPackingMode", "sets", "the", "AudioPackingMode", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elastictranscoder/api.go#L2268-L2271
166,003
aws/aws-sdk-go
service/elastictranscoder/api.go
SetTimeOffset
func (s *CaptionSource) SetTimeOffset(v string) *CaptionSource { s.TimeOffset = &v return s }
go
func (s *CaptionSource) SetTimeOffset(v string) *CaptionSource { s.TimeOffset = &v return s }
[ "func", "(", "s", "*", "CaptionSource", ")", "SetTimeOffset", "(", "v", "string", ")", "*", "CaptionSource", "{", "s", ".", "TimeOffset", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetTimeOffset sets the TimeOffset field's value.
[ "SetTimeOffset", "sets", "the", "TimeOffset", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elastictranscoder/api.go#L2541-L2544
166,004
aws/aws-sdk-go
service/elastictranscoder/api.go
SetCaptionFormats
func (s *Captions) SetCaptionFormats(v []*CaptionFormat) *Captions { s.CaptionFormats = v return s }
go
func (s *Captions) SetCaptionFormats(v []*CaptionFormat) *Captions { s.CaptionFormats = v return s }
[ "func", "(", "s", "*", "Captions", ")", "SetCaptionFormats", "(", "v", "[", "]", "*", "CaptionFormat", ")", "*", "Captions", "{", "s", ".", "CaptionFormats", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetCaptionFormats sets the CaptionFormats field's value.
[ "SetCaptionFormats", "sets", "the", "CaptionFormats", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elastictranscoder/api.go#L2615-L2618
166,005
aws/aws-sdk-go
service/elastictranscoder/api.go
SetKeyStoragePolicy
func (s *HlsContentProtection) SetKeyStoragePolicy(v string) *HlsContentProtection { s.KeyStoragePolicy = &v return s }
go
func (s *HlsContentProtection) SetKeyStoragePolicy(v string) *HlsContentProtection { s.KeyStoragePolicy = &v return s }
[ "func", "(", "s", "*", "HlsContentProtection", ")", "SetKeyStoragePolicy", "(", "v", "string", ")", "*", "HlsContentProtection", "{", "s", ".", "KeyStoragePolicy", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetKeyStoragePolicy sets the KeyStoragePolicy field's value.
[ "SetKeyStoragePolicy", "sets", "the", "KeyStoragePolicy", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elastictranscoder/api.go#L4071-L4074
166,006
aws/aws-sdk-go
service/elastictranscoder/api.go
SetTiming
func (s *Job) SetTiming(v *Timing) *Job { s.Timing = v return s }
go
func (s *Job) SetTiming(v *Timing) *Job { s.Timing = v return s }
[ "func", "(", "s", "*", "Job", ")", "SetTiming", "(", "v", "*", "Timing", ")", "*", "Job", "{", "s", ".", "Timing", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetTiming sets the Timing field's value.
[ "SetTiming", "sets", "the", "Timing", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elastictranscoder/api.go#L4316-L4319
166,007
aws/aws-sdk-go
service/elastictranscoder/api.go
SetArtwork
func (s *JobAlbumArt) SetArtwork(v []*Artwork) *JobAlbumArt { s.Artwork = v return s }
go
func (s *JobAlbumArt) SetArtwork(v []*Artwork) *JobAlbumArt { s.Artwork = v return s }
[ "func", "(", "s", "*", "JobAlbumArt", ")", "SetArtwork", "(", "v", "[", "]", "*", "Artwork", ")", "*", "JobAlbumArt", "{", "s", ".", "Artwork", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetArtwork sets the Artwork field's value.
[ "SetArtwork", "sets", "the", "Artwork", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elastictranscoder/api.go#L4382-L4385
166,008
aws/aws-sdk-go
service/elastictranscoder/api.go
SetDetectedProperties
func (s *JobInput) SetDetectedProperties(v *DetectedProperties) *JobInput { s.DetectedProperties = v return s }
go
func (s *JobInput) SetDetectedProperties(v *DetectedProperties) *JobInput { s.DetectedProperties = v return s }
[ "func", "(", "s", "*", "JobInput", ")", "SetDetectedProperties", "(", "v", "*", "DetectedProperties", ")", "*", "JobInput", "{", "s", ".", "DetectedProperties", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetDetectedProperties sets the DetectedProperties field's value.
[ "SetDetectedProperties", "sets", "the", "DetectedProperties", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elastictranscoder/api.go#L4548-L4551
166,009
aws/aws-sdk-go
service/elastictranscoder/api.go
SetInputCaptions
func (s *JobInput) SetInputCaptions(v *InputCaptions) *JobInput { s.InputCaptions = v return s }
go
func (s *JobInput) SetInputCaptions(v *InputCaptions) *JobInput { s.InputCaptions = v return s }
[ "func", "(", "s", "*", "JobInput", ")", "SetInputCaptions", "(", "v", "*", "InputCaptions", ")", "*", "JobInput", "{", "s", ".", "InputCaptions", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetInputCaptions sets the InputCaptions field's value.
[ "SetInputCaptions", "sets", "the", "InputCaptions", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elastictranscoder/api.go#L4566-L4569
166,010
aws/aws-sdk-go
service/elastictranscoder/api.go
SetInterlaced
func (s *JobInput) SetInterlaced(v string) *JobInput { s.Interlaced = &v return s }
go
func (s *JobInput) SetInterlaced(v string) *JobInput { s.Interlaced = &v return s }
[ "func", "(", "s", "*", "JobInput", ")", "SetInterlaced", "(", "v", "string", ")", "*", "JobInput", "{", "s", ".", "Interlaced", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetInterlaced sets the Interlaced field's value.
[ "SetInterlaced", "sets", "the", "Interlaced", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elastictranscoder/api.go#L4572-L4575
166,011
aws/aws-sdk-go
service/elastictranscoder/api.go
SetAppliedColorSpaceConversion
func (s *JobOutput) SetAppliedColorSpaceConversion(v string) *JobOutput { s.AppliedColorSpaceConversion = &v return s }
go
func (s *JobOutput) SetAppliedColorSpaceConversion(v string) *JobOutput { s.AppliedColorSpaceConversion = &v return s }
[ "func", "(", "s", "*", "JobOutput", ")", "SetAppliedColorSpaceConversion", "(", "v", "string", ")", "*", "JobOutput", "{", "s", ".", "AppliedColorSpaceConversion", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetAppliedColorSpaceConversion sets the AppliedColorSpaceConversion field's value.
[ "SetAppliedColorSpaceConversion", "sets", "the", "AppliedColorSpaceConversion", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elastictranscoder/api.go#L4832-L4835
166,012
aws/aws-sdk-go
service/elastictranscoder/api.go
SetPresetWatermarkId
func (s *JobWatermark) SetPresetWatermarkId(v string) *JobWatermark { s.PresetWatermarkId = &v return s }
go
func (s *JobWatermark) SetPresetWatermarkId(v string) *JobWatermark { s.PresetWatermarkId = &v return s }
[ "func", "(", "s", "*", "JobWatermark", ")", "SetPresetWatermarkId", "(", "v", "string", ")", "*", "JobWatermark", "{", "s", ".", "PresetWatermarkId", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetPresetWatermarkId sets the PresetWatermarkId field's value.
[ "SetPresetWatermarkId", "sets", "the", "PresetWatermarkId", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elastictranscoder/api.go#L5016-L5019
166,013
aws/aws-sdk-go
service/elastictranscoder/api.go
SetPresets
func (s *ListPresetsOutput) SetPresets(v []*Preset) *ListPresetsOutput { s.Presets = v return s }
go
func (s *ListPresetsOutput) SetPresets(v []*Preset) *ListPresetsOutput { s.Presets = v return s }
[ "func", "(", "s", "*", "ListPresetsOutput", ")", "SetPresets", "(", "v", "[", "]", "*", "Preset", ")", "*", "ListPresetsOutput", "{", "s", ".", "Presets", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetPresets sets the Presets field's value.
[ "SetPresets", "sets", "the", "Presets", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elastictranscoder/api.go#L5354-L5357
166,014
aws/aws-sdk-go
service/elastictranscoder/api.go
SetProgressing
func (s *Notifications) SetProgressing(v string) *Notifications { s.Progressing = &v return s }
go
func (s *Notifications) SetProgressing(v string) *Notifications { s.Progressing = &v return s }
[ "func", "(", "s", "*", "Notifications", ")", "SetProgressing", "(", "v", "string", ")", "*", "Notifications", "{", "s", ".", "Progressing", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetProgressing sets the Progressing field's value.
[ "SetProgressing", "sets", "the", "Progressing", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elastictranscoder/api.go#L5407-L5410
166,015
aws/aws-sdk-go
service/elastictranscoder/api.go
SetAccess
func (s *Permission) SetAccess(v []*string) *Permission { s.Access = v return s }
go
func (s *Permission) SetAccess(v []*string) *Permission { s.Access = v return s }
[ "func", "(", "s", "*", "Permission", ")", "SetAccess", "(", "v", "[", "]", "*", "string", ")", "*", "Permission", "{", "s", ".", "Access", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetAccess sets the Access field's value.
[ "SetAccess", "sets", "the", "Access", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elastictranscoder/api.go#L5483-L5486
166,016
aws/aws-sdk-go
service/elastictranscoder/api.go
SetHorizontalAlign
func (s *PresetWatermark) SetHorizontalAlign(v string) *PresetWatermark { s.HorizontalAlign = &v return s }
go
func (s *PresetWatermark) SetHorizontalAlign(v string) *PresetWatermark { s.HorizontalAlign = &v return s }
[ "func", "(", "s", "*", "PresetWatermark", ")", "SetHorizontalAlign", "(", "v", "string", ")", "*", "PresetWatermark", "{", "s", ".", "HorizontalAlign", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetHorizontalAlign sets the HorizontalAlign field's value.
[ "SetHorizontalAlign", "sets", "the", "HorizontalAlign", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elastictranscoder/api.go#L6365-L6368
166,017
aws/aws-sdk-go
service/elastictranscoder/api.go
SetHorizontalOffset
func (s *PresetWatermark) SetHorizontalOffset(v string) *PresetWatermark { s.HorizontalOffset = &v return s }
go
func (s *PresetWatermark) SetHorizontalOffset(v string) *PresetWatermark { s.HorizontalOffset = &v return s }
[ "func", "(", "s", "*", "PresetWatermark", ")", "SetHorizontalOffset", "(", "v", "string", ")", "*", "PresetWatermark", "{", "s", ".", "HorizontalOffset", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetHorizontalOffset sets the HorizontalOffset field's value.
[ "SetHorizontalOffset", "sets", "the", "HorizontalOffset", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elastictranscoder/api.go#L6371-L6374
166,018
aws/aws-sdk-go
service/elastictranscoder/api.go
SetVerticalAlign
func (s *PresetWatermark) SetVerticalAlign(v string) *PresetWatermark { s.VerticalAlign = &v return s }
go
func (s *PresetWatermark) SetVerticalAlign(v string) *PresetWatermark { s.VerticalAlign = &v return s }
[ "func", "(", "s", "*", "PresetWatermark", ")", "SetVerticalAlign", "(", "v", "string", ")", "*", "PresetWatermark", "{", "s", ".", "VerticalAlign", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetVerticalAlign sets the VerticalAlign field's value.
[ "SetVerticalAlign", "sets", "the", "VerticalAlign", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elastictranscoder/api.go#L6413-L6416
166,019
aws/aws-sdk-go
service/elastictranscoder/api.go
SetVerticalOffset
func (s *PresetWatermark) SetVerticalOffset(v string) *PresetWatermark { s.VerticalOffset = &v return s }
go
func (s *PresetWatermark) SetVerticalOffset(v string) *PresetWatermark { s.VerticalOffset = &v return s }
[ "func", "(", "s", "*", "PresetWatermark", ")", "SetVerticalOffset", "(", "v", "string", ")", "*", "PresetWatermark", "{", "s", ".", "VerticalOffset", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetVerticalOffset sets the VerticalOffset field's value.
[ "SetVerticalOffset", "sets", "the", "VerticalOffset", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elastictranscoder/api.go#L6419-L6422
166,020
aws/aws-sdk-go
service/elastictranscoder/api.go
SetFinishTimeMillis
func (s *Timing) SetFinishTimeMillis(v int64) *Timing { s.FinishTimeMillis = &v return s }
go
func (s *Timing) SetFinishTimeMillis(v int64) *Timing { s.FinishTimeMillis = &v return s }
[ "func", "(", "s", "*", "Timing", ")", "SetFinishTimeMillis", "(", "v", "int64", ")", "*", "Timing", "{", "s", ".", "FinishTimeMillis", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetFinishTimeMillis sets the FinishTimeMillis field's value.
[ "SetFinishTimeMillis", "sets", "the", "FinishTimeMillis", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elastictranscoder/api.go#L6970-L6973
166,021
aws/aws-sdk-go
service/elastictranscoder/api.go
SetStartTimeMillis
func (s *Timing) SetStartTimeMillis(v int64) *Timing { s.StartTimeMillis = &v return s }
go
func (s *Timing) SetStartTimeMillis(v int64) *Timing { s.StartTimeMillis = &v return s }
[ "func", "(", "s", "*", "Timing", ")", "SetStartTimeMillis", "(", "v", "int64", ")", "*", "Timing", "{", "s", ".", "StartTimeMillis", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetStartTimeMillis sets the StartTimeMillis field's value.
[ "SetStartTimeMillis", "sets", "the", "StartTimeMillis", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elastictranscoder/api.go#L6976-L6979
166,022
aws/aws-sdk-go
service/elastictranscoder/api.go
SetSubmitTimeMillis
func (s *Timing) SetSubmitTimeMillis(v int64) *Timing { s.SubmitTimeMillis = &v return s }
go
func (s *Timing) SetSubmitTimeMillis(v int64) *Timing { s.SubmitTimeMillis = &v return s }
[ "func", "(", "s", "*", "Timing", ")", "SetSubmitTimeMillis", "(", "v", "int64", ")", "*", "Timing", "{", "s", ".", "SubmitTimeMillis", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetSubmitTimeMillis sets the SubmitTimeMillis field's value.
[ "SetSubmitTimeMillis", "sets", "the", "SubmitTimeMillis", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elastictranscoder/api.go#L6982-L6985
166,023
aws/aws-sdk-go
service/elastictranscoder/api.go
SetDisplayAspectRatio
func (s *VideoParameters) SetDisplayAspectRatio(v string) *VideoParameters { s.DisplayAspectRatio = &v return s }
go
func (s *VideoParameters) SetDisplayAspectRatio(v string) *VideoParameters { s.DisplayAspectRatio = &v return s }
[ "func", "(", "s", "*", "VideoParameters", ")", "SetDisplayAspectRatio", "(", "v", "string", ")", "*", "VideoParameters", "{", "s", ".", "DisplayAspectRatio", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetDisplayAspectRatio sets the DisplayAspectRatio field's value.
[ "SetDisplayAspectRatio", "sets", "the", "DisplayAspectRatio", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elastictranscoder/api.go#L7958-L7961
166,024
aws/aws-sdk-go
service/elastictranscoder/api.go
SetFixedGOP
func (s *VideoParameters) SetFixedGOP(v string) *VideoParameters { s.FixedGOP = &v return s }
go
func (s *VideoParameters) SetFixedGOP(v string) *VideoParameters { s.FixedGOP = &v return s }
[ "func", "(", "s", "*", "VideoParameters", ")", "SetFixedGOP", "(", "v", "string", ")", "*", "VideoParameters", "{", "s", ".", "FixedGOP", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetFixedGOP sets the FixedGOP field's value.
[ "SetFixedGOP", "sets", "the", "FixedGOP", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elastictranscoder/api.go#L7964-L7967
166,025
aws/aws-sdk-go
service/elastictranscoder/api.go
SetKeyframesMaxDist
func (s *VideoParameters) SetKeyframesMaxDist(v string) *VideoParameters { s.KeyframesMaxDist = &v return s }
go
func (s *VideoParameters) SetKeyframesMaxDist(v string) *VideoParameters { s.KeyframesMaxDist = &v return s }
[ "func", "(", "s", "*", "VideoParameters", ")", "SetKeyframesMaxDist", "(", "v", "string", ")", "*", "VideoParameters", "{", "s", ".", "KeyframesMaxDist", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetKeyframesMaxDist sets the KeyframesMaxDist field's value.
[ "SetKeyframesMaxDist", "sets", "the", "KeyframesMaxDist", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elastictranscoder/api.go#L7976-L7979
166,026
aws/aws-sdk-go
service/elastictranscoder/api.go
SetMaxFrameRate
func (s *VideoParameters) SetMaxFrameRate(v string) *VideoParameters { s.MaxFrameRate = &v return s }
go
func (s *VideoParameters) SetMaxFrameRate(v string) *VideoParameters { s.MaxFrameRate = &v return s }
[ "func", "(", "s", "*", "VideoParameters", ")", "SetMaxFrameRate", "(", "v", "string", ")", "*", "VideoParameters", "{", "s", ".", "MaxFrameRate", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetMaxFrameRate sets the MaxFrameRate field's value.
[ "SetMaxFrameRate", "sets", "the", "MaxFrameRate", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elastictranscoder/api.go#L7982-L7985
166,027
aws/aws-sdk-go
private/protocol/eventstream/eventstreamapi/api.go
NewEventReader
func NewEventReader( reader io.ReadCloser, payloadUnmarshaler protocol.PayloadUnmarshaler, unmarshalerForEventType func(string) (Unmarshaler, error), ) *EventReader { return &EventReader{ reader: reader, decoder: eventstream.NewDecoder(reader), payloadUnmarshaler: payloadUnmarshaler, unmarshalerForEventType: unmarshalerForEventType, payloadBuf: make([]byte, 10*1024), } }
go
func NewEventReader( reader io.ReadCloser, payloadUnmarshaler protocol.PayloadUnmarshaler, unmarshalerForEventType func(string) (Unmarshaler, error), ) *EventReader { return &EventReader{ reader: reader, decoder: eventstream.NewDecoder(reader), payloadUnmarshaler: payloadUnmarshaler, unmarshalerForEventType: unmarshalerForEventType, payloadBuf: make([]byte, 10*1024), } }
[ "func", "NewEventReader", "(", "reader", "io", ".", "ReadCloser", ",", "payloadUnmarshaler", "protocol", ".", "PayloadUnmarshaler", ",", "unmarshalerForEventType", "func", "(", "string", ")", "(", "Unmarshaler", ",", "error", ")", ",", ")", "*", "EventReader", "{", "return", "&", "EventReader", "{", "reader", ":", "reader", ",", "decoder", ":", "eventstream", ".", "NewDecoder", "(", "reader", ")", ",", "payloadUnmarshaler", ":", "payloadUnmarshaler", ",", "unmarshalerForEventType", ":", "unmarshalerForEventType", ",", "payloadBuf", ":", "make", "(", "[", "]", "byte", ",", "10", "*", "1024", ")", ",", "}", "\n", "}" ]
// NewEventReader returns a EventReader built from the reader and unmarshaler // provided. Use ReadStream method to start reading from the EventStream.
[ "NewEventReader", "returns", "a", "EventReader", "built", "from", "the", "reader", "and", "unmarshaler", "provided", ".", "Use", "ReadStream", "method", "to", "start", "reading", "from", "the", "EventStream", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/private/protocol/eventstream/eventstreamapi/api.go#L49-L61
166,028
aws/aws-sdk-go
private/protocol/eventstream/eventstreamapi/api.go
UseLogger
func (r *EventReader) UseLogger(logger aws.Logger, logLevel aws.LogLevelType) { if logger != nil && logLevel.Matches(aws.LogDebugWithEventStreamBody) { r.decoder.UseLogger(logger) } }
go
func (r *EventReader) UseLogger(logger aws.Logger, logLevel aws.LogLevelType) { if logger != nil && logLevel.Matches(aws.LogDebugWithEventStreamBody) { r.decoder.UseLogger(logger) } }
[ "func", "(", "r", "*", "EventReader", ")", "UseLogger", "(", "logger", "aws", ".", "Logger", ",", "logLevel", "aws", ".", "LogLevelType", ")", "{", "if", "logger", "!=", "nil", "&&", "logLevel", ".", "Matches", "(", "aws", ".", "LogDebugWithEventStreamBody", ")", "{", "r", ".", "decoder", ".", "UseLogger", "(", "logger", ")", "\n", "}", "\n", "}" ]
// UseLogger instructs the EventReader to use the logger and log level // specified.
[ "UseLogger", "instructs", "the", "EventReader", "to", "use", "the", "logger", "and", "log", "level", "specified", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/private/protocol/eventstream/eventstreamapi/api.go#L65-L69
166,029
aws/aws-sdk-go
private/protocol/eventstream/eventstreamapi/api.go
ReadEvent
func (r *EventReader) ReadEvent() (event interface{}, err error) { msg, err := r.decoder.Decode(r.payloadBuf) if err != nil { return nil, err } defer func() { // Reclaim payload buffer for next message read. r.payloadBuf = msg.Payload[0:0] }() typ, err := GetHeaderString(msg, MessageTypeHeader) if err != nil { return nil, err } switch typ { case EventMessageType: return r.unmarshalEventMessage(msg) case ExceptionMessageType: err = r.unmarshalEventException(msg) return nil, err case ErrorMessageType: return nil, r.unmarshalErrorMessage(msg) default: return nil, fmt.Errorf("unknown eventstream message type, %v", typ) } }
go
func (r *EventReader) ReadEvent() (event interface{}, err error) { msg, err := r.decoder.Decode(r.payloadBuf) if err != nil { return nil, err } defer func() { // Reclaim payload buffer for next message read. r.payloadBuf = msg.Payload[0:0] }() typ, err := GetHeaderString(msg, MessageTypeHeader) if err != nil { return nil, err } switch typ { case EventMessageType: return r.unmarshalEventMessage(msg) case ExceptionMessageType: err = r.unmarshalEventException(msg) return nil, err case ErrorMessageType: return nil, r.unmarshalErrorMessage(msg) default: return nil, fmt.Errorf("unknown eventstream message type, %v", typ) } }
[ "func", "(", "r", "*", "EventReader", ")", "ReadEvent", "(", ")", "(", "event", "interface", "{", "}", ",", "err", "error", ")", "{", "msg", ",", "err", ":=", "r", ".", "decoder", ".", "Decode", "(", "r", ".", "payloadBuf", ")", "\n", "if", "err", "!=", "nil", "{", "return", "nil", ",", "err", "\n", "}", "\n", "defer", "func", "(", ")", "{", "// Reclaim payload buffer for next message read.", "r", ".", "payloadBuf", "=", "msg", ".", "Payload", "[", "0", ":", "0", "]", "\n", "}", "(", ")", "\n\n", "typ", ",", "err", ":=", "GetHeaderString", "(", "msg", ",", "MessageTypeHeader", ")", "\n", "if", "err", "!=", "nil", "{", "return", "nil", ",", "err", "\n", "}", "\n\n", "switch", "typ", "{", "case", "EventMessageType", ":", "return", "r", ".", "unmarshalEventMessage", "(", "msg", ")", "\n", "case", "ExceptionMessageType", ":", "err", "=", "r", ".", "unmarshalEventException", "(", "msg", ")", "\n", "return", "nil", ",", "err", "\n", "case", "ErrorMessageType", ":", "return", "nil", ",", "r", ".", "unmarshalErrorMessage", "(", "msg", ")", "\n", "default", ":", "return", "nil", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "typ", ")", "\n", "}", "\n", "}" ]
// ReadEvent attempts to read a message from the EventStream and return the // unmarshaled event value that the message is for. // // For EventStream API errors check if the returned error satisfies the // awserr.Error interface to get the error's Code and Message components. // // EventUnmarshalers called with EventStream messages must take copies of the // message's Payload. The payload will is reused between events read.
[ "ReadEvent", "attempts", "to", "read", "a", "message", "from", "the", "EventStream", "and", "return", "the", "unmarshaled", "event", "value", "that", "the", "message", "is", "for", ".", "For", "EventStream", "API", "errors", "check", "if", "the", "returned", "error", "satisfies", "the", "awserr", ".", "Error", "interface", "to", "get", "the", "error", "s", "Code", "and", "Message", "components", ".", "EventUnmarshalers", "called", "with", "EventStream", "messages", "must", "take", "copies", "of", "the", "message", "s", "Payload", ".", "The", "payload", "will", "is", "reused", "between", "events", "read", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/private/protocol/eventstream/eventstreamapi/api.go#L79-L105
166,030
aws/aws-sdk-go
private/protocol/eventstream/eventstreamapi/api.go
GetHeaderString
func GetHeaderString(msg eventstream.Message, headerName string) (string, error) { headerVal := msg.Headers.Get(headerName) if headerVal == nil { return "", fmt.Errorf("error header %s not present", headerName) } v, ok := headerVal.Get().(string) if !ok { return "", fmt.Errorf("error header value is not a string, %T", headerVal) } return v, nil }
go
func GetHeaderString(msg eventstream.Message, headerName string) (string, error) { headerVal := msg.Headers.Get(headerName) if headerVal == nil { return "", fmt.Errorf("error header %s not present", headerName) } v, ok := headerVal.Get().(string) if !ok { return "", fmt.Errorf("error header value is not a string, %T", headerVal) } return v, nil }
[ "func", "GetHeaderString", "(", "msg", "eventstream", ".", "Message", ",", "headerName", "string", ")", "(", "string", ",", "error", ")", "{", "headerVal", ":=", "msg", ".", "Headers", ".", "Get", "(", "headerName", ")", "\n", "if", "headerVal", "==", "nil", "{", "return", "\"", "\"", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "headerName", ")", "\n", "}", "\n\n", "v", ",", "ok", ":=", "headerVal", ".", "Get", "(", ")", ".", "(", "string", ")", "\n", "if", "!", "ok", "{", "return", "\"", "\"", ",", "fmt", ".", "Errorf", "(", "\"", "\"", ",", "headerVal", ")", "\n", "}", "\n\n", "return", "v", ",", "nil", "\n", "}" ]
// GetHeaderString returns the value of the header as a string. If the header // is not set or the value is not a string an error will be returned.
[ "GetHeaderString", "returns", "the", "value", "of", "the", "header", "as", "a", "string", ".", "If", "the", "header", "is", "not", "set", "or", "the", "value", "is", "not", "a", "string", "an", "error", "will", "be", "returned", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/private/protocol/eventstream/eventstreamapi/api.go#L184-L196
166,031
aws/aws-sdk-go
service/codepipeline/api.go
SetQueryable
func (s *ActionConfigurationProperty) SetQueryable(v bool) *ActionConfigurationProperty { s.Queryable = &v return s }
go
func (s *ActionConfigurationProperty) SetQueryable(v bool) *ActionConfigurationProperty { s.Queryable = &v return s }
[ "func", "(", "s", "*", "ActionConfigurationProperty", ")", "SetQueryable", "(", "v", "bool", ")", "*", "ActionConfigurationProperty", "{", "s", ".", "Queryable", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetQueryable sets the Queryable field's value.
[ "SetQueryable", "sets", "the", "Queryable", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codepipeline/api.go#L3291-L3294
166,032
aws/aws-sdk-go
service/codepipeline/api.go
SetRunOrder
func (s *ActionDeclaration) SetRunOrder(v int64) *ActionDeclaration { s.RunOrder = &v return s }
go
func (s *ActionDeclaration) SetRunOrder(v int64) *ActionDeclaration { s.RunOrder = &v return s }
[ "func", "(", "s", "*", "ActionDeclaration", ")", "SetRunOrder", "(", "v", "int64", ")", "*", "ActionDeclaration", "{", "s", ".", "RunOrder", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetRunOrder sets the RunOrder field's value.
[ "SetRunOrder", "sets", "the", "RunOrder", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codepipeline/api.go#L3487-L3490
166,033
aws/aws-sdk-go
service/codepipeline/api.go
SetLastStatusChange
func (s *ActionExecution) SetLastStatusChange(v time.Time) *ActionExecution { s.LastStatusChange = &v return s }
go
func (s *ActionExecution) SetLastStatusChange(v time.Time) *ActionExecution { s.LastStatusChange = &v return s }
[ "func", "(", "s", "*", "ActionExecution", ")", "SetLastStatusChange", "(", "v", "time", ".", "Time", ")", "*", "ActionExecution", "{", "s", ".", "LastStatusChange", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetLastStatusChange sets the LastStatusChange field's value.
[ "SetLastStatusChange", "sets", "the", "LastStatusChange", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codepipeline/api.go#L3558-L3561
166,034
aws/aws-sdk-go
service/codepipeline/api.go
SetExecutionResult
func (s *ActionExecutionOutput) SetExecutionResult(v *ActionExecutionResult) *ActionExecutionOutput { s.ExecutionResult = v return s }
go
func (s *ActionExecutionOutput) SetExecutionResult(v *ActionExecutionResult) *ActionExecutionOutput { s.ExecutionResult = v return s }
[ "func", "(", "s", "*", "ActionExecutionOutput", ")", "SetExecutionResult", "(", "v", "*", "ActionExecutionResult", ")", "*", "ActionExecutionOutput", "{", "s", ".", "ExecutionResult", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetExecutionResult sets the ExecutionResult field's value.
[ "SetExecutionResult", "sets", "the", "ExecutionResult", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codepipeline/api.go#L3809-L3812
166,035
aws/aws-sdk-go
service/codepipeline/api.go
SetExternalExecutionSummary
func (s *ActionExecutionResult) SetExternalExecutionSummary(v string) *ActionExecutionResult { s.ExternalExecutionSummary = &v return s }
go
func (s *ActionExecutionResult) SetExternalExecutionSummary(v string) *ActionExecutionResult { s.ExternalExecutionSummary = &v return s }
[ "func", "(", "s", "*", "ActionExecutionResult", ")", "SetExternalExecutionSummary", "(", "v", "string", ")", "*", "ActionExecutionResult", "{", "s", ".", "ExternalExecutionSummary", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetExternalExecutionSummary sets the ExternalExecutionSummary field's value.
[ "SetExternalExecutionSummary", "sets", "the", "ExternalExecutionSummary", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codepipeline/api.go#L3852-L3855
166,036
aws/aws-sdk-go
service/codepipeline/api.go
SetRevisionChangeId
func (s *ActionRevision) SetRevisionChangeId(v string) *ActionRevision { s.RevisionChangeId = &v return s }
go
func (s *ActionRevision) SetRevisionChangeId(v string) *ActionRevision { s.RevisionChangeId = &v return s }
[ "func", "(", "s", "*", "ActionRevision", ")", "SetRevisionChangeId", "(", "v", "string", ")", "*", "ActionRevision", "{", "s", ".", "RevisionChangeId", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetRevisionChangeId sets the RevisionChangeId field's value.
[ "SetRevisionChangeId", "sets", "the", "RevisionChangeId", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codepipeline/api.go#L3928-L3931
166,037
aws/aws-sdk-go
service/codepipeline/api.go
SetActionConfigurationProperties
func (s *ActionType) SetActionConfigurationProperties(v []*ActionConfigurationProperty) *ActionType { s.ActionConfigurationProperties = v return s }
go
func (s *ActionType) SetActionConfigurationProperties(v []*ActionConfigurationProperty) *ActionType { s.ActionConfigurationProperties = v return s }
[ "func", "(", "s", "*", "ActionType", ")", "SetActionConfigurationProperties", "(", "v", "[", "]", "*", "ActionConfigurationProperty", ")", "*", "ActionType", "{", "s", ".", "ActionConfigurationProperties", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetActionConfigurationProperties sets the ActionConfigurationProperties field's value.
[ "SetActionConfigurationProperties", "sets", "the", "ActionConfigurationProperties", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codepipeline/api.go#L4038-L4041
166,038
aws/aws-sdk-go
service/codepipeline/api.go
SetEntityUrlTemplate
func (s *ActionTypeSettings) SetEntityUrlTemplate(v string) *ActionTypeSettings { s.EntityUrlTemplate = &v return s }
go
func (s *ActionTypeSettings) SetEntityUrlTemplate(v string) *ActionTypeSettings { s.EntityUrlTemplate = &v return s }
[ "func", "(", "s", "*", "ActionTypeSettings", ")", "SetEntityUrlTemplate", "(", "v", "string", ")", "*", "ActionTypeSettings", "{", "s", ".", "EntityUrlTemplate", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetEntityUrlTemplate sets the EntityUrlTemplate field's value.
[ "SetEntityUrlTemplate", "sets", "the", "EntityUrlTemplate", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codepipeline/api.go#L4220-L4223
166,039
aws/aws-sdk-go
service/codepipeline/api.go
SetExecutionUrlTemplate
func (s *ActionTypeSettings) SetExecutionUrlTemplate(v string) *ActionTypeSettings { s.ExecutionUrlTemplate = &v return s }
go
func (s *ActionTypeSettings) SetExecutionUrlTemplate(v string) *ActionTypeSettings { s.ExecutionUrlTemplate = &v return s }
[ "func", "(", "s", "*", "ActionTypeSettings", ")", "SetExecutionUrlTemplate", "(", "v", "string", ")", "*", "ActionTypeSettings", "{", "s", ".", "ExecutionUrlTemplate", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetExecutionUrlTemplate sets the ExecutionUrlTemplate field's value.
[ "SetExecutionUrlTemplate", "sets", "the", "ExecutionUrlTemplate", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codepipeline/api.go#L4226-L4229
166,040
aws/aws-sdk-go
service/codepipeline/api.go
SetRevisionUrlTemplate
func (s *ActionTypeSettings) SetRevisionUrlTemplate(v string) *ActionTypeSettings { s.RevisionUrlTemplate = &v return s }
go
func (s *ActionTypeSettings) SetRevisionUrlTemplate(v string) *ActionTypeSettings { s.RevisionUrlTemplate = &v return s }
[ "func", "(", "s", "*", "ActionTypeSettings", ")", "SetRevisionUrlTemplate", "(", "v", "string", ")", "*", "ActionTypeSettings", "{", "s", ".", "RevisionUrlTemplate", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetRevisionUrlTemplate sets the RevisionUrlTemplate field's value.
[ "SetRevisionUrlTemplate", "sets", "the", "RevisionUrlTemplate", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codepipeline/api.go#L4232-L4235
166,041
aws/aws-sdk-go
service/codepipeline/api.go
SetThirdPartyConfigurationUrl
func (s *ActionTypeSettings) SetThirdPartyConfigurationUrl(v string) *ActionTypeSettings { s.ThirdPartyConfigurationUrl = &v return s }
go
func (s *ActionTypeSettings) SetThirdPartyConfigurationUrl(v string) *ActionTypeSettings { s.ThirdPartyConfigurationUrl = &v return s }
[ "func", "(", "s", "*", "ActionTypeSettings", ")", "SetThirdPartyConfigurationUrl", "(", "v", "string", ")", "*", "ActionTypeSettings", "{", "s", ".", "ThirdPartyConfigurationUrl", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetThirdPartyConfigurationUrl sets the ThirdPartyConfigurationUrl field's value.
[ "SetThirdPartyConfigurationUrl", "sets", "the", "ThirdPartyConfigurationUrl", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codepipeline/api.go#L4238-L4241
166,042
aws/aws-sdk-go
service/codepipeline/api.go
SetS3location
func (s *ArtifactDetail) SetS3location(v *S3Location) *ArtifactDetail { s.S3location = v return s }
go
func (s *ArtifactDetail) SetS3location(v *S3Location) *ArtifactDetail { s.S3location = v return s }
[ "func", "(", "s", "*", "ArtifactDetail", ")", "SetS3location", "(", "v", "*", "S3Location", ")", "*", "ArtifactDetail", "{", "s", ".", "S3location", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetS3location sets the S3location field's value.
[ "SetS3location", "sets", "the", "S3location", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codepipeline/api.go#L4368-L4371
166,043
aws/aws-sdk-go
service/codepipeline/api.go
SetMaximumCount
func (s *ArtifactDetails) SetMaximumCount(v int64) *ArtifactDetails { s.MaximumCount = &v return s }
go
func (s *ArtifactDetails) SetMaximumCount(v int64) *ArtifactDetails { s.MaximumCount = &v return s }
[ "func", "(", "s", "*", "ArtifactDetails", ")", "SetMaximumCount", "(", "v", "int64", ")", "*", "ArtifactDetails", "{", "s", ".", "MaximumCount", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetMaximumCount sets the MaximumCount field's value.
[ "SetMaximumCount", "sets", "the", "MaximumCount", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codepipeline/api.go#L4415-L4418
166,044
aws/aws-sdk-go
service/codepipeline/api.go
SetMinimumCount
func (s *ArtifactDetails) SetMinimumCount(v int64) *ArtifactDetails { s.MinimumCount = &v return s }
go
func (s *ArtifactDetails) SetMinimumCount(v int64) *ArtifactDetails { s.MinimumCount = &v return s }
[ "func", "(", "s", "*", "ArtifactDetails", ")", "SetMinimumCount", "(", "v", "int64", ")", "*", "ArtifactDetails", "{", "s", ".", "MinimumCount", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetMinimumCount sets the MinimumCount field's value.
[ "SetMinimumCount", "sets", "the", "MinimumCount", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codepipeline/api.go#L4421-L4424
166,045
aws/aws-sdk-go
service/codepipeline/api.go
SetRevisionChangeIdentifier
func (s *ArtifactRevision) SetRevisionChangeIdentifier(v string) *ArtifactRevision { s.RevisionChangeIdentifier = &v return s }
go
func (s *ArtifactRevision) SetRevisionChangeIdentifier(v string) *ArtifactRevision { s.RevisionChangeIdentifier = &v return s }
[ "func", "(", "s", "*", "ArtifactRevision", ")", "SetRevisionChangeIdentifier", "(", "v", "string", ")", "*", "ArtifactRevision", "{", "s", ".", "RevisionChangeIdentifier", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetRevisionChangeIdentifier sets the RevisionChangeIdentifier field's value.
[ "SetRevisionChangeIdentifier", "sets", "the", "RevisionChangeIdentifier", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codepipeline/api.go#L4513-L4516
166,046
aws/aws-sdk-go
service/codepipeline/api.go
SetChangeIdentifier
func (s *CurrentRevision) SetChangeIdentifier(v string) *CurrentRevision { s.ChangeIdentifier = &v return s }
go
func (s *CurrentRevision) SetChangeIdentifier(v string) *CurrentRevision { s.ChangeIdentifier = &v return s }
[ "func", "(", "s", "*", "CurrentRevision", ")", "SetChangeIdentifier", "(", "v", "string", ")", "*", "CurrentRevision", "{", "s", ".", "ChangeIdentifier", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetChangeIdentifier sets the ChangeIdentifier field's value.
[ "SetChangeIdentifier", "sets", "the", "ChangeIdentifier", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codepipeline/api.go#L4972-L4975
166,047
aws/aws-sdk-go
service/codepipeline/api.go
SetPipelineExecution
func (s *GetPipelineExecutionOutput) SetPipelineExecution(v *PipelineExecution) *GetPipelineExecutionOutput { s.PipelineExecution = v return s }
go
func (s *GetPipelineExecutionOutput) SetPipelineExecution(v *PipelineExecution) *GetPipelineExecutionOutput { s.PipelineExecution = v return s }
[ "func", "(", "s", "*", "GetPipelineExecutionOutput", ")", "SetPipelineExecution", "(", "v", "*", "PipelineExecution", ")", "*", "GetPipelineExecutionOutput", "{", "s", ".", "PipelineExecution", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetPipelineExecution sets the PipelineExecution field's value.
[ "SetPipelineExecution", "sets", "the", "PipelineExecution", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codepipeline/api.go#L5809-L5812
166,048
aws/aws-sdk-go
service/codepipeline/api.go
SetStageStates
func (s *GetPipelineStateOutput) SetStageStates(v []*StageState) *GetPipelineStateOutput { s.StageStates = v return s }
go
func (s *GetPipelineStateOutput) SetStageStates(v []*StageState) *GetPipelineStateOutput { s.StageStates = v return s }
[ "func", "(", "s", "*", "GetPipelineStateOutput", ")", "SetStageStates", "(", "v", "[", "]", "*", "StageState", ")", "*", "GetPipelineStateOutput", "{", "s", ".", "StageStates", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetStageStates sets the StageStates field's value.
[ "SetStageStates", "sets", "the", "StageStates", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codepipeline/api.go#L5998-L6001
166,049
aws/aws-sdk-go
service/codepipeline/api.go
SetActionExecutionDetails
func (s *ListActionExecutionsOutput) SetActionExecutionDetails(v []*ActionExecutionDetail) *ListActionExecutionsOutput { s.ActionExecutionDetails = v return s }
go
func (s *ListActionExecutionsOutput) SetActionExecutionDetails(v []*ActionExecutionDetail) *ListActionExecutionsOutput { s.ActionExecutionDetails = v return s }
[ "func", "(", "s", "*", "ListActionExecutionsOutput", ")", "SetActionExecutionDetails", "(", "v", "[", "]", "*", "ActionExecutionDetail", ")", "*", "ListActionExecutionsOutput", "{", "s", ".", "ActionExecutionDetails", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetActionExecutionDetails sets the ActionExecutionDetails field's value.
[ "SetActionExecutionDetails", "sets", "the", "ActionExecutionDetails", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codepipeline/api.go#L6437-L6440
166,050
aws/aws-sdk-go
service/codepipeline/api.go
SetActionOwnerFilter
func (s *ListActionTypesInput) SetActionOwnerFilter(v string) *ListActionTypesInput { s.ActionOwnerFilter = &v return s }
go
func (s *ListActionTypesInput) SetActionOwnerFilter(v string) *ListActionTypesInput { s.ActionOwnerFilter = &v return s }
[ "func", "(", "s", "*", "ListActionTypesInput", ")", "SetActionOwnerFilter", "(", "v", "string", ")", "*", "ListActionTypesInput", "{", "s", ".", "ActionOwnerFilter", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetActionOwnerFilter sets the ActionOwnerFilter field's value.
[ "SetActionOwnerFilter", "sets", "the", "ActionOwnerFilter", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codepipeline/api.go#L6484-L6487
166,051
aws/aws-sdk-go
service/codepipeline/api.go
SetActionTypes
func (s *ListActionTypesOutput) SetActionTypes(v []*ActionType) *ListActionTypesOutput { s.ActionTypes = v return s }
go
func (s *ListActionTypesOutput) SetActionTypes(v []*ActionType) *ListActionTypesOutput { s.ActionTypes = v return s }
[ "func", "(", "s", "*", "ListActionTypesOutput", ")", "SetActionTypes", "(", "v", "[", "]", "*", "ActionType", ")", "*", "ListActionTypesOutput", "{", "s", ".", "ActionTypes", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetActionTypes sets the ActionTypes field's value.
[ "SetActionTypes", "sets", "the", "ActionTypes", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codepipeline/api.go#L6521-L6524
166,052
aws/aws-sdk-go
service/codepipeline/api.go
SetPipelineExecutionSummaries
func (s *ListPipelineExecutionsOutput) SetPipelineExecutionSummaries(v []*PipelineExecutionSummary) *ListPipelineExecutionsOutput { s.PipelineExecutionSummaries = v return s }
go
func (s *ListPipelineExecutionsOutput) SetPipelineExecutionSummaries(v []*PipelineExecutionSummary) *ListPipelineExecutionsOutput { s.PipelineExecutionSummaries = v return s }
[ "func", "(", "s", "*", "ListPipelineExecutionsOutput", ")", "SetPipelineExecutionSummaries", "(", "v", "[", "]", "*", "PipelineExecutionSummary", ")", "*", "ListPipelineExecutionsOutput", "{", "s", ".", "PipelineExecutionSummaries", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetPipelineExecutionSummaries sets the PipelineExecutionSummaries field's value.
[ "SetPipelineExecutionSummaries", "sets", "the", "PipelineExecutionSummaries", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codepipeline/api.go#L6632-L6635
166,053
aws/aws-sdk-go
service/codepipeline/api.go
SetLastTriggered
func (s *ListWebhookItem) SetLastTriggered(v time.Time) *ListWebhookItem { s.LastTriggered = &v return s }
go
func (s *ListWebhookItem) SetLastTriggered(v time.Time) *ListWebhookItem { s.LastTriggered = &v return s }
[ "func", "(", "s", "*", "ListWebhookItem", ")", "SetLastTriggered", "(", "v", "time", ".", "Time", ")", "*", "ListWebhookItem", "{", "s", ".", "LastTriggered", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetLastTriggered sets the LastTriggered field's value.
[ "SetLastTriggered", "sets", "the", "LastTriggered", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codepipeline/api.go#L6778-L6781
166,054
aws/aws-sdk-go
service/codepipeline/api.go
SetWebhooks
func (s *ListWebhooksOutput) SetWebhooks(v []*ListWebhookItem) *ListWebhooksOutput { s.Webhooks = v return s }
go
func (s *ListWebhooksOutput) SetWebhooks(v []*ListWebhookItem) *ListWebhooksOutput { s.Webhooks = v return s }
[ "func", "(", "s", "*", "ListWebhooksOutput", ")", "SetWebhooks", "(", "v", "[", "]", "*", "ListWebhookItem", ")", "*", "ListWebhooksOutput", "{", "s", ".", "Webhooks", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetWebhooks sets the Webhooks field's value.
[ "SetWebhooks", "sets", "the", "Webhooks", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codepipeline/api.go#L6869-L6872
166,055
aws/aws-sdk-go
service/codepipeline/api.go
SetArtifactStore
func (s *PipelineDeclaration) SetArtifactStore(v *ArtifactStore) *PipelineDeclaration { s.ArtifactStore = v return s }
go
func (s *PipelineDeclaration) SetArtifactStore(v *ArtifactStore) *PipelineDeclaration { s.ArtifactStore = v return s }
[ "func", "(", "s", "*", "PipelineDeclaration", ")", "SetArtifactStore", "(", "v", "*", "ArtifactStore", ")", "*", "PipelineDeclaration", "{", "s", ".", "ArtifactStore", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetArtifactStore sets the ArtifactStore field's value.
[ "SetArtifactStore", "sets", "the", "ArtifactStore", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codepipeline/api.go#L7088-L7091
166,056
aws/aws-sdk-go
service/codepipeline/api.go
SetArtifactStores
func (s *PipelineDeclaration) SetArtifactStores(v map[string]*ArtifactStore) *PipelineDeclaration { s.ArtifactStores = v return s }
go
func (s *PipelineDeclaration) SetArtifactStores(v map[string]*ArtifactStore) *PipelineDeclaration { s.ArtifactStores = v return s }
[ "func", "(", "s", "*", "PipelineDeclaration", ")", "SetArtifactStores", "(", "v", "map", "[", "string", "]", "*", "ArtifactStore", ")", "*", "PipelineDeclaration", "{", "s", ".", "ArtifactStores", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetArtifactStores sets the ArtifactStores field's value.
[ "SetArtifactStores", "sets", "the", "ArtifactStores", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codepipeline/api.go#L7094-L7097
166,057
aws/aws-sdk-go
service/codepipeline/api.go
SetStages
func (s *PipelineDeclaration) SetStages(v []*StageDeclaration) *PipelineDeclaration { s.Stages = v return s }
go
func (s *PipelineDeclaration) SetStages(v []*StageDeclaration) *PipelineDeclaration { s.Stages = v return s }
[ "func", "(", "s", "*", "PipelineDeclaration", ")", "SetStages", "(", "v", "[", "]", "*", "StageDeclaration", ")", "*", "PipelineDeclaration", "{", "s", ".", "Stages", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetStages sets the Stages field's value.
[ "SetStages", "sets", "the", "Stages", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codepipeline/api.go#L7112-L7115
166,058
aws/aws-sdk-go
service/codepipeline/api.go
SetArtifactRevisions
func (s *PipelineExecution) SetArtifactRevisions(v []*ArtifactRevision) *PipelineExecution { s.ArtifactRevisions = v return s }
go
func (s *PipelineExecution) SetArtifactRevisions(v []*ArtifactRevision) *PipelineExecution { s.ArtifactRevisions = v return s }
[ "func", "(", "s", "*", "PipelineExecution", ")", "SetArtifactRevisions", "(", "v", "[", "]", "*", "ArtifactRevision", ")", "*", "PipelineExecution", "{", "s", ".", "ArtifactRevisions", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetArtifactRevisions sets the ArtifactRevisions field's value.
[ "SetArtifactRevisions", "sets", "the", "ArtifactRevisions", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codepipeline/api.go#L7164-L7167
166,059
aws/aws-sdk-go
service/codepipeline/api.go
SetSourceRevisions
func (s *PipelineExecutionSummary) SetSourceRevisions(v []*SourceRevision) *PipelineExecutionSummary { s.SourceRevisions = v return s }
go
func (s *PipelineExecutionSummary) SetSourceRevisions(v []*SourceRevision) *PipelineExecutionSummary { s.SourceRevisions = v return s }
[ "func", "(", "s", "*", "PipelineExecutionSummary", ")", "SetSourceRevisions", "(", "v", "[", "]", "*", "SourceRevision", ")", "*", "PipelineExecutionSummary", "{", "s", ".", "SourceRevisions", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetSourceRevisions sets the SourceRevisions field's value.
[ "SetSourceRevisions", "sets", "the", "SourceRevisions", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codepipeline/api.go#L7247-L7250
166,060
aws/aws-sdk-go
service/codepipeline/api.go
SetQueryParam
func (s *PollForJobsInput) SetQueryParam(v map[string]*string) *PollForJobsInput { s.QueryParam = v return s }
go
func (s *PollForJobsInput) SetQueryParam(v map[string]*string) *PollForJobsInput { s.QueryParam = v return s }
[ "func", "(", "s", "*", "PollForJobsInput", ")", "SetQueryParam", "(", "v", "map", "[", "string", "]", "*", "string", ")", "*", "PollForJobsInput", "{", "s", ".", "QueryParam", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetQueryParam sets the QueryParam field's value.
[ "SetQueryParam", "sets", "the", "QueryParam", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codepipeline/api.go#L7420-L7423
166,061
aws/aws-sdk-go
service/codepipeline/api.go
SetActionRevision
func (s *PutActionRevisionInput) SetActionRevision(v *ActionRevision) *PutActionRevisionInput { s.ActionRevision = v return s }
go
func (s *PutActionRevisionInput) SetActionRevision(v *ActionRevision) *PutActionRevisionInput { s.ActionRevision = v return s }
[ "func", "(", "s", "*", "PutActionRevisionInput", ")", "SetActionRevision", "(", "v", "*", "ActionRevision", ")", "*", "PutActionRevisionInput", "{", "s", ".", "ActionRevision", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetActionRevision sets the ActionRevision field's value.
[ "SetActionRevision", "sets", "the", "ActionRevision", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codepipeline/api.go#L7607-L7610
166,062
aws/aws-sdk-go
service/codepipeline/api.go
SetNewRevision
func (s *PutActionRevisionOutput) SetNewRevision(v bool) *PutActionRevisionOutput { s.NewRevision = &v return s }
go
func (s *PutActionRevisionOutput) SetNewRevision(v bool) *PutActionRevisionOutput { s.NewRevision = &v return s }
[ "func", "(", "s", "*", "PutActionRevisionOutput", ")", "SetNewRevision", "(", "v", "bool", ")", "*", "PutActionRevisionOutput", "{", "s", ".", "NewRevision", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetNewRevision sets the NewRevision field's value.
[ "SetNewRevision", "sets", "the", "NewRevision", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codepipeline/api.go#L7647-L7650
166,063
aws/aws-sdk-go
service/codepipeline/api.go
SetApprovedAt
func (s *PutApprovalResultOutput) SetApprovedAt(v time.Time) *PutApprovalResultOutput { s.ApprovedAt = &v return s }
go
func (s *PutApprovalResultOutput) SetApprovedAt(v time.Time) *PutApprovalResultOutput { s.ApprovedAt = &v return s }
[ "func", "(", "s", "*", "PutApprovalResultOutput", ")", "SetApprovedAt", "(", "v", "time", ".", "Time", ")", "*", "PutApprovalResultOutput", "{", "s", ".", "ApprovedAt", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetApprovedAt sets the ApprovedAt field's value.
[ "SetApprovedAt", "sets", "the", "ApprovedAt", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codepipeline/api.go#L7789-L7792
166,064
aws/aws-sdk-go
service/codepipeline/api.go
SetRetryMode
func (s *RetryStageExecutionInput) SetRetryMode(v string) *RetryStageExecutionInput { s.RetryMode = &v return s }
go
func (s *RetryStageExecutionInput) SetRetryMode(v string) *RetryStageExecutionInput { s.RetryMode = &v return s }
[ "func", "(", "s", "*", "RetryStageExecutionInput", ")", "SetRetryMode", "(", "v", "string", ")", "*", "RetryStageExecutionInput", "{", "s", ".", "RetryMode", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetRetryMode sets the RetryMode field's value.
[ "SetRetryMode", "sets", "the", "RetryMode", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codepipeline/api.go#L8382-L8385
166,065
aws/aws-sdk-go
service/codepipeline/api.go
SetObjectKey
func (s *S3ArtifactLocation) SetObjectKey(v string) *S3ArtifactLocation { s.ObjectKey = &v return s }
go
func (s *S3ArtifactLocation) SetObjectKey(v string) *S3ArtifactLocation { s.ObjectKey = &v return s }
[ "func", "(", "s", "*", "S3ArtifactLocation", ")", "SetObjectKey", "(", "v", "string", ")", "*", "S3ArtifactLocation", "{", "s", ".", "ObjectKey", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetObjectKey sets the ObjectKey field's value.
[ "SetObjectKey", "sets", "the", "ObjectKey", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codepipeline/api.go#L8450-L8453
166,066
aws/aws-sdk-go
service/codepipeline/api.go
SetBlockers
func (s *StageDeclaration) SetBlockers(v []*BlockerDeclaration) *StageDeclaration { s.Blockers = v return s }
go
func (s *StageDeclaration) SetBlockers(v []*BlockerDeclaration) *StageDeclaration { s.Blockers = v return s }
[ "func", "(", "s", "*", "StageDeclaration", ")", "SetBlockers", "(", "v", "[", "]", "*", "BlockerDeclaration", ")", "*", "StageDeclaration", "{", "s", ".", "Blockers", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetBlockers sets the Blockers field's value.
[ "SetBlockers", "sets", "the", "Blockers", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codepipeline/api.go#L8646-L8649
166,067
aws/aws-sdk-go
service/codepipeline/api.go
SetActionStates
func (s *StageState) SetActionStates(v []*ActionState) *StageState { s.ActionStates = v return s }
go
func (s *StageState) SetActionStates(v []*ActionState) *StageState { s.ActionStates = v return s }
[ "func", "(", "s", "*", "StageState", ")", "SetActionStates", "(", "v", "[", "]", "*", "ActionState", ")", "*", "StageState", "{", "s", ".", "ActionStates", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetActionStates sets the ActionStates field's value.
[ "SetActionStates", "sets", "the", "ActionStates", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codepipeline/api.go#L8724-L8727
166,068
aws/aws-sdk-go
service/codepipeline/api.go
SetInboundTransitionState
func (s *StageState) SetInboundTransitionState(v *TransitionState) *StageState { s.InboundTransitionState = v return s }
go
func (s *StageState) SetInboundTransitionState(v *TransitionState) *StageState { s.InboundTransitionState = v return s }
[ "func", "(", "s", "*", "StageState", ")", "SetInboundTransitionState", "(", "v", "*", "TransitionState", ")", "*", "StageState", "{", "s", ".", "InboundTransitionState", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetInboundTransitionState sets the InboundTransitionState field's value.
[ "SetInboundTransitionState", "sets", "the", "InboundTransitionState", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codepipeline/api.go#L8730-L8733
166,069
aws/aws-sdk-go
service/codepipeline/api.go
SetDisabledReason
func (s *TransitionState) SetDisabledReason(v string) *TransitionState { s.DisabledReason = &v return s }
go
func (s *TransitionState) SetDisabledReason(v string) *TransitionState { s.DisabledReason = &v return s }
[ "func", "(", "s", "*", "TransitionState", ")", "SetDisabledReason", "(", "v", "string", ")", "*", "TransitionState", "{", "s", ".", "DisabledReason", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetDisabledReason sets the DisabledReason field's value.
[ "SetDisabledReason", "sets", "the", "DisabledReason", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codepipeline/api.go#L9035-L9038
166,070
aws/aws-sdk-go
service/codepipeline/api.go
SetLastChangedAt
func (s *TransitionState) SetLastChangedAt(v time.Time) *TransitionState { s.LastChangedAt = &v return s }
go
func (s *TransitionState) SetLastChangedAt(v time.Time) *TransitionState { s.LastChangedAt = &v return s }
[ "func", "(", "s", "*", "TransitionState", ")", "SetLastChangedAt", "(", "v", "time", ".", "Time", ")", "*", "TransitionState", "{", "s", ".", "LastChangedAt", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetLastChangedAt sets the LastChangedAt field's value.
[ "SetLastChangedAt", "sets", "the", "LastChangedAt", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codepipeline/api.go#L9047-L9050
166,071
aws/aws-sdk-go
service/codepipeline/api.go
SetLastChangedBy
func (s *TransitionState) SetLastChangedBy(v string) *TransitionState { s.LastChangedBy = &v return s }
go
func (s *TransitionState) SetLastChangedBy(v string) *TransitionState { s.LastChangedBy = &v return s }
[ "func", "(", "s", "*", "TransitionState", ")", "SetLastChangedBy", "(", "v", "string", ")", "*", "TransitionState", "{", "s", ".", "LastChangedBy", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetLastChangedBy sets the LastChangedBy field's value.
[ "SetLastChangedBy", "sets", "the", "LastChangedBy", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codepipeline/api.go#L9053-L9056
166,072
aws/aws-sdk-go
service/codepipeline/api.go
SetAllowedIPRange
func (s *WebhookAuthConfiguration) SetAllowedIPRange(v string) *WebhookAuthConfiguration { s.AllowedIPRange = &v return s }
go
func (s *WebhookAuthConfiguration) SetAllowedIPRange(v string) *WebhookAuthConfiguration { s.AllowedIPRange = &v return s }
[ "func", "(", "s", "*", "WebhookAuthConfiguration", ")", "SetAllowedIPRange", "(", "v", "string", ")", "*", "WebhookAuthConfiguration", "{", "s", ".", "AllowedIPRange", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetAllowedIPRange sets the AllowedIPRange field's value.
[ "SetAllowedIPRange", "sets", "the", "AllowedIPRange", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codepipeline/api.go#L9167-L9170
166,073
aws/aws-sdk-go
service/codepipeline/api.go
SetSecretToken
func (s *WebhookAuthConfiguration) SetSecretToken(v string) *WebhookAuthConfiguration { s.SecretToken = &v return s }
go
func (s *WebhookAuthConfiguration) SetSecretToken(v string) *WebhookAuthConfiguration { s.SecretToken = &v return s }
[ "func", "(", "s", "*", "WebhookAuthConfiguration", ")", "SetSecretToken", "(", "v", "string", ")", "*", "WebhookAuthConfiguration", "{", "s", ".", "SecretToken", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetSecretToken sets the SecretToken field's value.
[ "SetSecretToken", "sets", "the", "SecretToken", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codepipeline/api.go#L9173-L9176
166,074
aws/aws-sdk-go
service/codepipeline/api.go
SetAuthenticationConfiguration
func (s *WebhookDefinition) SetAuthenticationConfiguration(v *WebhookAuthConfiguration) *WebhookDefinition { s.AuthenticationConfiguration = v return s }
go
func (s *WebhookDefinition) SetAuthenticationConfiguration(v *WebhookAuthConfiguration) *WebhookDefinition { s.AuthenticationConfiguration = v return s }
[ "func", "(", "s", "*", "WebhookDefinition", ")", "SetAuthenticationConfiguration", "(", "v", "*", "WebhookAuthConfiguration", ")", "*", "WebhookDefinition", "{", "s", ".", "AuthenticationConfiguration", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetAuthenticationConfiguration sets the AuthenticationConfiguration field's value.
[ "SetAuthenticationConfiguration", "sets", "the", "AuthenticationConfiguration", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codepipeline/api.go#L9297-L9300
166,075
aws/aws-sdk-go
service/codepipeline/api.go
SetTargetAction
func (s *WebhookDefinition) SetTargetAction(v string) *WebhookDefinition { s.TargetAction = &v return s }
go
func (s *WebhookDefinition) SetTargetAction(v string) *WebhookDefinition { s.TargetAction = &v return s }
[ "func", "(", "s", "*", "WebhookDefinition", ")", "SetTargetAction", "(", "v", "string", ")", "*", "WebhookDefinition", "{", "s", ".", "TargetAction", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetTargetAction sets the TargetAction field's value.
[ "SetTargetAction", "sets", "the", "TargetAction", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codepipeline/api.go#L9315-L9318
166,076
aws/aws-sdk-go
service/codepipeline/api.go
SetTargetPipeline
func (s *WebhookDefinition) SetTargetPipeline(v string) *WebhookDefinition { s.TargetPipeline = &v return s }
go
func (s *WebhookDefinition) SetTargetPipeline(v string) *WebhookDefinition { s.TargetPipeline = &v return s }
[ "func", "(", "s", "*", "WebhookDefinition", ")", "SetTargetPipeline", "(", "v", "string", ")", "*", "WebhookDefinition", "{", "s", ".", "TargetPipeline", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetTargetPipeline sets the TargetPipeline field's value.
[ "SetTargetPipeline", "sets", "the", "TargetPipeline", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codepipeline/api.go#L9321-L9324
166,077
aws/aws-sdk-go
service/codepipeline/api.go
SetMatchEquals
func (s *WebhookFilterRule) SetMatchEquals(v string) *WebhookFilterRule { s.MatchEquals = &v return s }
go
func (s *WebhookFilterRule) SetMatchEquals(v string) *WebhookFilterRule { s.MatchEquals = &v return s }
[ "func", "(", "s", "*", "WebhookFilterRule", ")", "SetMatchEquals", "(", "v", "string", ")", "*", "WebhookFilterRule", "{", "s", ".", "MatchEquals", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetMatchEquals sets the MatchEquals field's value.
[ "SetMatchEquals", "sets", "the", "MatchEquals", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/codepipeline/api.go#L9387-L9390
166,078
aws/aws-sdk-go
private/protocol/json/jsonutil/unmarshal.go
UnmarshalJSON
func UnmarshalJSON(v interface{}, stream io.Reader) error { var out interface{} err := json.NewDecoder(stream).Decode(&out) if err == io.EOF { return nil } else if err != nil { return err } return unmarshalAny(reflect.ValueOf(v), out, "") }
go
func UnmarshalJSON(v interface{}, stream io.Reader) error { var out interface{} err := json.NewDecoder(stream).Decode(&out) if err == io.EOF { return nil } else if err != nil { return err } return unmarshalAny(reflect.ValueOf(v), out, "") }
[ "func", "UnmarshalJSON", "(", "v", "interface", "{", "}", ",", "stream", "io", ".", "Reader", ")", "error", "{", "var", "out", "interface", "{", "}", "\n\n", "err", ":=", "json", ".", "NewDecoder", "(", "stream", ")", ".", "Decode", "(", "&", "out", ")", "\n", "if", "err", "==", "io", ".", "EOF", "{", "return", "nil", "\n", "}", "else", "if", "err", "!=", "nil", "{", "return", "err", "\n", "}", "\n\n", "return", "unmarshalAny", "(", "reflect", ".", "ValueOf", "(", "v", ")", ",", "out", ",", "\"", "\"", ")", "\n", "}" ]
// UnmarshalJSON reads a stream and unmarshals the results in object v.
[ "UnmarshalJSON", "reads", "a", "stream", "and", "unmarshals", "the", "results", "in", "object", "v", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/private/protocol/json/jsonutil/unmarshal.go#L16-L27
166,079
aws/aws-sdk-go
service/ecs/waiters.go
WaitUntilServicesInactive
func (c *ECS) WaitUntilServicesInactive(input *DescribeServicesInput) error { return c.WaitUntilServicesInactiveWithContext(aws.BackgroundContext(), input) }
go
func (c *ECS) WaitUntilServicesInactive(input *DescribeServicesInput) error { return c.WaitUntilServicesInactiveWithContext(aws.BackgroundContext(), input) }
[ "func", "(", "c", "*", "ECS", ")", "WaitUntilServicesInactive", "(", "input", "*", "DescribeServicesInput", ")", "error", "{", "return", "c", ".", "WaitUntilServicesInactiveWithContext", "(", "aws", ".", "BackgroundContext", "(", ")", ",", "input", ")", "\n", "}" ]
// WaitUntilServicesInactive uses the Amazon ECS API operation // DescribeServices to wait for a condition to be met before returning. // If the condition is not met within the max attempt window, an error will // be returned.
[ "WaitUntilServicesInactive", "uses", "the", "Amazon", "ECS", "API", "operation", "DescribeServices", "to", "wait", "for", "a", "condition", "to", "be", "met", "before", "returning", ".", "If", "the", "condition", "is", "not", "met", "within", "the", "max", "attempt", "window", "an", "error", "will", "be", "returned", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/waiters.go#L16-L18
166,080
aws/aws-sdk-go
service/ecs/waiters.go
WaitUntilServicesStable
func (c *ECS) WaitUntilServicesStable(input *DescribeServicesInput) error { return c.WaitUntilServicesStableWithContext(aws.BackgroundContext(), input) }
go
func (c *ECS) WaitUntilServicesStable(input *DescribeServicesInput) error { return c.WaitUntilServicesStableWithContext(aws.BackgroundContext(), input) }
[ "func", "(", "c", "*", "ECS", ")", "WaitUntilServicesStable", "(", "input", "*", "DescribeServicesInput", ")", "error", "{", "return", "c", ".", "WaitUntilServicesStableWithContext", "(", "aws", ".", "BackgroundContext", "(", ")", ",", "input", ")", "\n", "}" ]
// WaitUntilServicesStable uses the Amazon ECS API operation // DescribeServices to wait for a condition to be met before returning. // If the condition is not met within the max attempt window, an error will // be returned.
[ "WaitUntilServicesStable", "uses", "the", "Amazon", "ECS", "API", "operation", "DescribeServices", "to", "wait", "for", "a", "condition", "to", "be", "met", "before", "returning", ".", "If", "the", "condition", "is", "not", "met", "within", "the", "max", "attempt", "window", "an", "error", "will", "be", "returned", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/waiters.go#L67-L69
166,081
aws/aws-sdk-go
service/ecs/waiters.go
WaitUntilTasksRunning
func (c *ECS) WaitUntilTasksRunning(input *DescribeTasksInput) error { return c.WaitUntilTasksRunningWithContext(aws.BackgroundContext(), input) }
go
func (c *ECS) WaitUntilTasksRunning(input *DescribeTasksInput) error { return c.WaitUntilTasksRunningWithContext(aws.BackgroundContext(), input) }
[ "func", "(", "c", "*", "ECS", ")", "WaitUntilTasksRunning", "(", "input", "*", "DescribeTasksInput", ")", "error", "{", "return", "c", ".", "WaitUntilTasksRunningWithContext", "(", "aws", ".", "BackgroundContext", "(", ")", ",", "input", ")", "\n", "}" ]
// WaitUntilTasksRunning uses the Amazon ECS API operation // DescribeTasks to wait for a condition to be met before returning. // If the condition is not met within the max attempt window, an error will // be returned.
[ "WaitUntilTasksRunning", "uses", "the", "Amazon", "ECS", "API", "operation", "DescribeTasks", "to", "wait", "for", "a", "condition", "to", "be", "met", "before", "returning", ".", "If", "the", "condition", "is", "not", "met", "within", "the", "max", "attempt", "window", "an", "error", "will", "be", "returned", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/waiters.go#L128-L130
166,082
aws/aws-sdk-go
service/ecs/waiters.go
WaitUntilTasksStopped
func (c *ECS) WaitUntilTasksStopped(input *DescribeTasksInput) error { return c.WaitUntilTasksStoppedWithContext(aws.BackgroundContext(), input) }
go
func (c *ECS) WaitUntilTasksStopped(input *DescribeTasksInput) error { return c.WaitUntilTasksStoppedWithContext(aws.BackgroundContext(), input) }
[ "func", "(", "c", "*", "ECS", ")", "WaitUntilTasksStopped", "(", "input", "*", "DescribeTasksInput", ")", "error", "{", "return", "c", ".", "WaitUntilTasksStoppedWithContext", "(", "aws", ".", "BackgroundContext", "(", ")", ",", "input", ")", "\n", "}" ]
// WaitUntilTasksStopped uses the Amazon ECS API operation // DescribeTasks to wait for a condition to be met before returning. // If the condition is not met within the max attempt window, an error will // be returned.
[ "WaitUntilTasksStopped", "uses", "the", "Amazon", "ECS", "API", "operation", "DescribeTasks", "to", "wait", "for", "a", "condition", "to", "be", "met", "before", "returning", ".", "If", "the", "condition", "is", "not", "met", "within", "the", "max", "attempt", "window", "an", "error", "will", "be", "returned", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/ecs/waiters.go#L184-L186
166,083
aws/aws-sdk-go
private/protocol/payload.go
UnmarshalPayload
func (h HandlerPayloadUnmarshal) UnmarshalPayload(r io.Reader, v interface{}) error { req := &request.Request{ HTTPRequest: &http.Request{}, HTTPResponse: &http.Response{ StatusCode: 200, Header: http.Header{}, Body: ioutil.NopCloser(r), }, Data: v, } h.Unmarshalers.Run(req) return req.Error }
go
func (h HandlerPayloadUnmarshal) UnmarshalPayload(r io.Reader, v interface{}) error { req := &request.Request{ HTTPRequest: &http.Request{}, HTTPResponse: &http.Response{ StatusCode: 200, Header: http.Header{}, Body: ioutil.NopCloser(r), }, Data: v, } h.Unmarshalers.Run(req) return req.Error }
[ "func", "(", "h", "HandlerPayloadUnmarshal", ")", "UnmarshalPayload", "(", "r", "io", ".", "Reader", ",", "v", "interface", "{", "}", ")", "error", "{", "req", ":=", "&", "request", ".", "Request", "{", "HTTPRequest", ":", "&", "http", ".", "Request", "{", "}", ",", "HTTPResponse", ":", "&", "http", ".", "Response", "{", "StatusCode", ":", "200", ",", "Header", ":", "http", ".", "Header", "{", "}", ",", "Body", ":", "ioutil", ".", "NopCloser", "(", "r", ")", ",", "}", ",", "Data", ":", "v", ",", "}", "\n\n", "h", ".", "Unmarshalers", ".", "Run", "(", "req", ")", "\n\n", "return", "req", ".", "Error", "\n", "}" ]
// UnmarshalPayload unmarshals the io.Reader payload into the SDK shape using // the Unmarshalers HandlerList provided. Returns an error if unable // unmarshaling fails.
[ "UnmarshalPayload", "unmarshals", "the", "io", ".", "Reader", "payload", "into", "the", "SDK", "shape", "using", "the", "Unmarshalers", "HandlerList", "provided", ".", "Returns", "an", "error", "if", "unable", "unmarshaling", "fails", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/private/protocol/payload.go#L29-L43
166,084
aws/aws-sdk-go
private/protocol/payload.go
MarshalPayload
func (h HandlerPayloadMarshal) MarshalPayload(w io.Writer, v interface{}) error { req := request.New( aws.Config{}, metadata.ClientInfo{}, request.Handlers{}, nil, &request.Operation{HTTPMethod: "GET"}, v, nil, ) h.Marshalers.Run(req) if req.Error != nil { return req.Error } io.Copy(w, req.GetBody()) return nil }
go
func (h HandlerPayloadMarshal) MarshalPayload(w io.Writer, v interface{}) error { req := request.New( aws.Config{}, metadata.ClientInfo{}, request.Handlers{}, nil, &request.Operation{HTTPMethod: "GET"}, v, nil, ) h.Marshalers.Run(req) if req.Error != nil { return req.Error } io.Copy(w, req.GetBody()) return nil }
[ "func", "(", "h", "HandlerPayloadMarshal", ")", "MarshalPayload", "(", "w", "io", ".", "Writer", ",", "v", "interface", "{", "}", ")", "error", "{", "req", ":=", "request", ".", "New", "(", "aws", ".", "Config", "{", "}", ",", "metadata", ".", "ClientInfo", "{", "}", ",", "request", ".", "Handlers", "{", "}", ",", "nil", ",", "&", "request", ".", "Operation", "{", "HTTPMethod", ":", "\"", "\"", "}", ",", "v", ",", "nil", ",", ")", "\n\n", "h", ".", "Marshalers", ".", "Run", "(", "req", ")", "\n\n", "if", "req", ".", "Error", "!=", "nil", "{", "return", "req", ".", "Error", "\n", "}", "\n\n", "io", ".", "Copy", "(", "w", ",", "req", ".", "GetBody", "(", ")", ")", "\n\n", "return", "nil", "\n", "}" ]
// MarshalPayload marshals the SDK shape into the io.Writer using the // Marshalers HandlerList provided. Returns an error if unable if marshal // fails.
[ "MarshalPayload", "marshals", "the", "SDK", "shape", "into", "the", "io", ".", "Writer", "using", "the", "Marshalers", "HandlerList", "provided", ".", "Returns", "an", "error", "if", "unable", "if", "marshal", "fails", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/private/protocol/payload.go#L61-L81
166,085
aws/aws-sdk-go
service/servicediscovery/api.go
SetQueryParameters
func (s *DiscoverInstancesInput) SetQueryParameters(v map[string]*string) *DiscoverInstancesInput { s.QueryParameters = v return s }
go
func (s *DiscoverInstancesInput) SetQueryParameters(v map[string]*string) *DiscoverInstancesInput { s.QueryParameters = v return s }
[ "func", "(", "s", "*", "DiscoverInstancesInput", ")", "SetQueryParameters", "(", "v", "map", "[", "string", "]", "*", "string", ")", "*", "DiscoverInstancesInput", "{", "s", ".", "QueryParameters", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetQueryParameters sets the QueryParameters field's value.
[ "SetQueryParameters", "sets", "the", "QueryParameters", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/servicediscovery/api.go#L2838-L2841
166,086
aws/aws-sdk-go
service/servicediscovery/api.go
SetRoutingPolicy
func (s *DnsConfig) SetRoutingPolicy(v string) *DnsConfig { s.RoutingPolicy = &v return s }
go
func (s *DnsConfig) SetRoutingPolicy(v string) *DnsConfig { s.RoutingPolicy = &v return s }
[ "func", "(", "s", "*", "DnsConfig", ")", "SetRoutingPolicy", "(", "v", "string", ")", "*", "DnsConfig", "{", "s", ".", "RoutingPolicy", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetRoutingPolicy sets the RoutingPolicy field's value.
[ "SetRoutingPolicy", "sets", "the", "RoutingPolicy", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/servicediscovery/api.go#L2984-L2987
166,087
aws/aws-sdk-go
service/servicediscovery/api.go
SetInstance
func (s *GetInstanceOutput) SetInstance(v *Instance) *GetInstanceOutput { s.Instance = v return s }
go
func (s *GetInstanceOutput) SetInstance(v *Instance) *GetInstanceOutput { s.Instance = v return s }
[ "func", "(", "s", "*", "GetInstanceOutput", ")", "SetInstance", "(", "v", "*", "Instance", ")", "*", "GetInstanceOutput", "{", "s", ".", "Instance", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetInstance sets the Instance field's value.
[ "SetInstance", "sets", "the", "Instance", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/servicediscovery/api.go#L3270-L3273
166,088
aws/aws-sdk-go
service/servicediscovery/api.go
SetHttpName
func (s *HttpProperties) SetHttpName(v string) *HttpProperties { s.HttpName = &v return s }
go
func (s *HttpProperties) SetHttpName(v string) *HttpProperties { s.HttpName = &v return s }
[ "func", "(", "s", "*", "HttpProperties", ")", "SetHttpName", "(", "v", "string", ")", "*", "HttpProperties", "{", "s", ".", "HttpName", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetHttpName sets the HttpName field's value.
[ "SetHttpName", "sets", "the", "HttpName", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/servicediscovery/api.go#L3907-L3910
166,089
aws/aws-sdk-go
service/servicediscovery/api.go
SetNamespaces
func (s *ListNamespacesOutput) SetNamespaces(v []*NamespaceSummary) *ListNamespacesOutput { s.Namespaces = v return s }
go
func (s *ListNamespacesOutput) SetNamespaces(v []*NamespaceSummary) *ListNamespacesOutput { s.Namespaces = v return s }
[ "func", "(", "s", "*", "ListNamespacesOutput", ")", "SetNamespaces", "(", "v", "[", "]", "*", "NamespaceSummary", ")", "*", "ListNamespacesOutput", "{", "s", ".", "Namespaces", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetNamespaces sets the Namespaces field's value.
[ "SetNamespaces", "sets", "the", "Namespaces", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/servicediscovery/api.go#L4306-L4309
166,090
aws/aws-sdk-go
service/servicediscovery/api.go
SetDnsProperties
func (s *NamespaceProperties) SetDnsProperties(v *DnsProperties) *NamespaceProperties { s.DnsProperties = v return s }
go
func (s *NamespaceProperties) SetDnsProperties(v *DnsProperties) *NamespaceProperties { s.DnsProperties = v return s }
[ "func", "(", "s", "*", "NamespaceProperties", ")", "SetDnsProperties", "(", "v", "*", "DnsProperties", ")", "*", "NamespaceProperties", "{", "s", ".", "DnsProperties", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetDnsProperties sets the DnsProperties field's value.
[ "SetDnsProperties", "sets", "the", "DnsProperties", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/servicediscovery/api.go#L4757-L4760
166,091
aws/aws-sdk-go
service/servicediscovery/api.go
SetHttpProperties
func (s *NamespaceProperties) SetHttpProperties(v *HttpProperties) *NamespaceProperties { s.HttpProperties = v return s }
go
func (s *NamespaceProperties) SetHttpProperties(v *HttpProperties) *NamespaceProperties { s.HttpProperties = v return s }
[ "func", "(", "s", "*", "NamespaceProperties", ")", "SetHttpProperties", "(", "v", "*", "HttpProperties", ")", "*", "NamespaceProperties", "{", "s", ".", "HttpProperties", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetHttpProperties sets the HttpProperties field's value.
[ "SetHttpProperties", "sets", "the", "HttpProperties", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/servicediscovery/api.go#L4763-L4766
166,092
aws/aws-sdk-go
example/service/s3/concatObjects/concatObjects.go
concatenate
func (c *client) concatenate(key1, key2, key3 string, uploadID *string) (*string, *string, error) { // The first part to be uploaded which is represented as part number 1 foo, err := c.s3Client.UploadPartCopy(&s3.UploadPartCopyInput{ Bucket: c.bucket, CopySource: aws.String(url.QueryEscape(*c.bucket + "/" + key1)), PartNumber: aws.Int64(1), Key: &key3, UploadId: uploadID, }) if err != nil { return nil, nil, err } // The second part that is going to be appended to the newly created testKey // object. bar, err := c.s3Client.UploadPartCopy(&s3.UploadPartCopyInput{ Bucket: c.bucket, CopySource: aws.String(url.QueryEscape(*c.bucket + "/" + key2)), PartNumber: aws.Int64(2), Key: &key3, UploadId: uploadID, }) if err != nil { return nil, nil, err } // The ETags are needed to complete the process return foo.CopyPartResult.ETag, bar.CopyPartResult.ETag, nil }
go
func (c *client) concatenate(key1, key2, key3 string, uploadID *string) (*string, *string, error) { // The first part to be uploaded which is represented as part number 1 foo, err := c.s3Client.UploadPartCopy(&s3.UploadPartCopyInput{ Bucket: c.bucket, CopySource: aws.String(url.QueryEscape(*c.bucket + "/" + key1)), PartNumber: aws.Int64(1), Key: &key3, UploadId: uploadID, }) if err != nil { return nil, nil, err } // The second part that is going to be appended to the newly created testKey // object. bar, err := c.s3Client.UploadPartCopy(&s3.UploadPartCopyInput{ Bucket: c.bucket, CopySource: aws.String(url.QueryEscape(*c.bucket + "/" + key2)), PartNumber: aws.Int64(2), Key: &key3, UploadId: uploadID, }) if err != nil { return nil, nil, err } // The ETags are needed to complete the process return foo.CopyPartResult.ETag, bar.CopyPartResult.ETag, nil }
[ "func", "(", "c", "*", "client", ")", "concatenate", "(", "key1", ",", "key2", ",", "key3", "string", ",", "uploadID", "*", "string", ")", "(", "*", "string", ",", "*", "string", ",", "error", ")", "{", "// The first part to be uploaded which is represented as part number 1", "foo", ",", "err", ":=", "c", ".", "s3Client", ".", "UploadPartCopy", "(", "&", "s3", ".", "UploadPartCopyInput", "{", "Bucket", ":", "c", ".", "bucket", ",", "CopySource", ":", "aws", ".", "String", "(", "url", ".", "QueryEscape", "(", "*", "c", ".", "bucket", "+", "\"", "\"", "+", "key1", ")", ")", ",", "PartNumber", ":", "aws", ".", "Int64", "(", "1", ")", ",", "Key", ":", "&", "key3", ",", "UploadId", ":", "uploadID", ",", "}", ")", "\n", "if", "err", "!=", "nil", "{", "return", "nil", ",", "nil", ",", "err", "\n", "}", "\n\n", "// The second part that is going to be appended to the newly created testKey", "// object.", "bar", ",", "err", ":=", "c", ".", "s3Client", ".", "UploadPartCopy", "(", "&", "s3", ".", "UploadPartCopyInput", "{", "Bucket", ":", "c", ".", "bucket", ",", "CopySource", ":", "aws", ".", "String", "(", "url", ".", "QueryEscape", "(", "*", "c", ".", "bucket", "+", "\"", "\"", "+", "key2", ")", ")", ",", "PartNumber", ":", "aws", ".", "Int64", "(", "2", ")", ",", "Key", ":", "&", "key3", ",", "UploadId", ":", "uploadID", ",", "}", ")", "\n", "if", "err", "!=", "nil", "{", "return", "nil", ",", "nil", ",", "err", "\n", "}", "\n", "// The ETags are needed to complete the process", "return", "foo", ".", "CopyPartResult", ".", "ETag", ",", "bar", ".", "CopyPartResult", ".", "ETag", ",", "nil", "\n", "}" ]
// concatenate will contenate key1's object to key2's object under the key testKey
[ "concatenate", "will", "contenate", "key1", "s", "object", "to", "key2", "s", "object", "under", "the", "key", "testKey" ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/example/service/s3/concatObjects/concatObjects.go#L21-L48
166,093
aws/aws-sdk-go
aws/csm/metric_chan.go
Push
func (ch *metricChan) Push(m metric) bool { if ch.IsPaused() { return false } select { case ch.ch <- m: return true default: return false } }
go
func (ch *metricChan) Push(m metric) bool { if ch.IsPaused() { return false } select { case ch.ch <- m: return true default: return false } }
[ "func", "(", "ch", "*", "metricChan", ")", "Push", "(", "m", "metric", ")", "bool", "{", "if", "ch", ".", "IsPaused", "(", ")", "{", "return", "false", "\n", "}", "\n\n", "select", "{", "case", "ch", ".", "ch", "<-", "m", ":", "return", "true", "\n", "default", ":", "return", "false", "\n", "}", "\n", "}" ]
// Push will push metrics to the metric channel if the channel // is not paused
[ "Push", "will", "push", "metrics", "to", "the", "metric", "channel", "if", "the", "channel", "is", "not", "paused" ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/aws/csm/metric_chan.go#L43-L54
166,094
aws/aws-sdk-go
service/elb/api.go
SetEmitInterval
func (s *AccessLog) SetEmitInterval(v int64) *AccessLog { s.EmitInterval = &v return s }
go
func (s *AccessLog) SetEmitInterval(v int64) *AccessLog { s.EmitInterval = &v return s }
[ "func", "(", "s", "*", "AccessLog", ")", "SetEmitInterval", "(", "v", "int64", ")", "*", "AccessLog", "{", "s", ".", "EmitInterval", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetEmitInterval sets the EmitInterval field's value.
[ "SetEmitInterval", "sets", "the", "EmitInterval", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elb/api.go#L2796-L2799
166,095
aws/aws-sdk-go
service/elb/api.go
SetS3BucketPrefix
func (s *AccessLog) SetS3BucketPrefix(v string) *AccessLog { s.S3BucketPrefix = &v return s }
go
func (s *AccessLog) SetS3BucketPrefix(v string) *AccessLog { s.S3BucketPrefix = &v return s }
[ "func", "(", "s", "*", "AccessLog", ")", "SetS3BucketPrefix", "(", "v", "string", ")", "*", "AccessLog", "{", "s", ".", "S3BucketPrefix", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetS3BucketPrefix sets the S3BucketPrefix field's value.
[ "SetS3BucketPrefix", "sets", "the", "S3BucketPrefix", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elb/api.go#L2814-L2817
166,096
aws/aws-sdk-go
service/elb/api.go
SetIdleTimeout
func (s *ConnectionSettings) SetIdleTimeout(v int64) *ConnectionSettings { s.IdleTimeout = &v return s }
go
func (s *ConnectionSettings) SetIdleTimeout(v int64) *ConnectionSettings { s.IdleTimeout = &v return s }
[ "func", "(", "s", "*", "ConnectionSettings", ")", "SetIdleTimeout", "(", "v", "int64", ")", "*", "ConnectionSettings", "{", "s", ".", "IdleTimeout", "=", "&", "v", "\n", "return", "s", "\n", "}" ]
// SetIdleTimeout sets the IdleTimeout field's value.
[ "SetIdleTimeout", "sets", "the", "IdleTimeout", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elb/api.go#L3325-L3328
166,097
aws/aws-sdk-go
service/elb/api.go
SetPolicyAttributes
func (s *CreateLoadBalancerPolicyInput) SetPolicyAttributes(v []*PolicyAttribute) *CreateLoadBalancerPolicyInput { s.PolicyAttributes = v return s }
go
func (s *CreateLoadBalancerPolicyInput) SetPolicyAttributes(v []*PolicyAttribute) *CreateLoadBalancerPolicyInput { s.PolicyAttributes = v return s }
[ "func", "(", "s", "*", "CreateLoadBalancerPolicyInput", ")", "SetPolicyAttributes", "(", "v", "[", "]", "*", "PolicyAttribute", ")", "*", "CreateLoadBalancerPolicyInput", "{", "s", ".", "PolicyAttributes", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetPolicyAttributes sets the PolicyAttributes field's value.
[ "SetPolicyAttributes", "sets", "the", "PolicyAttributes", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elb/api.go#L3805-L3808
166,098
aws/aws-sdk-go
service/elb/api.go
SetLoadBalancerPorts
func (s *DeleteLoadBalancerListenersInput) SetLoadBalancerPorts(v []*int64) *DeleteLoadBalancerListenersInput { s.LoadBalancerPorts = v return s }
go
func (s *DeleteLoadBalancerListenersInput) SetLoadBalancerPorts(v []*int64) *DeleteLoadBalancerListenersInput { s.LoadBalancerPorts = v return s }
[ "func", "(", "s", "*", "DeleteLoadBalancerListenersInput", ")", "SetLoadBalancerPorts", "(", "v", "[", "]", "*", "int64", ")", "*", "DeleteLoadBalancerListenersInput", "{", "s", ".", "LoadBalancerPorts", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetLoadBalancerPorts sets the LoadBalancerPorts field's value.
[ "SetLoadBalancerPorts", "sets", "the", "LoadBalancerPorts", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elb/api.go#L3963-L3966
166,099
aws/aws-sdk-go
service/elb/api.go
SetPolicyDescriptions
func (s *DescribeLoadBalancerPoliciesOutput) SetPolicyDescriptions(v []*PolicyDescription) *DescribeLoadBalancerPoliciesOutput { s.PolicyDescriptions = v return s }
go
func (s *DescribeLoadBalancerPoliciesOutput) SetPolicyDescriptions(v []*PolicyDescription) *DescribeLoadBalancerPoliciesOutput { s.PolicyDescriptions = v return s }
[ "func", "(", "s", "*", "DescribeLoadBalancerPoliciesOutput", ")", "SetPolicyDescriptions", "(", "v", "[", "]", "*", "PolicyDescription", ")", "*", "DescribeLoadBalancerPoliciesOutput", "{", "s", ".", "PolicyDescriptions", "=", "v", "\n", "return", "s", "\n", "}" ]
// SetPolicyDescriptions sets the PolicyDescriptions field's value.
[ "SetPolicyDescriptions", "sets", "the", "PolicyDescriptions", "field", "s", "value", "." ]
6c4060605190fc6f00d63cd4e5572faa9f07345d
https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/elb/api.go#L4409-L4412