_id stringlengths 2 7 | title stringlengths 1 118 | partition stringclasses 3
values | text stringlengths 52 85.5k | language stringclasses 1
value | meta_information dict |
|---|---|---|---|---|---|
q2700 | SetEnableIntegration | train | func (s *OrganizationConfiguration) SetEnableIntegration(v bool) *OrganizationConfiguration {
s.EnableIntegration = &v
return s
} | go | {
"resource": ""
} |
q2701 | SetResourceOwningAccountId | train | func (s *ResourceInventory) SetResourceOwningAccountId(v string) *ResourceInventory {
s.ResourceOwningAccountId = &v
return s
} | go | {
"resource": ""
} |
q2702 | SetLicenseConfigurationStatus | train | func (s *UpdateLicenseConfigurationInput) SetLicenseConfigurationStatus(v string) *UpdateLicenseConfigurationInput {
s.LicenseConfigurationStatus = &v
return s
} | go | {
"resource": ""
} |
q2703 | SetAddLicenseSpecifications | train | func (s *UpdateLicenseSpecificationsForResourceInput) SetAddLicenseSpecifications(v []*LicenseSpecification) *UpdateLicenseSpecificationsForResourceInput {
s.AddLicenseSpecifications = v
return s
} | go | {
"resource": ""
} |
q2704 | SetRemoveLicenseSpecifications | train | func (s *UpdateLicenseSpecificationsForResourceInput) SetRemoveLicenseSpecifications(v []*LicenseSpecification) *UpdateLicenseSpecificationsForResourceInput {
s.RemoveLicenseSpecifications = v
return s
} | go | {
"resource": ""
} |
q2705 | SetLogGroupArn | train | func (s *CloudWatchLogsDestination) SetLogGroupArn(v string) *CloudWatchLogsDestination {
s.LogGroupArn = &v
return s
} | go | {
"resource": ""
} |
q2706 | SetDeliveryStreamArn | train | func (s *KinesisFirehoseDestination) SetDeliveryStreamArn(v string) *KinesisFirehoseDestination {
s.DeliveryStreamArn = &v
return s
} | go | {
"resource": ""
} |
q2707 | SetCallerId | train | func (s *SendVoiceMessageInput) SetCallerId(v string) *SendVoiceMessageInput {
s.CallerId = &v
return s
} | go | {
"resource": ""
} |
q2708 | SetOriginationPhoneNumber | train | func (s *SendVoiceMessageInput) SetOriginationPhoneNumber(v string) *SendVoiceMessageInput {
s.OriginationPhoneNumber = &v
return s
} | go | {
"resource": ""
} |
q2709 | SetCallInstructionsMessage | train | func (s *VoiceMessageContent) SetCallInstructionsMessage(v *CallInstructionsMessageType) *VoiceMessageContent {
s.CallInstructionsMessage = v
return s
} | go | {
"resource": ""
} |
q2710 | SetPlainTextMessage | train | func (s *VoiceMessageContent) SetPlainTextMessage(v *PlainTextMessageType) *VoiceMessageContent {
s.PlainTextMessage = v
return s
} | go | {
"resource": ""
} |
q2711 | SetSSMLMessage | train | func (s *VoiceMessageContent) SetSSMLMessage(v *SSMLMessageType) *VoiceMessageContent {
s.SSMLMessage = v
return s
} | go | {
"resource": ""
} |
q2712 | Get | train | func Get() Defaults {
cfg := Config()
handlers := Handlers()
cfg.Credentials = CredChain(cfg, handlers)
return Defaults{
Config: cfg,
Handlers: handlers,
}
} | go | {
"resource": ""
} |
q2713 | Handlers | train | func Handlers() request.Handlers {
var handlers request.Handlers
handlers.Validate.PushBackNamed(corehandlers.ValidateEndpointHandler)
handlers.Validate.AfterEachFn = request.HandlerListStopOnError
handlers.Build.PushBackNamed(corehandlers.SDKVersionUserAgentHandler)
handlers.Build.PushBackNamed(corehandlers.AddH... | go | {
"resource": ""
} |
q2714 | CredChain | train | func CredChain(cfg *aws.Config, handlers request.Handlers) *credentials.Credentials {
return credentials.NewCredentials(&credentials.ChainProvider{
VerboseErrors: aws.BoolValue(cfg.CredentialsChainVerboseErrors),
Providers: CredProviders(cfg, handlers),
})
} | go | {
"resource": ""
} |
q2715 | RemoteCredProvider | train | func RemoteCredProvider(cfg aws.Config, handlers request.Handlers) credentials.Provider {
if u := os.Getenv(httpProviderEnvVar); len(u) > 0 {
return localHTTPCredProvider(cfg, handlers, u)
}
if uri := os.Getenv(shareddefaults.ECSCredsProviderEnvVar); len(uri) > 0 {
u := fmt.Sprintf("%s%s", shareddefaults.ECSCon... | go | {
"resource": ""
} |
q2716 | GetObject | train | func (c *DecryptionClient) GetObject(input *s3.GetObjectInput) (*s3.GetObjectOutput, error) {
req, out := c.GetObjectRequest(input)
return out, req.Send()
} | go | {
"resource": ""
} |
q2717 | BuildJSON | train | func BuildJSON(v interface{}) ([]byte, error) {
var buf bytes.Buffer
err := buildAny(reflect.ValueOf(v), &buf, "")
return buf.Bytes(), err
} | go | {
"resource": ""
} |
q2718 | ImportPath | train | func (a *API) ImportPath() string {
return path.Join(a.BaseImportPath, a.PackageName())
} | go | {
"resource": ""
} |
q2719 | StructName | train | func (a *API) StructName() string {
if len(a.name) != 0 {
return a.name
}
name := a.Metadata.ServiceAbbreviation
if len(name) == 0 {
name = a.Metadata.ServiceFullName
}
name = strings.TrimSpace(name)
// Strip out prefix names not reflected in service client symbol names.
for _, prefix := range stripServi... | go | {
"resource": ""
} |
q2720 | NiceName | train | func (a *API) NiceName() string {
if a.Metadata.ServiceAbbreviation != "" {
return a.Metadata.ServiceAbbreviation
}
return a.Metadata.ServiceFullName
} | go | {
"resource": ""
} |
q2721 | ProtocolPackage | train | func (a *API) ProtocolPackage() string {
switch a.Metadata.Protocol {
case "json":
return "jsonrpc"
case "ec2":
return "ec2query"
default:
return strings.Replace(a.Metadata.Protocol, "-", "", -1)
}
} | go | {
"resource": ""
} |
q2722 | OperationNames | train | func (a *API) OperationNames() []string {
i, names := 0, make([]string, len(a.Operations))
for n := range a.Operations {
names[i] = n
i++
}
sort.Strings(names)
return names
} | go | {
"resource": ""
} |
q2723 | OperationList | train | func (a *API) OperationList() []*Operation {
list := make([]*Operation, len(a.Operations))
for i, n := range a.OperationNames() {
list[i] = a.Operations[n]
}
return list
} | go | {
"resource": ""
} |
q2724 | OperationHasOutputPlaceholder | train | func (a *API) OperationHasOutputPlaceholder() bool {
for _, op := range a.Operations {
if op.OutputRef.Shape.Placeholder {
return true
}
}
return false
} | go | {
"resource": ""
} |
q2725 | ShapeNames | train | func (a *API) ShapeNames() []string {
i, names := 0, make([]string, len(a.Shapes))
for n := range a.Shapes {
names[i] = n
i++
}
sort.Strings(names)
return names
} | go | {
"resource": ""
} |
q2726 | ShapeList | train | func (a *API) ShapeList() []*Shape {
list := make([]*Shape, 0, len(a.Shapes))
for _, n := range a.ShapeNames() {
// Ignore non-eventstream exception shapes in list.
if s := a.Shapes[n]; !(s.Exception && len(s.EventFor) == 0) {
list = append(list, s)
}
}
return list
} | go | {
"resource": ""
} |
q2727 | ShapeListErrors | train | func (a *API) ShapeListErrors() []*Shape {
list := []*Shape{}
for _, n := range a.ShapeNames() {
// Ignore error shapes in list
if s := a.Shapes[n]; s.Exception {
list = append(list, s)
}
}
return list
} | go | {
"resource": ""
} |
q2728 | importsGoCode | train | func (a *API) importsGoCode() string {
if len(a.imports) == 0 {
return ""
}
corePkgs, extPkgs := []string{}, []string{}
for i := range a.imports {
if strings.Contains(i, ".") {
extPkgs = append(extPkgs, i)
} else {
corePkgs = append(corePkgs, i)
}
}
sort.Strings(corePkgs)
sort.Strings(extPkgs)
c... | go | {
"resource": ""
} |
q2729 | AddImport | train | func (a *API) AddImport(v string) error {
a.imports[v] = true
return nil
} | go | {
"resource": ""
} |
q2730 | AddSDKImport | train | func (a *API) AddSDKImport(v ...string) error {
e := make([]string, 0, 5)
e = append(e, SDKImportRoot)
e = append(e, v...)
a.imports[path.Join(e...)] = true
return nil
} | go | {
"resource": ""
} |
q2731 | APIGoCode | train | func (a *API) APIGoCode() string {
a.resetImports()
a.AddSDKImport("aws")
a.AddSDKImport("aws/awsutil")
a.AddSDKImport("aws/request")
var buf bytes.Buffer
err := tplAPI.Execute(&buf, a)
if err != nil {
panic(err)
}
code := a.importsGoCode() + strings.TrimSpace(buf.String())
return code
} | go | {
"resource": ""
} |
q2732 | GetCrosslinkURL | train | func GetCrosslinkURL(baseURL, uid string, params ...string) string {
if uid == "" || baseURL == "" {
return ""
}
if !HasCrosslinks(strings.ToLower(ServiceIDFromUID(uid))) {
return ""
}
return strings.Join(append([]string{baseURL, "goto", "WebAPI", uid}, params...), "/")
} | go | {
"resource": ""
} |
q2733 | ServiceIDFromUID | train | func ServiceIDFromUID(uid string) string {
found := 0
i := len(uid) - 1
for ; i >= 0; i-- {
if uid[i] == '-' {
found++
}
// Terminate after the date component is found, e.g. es-2017-11-11
if found == 3 {
break
}
}
return uid[0:i]
} | go | {
"resource": ""
} |
q2734 | ServiceID | train | func ServiceID(a *API) string {
if len(a.Metadata.ServiceID) > 0 {
return a.Metadata.ServiceID
}
name := a.Metadata.ServiceAbbreviation
if len(name) == 0 {
name = a.Metadata.ServiceFullName
}
name = strings.Replace(name, "Amazon", "", -1)
name = strings.Replace(name, "AWS", "", -1)
name = serviceIDRegex.R... | go | {
"resource": ""
} |
q2735 | ServicePackageDoc | train | func (a *API) ServicePackageDoc() string {
a.imports = map[string]bool{}
var buf bytes.Buffer
if err := tplServiceDoc.Execute(&buf, a); err != nil {
panic(err)
}
return buf.String()
} | go | {
"resource": ""
} |
q2736 | ServiceGoCode | train | func (a *API) ServiceGoCode() string {
a.resetImports()
a.AddSDKImport("aws")
a.AddSDKImport("aws/client")
a.AddSDKImport("aws/client/metadata")
a.AddSDKImport("aws/request")
if a.Metadata.SignatureVersion == "v2" {
a.AddSDKImport("private/signer/v2")
a.AddSDKImport("aws/corehandlers")
} else {
a.AddSDKImp... | go | {
"resource": ""
} |
q2737 | ExampleGoCode | train | func (a *API) ExampleGoCode() string {
exs := []string{}
imports := map[string]bool{}
for _, o := range a.OperationList() {
o.imports = map[string]bool{}
exs = append(exs, o.Example())
for k, v := range o.imports {
imports[k] = v
}
}
code := fmt.Sprintf("import (\n%q\n%q\n%q\n\n%q\n%q\n%q\n",
"bytes"... | go | {
"resource": ""
} |
q2738 | NewAPIGoCodeWithPkgName | train | func (a *API) NewAPIGoCodeWithPkgName(cfg string) string {
return fmt.Sprintf("%s.New(%s)", a.PackageName(), cfg)
} | go | {
"resource": ""
} |
q2739 | addShapeValidations | train | func (a *API) addShapeValidations() {
for _, o := range a.Operations {
resolveShapeValidations(o.InputRef.Shape)
}
} | go | {
"resource": ""
} |
q2740 | resolveShapeValidations | train | func resolveShapeValidations(s *Shape, ancestry ...*Shape) {
for _, a := range ancestry {
if a == s {
return
}
}
children := []string{}
for _, name := range s.MemberNames() {
ref := s.MemberRefs[name]
if s.IsRequired(name) && !s.Validations.Has(ref, ShapeValidationRequired) {
s.Validations = append(s... | go | {
"resource": ""
} |
q2741 | removeShape | train | func (a *API) removeShape(s *Shape) {
debugLogger.Logln("removing shape,", s.ShapeName)
delete(a.Shapes, s.ShapeName)
for name, ref := range s.MemberRefs {
a.removeShapeRef(ref)
delete(s.MemberRefs, name)
}
for _, ref := range []*ShapeRef{&s.MemberRef, &s.KeyRef, &s.ValueRef} {
if ref.Shape == nil {
co... | go | {
"resource": ""
} |
q2742 | removeShapeRef | train | func (a *API) removeShapeRef(ref *ShapeRef) {
if ref.Shape == nil {
return
}
ref.Shape.removeRef(ref)
if len(ref.Shape.refs) == 0 {
a.removeShape(ref.Shape)
}
} | go | {
"resource": ""
} |
q2743 | SetDownloadUri | train | func (s *GetVocabularyOutput) SetDownloadUri(v string) *GetVocabularyOutput {
s.DownloadUri = &v
return s
} | go | {
"resource": ""
} |
q2744 | SetJobNameContains | train | func (s *ListTranscriptionJobsInput) SetJobNameContains(v string) *ListTranscriptionJobsInput {
s.JobNameContains = &v
return s
} | go | {
"resource": ""
} |
q2745 | SetTranscriptionJobSummaries | train | func (s *ListTranscriptionJobsOutput) SetTranscriptionJobSummaries(v []*TranscriptionJobSummary) *ListTranscriptionJobsOutput {
s.TranscriptionJobSummaries = v
return s
} | go | {
"resource": ""
} |
q2746 | SetStateEquals | train | func (s *ListVocabulariesInput) SetStateEquals(v string) *ListVocabulariesInput {
s.StateEquals = &v
return s
} | go | {
"resource": ""
} |
q2747 | SetVocabularies | train | func (s *ListVocabulariesOutput) SetVocabularies(v []*VocabularyInfo) *ListVocabulariesOutput {
s.Vocabularies = v
return s
} | go | {
"resource": ""
} |
q2748 | SetMediaFileUri | train | func (s *Media) SetMediaFileUri(v string) *Media {
s.MediaFileUri = &v
return s
} | go | {
"resource": ""
} |
q2749 | SetChannelIdentification | train | func (s *Settings) SetChannelIdentification(v bool) *Settings {
s.ChannelIdentification = &v
return s
} | go | {
"resource": ""
} |
q2750 | SetMaxSpeakerLabels | train | func (s *Settings) SetMaxSpeakerLabels(v int64) *Settings {
s.MaxSpeakerLabels = &v
return s
} | go | {
"resource": ""
} |
q2751 | SetShowSpeakerLabels | train | func (s *Settings) SetShowSpeakerLabels(v bool) *Settings {
s.ShowSpeakerLabels = &v
return s
} | go | {
"resource": ""
} |
q2752 | SetOutputBucketName | train | func (s *StartTranscriptionJobInput) SetOutputBucketName(v string) *StartTranscriptionJobInput {
s.OutputBucketName = &v
return s
} | go | {
"resource": ""
} |
q2753 | SetTranscriptFileUri | train | func (s *Transcript) SetTranscriptFileUri(v string) *Transcript {
s.TranscriptFileUri = &v
return s
} | go | {
"resource": ""
} |
q2754 | SetTranscript | train | func (s *TranscriptionJob) SetTranscript(v *Transcript) *TranscriptionJob {
s.Transcript = v
return s
} | go | {
"resource": ""
} |
q2755 | SetOutputLocationType | train | func (s *TranscriptionJobSummary) SetOutputLocationType(v string) *TranscriptionJobSummary {
s.OutputLocationType = &v
return s
} | go | {
"resource": ""
} |
q2756 | WithRetryer | train | func WithRetryer(cfg *aws.Config, retryer Retryer) *aws.Config {
cfg.Retryer = retryer
return cfg
} | go | {
"resource": ""
} |
q2757 | IsErrorRetryable | train | func IsErrorRetryable(err error) bool {
if err != nil {
if aerr, ok := err.(awserr.Error); ok {
return isCodeRetryable(aerr.Code()) || isNestedErrorRetryable(aerr)
}
}
return false
} | go | {
"resource": ""
} |
q2758 | IsErrorThrottle | train | func IsErrorThrottle(err error) bool {
if err != nil {
if aerr, ok := err.(awserr.Error); ok {
return isCodeThrottle(aerr.Code())
}
}
return false
} | go | {
"resource": ""
} |
q2759 | IsErrorExpiredCreds | train | func IsErrorExpiredCreds(err error) bool {
if err != nil {
if aerr, ok := err.(awserr.Error); ok {
return isCodeExpiredCreds(aerr.Code())
}
}
return false
} | go | {
"resource": ""
} |
q2760 | NewCredentials | train | func NewCredentials(c client.ConfigProvider, options ...func(*EC2RoleProvider)) *credentials.Credentials {
p := &EC2RoleProvider{
Client: ec2metadata.New(c),
}
for _, option := range options {
option(p)
}
return credentials.NewCredentials(p)
} | go | {
"resource": ""
} |
q2761 | NewCredentialsWithClient | train | func NewCredentialsWithClient(client *ec2metadata.EC2Metadata, options ...func(*EC2RoleProvider)) *credentials.Credentials {
p := &EC2RoleProvider{
Client: client,
}
for _, option := range options {
option(p)
}
return credentials.NewCredentials(p)
} | go | {
"resource": ""
} |
q2762 | Retrieve | train | func (m *EC2RoleProvider) Retrieve() (credentials.Value, error) {
credsList, err := requestCredList(m.Client)
if err != nil {
return credentials.Value{ProviderName: ProviderName}, err
}
if len(credsList) == 0 {
return credentials.Value{ProviderName: ProviderName}, awserr.New("EmptyEC2RoleList", "empty EC2 Role... | go | {
"resource": ""
} |
q2763 | requestCredList | train | func requestCredList(client *ec2metadata.EC2Metadata) ([]string, error) {
resp, err := client.GetMetadata(iamSecurityCredsPath)
if err != nil {
return nil, awserr.New("EC2RoleRequestError", "no EC2 instance role found", err)
}
credsList := []string{}
s := bufio.NewScanner(strings.NewReader(resp))
for s.Scan() ... | go | {
"resource": ""
} |
q2764 | requestCred | train | func requestCred(client *ec2metadata.EC2Metadata, credsName string) (ec2RoleCredRespBody, error) {
resp, err := client.GetMetadata(sdkuri.PathJoin(iamSecurityCredsPath, credsName))
if err != nil {
return ec2RoleCredRespBody{},
awserr.New("EC2RoleRequestError",
fmt.Sprintf("failed to get %s EC2 instance role ... | go | {
"resource": ""
} |
q2765 | WaitUntilDeploymentSuccessful | train | func (c *CodeDeploy) WaitUntilDeploymentSuccessful(input *GetDeploymentInput) error {
return c.WaitUntilDeploymentSuccessfulWithContext(aws.BackgroundContext(), input)
} | go | {
"resource": ""
} |
q2766 | SetPriceList | train | func (s *GetProductsOutput) SetPriceList(v []aws.JSONValue) *GetProductsOutput {
s.PriceList = v
return s
} | go | {
"resource": ""
} |
q2767 | CreateRegexMatchSet | train | func (c *WAFRegional) CreateRegexMatchSet(input *waf.CreateRegexMatchSetInput) (*waf.CreateRegexMatchSetOutput, error) {
req, out := c.CreateRegexMatchSetRequest(input)
return out, req.Send()
} | go | {
"resource": ""
} |
q2768 | SetWebACLSummary | train | func (s *GetWebACLForResourceOutput) SetWebACLSummary(v *waf.WebACLSummary) *GetWebACLForResourceOutput {
s.WebACLSummary = v
return s
} | go | {
"resource": ""
} |
q2769 | WaitUntilGroupExists | train | func (c *AutoScaling) WaitUntilGroupExists(input *DescribeAutoScalingGroupsInput) error {
return c.WaitUntilGroupExistsWithContext(aws.BackgroundContext(), input)
} | go | {
"resource": ""
} |
q2770 | WaitUntilGroupInService | train | func (c *AutoScaling) WaitUntilGroupInService(input *DescribeAutoScalingGroupsInput) error {
return c.WaitUntilGroupInServiceWithContext(aws.BackgroundContext(), input)
} | go | {
"resource": ""
} |
q2771 | WaitUntilGroupNotExists | train | func (c *AutoScaling) WaitUntilGroupNotExists(input *DescribeAutoScalingGroupsInput) error {
return c.WaitUntilGroupNotExistsWithContext(aws.BackgroundContext(), input)
} | go | {
"resource": ""
} |
q2772 | SetBatchPutMessageErrorEntries | train | func (s *BatchPutMessageOutput) SetBatchPutMessageErrorEntries(v []*BatchPutMessageErrorEntry) *BatchPutMessageOutput {
s.BatchPutMessageErrorEntries = v
return s
} | go | {
"resource": ""
} |
q2773 | SetResourceConfiguration | train | func (s *ContainerDatasetAction) SetResourceConfiguration(v *ResourceConfiguration) *ContainerDatasetAction {
s.ResourceConfiguration = v
return s
} | go | {
"resource": ""
} |
q2774 | SetDatasetArn | train | func (s *CreateDatasetOutput) SetDatasetArn(v string) *CreateDatasetOutput {
s.DatasetArn = &v
return s
} | go | {
"resource": ""
} |
q2775 | SetDatastoreArn | train | func (s *CreateDatastoreOutput) SetDatastoreArn(v string) *CreateDatastoreOutput {
s.DatastoreArn = &v
return s
} | go | {
"resource": ""
} |
q2776 | SetContainerAction | train | func (s *DatasetAction) SetContainerAction(v *ContainerDatasetAction) *DatasetAction {
s.ContainerAction = v
return s
} | go | {
"resource": ""
} |
q2777 | SetQueryAction | train | func (s *DatasetAction) SetQueryAction(v *SqlQueryDatasetAction) *DatasetAction {
s.QueryAction = v
return s
} | go | {
"resource": ""
} |
q2778 | SetIotEventsDestinationConfiguration | train | func (s *DatasetContentDeliveryDestination) SetIotEventsDestinationConfiguration(v *IotEventsDestinationConfiguration) *DatasetContentDeliveryDestination {
s.IotEventsDestinationConfiguration = v
return s
} | go | {
"resource": ""
} |
q2779 | SetScheduleTime | train | func (s *DatasetContentSummary) SetScheduleTime(v time.Time) *DatasetContentSummary {
s.ScheduleTime = &v
return s
} | go | {
"resource": ""
} |
q2780 | SetDataURI | train | func (s *DatasetEntry) SetDataURI(v string) *DatasetEntry {
s.DataURI = &v
return s
} | go | {
"resource": ""
} |
q2781 | SetOffsetSeconds | train | func (s *DeltaTime) SetOffsetSeconds(v int64) *DeltaTime {
s.OffsetSeconds = &v
return s
} | go | {
"resource": ""
} |
q2782 | SetTimeExpression | train | func (s *DeltaTime) SetTimeExpression(v string) *DeltaTime {
s.TimeExpression = &v
return s
} | go | {
"resource": ""
} |
q2783 | SetEstimatedOn | train | func (s *EstimatedResourceSize) SetEstimatedOn(v time.Time) *EstimatedResourceSize {
s.EstimatedOn = &v
return s
} | go | {
"resource": ""
} |
q2784 | SetEstimatedSizeInBytes | train | func (s *EstimatedResourceSize) SetEstimatedSizeInBytes(v float64) *EstimatedResourceSize {
s.EstimatedSizeInBytes = &v
return s
} | go | {
"resource": ""
} |
q2785 | SetLambdaName | train | func (s *LambdaActivity) SetLambdaName(v string) *LambdaActivity {
s.LambdaName = &v
return s
} | go | {
"resource": ""
} |
q2786 | SetChannelSummaries | train | func (s *ListChannelsOutput) SetChannelSummaries(v []*ChannelSummary) *ListChannelsOutput {
s.ChannelSummaries = v
return s
} | go | {
"resource": ""
} |
q2787 | SetScheduledBefore | train | func (s *ListDatasetContentsInput) SetScheduledBefore(v time.Time) *ListDatasetContentsInput {
s.ScheduledBefore = &v
return s
} | go | {
"resource": ""
} |
q2788 | SetScheduledOnOrAfter | train | func (s *ListDatasetContentsInput) SetScheduledOnOrAfter(v time.Time) *ListDatasetContentsInput {
s.ScheduledOnOrAfter = &v
return s
} | go | {
"resource": ""
} |
q2789 | SetDatasetContentSummaries | train | func (s *ListDatasetContentsOutput) SetDatasetContentSummaries(v []*DatasetContentSummary) *ListDatasetContentsOutput {
s.DatasetContentSummaries = v
return s
} | go | {
"resource": ""
} |
q2790 | SetDatasetSummaries | train | func (s *ListDatasetsOutput) SetDatasetSummaries(v []*DatasetSummary) *ListDatasetsOutput {
s.DatasetSummaries = v
return s
} | go | {
"resource": ""
} |
q2791 | SetDatastoreSummaries | train | func (s *ListDatastoresOutput) SetDatastoreSummaries(v []*DatastoreSummary) *ListDatastoresOutput {
s.DatastoreSummaries = v
return s
} | go | {
"resource": ""
} |
q2792 | SetPipelineSummaries | train | func (s *ListPipelinesOutput) SetPipelineSummaries(v []*PipelineSummary) *ListPipelinesOutput {
s.PipelineSummaries = v
return s
} | go | {
"resource": ""
} |
q2793 | SetAddAttributes | train | func (s *PipelineActivity) SetAddAttributes(v *AddAttributesActivity) *PipelineActivity {
s.AddAttributes = v
return s
} | go | {
"resource": ""
} |
q2794 | SetDeviceRegistryEnrich | train | func (s *PipelineActivity) SetDeviceRegistryEnrich(v *DeviceRegistryEnrichActivity) *PipelineActivity {
s.DeviceRegistryEnrich = v
return s
} | go | {
"resource": ""
} |
q2795 | SetDeviceShadowEnrich | train | func (s *PipelineActivity) SetDeviceShadowEnrich(v *DeviceShadowEnrichActivity) *PipelineActivity {
s.DeviceShadowEnrich = v
return s
} | go | {
"resource": ""
} |
q2796 | SetRemoveAttributes | train | func (s *PipelineActivity) SetRemoveAttributes(v *RemoveAttributesActivity) *PipelineActivity {
s.RemoveAttributes = v
return s
} | go | {
"resource": ""
} |
q2797 | SetSelectAttributes | train | func (s *PipelineActivity) SetSelectAttributes(v *SelectAttributesActivity) *PipelineActivity {
s.SelectAttributes = v
return s
} | go | {
"resource": ""
} |
q2798 | SetDeltaTime | train | func (s *QueryFilter) SetDeltaTime(v *DeltaTime) *QueryFilter {
s.DeltaTime = v
return s
} | go | {
"resource": ""
} |
q2799 | SetNumberOfDays | train | func (s *RetentionPeriod) SetNumberOfDays(v int64) *RetentionPeriod {
s.NumberOfDays = &v
return s
} | go | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.