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
sequence | docstring
stringlengths 6
2.61k
| docstring_tokens
sequence | sha
stringlengths 40
40
| url
stringlengths 85
252
| partition
stringclasses 1
value |
---|---|---|---|---|---|---|---|---|---|---|---|
aws/aws-sdk-go | service/storagegateway/api.go | SetTapes | func (s *DescribeTapesOutput) SetTapes(v []*Tape) *DescribeTapesOutput {
s.Tapes = v
return s
} | go | func (s *DescribeTapesOutput) SetTapes(v []*Tape) *DescribeTapesOutput {
s.Tapes = v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeTapesOutput",
")",
"SetTapes",
"(",
"v",
"[",
"]",
"*",
"Tape",
")",
"*",
"DescribeTapesOutput",
"{",
"s",
".",
"Tapes",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetTapes sets the Tapes field's value. | [
"SetTapes",
"sets",
"the",
"Tapes",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/storagegateway/api.go#L11739-L11742 | train |
aws/aws-sdk-go | service/storagegateway/api.go | SetUploadBufferAllocatedInBytes | func (s *DescribeUploadBufferOutput) SetUploadBufferAllocatedInBytes(v int64) *DescribeUploadBufferOutput {
s.UploadBufferAllocatedInBytes = &v
return s
} | go | func (s *DescribeUploadBufferOutput) SetUploadBufferAllocatedInBytes(v int64) *DescribeUploadBufferOutput {
s.UploadBufferAllocatedInBytes = &v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeUploadBufferOutput",
")",
"SetUploadBufferAllocatedInBytes",
"(",
"v",
"int64",
")",
"*",
"DescribeUploadBufferOutput",
"{",
"s",
".",
"UploadBufferAllocatedInBytes",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetUploadBufferAllocatedInBytes sets the UploadBufferAllocatedInBytes field's value. | [
"SetUploadBufferAllocatedInBytes",
"sets",
"the",
"UploadBufferAllocatedInBytes",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/storagegateway/api.go#L11829-L11832 | train |
aws/aws-sdk-go | service/storagegateway/api.go | SetUploadBufferUsedInBytes | func (s *DescribeUploadBufferOutput) SetUploadBufferUsedInBytes(v int64) *DescribeUploadBufferOutput {
s.UploadBufferUsedInBytes = &v
return s
} | go | func (s *DescribeUploadBufferOutput) SetUploadBufferUsedInBytes(v int64) *DescribeUploadBufferOutput {
s.UploadBufferUsedInBytes = &v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeUploadBufferOutput",
")",
"SetUploadBufferUsedInBytes",
"(",
"v",
"int64",
")",
"*",
"DescribeUploadBufferOutput",
"{",
"s",
".",
"UploadBufferUsedInBytes",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetUploadBufferUsedInBytes sets the UploadBufferUsedInBytes field's value. | [
"SetUploadBufferUsedInBytes",
"sets",
"the",
"UploadBufferUsedInBytes",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/storagegateway/api.go#L11835-L11838 | train |
aws/aws-sdk-go | service/storagegateway/api.go | SetVTLDeviceARNs | func (s *DescribeVTLDevicesInput) SetVTLDeviceARNs(v []*string) *DescribeVTLDevicesInput {
s.VTLDeviceARNs = v
return s
} | go | func (s *DescribeVTLDevicesInput) SetVTLDeviceARNs(v []*string) *DescribeVTLDevicesInput {
s.VTLDeviceARNs = v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeVTLDevicesInput",
")",
"SetVTLDeviceARNs",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"DescribeVTLDevicesInput",
"{",
"s",
".",
"VTLDeviceARNs",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetVTLDeviceARNs sets the VTLDeviceARNs field's value. | [
"SetVTLDeviceARNs",
"sets",
"the",
"VTLDeviceARNs",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/storagegateway/api.go#L11918-L11921 | train |
aws/aws-sdk-go | service/storagegateway/api.go | SetVTLDevices | func (s *DescribeVTLDevicesOutput) SetVTLDevices(v []*VTLDevice) *DescribeVTLDevicesOutput {
s.VTLDevices = v
return s
} | go | func (s *DescribeVTLDevicesOutput) SetVTLDevices(v []*VTLDevice) *DescribeVTLDevicesOutput {
s.VTLDevices = v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeVTLDevicesOutput",
")",
"SetVTLDevices",
"(",
"v",
"[",
"]",
"*",
"VTLDevice",
")",
"*",
"DescribeVTLDevicesOutput",
"{",
"s",
".",
"VTLDevices",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetVTLDevices sets the VTLDevices field's value. | [
"SetVTLDevices",
"sets",
"the",
"VTLDevices",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/storagegateway/api.go#L11965-L11968 | train |
aws/aws-sdk-go | service/storagegateway/api.go | SetWorkingStorageAllocatedInBytes | func (s *DescribeWorkingStorageOutput) SetWorkingStorageAllocatedInBytes(v int64) *DescribeWorkingStorageOutput {
s.WorkingStorageAllocatedInBytes = &v
return s
} | go | func (s *DescribeWorkingStorageOutput) SetWorkingStorageAllocatedInBytes(v int64) *DescribeWorkingStorageOutput {
s.WorkingStorageAllocatedInBytes = &v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeWorkingStorageOutput",
")",
"SetWorkingStorageAllocatedInBytes",
"(",
"v",
"int64",
")",
"*",
"DescribeWorkingStorageOutput",
"{",
"s",
".",
"WorkingStorageAllocatedInBytes",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetWorkingStorageAllocatedInBytes sets the WorkingStorageAllocatedInBytes field's value. | [
"SetWorkingStorageAllocatedInBytes",
"sets",
"the",
"WorkingStorageAllocatedInBytes",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/storagegateway/api.go#L12059-L12062 | train |
aws/aws-sdk-go | service/storagegateway/api.go | SetWorkingStorageUsedInBytes | func (s *DescribeWorkingStorageOutput) SetWorkingStorageUsedInBytes(v int64) *DescribeWorkingStorageOutput {
s.WorkingStorageUsedInBytes = &v
return s
} | go | func (s *DescribeWorkingStorageOutput) SetWorkingStorageUsedInBytes(v int64) *DescribeWorkingStorageOutput {
s.WorkingStorageUsedInBytes = &v
return s
} | [
"func",
"(",
"s",
"*",
"DescribeWorkingStorageOutput",
")",
"SetWorkingStorageUsedInBytes",
"(",
"v",
"int64",
")",
"*",
"DescribeWorkingStorageOutput",
"{",
"s",
".",
"WorkingStorageUsedInBytes",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetWorkingStorageUsedInBytes sets the WorkingStorageUsedInBytes field's value. | [
"SetWorkingStorageUsedInBytes",
"sets",
"the",
"WorkingStorageUsedInBytes",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/storagegateway/api.go#L12065-L12068 | train |
aws/aws-sdk-go | service/storagegateway/api.go | SetForceDetach | func (s *DetachVolumeInput) SetForceDetach(v bool) *DetachVolumeInput {
s.ForceDetach = &v
return s
} | go | func (s *DetachVolumeInput) SetForceDetach(v bool) *DetachVolumeInput {
s.ForceDetach = &v
return s
} | [
"func",
"(",
"s",
"*",
"DetachVolumeInput",
")",
"SetForceDetach",
"(",
"v",
"bool",
")",
"*",
"DetachVolumeInput",
"{",
"s",
".",
"ForceDetach",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetForceDetach sets the ForceDetach field's value. | [
"SetForceDetach",
"sets",
"the",
"ForceDetach",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/storagegateway/api.go#L12112-L12115 | train |
aws/aws-sdk-go | service/storagegateway/api.go | SetDiskAllocationResource | func (s *Disk) SetDiskAllocationResource(v string) *Disk {
s.DiskAllocationResource = &v
return s
} | go | func (s *Disk) SetDiskAllocationResource(v string) *Disk {
s.DiskAllocationResource = &v
return s
} | [
"func",
"(",
"s",
"*",
"Disk",
")",
"SetDiskAllocationResource",
"(",
"v",
"string",
")",
"*",
"Disk",
"{",
"s",
".",
"DiskAllocationResource",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDiskAllocationResource sets the DiskAllocationResource field's value. | [
"SetDiskAllocationResource",
"sets",
"the",
"DiskAllocationResource",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/storagegateway/api.go#L12310-L12313 | train |
aws/aws-sdk-go | service/storagegateway/api.go | SetDiskAllocationType | func (s *Disk) SetDiskAllocationType(v string) *Disk {
s.DiskAllocationType = &v
return s
} | go | func (s *Disk) SetDiskAllocationType(v string) *Disk {
s.DiskAllocationType = &v
return s
} | [
"func",
"(",
"s",
"*",
"Disk",
")",
"SetDiskAllocationType",
"(",
"v",
"string",
")",
"*",
"Disk",
"{",
"s",
".",
"DiskAllocationType",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDiskAllocationType sets the DiskAllocationType field's value. | [
"SetDiskAllocationType",
"sets",
"the",
"DiskAllocationType",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/storagegateway/api.go#L12316-L12319 | train |
aws/aws-sdk-go | service/storagegateway/api.go | SetDiskAttributeList | func (s *Disk) SetDiskAttributeList(v []*string) *Disk {
s.DiskAttributeList = v
return s
} | go | func (s *Disk) SetDiskAttributeList(v []*string) *Disk {
s.DiskAttributeList = v
return s
} | [
"func",
"(",
"s",
"*",
"Disk",
")",
"SetDiskAttributeList",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"Disk",
"{",
"s",
".",
"DiskAttributeList",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDiskAttributeList sets the DiskAttributeList field's value. | [
"SetDiskAttributeList",
"sets",
"the",
"DiskAttributeList",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/storagegateway/api.go#L12322-L12325 | train |
aws/aws-sdk-go | service/storagegateway/api.go | SetDiskNode | func (s *Disk) SetDiskNode(v string) *Disk {
s.DiskNode = &v
return s
} | go | func (s *Disk) SetDiskNode(v string) *Disk {
s.DiskNode = &v
return s
} | [
"func",
"(",
"s",
"*",
"Disk",
")",
"SetDiskNode",
"(",
"v",
"string",
")",
"*",
"Disk",
"{",
"s",
".",
"DiskNode",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDiskNode sets the DiskNode field's value. | [
"SetDiskNode",
"sets",
"the",
"DiskNode",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/storagegateway/api.go#L12334-L12337 | train |
aws/aws-sdk-go | service/storagegateway/api.go | SetDiskSizeInBytes | func (s *Disk) SetDiskSizeInBytes(v int64) *Disk {
s.DiskSizeInBytes = &v
return s
} | go | func (s *Disk) SetDiskSizeInBytes(v int64) *Disk {
s.DiskSizeInBytes = &v
return s
} | [
"func",
"(",
"s",
"*",
"Disk",
")",
"SetDiskSizeInBytes",
"(",
"v",
"int64",
")",
"*",
"Disk",
"{",
"s",
".",
"DiskSizeInBytes",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDiskSizeInBytes sets the DiskSizeInBytes field's value. | [
"SetDiskSizeInBytes",
"sets",
"the",
"DiskSizeInBytes",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/storagegateway/api.go#L12346-L12349 | train |
aws/aws-sdk-go | service/storagegateway/api.go | SetDiskStatus | func (s *Disk) SetDiskStatus(v string) *Disk {
s.DiskStatus = &v
return s
} | go | func (s *Disk) SetDiskStatus(v string) *Disk {
s.DiskStatus = &v
return s
} | [
"func",
"(",
"s",
"*",
"Disk",
")",
"SetDiskStatus",
"(",
"v",
"string",
")",
"*",
"Disk",
"{",
"s",
".",
"DiskStatus",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDiskStatus sets the DiskStatus field's value. | [
"SetDiskStatus",
"sets",
"the",
"DiskStatus",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/storagegateway/api.go#L12352-L12355 | train |
aws/aws-sdk-go | service/storagegateway/api.go | SetFileShareType | func (s *FileShareInfo) SetFileShareType(v string) *FileShareInfo {
s.FileShareType = &v
return s
} | go | func (s *FileShareInfo) SetFileShareType(v string) *FileShareInfo {
s.FileShareType = &v
return s
} | [
"func",
"(",
"s",
"*",
"FileShareInfo",
")",
"SetFileShareType",
"(",
"v",
"string",
")",
"*",
"FileShareInfo",
"{",
"s",
".",
"FileShareType",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetFileShareType sets the FileShareType field's value. | [
"SetFileShareType",
"sets",
"the",
"FileShareType",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/storagegateway/api.go#L12443-L12446 | train |
aws/aws-sdk-go | service/storagegateway/api.go | SetGatewayOperationalState | func (s *GatewayInfo) SetGatewayOperationalState(v string) *GatewayInfo {
s.GatewayOperationalState = &v
return s
} | go | func (s *GatewayInfo) SetGatewayOperationalState(v string) *GatewayInfo {
s.GatewayOperationalState = &v
return s
} | [
"func",
"(",
"s",
"*",
"GatewayInfo",
")",
"SetGatewayOperationalState",
"(",
"v",
"string",
")",
"*",
"GatewayInfo",
"{",
"s",
".",
"GatewayOperationalState",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetGatewayOperationalState sets the GatewayOperationalState field's value. | [
"SetGatewayOperationalState",
"sets",
"the",
"GatewayOperationalState",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/storagegateway/api.go#L12526-L12529 | train |
aws/aws-sdk-go | service/storagegateway/api.go | SetFileShareInfoList | func (s *ListFileSharesOutput) SetFileShareInfoList(v []*FileShareInfo) *ListFileSharesOutput {
s.FileShareInfoList = v
return s
} | go | func (s *ListFileSharesOutput) SetFileShareInfoList(v []*FileShareInfo) *ListFileSharesOutput {
s.FileShareInfoList = v
return s
} | [
"func",
"(",
"s",
"*",
"ListFileSharesOutput",
")",
"SetFileShareInfoList",
"(",
"v",
"[",
"]",
"*",
"FileShareInfo",
")",
"*",
"ListFileSharesOutput",
"{",
"s",
".",
"FileShareInfoList",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetFileShareInfoList sets the FileShareInfoList field's value. | [
"SetFileShareInfoList",
"sets",
"the",
"FileShareInfoList",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/storagegateway/api.go#L12775-L12778 | train |
aws/aws-sdk-go | service/storagegateway/api.go | SetTapeInfos | func (s *ListTapesOutput) SetTapeInfos(v []*TapeInfo) *ListTapesOutput {
s.TapeInfos = v
return s
} | go | func (s *ListTapesOutput) SetTapeInfos(v []*TapeInfo) *ListTapesOutput {
s.TapeInfos = v
return s
} | [
"func",
"(",
"s",
"*",
"ListTapesOutput",
")",
"SetTapeInfos",
"(",
"v",
"[",
"]",
"*",
"TapeInfo",
")",
"*",
"ListTapesOutput",
"{",
"s",
".",
"TapeInfos",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetTapeInfos sets the TapeInfos field's value. | [
"SetTapeInfos",
"sets",
"the",
"TapeInfos",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/storagegateway/api.go#L13176-L13179 | train |
aws/aws-sdk-go | service/storagegateway/api.go | SetInitiators | func (s *ListVolumeInitiatorsOutput) SetInitiators(v []*string) *ListVolumeInitiatorsOutput {
s.Initiators = v
return s
} | go | func (s *ListVolumeInitiatorsOutput) SetInitiators(v []*string) *ListVolumeInitiatorsOutput {
s.Initiators = v
return s
} | [
"func",
"(",
"s",
"*",
"ListVolumeInitiatorsOutput",
")",
"SetInitiators",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"ListVolumeInitiatorsOutput",
"{",
"s",
".",
"Initiators",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetInitiators sets the Initiators field's value. | [
"SetInitiators",
"sets",
"the",
"Initiators",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/storagegateway/api.go#L13244-L13247 | train |
aws/aws-sdk-go | service/storagegateway/api.go | SetVolumeRecoveryPointInfos | func (s *ListVolumeRecoveryPointsOutput) SetVolumeRecoveryPointInfos(v []*VolumeRecoveryPointInfo) *ListVolumeRecoveryPointsOutput {
s.VolumeRecoveryPointInfos = v
return s
} | go | func (s *ListVolumeRecoveryPointsOutput) SetVolumeRecoveryPointInfos(v []*VolumeRecoveryPointInfo) *ListVolumeRecoveryPointsOutput {
s.VolumeRecoveryPointInfos = v
return s
} | [
"func",
"(",
"s",
"*",
"ListVolumeRecoveryPointsOutput",
")",
"SetVolumeRecoveryPointInfos",
"(",
"v",
"[",
"]",
"*",
"VolumeRecoveryPointInfo",
")",
"*",
"ListVolumeRecoveryPointsOutput",
"{",
"s",
".",
"VolumeRecoveryPointInfos",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetVolumeRecoveryPointInfos sets the VolumeRecoveryPointInfos field's value. | [
"SetVolumeRecoveryPointInfos",
"sets",
"the",
"VolumeRecoveryPointInfos",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/storagegateway/api.go#L13319-L13322 | train |
aws/aws-sdk-go | service/storagegateway/api.go | SetVolumeInfos | func (s *ListVolumesOutput) SetVolumeInfos(v []*VolumeInfo) *ListVolumesOutput {
s.VolumeInfos = v
return s
} | go | func (s *ListVolumesOutput) SetVolumeInfos(v []*VolumeInfo) *ListVolumesOutput {
s.VolumeInfos = v
return s
} | [
"func",
"(",
"s",
"*",
"ListVolumesOutput",
")",
"SetVolumeInfos",
"(",
"v",
"[",
"]",
"*",
"VolumeInfo",
")",
"*",
"ListVolumesOutput",
"{",
"s",
".",
"VolumeInfos",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetVolumeInfos sets the VolumeInfos field's value. | [
"SetVolumeInfos",
"sets",
"the",
"VolumeInfos",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/storagegateway/api.go#L13439-L13442 | train |
aws/aws-sdk-go | service/storagegateway/api.go | SetDirectoryMode | func (s *NFSFileShareDefaults) SetDirectoryMode(v string) *NFSFileShareDefaults {
s.DirectoryMode = &v
return s
} | go | func (s *NFSFileShareDefaults) SetDirectoryMode(v string) *NFSFileShareDefaults {
s.DirectoryMode = &v
return s
} | [
"func",
"(",
"s",
"*",
"NFSFileShareDefaults",
")",
"SetDirectoryMode",
"(",
"v",
"string",
")",
"*",
"NFSFileShareDefaults",
"{",
"s",
".",
"DirectoryMode",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDirectoryMode sets the DirectoryMode field's value. | [
"SetDirectoryMode",
"sets",
"the",
"DirectoryMode",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/storagegateway/api.go#L13498-L13501 | train |
aws/aws-sdk-go | service/storagegateway/api.go | SetFolderList | func (s *RefreshCacheInput) SetFolderList(v []*string) *RefreshCacheInput {
s.FolderList = v
return s
} | go | func (s *RefreshCacheInput) SetFolderList(v []*string) *RefreshCacheInput {
s.FolderList = v
return s
} | [
"func",
"(",
"s",
"*",
"RefreshCacheInput",
")",
"SetFolderList",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"RefreshCacheInput",
"{",
"s",
".",
"FolderList",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetFolderList sets the FolderList field's value. | [
"SetFolderList",
"sets",
"the",
"FolderList",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/storagegateway/api.go#L13912-L13915 | train |
aws/aws-sdk-go | service/storagegateway/api.go | SetLocalConsolePassword | func (s *SetLocalConsolePasswordInput) SetLocalConsolePassword(v string) *SetLocalConsolePasswordInput {
s.LocalConsolePassword = &v
return s
} | go | func (s *SetLocalConsolePasswordInput) SetLocalConsolePassword(v string) *SetLocalConsolePasswordInput {
s.LocalConsolePassword = &v
return s
} | [
"func",
"(",
"s",
"*",
"SetLocalConsolePasswordInput",
")",
"SetLocalConsolePassword",
"(",
"v",
"string",
")",
"*",
"SetLocalConsolePasswordInput",
"{",
"s",
".",
"LocalConsolePassword",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetLocalConsolePassword sets the LocalConsolePassword field's value. | [
"SetLocalConsolePassword",
"sets",
"the",
"LocalConsolePassword",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/storagegateway/api.go#L14552-L14555 | train |
aws/aws-sdk-go | service/storagegateway/api.go | SetPreservedExistingData | func (s *StorediSCSIVolume) SetPreservedExistingData(v bool) *StorediSCSIVolume {
s.PreservedExistingData = &v
return s
} | go | func (s *StorediSCSIVolume) SetPreservedExistingData(v bool) *StorediSCSIVolume {
s.PreservedExistingData = &v
return s
} | [
"func",
"(",
"s",
"*",
"StorediSCSIVolume",
")",
"SetPreservedExistingData",
"(",
"v",
"bool",
")",
"*",
"StorediSCSIVolume",
"{",
"s",
".",
"PreservedExistingData",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetPreservedExistingData sets the PreservedExistingData field's value. | [
"SetPreservedExistingData",
"sets",
"the",
"PreservedExistingData",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/storagegateway/api.go#L14900-L14903 | train |
aws/aws-sdk-go | service/storagegateway/api.go | SetVolumeDiskId | func (s *StorediSCSIVolume) SetVolumeDiskId(v string) *StorediSCSIVolume {
s.VolumeDiskId = &v
return s
} | go | func (s *StorediSCSIVolume) SetVolumeDiskId(v string) *StorediSCSIVolume {
s.VolumeDiskId = &v
return s
} | [
"func",
"(",
"s",
"*",
"StorediSCSIVolume",
")",
"SetVolumeDiskId",
"(",
"v",
"string",
")",
"*",
"StorediSCSIVolume",
"{",
"s",
".",
"VolumeDiskId",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetVolumeDiskId sets the VolumeDiskId field's value. | [
"SetVolumeDiskId",
"sets",
"the",
"VolumeDiskId",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/storagegateway/api.go#L14930-L14933 | train |
aws/aws-sdk-go | service/storagegateway/api.go | SetVTLDevice | func (s *Tape) SetVTLDevice(v string) *Tape {
s.VTLDevice = &v
return s
} | go | func (s *Tape) SetVTLDevice(v string) *Tape {
s.VTLDevice = &v
return s
} | [
"func",
"(",
"s",
"*",
"Tape",
")",
"SetVTLDevice",
"(",
"v",
"string",
")",
"*",
"Tape",
"{",
"s",
".",
"VTLDevice",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetVTLDevice sets the VTLDevice field's value. | [
"SetVTLDevice",
"sets",
"the",
"VTLDevice",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/storagegateway/api.go#L15148-L15151 | train |
aws/aws-sdk-go | service/storagegateway/api.go | SetRetrievedTo | func (s *TapeArchive) SetRetrievedTo(v string) *TapeArchive {
s.RetrievedTo = &v
return s
} | go | func (s *TapeArchive) SetRetrievedTo(v string) *TapeArchive {
s.RetrievedTo = &v
return s
} | [
"func",
"(",
"s",
"*",
"TapeArchive",
")",
"SetRetrievedTo",
"(",
"v",
"string",
")",
"*",
"TapeArchive",
"{",
"s",
".",
"RetrievedTo",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetRetrievedTo sets the RetrievedTo field's value. | [
"SetRetrievedTo",
"sets",
"the",
"RetrievedTo",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/storagegateway/api.go#L15229-L15232 | train |
aws/aws-sdk-go | service/storagegateway/api.go | SetTapeRecoveryPointTime | func (s *TapeRecoveryPointInfo) SetTapeRecoveryPointTime(v time.Time) *TapeRecoveryPointInfo {
s.TapeRecoveryPointTime = &v
return s
} | go | func (s *TapeRecoveryPointInfo) SetTapeRecoveryPointTime(v time.Time) *TapeRecoveryPointInfo {
s.TapeRecoveryPointTime = &v
return s
} | [
"func",
"(",
"s",
"*",
"TapeRecoveryPointInfo",
")",
"SetTapeRecoveryPointTime",
"(",
"v",
"time",
".",
"Time",
")",
"*",
"TapeRecoveryPointInfo",
"{",
"s",
".",
"TapeRecoveryPointTime",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetTapeRecoveryPointTime sets the TapeRecoveryPointTime field's value. | [
"SetTapeRecoveryPointTime",
"sets",
"the",
"TapeRecoveryPointTime",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/storagegateway/api.go#L15384-L15387 | train |
aws/aws-sdk-go | service/storagegateway/api.go | SetDeviceiSCSIAttributes | func (s *VTLDevice) SetDeviceiSCSIAttributes(v *DeviceiSCSIAttributes) *VTLDevice {
s.DeviceiSCSIAttributes = v
return s
} | go | func (s *VTLDevice) SetDeviceiSCSIAttributes(v *DeviceiSCSIAttributes) *VTLDevice {
s.DeviceiSCSIAttributes = v
return s
} | [
"func",
"(",
"s",
"*",
"VTLDevice",
")",
"SetDeviceiSCSIAttributes",
"(",
"v",
"*",
"DeviceiSCSIAttributes",
")",
"*",
"VTLDevice",
"{",
"s",
".",
"DeviceiSCSIAttributes",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDeviceiSCSIAttributes sets the DeviceiSCSIAttributes field's value. | [
"SetDeviceiSCSIAttributes",
"sets",
"the",
"DeviceiSCSIAttributes",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/storagegateway/api.go#L16556-L16559 | train |
aws/aws-sdk-go | service/storagegateway/api.go | SetVTLDeviceProductIdentifier | func (s *VTLDevice) SetVTLDeviceProductIdentifier(v string) *VTLDevice {
s.VTLDeviceProductIdentifier = &v
return s
} | go | func (s *VTLDevice) SetVTLDeviceProductIdentifier(v string) *VTLDevice {
s.VTLDeviceProductIdentifier = &v
return s
} | [
"func",
"(",
"s",
"*",
"VTLDevice",
")",
"SetVTLDeviceProductIdentifier",
"(",
"v",
"string",
")",
"*",
"VTLDevice",
"{",
"s",
".",
"VTLDeviceProductIdentifier",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetVTLDeviceProductIdentifier sets the VTLDeviceProductIdentifier field's value. | [
"SetVTLDeviceProductIdentifier",
"sets",
"the",
"VTLDeviceProductIdentifier",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/storagegateway/api.go#L16568-L16571 | train |
aws/aws-sdk-go | service/storagegateway/api.go | SetVTLDeviceType | func (s *VTLDevice) SetVTLDeviceType(v string) *VTLDevice {
s.VTLDeviceType = &v
return s
} | go | func (s *VTLDevice) SetVTLDeviceType(v string) *VTLDevice {
s.VTLDeviceType = &v
return s
} | [
"func",
"(",
"s",
"*",
"VTLDevice",
")",
"SetVTLDeviceType",
"(",
"v",
"string",
")",
"*",
"VTLDevice",
"{",
"s",
".",
"VTLDeviceType",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetVTLDeviceType sets the VTLDeviceType field's value. | [
"SetVTLDeviceType",
"sets",
"the",
"VTLDeviceType",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/storagegateway/api.go#L16574-L16577 | train |
aws/aws-sdk-go | service/storagegateway/api.go | SetVTLDeviceVendor | func (s *VTLDevice) SetVTLDeviceVendor(v string) *VTLDevice {
s.VTLDeviceVendor = &v
return s
} | go | func (s *VTLDevice) SetVTLDeviceVendor(v string) *VTLDevice {
s.VTLDeviceVendor = &v
return s
} | [
"func",
"(",
"s",
"*",
"VTLDevice",
")",
"SetVTLDeviceVendor",
"(",
"v",
"string",
")",
"*",
"VTLDevice",
"{",
"s",
".",
"VTLDeviceVendor",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetVTLDeviceVendor sets the VTLDeviceVendor field's value. | [
"SetVTLDeviceVendor",
"sets",
"the",
"VTLDeviceVendor",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/storagegateway/api.go#L16580-L16583 | train |
aws/aws-sdk-go | service/storagegateway/api.go | SetVolumeUsageInBytes | func (s *VolumeRecoveryPointInfo) SetVolumeUsageInBytes(v int64) *VolumeRecoveryPointInfo {
s.VolumeUsageInBytes = &v
return s
} | go | func (s *VolumeRecoveryPointInfo) SetVolumeUsageInBytes(v int64) *VolumeRecoveryPointInfo {
s.VolumeUsageInBytes = &v
return s
} | [
"func",
"(",
"s",
"*",
"VolumeRecoveryPointInfo",
")",
"SetVolumeUsageInBytes",
"(",
"v",
"int64",
")",
"*",
"VolumeRecoveryPointInfo",
"{",
"s",
".",
"VolumeUsageInBytes",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetVolumeUsageInBytes sets the VolumeUsageInBytes field's value. | [
"SetVolumeUsageInBytes",
"sets",
"the",
"VolumeUsageInBytes",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/storagegateway/api.go#L16731-L16734 | train |
aws/aws-sdk-go | service/storagegateway/api.go | SetLunNumber | func (s *VolumeiSCSIAttributes) SetLunNumber(v int64) *VolumeiSCSIAttributes {
s.LunNumber = &v
return s
} | go | func (s *VolumeiSCSIAttributes) SetLunNumber(v int64) *VolumeiSCSIAttributes {
s.LunNumber = &v
return s
} | [
"func",
"(",
"s",
"*",
"VolumeiSCSIAttributes",
")",
"SetLunNumber",
"(",
"v",
"int64",
")",
"*",
"VolumeiSCSIAttributes",
"{",
"s",
".",
"LunNumber",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetLunNumber sets the LunNumber field's value. | [
"SetLunNumber",
"sets",
"the",
"LunNumber",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/storagegateway/api.go#L16773-L16776 | train |
aws/aws-sdk-go | service/devicefarm/api.go | GetOfferingStatus | func (c *DeviceFarm) GetOfferingStatus(input *GetOfferingStatusInput) (*GetOfferingStatusOutput, error) {
req, out := c.GetOfferingStatusRequest(input)
return out, req.Send()
} | go | func (c *DeviceFarm) GetOfferingStatus(input *GetOfferingStatusInput) (*GetOfferingStatusOutput, error) {
req, out := c.GetOfferingStatusRequest(input)
return out, req.Send()
} | [
"func",
"(",
"c",
"*",
"DeviceFarm",
")",
"GetOfferingStatus",
"(",
"input",
"*",
"GetOfferingStatusInput",
")",
"(",
"*",
"GetOfferingStatusOutput",
",",
"error",
")",
"{",
"req",
",",
"out",
":=",
"c",
".",
"GetOfferingStatusRequest",
"(",
"input",
")",
"\n",
"return",
"out",
",",
"req",
".",
"Send",
"(",
")",
"\n",
"}"
] | // GetOfferingStatus API operation for AWS Device Farm.
//
// Gets the current status and future status of all offerings purchased by an
// AWS account. The response indicates how many offerings are currently available
// and the offerings that will be available in the next period. The API returns
// a NotEligible error if the user is not permitted to invoke the operation.
// Please contact [email protected] (mailto:[email protected])
// if you believe that you should be able to invoke this operation.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Device Farm's
// API operation GetOfferingStatus for usage and error information.
//
// Returned Error Codes:
// * ErrCodeArgumentException "ArgumentException"
// An invalid argument was specified.
//
// * ErrCodeNotFoundException "NotFoundException"
// The specified entity was not found.
//
// * ErrCodeNotEligibleException "NotEligibleException"
// Exception gets thrown when a user is not eligible to perform the specified
// transaction.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// A limit was exceeded.
//
// * ErrCodeServiceAccountException "ServiceAccountException"
// There was a problem with the service account.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/GetOfferingStatus | [
"GetOfferingStatus",
"API",
"operation",
"for",
"AWS",
"Device",
"Farm",
".",
"Gets",
"the",
"current",
"status",
"and",
"future",
"status",
"of",
"all",
"offerings",
"purchased",
"by",
"an",
"AWS",
"account",
".",
"The",
"response",
"indicates",
"how",
"many",
"offerings",
"are",
"currently",
"available",
"and",
"the",
"offerings",
"that",
"will",
"be",
"available",
"in",
"the",
"next",
"period",
".",
"The",
"API",
"returns",
"a",
"NotEligible",
"error",
"if",
"the",
"user",
"is",
"not",
"permitted",
"to",
"invoke",
"the",
"operation",
".",
"Please",
"contact",
"aws",
"-",
"devicefarm",
"-",
"support"
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L2136-L2139 | train |
aws/aws-sdk-go | service/devicefarm/api.go | ListOfferingPromotions | func (c *DeviceFarm) ListOfferingPromotions(input *ListOfferingPromotionsInput) (*ListOfferingPromotionsOutput, error) {
req, out := c.ListOfferingPromotionsRequest(input)
return out, req.Send()
} | go | func (c *DeviceFarm) ListOfferingPromotions(input *ListOfferingPromotionsInput) (*ListOfferingPromotionsOutput, error) {
req, out := c.ListOfferingPromotionsRequest(input)
return out, req.Send()
} | [
"func",
"(",
"c",
"*",
"DeviceFarm",
")",
"ListOfferingPromotions",
"(",
"input",
"*",
"ListOfferingPromotionsInput",
")",
"(",
"*",
"ListOfferingPromotionsOutput",
",",
"error",
")",
"{",
"req",
",",
"out",
":=",
"c",
".",
"ListOfferingPromotionsRequest",
"(",
"input",
")",
"\n",
"return",
"out",
",",
"req",
".",
"Send",
"(",
")",
"\n",
"}"
] | // ListOfferingPromotions API operation for AWS Device Farm.
//
// Returns a list of offering promotions. Each offering promotion record contains
// the ID and description of the promotion. The API returns a NotEligible error
// if the caller is not permitted to invoke the operation. Contact [email protected]
// (mailto:[email protected]) if you believe that you should
// be able to invoke this operation.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Device Farm's
// API operation ListOfferingPromotions for usage and error information.
//
// Returned Error Codes:
// * ErrCodeArgumentException "ArgumentException"
// An invalid argument was specified.
//
// * ErrCodeNotFoundException "NotFoundException"
// The specified entity was not found.
//
// * ErrCodeNotEligibleException "NotEligibleException"
// Exception gets thrown when a user is not eligible to perform the specified
// transaction.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// A limit was exceeded.
//
// * ErrCodeServiceAccountException "ServiceAccountException"
// There was a problem with the service account.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/ListOfferingPromotions | [
"ListOfferingPromotions",
"API",
"operation",
"for",
"AWS",
"Device",
"Farm",
".",
"Returns",
"a",
"list",
"of",
"offering",
"promotions",
".",
"Each",
"offering",
"promotion",
"record",
"contains",
"the",
"ID",
"and",
"description",
"of",
"the",
"promotion",
".",
"The",
"API",
"returns",
"a",
"NotEligible",
"error",
"if",
"the",
"caller",
"is",
"not",
"permitted",
"to",
"invoke",
"the",
"operation",
".",
"Contact",
"aws",
"-",
"devicefarm",
"-",
"support"
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L3827-L3830 | train |
aws/aws-sdk-go | service/devicefarm/api.go | PurchaseOffering | func (c *DeviceFarm) PurchaseOffering(input *PurchaseOfferingInput) (*PurchaseOfferingOutput, error) {
req, out := c.PurchaseOfferingRequest(input)
return out, req.Send()
} | go | func (c *DeviceFarm) PurchaseOffering(input *PurchaseOfferingInput) (*PurchaseOfferingOutput, error) {
req, out := c.PurchaseOfferingRequest(input)
return out, req.Send()
} | [
"func",
"(",
"c",
"*",
"DeviceFarm",
")",
"PurchaseOffering",
"(",
"input",
"*",
"PurchaseOfferingInput",
")",
"(",
"*",
"PurchaseOfferingOutput",
",",
"error",
")",
"{",
"req",
",",
"out",
":=",
"c",
".",
"PurchaseOfferingRequest",
"(",
"input",
")",
"\n",
"return",
"out",
",",
"req",
".",
"Send",
"(",
")",
"\n",
"}"
] | // PurchaseOffering API operation for AWS Device Farm.
//
// Immediately purchases offerings for an AWS account. Offerings renew with
// the latest total purchased quantity for an offering, unless the renewal was
// overridden. The API returns a NotEligible error if the user is not permitted
// to invoke the operation. Please contact [email protected]
// (mailto:[email protected]) if you believe that you should
// be able to invoke this operation.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Device Farm's
// API operation PurchaseOffering for usage and error information.
//
// Returned Error Codes:
// * ErrCodeArgumentException "ArgumentException"
// An invalid argument was specified.
//
// * ErrCodeNotFoundException "NotFoundException"
// The specified entity was not found.
//
// * ErrCodeNotEligibleException "NotEligibleException"
// Exception gets thrown when a user is not eligible to perform the specified
// transaction.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// A limit was exceeded.
//
// * ErrCodeServiceAccountException "ServiceAccountException"
// There was a problem with the service account.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/PurchaseOffering | [
"PurchaseOffering",
"API",
"operation",
"for",
"AWS",
"Device",
"Farm",
".",
"Immediately",
"purchases",
"offerings",
"for",
"an",
"AWS",
"account",
".",
"Offerings",
"renew",
"with",
"the",
"latest",
"total",
"purchased",
"quantity",
"for",
"an",
"offering",
"unless",
"the",
"renewal",
"was",
"overridden",
".",
"The",
"API",
"returns",
"a",
"NotEligible",
"error",
"if",
"the",
"user",
"is",
"not",
"permitted",
"to",
"invoke",
"the",
"operation",
".",
"Please",
"contact",
"aws",
"-",
"devicefarm",
"-",
"support"
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L5409-L5412 | train |
aws/aws-sdk-go | service/devicefarm/api.go | RenewOffering | func (c *DeviceFarm) RenewOffering(input *RenewOfferingInput) (*RenewOfferingOutput, error) {
req, out := c.RenewOfferingRequest(input)
return out, req.Send()
} | go | func (c *DeviceFarm) RenewOffering(input *RenewOfferingInput) (*RenewOfferingOutput, error) {
req, out := c.RenewOfferingRequest(input)
return out, req.Send()
} | [
"func",
"(",
"c",
"*",
"DeviceFarm",
")",
"RenewOffering",
"(",
"input",
"*",
"RenewOfferingInput",
")",
"(",
"*",
"RenewOfferingOutput",
",",
"error",
")",
"{",
"req",
",",
"out",
":=",
"c",
".",
"RenewOfferingRequest",
"(",
"input",
")",
"\n",
"return",
"out",
",",
"req",
".",
"Send",
"(",
")",
"\n",
"}"
] | // RenewOffering API operation for AWS Device Farm.
//
// Explicitly sets the quantity of devices to renew for an offering, starting
// from the effectiveDate of the next period. The API returns a NotEligible
// error if the user is not permitted to invoke the operation. Please contact
// [email protected] (mailto:[email protected])
// if you believe that you should be able to invoke this operation.
//
// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
// with awserr.Error's Code and Message methods to get detailed information about
// the error.
//
// See the AWS API reference guide for AWS Device Farm's
// API operation RenewOffering for usage and error information.
//
// Returned Error Codes:
// * ErrCodeArgumentException "ArgumentException"
// An invalid argument was specified.
//
// * ErrCodeNotFoundException "NotFoundException"
// The specified entity was not found.
//
// * ErrCodeNotEligibleException "NotEligibleException"
// Exception gets thrown when a user is not eligible to perform the specified
// transaction.
//
// * ErrCodeLimitExceededException "LimitExceededException"
// A limit was exceeded.
//
// * ErrCodeServiceAccountException "ServiceAccountException"
// There was a problem with the service account.
//
// See also, https://docs.aws.amazon.com/goto/WebAPI/devicefarm-2015-06-23/RenewOffering | [
"RenewOffering",
"API",
"operation",
"for",
"AWS",
"Device",
"Farm",
".",
"Explicitly",
"sets",
"the",
"quantity",
"of",
"devices",
"to",
"renew",
"for",
"an",
"offering",
"starting",
"from",
"the",
"effectiveDate",
"of",
"the",
"next",
"period",
".",
"The",
"API",
"returns",
"a",
"NotEligible",
"error",
"if",
"the",
"user",
"is",
"not",
"permitted",
"to",
"invoke",
"the",
"operation",
".",
"Please",
"contact",
"aws",
"-",
"devicefarm",
"-",
"support"
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L5505-L5508 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetMaxJobTimeoutMinutes | func (s *AccountSettings) SetMaxJobTimeoutMinutes(v int64) *AccountSettings {
s.MaxJobTimeoutMinutes = &v
return s
} | go | func (s *AccountSettings) SetMaxJobTimeoutMinutes(v int64) *AccountSettings {
s.MaxJobTimeoutMinutes = &v
return s
} | [
"func",
"(",
"s",
"*",
"AccountSettings",
")",
"SetMaxJobTimeoutMinutes",
"(",
"v",
"int64",
")",
"*",
"AccountSettings",
"{",
"s",
".",
"MaxJobTimeoutMinutes",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetMaxJobTimeoutMinutes sets the MaxJobTimeoutMinutes field's value. | [
"SetMaxJobTimeoutMinutes",
"sets",
"the",
"MaxJobTimeoutMinutes",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L6573-L6576 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetMaxSlots | func (s *AccountSettings) SetMaxSlots(v map[string]*int64) *AccountSettings {
s.MaxSlots = v
return s
} | go | func (s *AccountSettings) SetMaxSlots(v map[string]*int64) *AccountSettings {
s.MaxSlots = v
return s
} | [
"func",
"(",
"s",
"*",
"AccountSettings",
")",
"SetMaxSlots",
"(",
"v",
"map",
"[",
"string",
"]",
"*",
"int64",
")",
"*",
"AccountSettings",
"{",
"s",
".",
"MaxSlots",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetMaxSlots sets the MaxSlots field's value. | [
"SetMaxSlots",
"sets",
"the",
"MaxSlots",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L6579-L6582 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetTrialMinutes | func (s *AccountSettings) SetTrialMinutes(v *TrialMinutes) *AccountSettings {
s.TrialMinutes = v
return s
} | go | func (s *AccountSettings) SetTrialMinutes(v *TrialMinutes) *AccountSettings {
s.TrialMinutes = v
return s
} | [
"func",
"(",
"s",
"*",
"AccountSettings",
")",
"SetTrialMinutes",
"(",
"v",
"*",
"TrialMinutes",
")",
"*",
"AccountSettings",
"{",
"s",
".",
"TrialMinutes",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetTrialMinutes sets the TrialMinutes field's value. | [
"SetTrialMinutes",
"sets",
"the",
"TrialMinutes",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L6591-L6594 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetUnmeteredDevices | func (s *AccountSettings) SetUnmeteredDevices(v map[string]*int64) *AccountSettings {
s.UnmeteredDevices = v
return s
} | go | func (s *AccountSettings) SetUnmeteredDevices(v map[string]*int64) *AccountSettings {
s.UnmeteredDevices = v
return s
} | [
"func",
"(",
"s",
"*",
"AccountSettings",
")",
"SetUnmeteredDevices",
"(",
"v",
"map",
"[",
"string",
"]",
"*",
"int64",
")",
"*",
"AccountSettings",
"{",
"s",
".",
"UnmeteredDevices",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetUnmeteredDevices sets the UnmeteredDevices field's value. | [
"SetUnmeteredDevices",
"sets",
"the",
"UnmeteredDevices",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L6597-L6600 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetUnmeteredRemoteAccessDevices | func (s *AccountSettings) SetUnmeteredRemoteAccessDevices(v map[string]*int64) *AccountSettings {
s.UnmeteredRemoteAccessDevices = v
return s
} | go | func (s *AccountSettings) SetUnmeteredRemoteAccessDevices(v map[string]*int64) *AccountSettings {
s.UnmeteredRemoteAccessDevices = v
return s
} | [
"func",
"(",
"s",
"*",
"AccountSettings",
")",
"SetUnmeteredRemoteAccessDevices",
"(",
"v",
"map",
"[",
"string",
"]",
"*",
"int64",
")",
"*",
"AccountSettings",
"{",
"s",
".",
"UnmeteredRemoteAccessDevices",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetUnmeteredRemoteAccessDevices sets the UnmeteredRemoteAccessDevices field's value. | [
"SetUnmeteredRemoteAccessDevices",
"sets",
"the",
"UnmeteredRemoteAccessDevices",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L6603-L6606 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetClock | func (s *CPU) SetClock(v float64) *CPU {
s.Clock = &v
return s
} | go | func (s *CPU) SetClock(v float64) *CPU {
s.Clock = &v
return s
} | [
"func",
"(",
"s",
"*",
"CPU",
")",
"SetClock",
"(",
"v",
"float64",
")",
"*",
"CPU",
"{",
"s",
".",
"Clock",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetClock sets the Clock field's value. | [
"SetClock",
"sets",
"the",
"Clock",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L6762-L6765 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetPassed | func (s *Counters) SetPassed(v int64) *Counters {
s.Passed = &v
return s
} | go | func (s *Counters) SetPassed(v int64) *Counters {
s.Passed = &v
return s
} | [
"func",
"(",
"s",
"*",
"Counters",
")",
"SetPassed",
"(",
"v",
"int64",
")",
"*",
"Counters",
"{",
"s",
".",
"Passed",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetPassed sets the Passed field's value. | [
"SetPassed",
"sets",
"the",
"Passed",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L6822-L6825 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetWarned | func (s *Counters) SetWarned(v int64) *Counters {
s.Warned = &v
return s
} | go | func (s *Counters) SetWarned(v int64) *Counters {
s.Warned = &v
return s
} | [
"func",
"(",
"s",
"*",
"Counters",
")",
"SetWarned",
"(",
"v",
"int64",
")",
"*",
"Counters",
"{",
"s",
".",
"Warned",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetWarned sets the Warned field's value. | [
"SetWarned",
"sets",
"the",
"Warned",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L6846-L6849 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetAndroidPaths | func (s *CustomerArtifactPaths) SetAndroidPaths(v []*string) *CustomerArtifactPaths {
s.AndroidPaths = v
return s
} | go | func (s *CustomerArtifactPaths) SetAndroidPaths(v []*string) *CustomerArtifactPaths {
s.AndroidPaths = v
return s
} | [
"func",
"(",
"s",
"*",
"CustomerArtifactPaths",
")",
"SetAndroidPaths",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"CustomerArtifactPaths",
"{",
"s",
".",
"AndroidPaths",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAndroidPaths sets the AndroidPaths field's value. | [
"SetAndroidPaths",
"sets",
"the",
"AndroidPaths",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L7879-L7882 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetDeviceHostPaths | func (s *CustomerArtifactPaths) SetDeviceHostPaths(v []*string) *CustomerArtifactPaths {
s.DeviceHostPaths = v
return s
} | go | func (s *CustomerArtifactPaths) SetDeviceHostPaths(v []*string) *CustomerArtifactPaths {
s.DeviceHostPaths = v
return s
} | [
"func",
"(",
"s",
"*",
"CustomerArtifactPaths",
")",
"SetDeviceHostPaths",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"CustomerArtifactPaths",
"{",
"s",
".",
"DeviceHostPaths",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDeviceHostPaths sets the DeviceHostPaths field's value. | [
"SetDeviceHostPaths",
"sets",
"the",
"DeviceHostPaths",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L7885-L7888 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetIosPaths | func (s *CustomerArtifactPaths) SetIosPaths(v []*string) *CustomerArtifactPaths {
s.IosPaths = v
return s
} | go | func (s *CustomerArtifactPaths) SetIosPaths(v []*string) *CustomerArtifactPaths {
s.IosPaths = v
return s
} | [
"func",
"(",
"s",
"*",
"CustomerArtifactPaths",
")",
"SetIosPaths",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"CustomerArtifactPaths",
"{",
"s",
".",
"IosPaths",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetIosPaths sets the IosPaths field's value. | [
"SetIosPaths",
"sets",
"the",
"IosPaths",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L7891-L7894 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetFormFactor | func (s *Device) SetFormFactor(v string) *Device {
s.FormFactor = &v
return s
} | go | func (s *Device) SetFormFactor(v string) *Device {
s.FormFactor = &v
return s
} | [
"func",
"(",
"s",
"*",
"Device",
")",
"SetFormFactor",
"(",
"v",
"string",
")",
"*",
"Device",
"{",
"s",
".",
"FormFactor",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetFormFactor sets the FormFactor field's value. | [
"SetFormFactor",
"sets",
"the",
"FormFactor",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L8482-L8485 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetHeapSize | func (s *Device) SetHeapSize(v int64) *Device {
s.HeapSize = &v
return s
} | go | func (s *Device) SetHeapSize(v int64) *Device {
s.HeapSize = &v
return s
} | [
"func",
"(",
"s",
"*",
"Device",
")",
"SetHeapSize",
"(",
"v",
"int64",
")",
"*",
"Device",
"{",
"s",
".",
"HeapSize",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetHeapSize sets the HeapSize field's value. | [
"SetHeapSize",
"sets",
"the",
"HeapSize",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L8488-L8491 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetRadio | func (s *Device) SetRadio(v string) *Device {
s.Radio = &v
return s
} | go | func (s *Device) SetRadio(v string) *Device {
s.Radio = &v
return s
} | [
"func",
"(",
"s",
"*",
"Device",
")",
"SetRadio",
"(",
"v",
"string",
")",
"*",
"Device",
"{",
"s",
".",
"Radio",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetRadio sets the Radio field's value. | [
"SetRadio",
"sets",
"the",
"Radio",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L8548-L8551 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetRemoteAccessEnabled | func (s *Device) SetRemoteAccessEnabled(v bool) *Device {
s.RemoteAccessEnabled = &v
return s
} | go | func (s *Device) SetRemoteAccessEnabled(v bool) *Device {
s.RemoteAccessEnabled = &v
return s
} | [
"func",
"(",
"s",
"*",
"Device",
")",
"SetRemoteAccessEnabled",
"(",
"v",
"bool",
")",
"*",
"Device",
"{",
"s",
".",
"RemoteAccessEnabled",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetRemoteAccessEnabled sets the RemoteAccessEnabled field's value. | [
"SetRemoteAccessEnabled",
"sets",
"the",
"RemoteAccessEnabled",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L8554-L8557 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetUdid | func (s *DeviceInstance) SetUdid(v string) *DeviceInstance {
s.Udid = &v
return s
} | go | func (s *DeviceInstance) SetUdid(v string) *DeviceInstance {
s.Udid = &v
return s
} | [
"func",
"(",
"s",
"*",
"DeviceInstance",
")",
"SetUdid",
"(",
"v",
"string",
")",
"*",
"DeviceInstance",
"{",
"s",
".",
"Udid",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetUdid sets the Udid field's value. | [
"SetUdid",
"sets",
"the",
"Udid",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L8758-L8761 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetMetered | func (s *DeviceMinutes) SetMetered(v float64) *DeviceMinutes {
s.Metered = &v
return s
} | go | func (s *DeviceMinutes) SetMetered(v float64) *DeviceMinutes {
s.Metered = &v
return s
} | [
"func",
"(",
"s",
"*",
"DeviceMinutes",
")",
"SetMetered",
"(",
"v",
"float64",
")",
"*",
"DeviceMinutes",
"{",
"s",
".",
"Metered",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetMetered sets the Metered field's value. | [
"SetMetered",
"sets",
"the",
"Metered",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L8792-L8795 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetUnmetered | func (s *DeviceMinutes) SetUnmetered(v float64) *DeviceMinutes {
s.Unmetered = &v
return s
} | go | func (s *DeviceMinutes) SetUnmetered(v float64) *DeviceMinutes {
s.Unmetered = &v
return s
} | [
"func",
"(",
"s",
"*",
"DeviceMinutes",
")",
"SetUnmetered",
"(",
"v",
"float64",
")",
"*",
"DeviceMinutes",
"{",
"s",
".",
"Unmetered",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetUnmetered sets the Unmetered field's value. | [
"SetUnmetered",
"sets",
"the",
"Unmetered",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L8804-L8807 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetCompatible | func (s *DevicePoolCompatibilityResult) SetCompatible(v bool) *DevicePoolCompatibilityResult {
s.Compatible = &v
return s
} | go | func (s *DevicePoolCompatibilityResult) SetCompatible(v bool) *DevicePoolCompatibilityResult {
s.Compatible = &v
return s
} | [
"func",
"(",
"s",
"*",
"DevicePoolCompatibilityResult",
")",
"SetCompatible",
"(",
"v",
"bool",
")",
"*",
"DevicePoolCompatibilityResult",
"{",
"s",
".",
"Compatible",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetCompatible sets the Compatible field's value. | [
"SetCompatible",
"sets",
"the",
"Compatible",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L8917-L8920 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetIncompatibilityMessages | func (s *DevicePoolCompatibilityResult) SetIncompatibilityMessages(v []*IncompatibilityMessage) *DevicePoolCompatibilityResult {
s.IncompatibilityMessages = v
return s
} | go | func (s *DevicePoolCompatibilityResult) SetIncompatibilityMessages(v []*IncompatibilityMessage) *DevicePoolCompatibilityResult {
s.IncompatibilityMessages = v
return s
} | [
"func",
"(",
"s",
"*",
"DevicePoolCompatibilityResult",
")",
"SetIncompatibilityMessages",
"(",
"v",
"[",
"]",
"*",
"IncompatibilityMessage",
")",
"*",
"DevicePoolCompatibilityResult",
"{",
"s",
".",
"IncompatibilityMessages",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetIncompatibilityMessages sets the IncompatibilityMessages field's value. | [
"SetIncompatibilityMessages",
"sets",
"the",
"IncompatibilityMessages",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L8929-L8932 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetMatchedDevicesCount | func (s *DeviceSelectionResult) SetMatchedDevicesCount(v int64) *DeviceSelectionResult {
s.MatchedDevicesCount = &v
return s
} | go | func (s *DeviceSelectionResult) SetMatchedDevicesCount(v int64) *DeviceSelectionResult {
s.MatchedDevicesCount = &v
return s
} | [
"func",
"(",
"s",
"*",
"DeviceSelectionResult",
")",
"SetMatchedDevicesCount",
"(",
"v",
"int64",
")",
"*",
"DeviceSelectionResult",
"{",
"s",
".",
"MatchedDevicesCount",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetMatchedDevicesCount sets the MatchedDevicesCount field's value. | [
"SetMatchedDevicesCount",
"sets",
"the",
"MatchedDevicesCount",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L9094-L9097 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetAccountsCleanup | func (s *ExecutionConfiguration) SetAccountsCleanup(v bool) *ExecutionConfiguration {
s.AccountsCleanup = &v
return s
} | go | func (s *ExecutionConfiguration) SetAccountsCleanup(v bool) *ExecutionConfiguration {
s.AccountsCleanup = &v
return s
} | [
"func",
"(",
"s",
"*",
"ExecutionConfiguration",
")",
"SetAccountsCleanup",
"(",
"v",
"bool",
")",
"*",
"ExecutionConfiguration",
"{",
"s",
".",
"AccountsCleanup",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAccountsCleanup sets the AccountsCleanup field's value. | [
"SetAccountsCleanup",
"sets",
"the",
"AccountsCleanup",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L9146-L9149 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetAppPackagesCleanup | func (s *ExecutionConfiguration) SetAppPackagesCleanup(v bool) *ExecutionConfiguration {
s.AppPackagesCleanup = &v
return s
} | go | func (s *ExecutionConfiguration) SetAppPackagesCleanup(v bool) *ExecutionConfiguration {
s.AppPackagesCleanup = &v
return s
} | [
"func",
"(",
"s",
"*",
"ExecutionConfiguration",
")",
"SetAppPackagesCleanup",
"(",
"v",
"bool",
")",
"*",
"ExecutionConfiguration",
"{",
"s",
".",
"AppPackagesCleanup",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAppPackagesCleanup sets the AppPackagesCleanup field's value. | [
"SetAppPackagesCleanup",
"sets",
"the",
"AppPackagesCleanup",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L9152-L9155 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetCompatibleDevices | func (s *GetDevicePoolCompatibilityOutput) SetCompatibleDevices(v []*DevicePoolCompatibilityResult) *GetDevicePoolCompatibilityOutput {
s.CompatibleDevices = v
return s
} | go | func (s *GetDevicePoolCompatibilityOutput) SetCompatibleDevices(v []*DevicePoolCompatibilityResult) *GetDevicePoolCompatibilityOutput {
s.CompatibleDevices = v
return s
} | [
"func",
"(",
"s",
"*",
"GetDevicePoolCompatibilityOutput",
")",
"SetCompatibleDevices",
"(",
"v",
"[",
"]",
"*",
"DevicePoolCompatibilityResult",
")",
"*",
"GetDevicePoolCompatibilityOutput",
"{",
"s",
".",
"CompatibleDevices",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetCompatibleDevices sets the CompatibleDevices field's value. | [
"SetCompatibleDevices",
"sets",
"the",
"CompatibleDevices",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L9499-L9502 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetIncompatibleDevices | func (s *GetDevicePoolCompatibilityOutput) SetIncompatibleDevices(v []*DevicePoolCompatibilityResult) *GetDevicePoolCompatibilityOutput {
s.IncompatibleDevices = v
return s
} | go | func (s *GetDevicePoolCompatibilityOutput) SetIncompatibleDevices(v []*DevicePoolCompatibilityResult) *GetDevicePoolCompatibilityOutput {
s.IncompatibleDevices = v
return s
} | [
"func",
"(",
"s",
"*",
"GetDevicePoolCompatibilityOutput",
")",
"SetIncompatibleDevices",
"(",
"v",
"[",
"]",
"*",
"DevicePoolCompatibilityResult",
")",
"*",
"GetDevicePoolCompatibilityOutput",
"{",
"s",
".",
"IncompatibleDevices",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetIncompatibleDevices sets the IncompatibleDevices field's value. | [
"SetIncompatibleDevices",
"sets",
"the",
"IncompatibleDevices",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L9505-L9508 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetNextPeriod | func (s *GetOfferingStatusOutput) SetNextPeriod(v map[string]*OfferingStatus) *GetOfferingStatusOutput {
s.NextPeriod = v
return s
} | go | func (s *GetOfferingStatusOutput) SetNextPeriod(v map[string]*OfferingStatus) *GetOfferingStatusOutput {
s.NextPeriod = v
return s
} | [
"func",
"(",
"s",
"*",
"GetOfferingStatusOutput",
")",
"SetNextPeriod",
"(",
"v",
"map",
"[",
"string",
"]",
"*",
"OfferingStatus",
")",
"*",
"GetOfferingStatusOutput",
"{",
"s",
".",
"NextPeriod",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetNextPeriod sets the NextPeriod field's value. | [
"SetNextPeriod",
"sets",
"the",
"NextPeriod",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L9842-L9845 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetRemoteAccessSessionArn | func (s *InstallToRemoteAccessSessionInput) SetRemoteAccessSessionArn(v string) *InstallToRemoteAccessSessionInput {
s.RemoteAccessSessionArn = &v
return s
} | go | func (s *InstallToRemoteAccessSessionInput) SetRemoteAccessSessionArn(v string) *InstallToRemoteAccessSessionInput {
s.RemoteAccessSessionArn = &v
return s
} | [
"func",
"(",
"s",
"*",
"InstallToRemoteAccessSessionInput",
")",
"SetRemoteAccessSessionArn",
"(",
"v",
"string",
")",
"*",
"InstallToRemoteAccessSessionInput",
"{",
"s",
".",
"RemoteAccessSessionArn",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetRemoteAccessSessionArn sets the RemoteAccessSessionArn field's value. | [
"SetRemoteAccessSessionArn",
"sets",
"the",
"RemoteAccessSessionArn",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L10421-L10424 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetVideoEndpoint | func (s *Job) SetVideoEndpoint(v string) *Job {
s.VideoEndpoint = &v
return s
} | go | func (s *Job) SetVideoEndpoint(v string) *Job {
s.VideoEndpoint = &v
return s
} | [
"func",
"(",
"s",
"*",
"Job",
")",
"SetVideoEndpoint",
"(",
"v",
"string",
")",
"*",
"Job",
"{",
"s",
".",
"VideoEndpoint",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetVideoEndpoint sets the VideoEndpoint field's value. | [
"SetVideoEndpoint",
"sets",
"the",
"VideoEndpoint",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L10747-L10750 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetDeviceInstances | func (s *ListDeviceInstancesOutput) SetDeviceInstances(v []*DeviceInstance) *ListDeviceInstancesOutput {
s.DeviceInstances = v
return s
} | go | func (s *ListDeviceInstancesOutput) SetDeviceInstances(v []*DeviceInstance) *ListDeviceInstancesOutput {
s.DeviceInstances = v
return s
} | [
"func",
"(",
"s",
"*",
"ListDeviceInstancesOutput",
")",
"SetDeviceInstances",
"(",
"v",
"[",
"]",
"*",
"DeviceInstance",
")",
"*",
"ListDeviceInstancesOutput",
"{",
"s",
".",
"DeviceInstances",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDeviceInstances sets the DeviceInstances field's value. | [
"SetDeviceInstances",
"sets",
"the",
"DeviceInstances",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L10933-L10936 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetDevicePools | func (s *ListDevicePoolsOutput) SetDevicePools(v []*DevicePool) *ListDevicePoolsOutput {
s.DevicePools = v
return s
} | go | func (s *ListDevicePoolsOutput) SetDevicePools(v []*DevicePool) *ListDevicePoolsOutput {
s.DevicePools = v
return s
} | [
"func",
"(",
"s",
"*",
"ListDevicePoolsOutput",
")",
"SetDevicePools",
"(",
"v",
"[",
"]",
"*",
"DevicePool",
")",
"*",
"ListDevicePoolsOutput",
"{",
"s",
".",
"DevicePools",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDevicePools sets the DevicePools field's value. | [
"SetDevicePools",
"sets",
"the",
"DevicePools",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L11039-L11042 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetNetworkProfiles | func (s *ListNetworkProfilesOutput) SetNetworkProfiles(v []*NetworkProfile) *ListNetworkProfilesOutput {
s.NetworkProfiles = v
return s
} | go | func (s *ListNetworkProfilesOutput) SetNetworkProfiles(v []*NetworkProfile) *ListNetworkProfilesOutput {
s.NetworkProfiles = v
return s
} | [
"func",
"(",
"s",
"*",
"ListNetworkProfilesOutput",
")",
"SetNetworkProfiles",
"(",
"v",
"[",
"]",
"*",
"NetworkProfile",
")",
"*",
"ListNetworkProfilesOutput",
"{",
"s",
".",
"NetworkProfiles",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetNetworkProfiles sets the NetworkProfiles field's value. | [
"SetNetworkProfiles",
"sets",
"the",
"NetworkProfiles",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L11455-L11458 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetOfferingPromotions | func (s *ListOfferingPromotionsOutput) SetOfferingPromotions(v []*OfferingPromotion) *ListOfferingPromotionsOutput {
s.OfferingPromotions = v
return s
} | go | func (s *ListOfferingPromotionsOutput) SetOfferingPromotions(v []*OfferingPromotion) *ListOfferingPromotionsOutput {
s.OfferingPromotions = v
return s
} | [
"func",
"(",
"s",
"*",
"ListOfferingPromotionsOutput",
")",
"SetOfferingPromotions",
"(",
"v",
"[",
"]",
"*",
"OfferingPromotion",
")",
"*",
"ListOfferingPromotionsOutput",
"{",
"s",
".",
"OfferingPromotions",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetOfferingPromotions sets the OfferingPromotions field's value. | [
"SetOfferingPromotions",
"sets",
"the",
"OfferingPromotions",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L11531-L11534 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetOfferingTransactions | func (s *ListOfferingTransactionsOutput) SetOfferingTransactions(v []*OfferingTransaction) *ListOfferingTransactionsOutput {
s.OfferingTransactions = v
return s
} | go | func (s *ListOfferingTransactionsOutput) SetOfferingTransactions(v []*OfferingTransaction) *ListOfferingTransactionsOutput {
s.OfferingTransactions = v
return s
} | [
"func",
"(",
"s",
"*",
"ListOfferingTransactionsOutput",
")",
"SetOfferingTransactions",
"(",
"v",
"[",
"]",
"*",
"OfferingTransaction",
")",
"*",
"ListOfferingTransactionsOutput",
"{",
"s",
".",
"OfferingTransactions",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetOfferingTransactions sets the OfferingTransactions field's value. | [
"SetOfferingTransactions",
"sets",
"the",
"OfferingTransactions",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L11604-L11607 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetOfferings | func (s *ListOfferingsOutput) SetOfferings(v []*Offering) *ListOfferingsOutput {
s.Offerings = v
return s
} | go | func (s *ListOfferingsOutput) SetOfferings(v []*Offering) *ListOfferingsOutput {
s.Offerings = v
return s
} | [
"func",
"(",
"s",
"*",
"ListOfferingsOutput",
")",
"SetOfferings",
"(",
"v",
"[",
"]",
"*",
"Offering",
")",
"*",
"ListOfferingsOutput",
"{",
"s",
".",
"Offerings",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetOfferings sets the Offerings field's value. | [
"SetOfferings",
"sets",
"the",
"Offerings",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L11676-L11679 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetRemoteAccessSessions | func (s *ListRemoteAccessSessionsOutput) SetRemoteAccessSessions(v []*RemoteAccessSession) *ListRemoteAccessSessionsOutput {
s.RemoteAccessSessions = v
return s
} | go | func (s *ListRemoteAccessSessionsOutput) SetRemoteAccessSessions(v []*RemoteAccessSession) *ListRemoteAccessSessionsOutput {
s.RemoteAccessSessions = v
return s
} | [
"func",
"(",
"s",
"*",
"ListRemoteAccessSessionsOutput",
")",
"SetRemoteAccessSessions",
"(",
"v",
"[",
"]",
"*",
"RemoteAccessSession",
")",
"*",
"ListRemoteAccessSessionsOutput",
"{",
"s",
".",
"RemoteAccessSessions",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetRemoteAccessSessions sets the RemoteAccessSessions field's value. | [
"SetRemoteAccessSessions",
"sets",
"the",
"RemoteAccessSessions",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L11855-L11858 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetRuns | func (s *ListRunsOutput) SetRuns(v []*Run) *ListRunsOutput {
s.Runs = v
return s
} | go | func (s *ListRunsOutput) SetRuns(v []*Run) *ListRunsOutput {
s.Runs = v
return s
} | [
"func",
"(",
"s",
"*",
"ListRunsOutput",
")",
"SetRuns",
"(",
"v",
"[",
"]",
"*",
"Run",
")",
"*",
"ListRunsOutput",
"{",
"s",
".",
"Runs",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetRuns sets the Runs field's value. | [
"SetRuns",
"sets",
"the",
"Runs",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L11946-L11949 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetSamples | func (s *ListSamplesOutput) SetSamples(v []*Sample) *ListSamplesOutput {
s.Samples = v
return s
} | go | func (s *ListSamplesOutput) SetSamples(v []*Sample) *ListSamplesOutput {
s.Samples = v
return s
} | [
"func",
"(",
"s",
"*",
"ListSamplesOutput",
")",
"SetSamples",
"(",
"v",
"[",
"]",
"*",
"Sample",
")",
"*",
"ListSamplesOutput",
"{",
"s",
".",
"Samples",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetSamples sets the Samples field's value. | [
"SetSamples",
"sets",
"the",
"Samples",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L12036-L12039 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetSuites | func (s *ListSuitesOutput) SetSuites(v []*Suite) *ListSuitesOutput {
s.Suites = v
return s
} | go | func (s *ListSuitesOutput) SetSuites(v []*Suite) *ListSuitesOutput {
s.Suites = v
return s
} | [
"func",
"(",
"s",
"*",
"ListSuitesOutput",
")",
"SetSuites",
"(",
"v",
"[",
"]",
"*",
"Suite",
")",
"*",
"ListSuitesOutput",
"{",
"s",
".",
"Suites",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetSuites sets the Suites field's value. | [
"SetSuites",
"sets",
"the",
"Suites",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L12126-L12129 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetUniqueProblems | func (s *ListUniqueProblemsOutput) SetUniqueProblems(v map[string][]*UniqueProblem) *ListUniqueProblemsOutput {
s.UniqueProblems = v
return s
} | go | func (s *ListUniqueProblemsOutput) SetUniqueProblems(v map[string][]*UniqueProblem) *ListUniqueProblemsOutput {
s.UniqueProblems = v
return s
} | [
"func",
"(",
"s",
"*",
"ListUniqueProblemsOutput",
")",
"SetUniqueProblems",
"(",
"v",
"map",
"[",
"string",
"]",
"[",
"]",
"*",
"UniqueProblem",
")",
"*",
"ListUniqueProblemsOutput",
"{",
"s",
".",
"UniqueProblems",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetUniqueProblems sets the UniqueProblems field's value. | [
"SetUniqueProblems",
"sets",
"the",
"UniqueProblems",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L12322-L12325 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetVpceConfigurations | func (s *ListVPCEConfigurationsOutput) SetVpceConfigurations(v []*VPCEConfiguration) *ListVPCEConfigurationsOutput {
s.VpceConfigurations = v
return s
} | go | func (s *ListVPCEConfigurationsOutput) SetVpceConfigurations(v []*VPCEConfiguration) *ListVPCEConfigurationsOutput {
s.VpceConfigurations = v
return s
} | [
"func",
"(",
"s",
"*",
"ListVPCEConfigurationsOutput",
")",
"SetVpceConfigurations",
"(",
"v",
"[",
"]",
"*",
"VPCEConfiguration",
")",
"*",
"ListVPCEConfigurationsOutput",
"{",
"s",
".",
"VpceConfigurations",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetVpceConfigurations sets the VpceConfigurations field's value. | [
"SetVpceConfigurations",
"sets",
"the",
"VpceConfigurations",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L12580-L12583 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetEffectiveOn | func (s *OfferingStatus) SetEffectiveOn(v time.Time) *OfferingStatus {
s.EffectiveOn = &v
return s
} | go | func (s *OfferingStatus) SetEffectiveOn(v time.Time) *OfferingStatus {
s.EffectiveOn = &v
return s
} | [
"func",
"(",
"s",
"*",
"OfferingStatus",
")",
"SetEffectiveOn",
"(",
"v",
"time",
".",
"Time",
")",
"*",
"OfferingStatus",
"{",
"s",
".",
"EffectiveOn",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetEffectiveOn sets the EffectiveOn field's value. | [
"SetEffectiveOn",
"sets",
"the",
"EffectiveOn",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L12922-L12925 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetOffering | func (s *OfferingStatus) SetOffering(v *Offering) *OfferingStatus {
s.Offering = v
return s
} | go | func (s *OfferingStatus) SetOffering(v *Offering) *OfferingStatus {
s.Offering = v
return s
} | [
"func",
"(",
"s",
"*",
"OfferingStatus",
")",
"SetOffering",
"(",
"v",
"*",
"Offering",
")",
"*",
"OfferingStatus",
"{",
"s",
".",
"Offering",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetOffering sets the Offering field's value. | [
"SetOffering",
"sets",
"the",
"Offering",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L12928-L12931 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetOfferingStatus | func (s *OfferingTransaction) SetOfferingStatus(v *OfferingStatus) *OfferingTransaction {
s.OfferingStatus = v
return s
} | go | func (s *OfferingTransaction) SetOfferingStatus(v *OfferingStatus) *OfferingTransaction {
s.OfferingStatus = v
return s
} | [
"func",
"(",
"s",
"*",
"OfferingTransaction",
")",
"SetOfferingStatus",
"(",
"v",
"*",
"OfferingStatus",
")",
"*",
"OfferingTransaction",
"{",
"s",
".",
"OfferingStatus",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetOfferingStatus sets the OfferingStatus field's value. | [
"SetOfferingStatus",
"sets",
"the",
"OfferingStatus",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L12994-L12997 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetTransactionId | func (s *OfferingTransaction) SetTransactionId(v string) *OfferingTransaction {
s.TransactionId = &v
return s
} | go | func (s *OfferingTransaction) SetTransactionId(v string) *OfferingTransaction {
s.TransactionId = &v
return s
} | [
"func",
"(",
"s",
"*",
"OfferingTransaction",
")",
"SetTransactionId",
"(",
"v",
"string",
")",
"*",
"OfferingTransaction",
"{",
"s",
".",
"TransactionId",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetTransactionId sets the TransactionId field's value. | [
"SetTransactionId",
"sets",
"the",
"TransactionId",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L13000-L13003 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetBluetooth | func (s *Radios) SetBluetooth(v bool) *Radios {
s.Bluetooth = &v
return s
} | go | func (s *Radios) SetBluetooth(v bool) *Radios {
s.Bluetooth = &v
return s
} | [
"func",
"(",
"s",
"*",
"Radios",
")",
"SetBluetooth",
"(",
"v",
"bool",
")",
"*",
"Radios",
"{",
"s",
".",
"Bluetooth",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetBluetooth sets the Bluetooth field's value. | [
"SetBluetooth",
"sets",
"the",
"Bluetooth",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L13296-L13299 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetGps | func (s *Radios) SetGps(v bool) *Radios {
s.Gps = &v
return s
} | go | func (s *Radios) SetGps(v bool) *Radios {
s.Gps = &v
return s
} | [
"func",
"(",
"s",
"*",
"Radios",
")",
"SetGps",
"(",
"v",
"bool",
")",
"*",
"Radios",
"{",
"s",
".",
"Gps",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetGps sets the Gps field's value. | [
"SetGps",
"sets",
"the",
"Gps",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L13302-L13305 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetNfc | func (s *Radios) SetNfc(v bool) *Radios {
s.Nfc = &v
return s
} | go | func (s *Radios) SetNfc(v bool) *Radios {
s.Nfc = &v
return s
} | [
"func",
"(",
"s",
"*",
"Radios",
")",
"SetNfc",
"(",
"v",
"bool",
")",
"*",
"Radios",
"{",
"s",
".",
"Nfc",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetNfc sets the Nfc field's value. | [
"SetNfc",
"sets",
"the",
"Nfc",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L13308-L13311 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetWifi | func (s *Radios) SetWifi(v bool) *Radios {
s.Wifi = &v
return s
} | go | func (s *Radios) SetWifi(v bool) *Radios {
s.Wifi = &v
return s
} | [
"func",
"(",
"s",
"*",
"Radios",
")",
"SetWifi",
"(",
"v",
"bool",
")",
"*",
"Radios",
"{",
"s",
".",
"Wifi",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetWifi sets the Wifi field's value. | [
"SetWifi",
"sets",
"the",
"Wifi",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L13314-L13317 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetDeviceUdid | func (s *RemoteAccessSession) SetDeviceUdid(v string) *RemoteAccessSession {
s.DeviceUdid = &v
return s
} | go | func (s *RemoteAccessSession) SetDeviceUdid(v string) *RemoteAccessSession {
s.DeviceUdid = &v
return s
} | [
"func",
"(",
"s",
"*",
"RemoteAccessSession",
")",
"SetDeviceUdid",
"(",
"v",
"string",
")",
"*",
"RemoteAccessSession",
"{",
"s",
".",
"DeviceUdid",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDeviceUdid sets the DeviceUdid field's value. | [
"SetDeviceUdid",
"sets",
"the",
"DeviceUdid",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L13525-L13528 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetCompletedJobs | func (s *Run) SetCompletedJobs(v int64) *Run {
s.CompletedJobs = &v
return s
} | go | func (s *Run) SetCompletedJobs(v int64) *Run {
s.CompletedJobs = &v
return s
} | [
"func",
"(",
"s",
"*",
"Run",
")",
"SetCompletedJobs",
"(",
"v",
"int64",
")",
"*",
"Run",
"{",
"s",
".",
"CompletedJobs",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetCompletedJobs sets the CompletedJobs field's value. | [
"SetCompletedJobs",
"sets",
"the",
"CompletedJobs",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L14042-L14045 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetDeviceSelectionResult | func (s *Run) SetDeviceSelectionResult(v *DeviceSelectionResult) *Run {
s.DeviceSelectionResult = v
return s
} | go | func (s *Run) SetDeviceSelectionResult(v *DeviceSelectionResult) *Run {
s.DeviceSelectionResult = v
return s
} | [
"func",
"(",
"s",
"*",
"Run",
")",
"SetDeviceSelectionResult",
"(",
"v",
"*",
"DeviceSelectionResult",
")",
"*",
"Run",
"{",
"s",
".",
"DeviceSelectionResult",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDeviceSelectionResult sets the DeviceSelectionResult field's value. | [
"SetDeviceSelectionResult",
"sets",
"the",
"DeviceSelectionResult",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L14078-L14081 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetEventCount | func (s *Run) SetEventCount(v int64) *Run {
s.EventCount = &v
return s
} | go | func (s *Run) SetEventCount(v int64) *Run {
s.EventCount = &v
return s
} | [
"func",
"(",
"s",
"*",
"Run",
")",
"SetEventCount",
"(",
"v",
"int64",
")",
"*",
"Run",
"{",
"s",
".",
"EventCount",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetEventCount sets the EventCount field's value. | [
"SetEventCount",
"sets",
"the",
"EventCount",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L14084-L14087 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetParsingResultUrl | func (s *Run) SetParsingResultUrl(v string) *Run {
s.ParsingResultUrl = &v
return s
} | go | func (s *Run) SetParsingResultUrl(v string) *Run {
s.ParsingResultUrl = &v
return s
} | [
"func",
"(",
"s",
"*",
"Run",
")",
"SetParsingResultUrl",
"(",
"v",
"string",
")",
"*",
"Run",
"{",
"s",
".",
"ParsingResultUrl",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetParsingResultUrl sets the ParsingResultUrl field's value. | [
"SetParsingResultUrl",
"sets",
"the",
"ParsingResultUrl",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L14126-L14129 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetResultCode | func (s *Run) SetResultCode(v string) *Run {
s.ResultCode = &v
return s
} | go | func (s *Run) SetResultCode(v string) *Run {
s.ResultCode = &v
return s
} | [
"func",
"(",
"s",
"*",
"Run",
")",
"SetResultCode",
"(",
"v",
"string",
")",
"*",
"Run",
"{",
"s",
".",
"ResultCode",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetResultCode sets the ResultCode field's value. | [
"SetResultCode",
"sets",
"the",
"ResultCode",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L14150-L14153 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetTotalJobs | func (s *Run) SetTotalJobs(v int64) *Run {
s.TotalJobs = &v
return s
} | go | func (s *Run) SetTotalJobs(v int64) *Run {
s.TotalJobs = &v
return s
} | [
"func",
"(",
"s",
"*",
"Run",
")",
"SetTotalJobs",
"(",
"v",
"int64",
")",
"*",
"Run",
"{",
"s",
".",
"TotalJobs",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetTotalJobs sets the TotalJobs field's value. | [
"SetTotalJobs",
"sets",
"the",
"TotalJobs",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L14192-L14195 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetAuxiliaryApps | func (s *ScheduleRunConfiguration) SetAuxiliaryApps(v []*string) *ScheduleRunConfiguration {
s.AuxiliaryApps = v
return s
} | go | func (s *ScheduleRunConfiguration) SetAuxiliaryApps(v []*string) *ScheduleRunConfiguration {
s.AuxiliaryApps = v
return s
} | [
"func",
"(",
"s",
"*",
"ScheduleRunConfiguration",
")",
"SetAuxiliaryApps",
"(",
"v",
"[",
"]",
"*",
"string",
")",
"*",
"ScheduleRunConfiguration",
"{",
"s",
".",
"AuxiliaryApps",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetAuxiliaryApps sets the AuxiliaryApps field's value. | [
"SetAuxiliaryApps",
"sets",
"the",
"AuxiliaryApps",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L14361-L14364 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetExtraDataPackageArn | func (s *ScheduleRunConfiguration) SetExtraDataPackageArn(v string) *ScheduleRunConfiguration {
s.ExtraDataPackageArn = &v
return s
} | go | func (s *ScheduleRunConfiguration) SetExtraDataPackageArn(v string) *ScheduleRunConfiguration {
s.ExtraDataPackageArn = &v
return s
} | [
"func",
"(",
"s",
"*",
"ScheduleRunConfiguration",
")",
"SetExtraDataPackageArn",
"(",
"v",
"string",
")",
"*",
"ScheduleRunConfiguration",
"{",
"s",
".",
"ExtraDataPackageArn",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetExtraDataPackageArn sets the ExtraDataPackageArn field's value. | [
"SetExtraDataPackageArn",
"sets",
"the",
"ExtraDataPackageArn",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L14379-L14382 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetNetworkProfileArn | func (s *ScheduleRunConfiguration) SetNetworkProfileArn(v string) *ScheduleRunConfiguration {
s.NetworkProfileArn = &v
return s
} | go | func (s *ScheduleRunConfiguration) SetNetworkProfileArn(v string) *ScheduleRunConfiguration {
s.NetworkProfileArn = &v
return s
} | [
"func",
"(",
"s",
"*",
"ScheduleRunConfiguration",
")",
"SetNetworkProfileArn",
"(",
"v",
"string",
")",
"*",
"ScheduleRunConfiguration",
"{",
"s",
".",
"NetworkProfileArn",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetNetworkProfileArn sets the NetworkProfileArn field's value. | [
"SetNetworkProfileArn",
"sets",
"the",
"NetworkProfileArn",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L14397-L14400 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetDeviceSelectionConfiguration | func (s *ScheduleRunInput) SetDeviceSelectionConfiguration(v *DeviceSelectionConfiguration) *ScheduleRunInput {
s.DeviceSelectionConfiguration = v
return s
} | go | func (s *ScheduleRunInput) SetDeviceSelectionConfiguration(v *DeviceSelectionConfiguration) *ScheduleRunInput {
s.DeviceSelectionConfiguration = v
return s
} | [
"func",
"(",
"s",
"*",
"ScheduleRunInput",
")",
"SetDeviceSelectionConfiguration",
"(",
"v",
"*",
"DeviceSelectionConfiguration",
")",
"*",
"ScheduleRunInput",
"{",
"s",
".",
"DeviceSelectionConfiguration",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetDeviceSelectionConfiguration sets the DeviceSelectionConfiguration field's value. | [
"SetDeviceSelectionConfiguration",
"sets",
"the",
"DeviceSelectionConfiguration",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L14520-L14523 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetRemaining | func (s *TrialMinutes) SetRemaining(v float64) *TrialMinutes {
s.Remaining = &v
return s
} | go | func (s *TrialMinutes) SetRemaining(v float64) *TrialMinutes {
s.Remaining = &v
return s
} | [
"func",
"(",
"s",
"*",
"TrialMinutes",
")",
"SetRemaining",
"(",
"v",
"float64",
")",
"*",
"TrialMinutes",
"{",
"s",
".",
"Remaining",
"=",
"&",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetRemaining sets the Remaining field's value. | [
"SetRemaining",
"sets",
"the",
"Remaining",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L15375-L15378 | train |
aws/aws-sdk-go | service/devicefarm/api.go | SetProblems | func (s *UniqueProblem) SetProblems(v []*Problem) *UniqueProblem {
s.Problems = v
return s
} | go | func (s *UniqueProblem) SetProblems(v []*Problem) *UniqueProblem {
s.Problems = v
return s
} | [
"func",
"(",
"s",
"*",
"UniqueProblem",
")",
"SetProblems",
"(",
"v",
"[",
"]",
"*",
"Problem",
")",
"*",
"UniqueProblem",
"{",
"s",
".",
"Problems",
"=",
"v",
"\n",
"return",
"s",
"\n",
"}"
] | // SetProblems sets the Problems field's value. | [
"SetProblems",
"sets",
"the",
"Problems",
"field",
"s",
"value",
"."
] | 6c4060605190fc6f00d63cd4e5572faa9f07345d | https://github.com/aws/aws-sdk-go/blob/6c4060605190fc6f00d63cd4e5572faa9f07345d/service/devicefarm/api.go#L15414-L15417 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.