_id
stringlengths
2
7
title
stringlengths
1
118
partition
stringclasses
3 values
text
stringlengths
52
85.5k
language
stringclasses
1 value
meta_information
dict
q1100
SetNegated
train
func (s *Predicate) SetNegated(v bool) *Predicate { s.Negated = &v return s }
go
{ "resource": "" }
q1101
SetMatchPredicates
train
func (s *RateBasedRule) SetMatchPredicates(v []*Predicate) *RateBasedRule { s.MatchPredicates = v return s }
go
{ "resource": "" }
q1102
SetRegexMatchTuples
train
func (s *RegexMatchSet) SetRegexMatchTuples(v []*RegexMatchTuple) *RegexMatchSet { s.RegexMatchTuples = v return s }
go
{ "resource": "" }
q1103
SetRegexMatchTuple
train
func (s *RegexMatchSetUpdate) SetRegexMatchTuple(v *RegexMatchTuple) *RegexMatchSetUpdate { s.RegexMatchTuple = v return s }
go
{ "resource": "" }
q1104
SetRegexPatternStrings
train
func (s *RegexPatternSet) SetRegexPatternStrings(v []*string) *RegexPatternSet { s.RegexPatternStrings = v return s }
go
{ "resource": "" }
q1105
SetRegexPatternString
train
func (s *RegexPatternSetUpdate) SetRegexPatternString(v string) *RegexPatternSetUpdate { s.RegexPatternString = &v return s }
go
{ "resource": "" }
q1106
SetPredicates
train
func (s *Rule) SetPredicates(v []*Predicate) *Rule { s.Predicates = v return s }
go
{ "resource": "" }
q1107
SetRequest
train
func (s *SampledHTTPRequest) SetRequest(v *HTTPRequest) *SampledHTTPRequest { s.Request = v return s }
go
{ "resource": "" }
q1108
SetRuleWithinRuleGroup
train
func (s *SampledHTTPRequest) SetRuleWithinRuleGroup(v string) *SampledHTTPRequest { s.RuleWithinRuleGroup = &v return s }
go
{ "resource": "" }
q1109
SetSizeConstraints
train
func (s *SizeConstraintSet) SetSizeConstraints(v []*SizeConstraint) *SizeConstraintSet { s.SizeConstraints = v return s }
go
{ "resource": "" }
q1110
SetSizeConstraint
train
func (s *SizeConstraintSetUpdate) SetSizeConstraint(v *SizeConstraint) *SizeConstraintSetUpdate { s.SizeConstraint = v return s }
go
{ "resource": "" }
q1111
SetSqlInjectionMatchTuples
train
func (s *SqlInjectionMatchSet) SetSqlInjectionMatchTuples(v []*SqlInjectionMatchTuple) *SqlInjectionMatchSet { s.SqlInjectionMatchTuples = v return s }
go
{ "resource": "" }
q1112
SetSqlInjectionMatchTuple
train
func (s *SqlInjectionMatchSetUpdate) SetSqlInjectionMatchTuple(v *SqlInjectionMatchTuple) *SqlInjectionMatchSetUpdate { s.SqlInjectionMatchTuple = v return s }
go
{ "resource": "" }
q1113
SetWebACLArn
train
func (s *WebACL) SetWebACLArn(v string) *WebACL { s.WebACLArn = &v return s }
go
{ "resource": "" }
q1114
SetXssMatchTuples
train
func (s *XssMatchSet) SetXssMatchTuples(v []*XssMatchTuple) *XssMatchSet { s.XssMatchTuples = v return s }
go
{ "resource": "" }
q1115
SetXssMatchTuple
train
func (s *XssMatchSetUpdate) SetXssMatchTuple(v *XssMatchTuple) *XssMatchSetUpdate { s.XssMatchTuple = v return s }
go
{ "resource": "" }
q1116
SetConfigurationTemplates
train
func (s *ApplicationDescription) SetConfigurationTemplates(v []*string) *ApplicationDescription { s.ConfigurationTemplates = v return s }
go
{ "resource": "" }
q1117
SetVersionLifecycleConfig
train
func (s *ApplicationResourceLifecycleConfig) SetVersionLifecycleConfig(v *ApplicationVersionLifecycleConfig) *ApplicationResourceLifecycleConfig { s.VersionLifecycleConfig = v return s }
go
{ "resource": "" }
q1118
SetApplicationVersionArn
train
func (s *ApplicationVersionDescription) SetApplicationVersionArn(v string) *ApplicationVersionDescription { s.ApplicationVersionArn = &v return s }
go
{ "resource": "" }
q1119
SetBuildArn
train
func (s *ApplicationVersionDescription) SetBuildArn(v string) *ApplicationVersionDescription { s.BuildArn = &v return s }
go
{ "resource": "" }
q1120
SetMaxAgeRule
train
func (s *ApplicationVersionLifecycleConfig) SetMaxAgeRule(v *MaxAgeRule) *ApplicationVersionLifecycleConfig { s.MaxAgeRule = v return s }
go
{ "resource": "" }
q1121
SetMaxCountRule
train
func (s *ApplicationVersionLifecycleConfig) SetMaxCountRule(v *MaxCountRule) *ApplicationVersionLifecycleConfig { s.MaxCountRule = v return s }
go
{ "resource": "" }
q1122
SetArtifactName
train
func (s *BuildConfiguration) SetArtifactName(v string) *BuildConfiguration { s.ArtifactName = &v return s }
go
{ "resource": "" }
q1123
SetCodeBuildServiceRole
train
func (s *BuildConfiguration) SetCodeBuildServiceRole(v string) *BuildConfiguration { s.CodeBuildServiceRole = &v return s }
go
{ "resource": "" }
q1124
SetIOWait
train
func (s *CPUUtilization) SetIOWait(v float64) *CPUUtilization { s.IOWait = &v return s }
go
{ "resource": "" }
q1125
SetIRQ
train
func (s *CPUUtilization) SetIRQ(v float64) *CPUUtilization { s.IRQ = &v return s }
go
{ "resource": "" }
q1126
SetIdle
train
func (s *CPUUtilization) SetIdle(v float64) *CPUUtilization { s.Idle = &v return s }
go
{ "resource": "" }
q1127
SetNice
train
func (s *CPUUtilization) SetNice(v float64) *CPUUtilization { s.Nice = &v return s }
go
{ "resource": "" }
q1128
SetSoftIRQ
train
func (s *CPUUtilization) SetSoftIRQ(v float64) *CPUUtilization { s.SoftIRQ = &v return s }
go
{ "resource": "" }
q1129
SetFullyQualifiedCNAME
train
func (s *CheckDNSAvailabilityOutput) SetFullyQualifiedCNAME(v string) *CheckDNSAvailabilityOutput { s.FullyQualifiedCNAME = &v return s }
go
{ "resource": "" }
q1130
SetChangeSeverity
train
func (s *ConfigurationOptionDescription) SetChangeSeverity(v string) *ConfigurationOptionDescription { s.ChangeSeverity = &v return s }
go
{ "resource": "" }
q1131
SetUserDefined
train
func (s *ConfigurationOptionDescription) SetUserDefined(v bool) *ConfigurationOptionDescription { s.UserDefined = &v return s }
go
{ "resource": "" }
q1132
SetValueOptions
train
func (s *ConfigurationOptionDescription) SetValueOptions(v []*string) *ConfigurationOptionDescription { s.ValueOptions = v return s }
go
{ "resource": "" }
q1133
SetValueType
train
func (s *ConfigurationOptionDescription) SetValueType(v string) *ConfigurationOptionDescription { s.ValueType = &v return s }
go
{ "resource": "" }
q1134
SetAutoCreateApplication
train
func (s *CreateApplicationVersionInput) SetAutoCreateApplication(v bool) *CreateApplicationVersionInput { s.AutoCreateApplication = &v return s }
go
{ "resource": "" }
q1135
SetBuildConfiguration
train
func (s *CreateApplicationVersionInput) SetBuildConfiguration(v *BuildConfiguration) *CreateApplicationVersionInput { s.BuildConfiguration = v return s }
go
{ "resource": "" }
q1136
SetSourceConfiguration
train
func (s *CreateConfigurationTemplateInput) SetSourceConfiguration(v *SourceConfiguration) *CreateConfigurationTemplateInput { s.SourceConfiguration = v return s }
go
{ "resource": "" }
q1137
SetPlatformDefinitionBundle
train
func (s *CreatePlatformVersionInput) SetPlatformDefinitionBundle(v *S3Location) *CreatePlatformVersionInput { s.PlatformDefinitionBundle = v return s }
go
{ "resource": "" }
q1138
SetBuilder
train
func (s *CreatePlatformVersionOutput) SetBuilder(v *Builder) *CreatePlatformVersionOutput { s.Builder = v return s }
go
{ "resource": "" }
q1139
SetTerminateEnvByForce
train
func (s *DeleteApplicationInput) SetTerminateEnvByForce(v bool) *DeleteApplicationInput { s.TerminateEnvByForce = &v return s }
go
{ "resource": "" }
q1140
SetDeleteSourceBundle
train
func (s *DeleteApplicationVersionInput) SetDeleteSourceBundle(v bool) *DeleteApplicationVersionInput { s.DeleteSourceBundle = &v return s }
go
{ "resource": "" }
q1141
SetDeploymentTime
train
func (s *Deployment) SetDeploymentTime(v time.Time) *Deployment { s.DeploymentTime = &v return s }
go
{ "resource": "" }
q1142
SetResourceQuotas
train
func (s *DescribeAccountAttributesOutput) SetResourceQuotas(v *ResourceQuotas) *DescribeAccountAttributesOutput { s.ResourceQuotas = v return s }
go
{ "resource": "" }
q1143
SetApplicationVersions
train
func (s *DescribeApplicationVersionsOutput) SetApplicationVersions(v []*ApplicationVersionDescription) *DescribeApplicationVersionsOutput { s.ApplicationVersions = v return s }
go
{ "resource": "" }
q1144
SetConfigurationSettings
train
func (s *DescribeConfigurationSettingsOutput) SetConfigurationSettings(v []*ConfigurationSettingsDescription) *DescribeConfigurationSettingsOutput { s.ConfigurationSettings = v return s }
go
{ "resource": "" }
q1145
SetInstancesHealth
train
func (s *DescribeEnvironmentHealthOutput) SetInstancesHealth(v *InstanceHealthSummary) *DescribeEnvironmentHealthOutput { s.InstancesHealth = v return s }
go
{ "resource": "" }
q1146
SetManagedActionHistoryItems
train
func (s *DescribeEnvironmentManagedActionHistoryOutput) SetManagedActionHistoryItems(v []*ManagedActionHistoryItem) *DescribeEnvironmentManagedActionHistoryOutput { s.ManagedActionHistoryItems = v return s }
go
{ "resource": "" }
q1147
SetManagedActions
train
func (s *DescribeEnvironmentManagedActionsOutput) SetManagedActions(v []*ManagedAction) *DescribeEnvironmentManagedActionsOutput { s.ManagedActions = v return s }
go
{ "resource": "" }
q1148
SetEnvironmentResources
train
func (s *DescribeEnvironmentResourcesOutput) SetEnvironmentResources(v *EnvironmentResourceDescription) *DescribeEnvironmentResourcesOutput { s.EnvironmentResources = v return s }
go
{ "resource": "" }
q1149
SetEnvironmentNames
train
func (s *DescribeEnvironmentsInput) SetEnvironmentNames(v []*string) *DescribeEnvironmentsInput { s.EnvironmentNames = v return s }
go
{ "resource": "" }
q1150
SetIncludedDeletedBackTo
train
func (s *DescribeEnvironmentsInput) SetIncludedDeletedBackTo(v time.Time) *DescribeEnvironmentsInput { s.IncludedDeletedBackTo = &v return s }
go
{ "resource": "" }
q1151
SetInstanceHealthList
train
func (s *DescribeInstancesHealthOutput) SetInstanceHealthList(v []*SingleInstanceHealth) *DescribeInstancesHealthOutput { s.InstanceHealthList = v return s }
go
{ "resource": "" }
q1152
SetPlatformDescription
train
func (s *DescribePlatformVersionOutput) SetPlatformDescription(v *PlatformDescription) *DescribePlatformVersionOutput { s.PlatformDescription = v return s }
go
{ "resource": "" }
q1153
SetAbortableOperationInProgress
train
func (s *EnvironmentDescription) SetAbortableOperationInProgress(v bool) *EnvironmentDescription { s.AbortableOperationInProgress = &v return s }
go
{ "resource": "" }
q1154
SetCNAME
train
func (s *EnvironmentDescription) SetCNAME(v string) *EnvironmentDescription { s.CNAME = &v return s }
go
{ "resource": "" }
q1155
SetEndpointURL
train
func (s *EnvironmentDescription) SetEndpointURL(v string) *EnvironmentDescription { s.EndpointURL = &v return s }
go
{ "resource": "" }
q1156
SetEnvironmentArn
train
func (s *EnvironmentDescription) SetEnvironmentArn(v string) *EnvironmentDescription { s.EnvironmentArn = &v return s }
go
{ "resource": "" }
q1157
SetEnvironmentLinks
train
func (s *EnvironmentDescription) SetEnvironmentLinks(v []*EnvironmentLink) *EnvironmentDescription { s.EnvironmentLinks = v return s }
go
{ "resource": "" }
q1158
SetSampleTimestamp
train
func (s *EnvironmentInfoDescription) SetSampleTimestamp(v time.Time) *EnvironmentInfoDescription { s.SampleTimestamp = &v return s }
go
{ "resource": "" }
q1159
SetLaunchTemplates
train
func (s *EnvironmentResourceDescription) SetLaunchTemplates(v []*LaunchTemplate) *EnvironmentResourceDescription { s.LaunchTemplates = v return s }
go
{ "resource": "" }
q1160
SetDegraded
train
func (s *InstanceHealthSummary) SetDegraded(v int64) *InstanceHealthSummary { s.Degraded = &v return s }
go
{ "resource": "" }
q1161
SetNoData
train
func (s *InstanceHealthSummary) SetNoData(v int64) *InstanceHealthSummary { s.NoData = &v return s }
go
{ "resource": "" }
q1162
SetOk
train
func (s *InstanceHealthSummary) SetOk(v int64) *InstanceHealthSummary { s.Ok = &v return s }
go
{ "resource": "" }
q1163
SetSevere
train
func (s *InstanceHealthSummary) SetSevere(v int64) *InstanceHealthSummary { s.Severe = &v return s }
go
{ "resource": "" }
q1164
SetUnknown
train
func (s *InstanceHealthSummary) SetUnknown(v int64) *InstanceHealthSummary { s.Unknown = &v return s }
go
{ "resource": "" }
q1165
SetP10
train
func (s *Latency) SetP10(v float64) *Latency { s.P10 = &v return s }
go
{ "resource": "" }
q1166
SetP50
train
func (s *Latency) SetP50(v float64) *Latency { s.P50 = &v return s }
go
{ "resource": "" }
q1167
SetP75
train
func (s *Latency) SetP75(v float64) *Latency { s.P75 = &v return s }
go
{ "resource": "" }
q1168
SetP85
train
func (s *Latency) SetP85(v float64) *Latency { s.P85 = &v return s }
go
{ "resource": "" }
q1169
SetP90
train
func (s *Latency) SetP90(v float64) *Latency { s.P90 = &v return s }
go
{ "resource": "" }
q1170
SetP95
train
func (s *Latency) SetP95(v float64) *Latency { s.P95 = &v return s }
go
{ "resource": "" }
q1171
SetP99
train
func (s *Latency) SetP99(v float64) *Latency { s.P99 = &v return s }
go
{ "resource": "" }
q1172
SetP999
train
func (s *Latency) SetP999(v float64) *Latency { s.P999 = &v return s }
go
{ "resource": "" }
q1173
SetSolutionStackDetails
train
func (s *ListAvailableSolutionStacksOutput) SetSolutionStackDetails(v []*SolutionStackDescription) *ListAvailableSolutionStacksOutput { s.SolutionStackDetails = v return s }
go
{ "resource": "" }
q1174
SetSolutionStacks
train
func (s *ListAvailableSolutionStacksOutput) SetSolutionStacks(v []*string) *ListAvailableSolutionStacksOutput { s.SolutionStacks = v return s }
go
{ "resource": "" }
q1175
SetPlatformSummaryList
train
func (s *ListPlatformVersionsOutput) SetPlatformSummaryList(v []*PlatformSummary) *ListPlatformVersionsOutput { s.PlatformSummaryList = v return s }
go
{ "resource": "" }
q1176
SetWindowStartTime
train
func (s *ManagedAction) SetWindowStartTime(v time.Time) *ManagedAction { s.WindowStartTime = &v return s }
go
{ "resource": "" }
q1177
SetExecutedTime
train
func (s *ManagedActionHistoryItem) SetExecutedTime(v time.Time) *ManagedActionHistoryItem { s.ExecutedTime = &v return s }
go
{ "resource": "" }
q1178
SetFailureDescription
train
func (s *ManagedActionHistoryItem) SetFailureDescription(v string) *ManagedActionHistoryItem { s.FailureDescription = &v return s }
go
{ "resource": "" }
q1179
SetFinishedTime
train
func (s *ManagedActionHistoryItem) SetFinishedTime(v time.Time) *ManagedActionHistoryItem { s.FinishedTime = &v return s }
go
{ "resource": "" }
q1180
SetMaxAgeInDays
train
func (s *MaxAgeRule) SetMaxAgeInDays(v int64) *MaxAgeRule { s.MaxAgeInDays = &v return s }
go
{ "resource": "" }
q1181
SetMaxCount
train
func (s *MaxCountRule) SetMaxCount(v int64) *MaxCountRule { s.MaxCount = &v return s }
go
{ "resource": "" }
q1182
SetCustomAmiList
train
func (s *PlatformDescription) SetCustomAmiList(v []*CustomAmi) *PlatformDescription { s.CustomAmiList = v return s }
go
{ "resource": "" }
q1183
SetFrameworks
train
func (s *PlatformDescription) SetFrameworks(v []*PlatformFramework) *PlatformDescription { s.Frameworks = v return s }
go
{ "resource": "" }
q1184
SetMaintainer
train
func (s *PlatformDescription) SetMaintainer(v string) *PlatformDescription { s.Maintainer = &v return s }
go
{ "resource": "" }
q1185
SetProgrammingLanguages
train
func (s *PlatformDescription) SetProgrammingLanguages(v []*PlatformProgrammingLanguage) *PlatformDescription { s.ProgrammingLanguages = v return s }
go
{ "resource": "" }
q1186
SetURL
train
func (s *Queue) SetURL(v string) *Queue { s.URL = &v return s }
go
{ "resource": "" }
q1187
SetApplicationQuota
train
func (s *ResourceQuotas) SetApplicationQuota(v *ResourceQuota) *ResourceQuotas { s.ApplicationQuota = v return s }
go
{ "resource": "" }
q1188
SetApplicationVersionQuota
train
func (s *ResourceQuotas) SetApplicationVersionQuota(v *ResourceQuota) *ResourceQuotas { s.ApplicationVersionQuota = v return s }
go
{ "resource": "" }
q1189
SetConfigurationTemplateQuota
train
func (s *ResourceQuotas) SetConfigurationTemplateQuota(v *ResourceQuota) *ResourceQuotas { s.ConfigurationTemplateQuota = v return s }
go
{ "resource": "" }
q1190
SetCustomPlatformQuota
train
func (s *ResourceQuotas) SetCustomPlatformQuota(v *ResourceQuota) *ResourceQuotas { s.CustomPlatformQuota = v return s }
go
{ "resource": "" }
q1191
SetEnvironmentQuota
train
func (s *ResourceQuotas) SetEnvironmentQuota(v *ResourceQuota) *ResourceQuotas { s.EnvironmentQuota = v return s }
go
{ "resource": "" }
q1192
SetEnvironmentInfo
train
func (s *RetrieveEnvironmentInfoOutput) SetEnvironmentInfo(v []*EnvironmentInfoDescription) *RetrieveEnvironmentInfoOutput { s.EnvironmentInfo = v return s }
go
{ "resource": "" }
q1193
SetDeployment
train
func (s *SingleInstanceHealth) SetDeployment(v *Deployment) *SingleInstanceHealth { s.Deployment = v return s }
go
{ "resource": "" }
q1194
SetPermittedFileTypes
train
func (s *SolutionStackDescription) SetPermittedFileTypes(v []*string) *SolutionStackDescription { s.PermittedFileTypes = v return s }
go
{ "resource": "" }
q1195
SetSourceLocation
train
func (s *SourceBuildInformation) SetSourceLocation(v string) *SourceBuildInformation { s.SourceLocation = &v return s }
go
{ "resource": "" }
q1196
SetSourceRepository
train
func (s *SourceBuildInformation) SetSourceRepository(v string) *SourceBuildInformation { s.SourceRepository = &v return s }
go
{ "resource": "" }
q1197
SetStatus2xx
train
func (s *StatusCodes) SetStatus2xx(v int64) *StatusCodes { s.Status2xx = &v return s }
go
{ "resource": "" }
q1198
SetStatus3xx
train
func (s *StatusCodes) SetStatus3xx(v int64) *StatusCodes { s.Status3xx = &v return s }
go
{ "resource": "" }
q1199
SetStatus4xx
train
func (s *StatusCodes) SetStatus4xx(v int64) *StatusCodes { s.Status4xx = &v return s }
go
{ "resource": "" }