_id
stringlengths 2
7
| title
stringlengths 1
118
| partition
stringclasses 3
values | text
stringlengths 52
85.5k
| language
stringclasses 1
value | meta_information
dict |
---|---|---|---|---|---|
q1700
|
SetInstanceAssociationStatusAggregatedCount
|
train
|
func (s *InstanceAggregatedAssociationOverview) SetInstanceAssociationStatusAggregatedCount(v map[string]*int64) *InstanceAggregatedAssociationOverview {
s.InstanceAssociationStatusAggregatedCount = v
return s
}
|
go
|
{
"resource": ""
}
|
q1701
|
SetExecutionDate
|
train
|
func (s *InstanceAssociationStatusInfo) SetExecutionDate(v time.Time) *InstanceAssociationStatusInfo {
s.ExecutionDate = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1702
|
SetAssociationOverview
|
train
|
func (s *InstanceInformation) SetAssociationOverview(v *InstanceAggregatedAssociationOverview) *InstanceInformation {
s.AssociationOverview = v
return s
}
|
go
|
{
"resource": ""
}
|
q1703
|
SetLastAssociationExecutionDate
|
train
|
func (s *InstanceInformation) SetLastAssociationExecutionDate(v time.Time) *InstanceInformation {
s.LastAssociationExecutionDate = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1704
|
SetLastPingDateTime
|
train
|
func (s *InstanceInformation) SetLastPingDateTime(v time.Time) *InstanceInformation {
s.LastPingDateTime = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1705
|
SetLastSuccessfulAssociationExecutionDate
|
train
|
func (s *InstanceInformation) SetLastSuccessfulAssociationExecutionDate(v time.Time) *InstanceInformation {
s.LastSuccessfulAssociationExecutionDate = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1706
|
SetPingStatus
|
train
|
func (s *InstanceInformation) SetPingStatus(v string) *InstanceInformation {
s.PingStatus = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1707
|
SetPlatformType
|
train
|
func (s *InstanceInformation) SetPlatformType(v string) *InstanceInformation {
s.PlatformType = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1708
|
SetRegistrationDate
|
train
|
func (s *InstanceInformation) SetRegistrationDate(v time.Time) *InstanceInformation {
s.RegistrationDate = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1709
|
SetValueSet
|
train
|
func (s *InstanceInformationFilter) SetValueSet(v []*string) *InstanceInformationFilter {
s.ValueSet = v
return s
}
|
go
|
{
"resource": ""
}
|
q1710
|
SetInstallOverrideList
|
train
|
func (s *InstancePatchState) SetInstallOverrideList(v string) *InstancePatchState {
s.InstallOverrideList = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1711
|
SetInstalledCount
|
train
|
func (s *InstancePatchState) SetInstalledCount(v int64) *InstancePatchState {
s.InstalledCount = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1712
|
SetInstalledOtherCount
|
train
|
func (s *InstancePatchState) SetInstalledOtherCount(v int64) *InstancePatchState {
s.InstalledOtherCount = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1713
|
SetInstalledRejectedCount
|
train
|
func (s *InstancePatchState) SetInstalledRejectedCount(v int64) *InstancePatchState {
s.InstalledRejectedCount = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1714
|
SetMissingCount
|
train
|
func (s *InstancePatchState) SetMissingCount(v int64) *InstancePatchState {
s.MissingCount = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1715
|
SetNotApplicableCount
|
train
|
func (s *InstancePatchState) SetNotApplicableCount(v int64) *InstancePatchState {
s.NotApplicableCount = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1716
|
SetOperationEndTime
|
train
|
func (s *InstancePatchState) SetOperationEndTime(v time.Time) *InstancePatchState {
s.OperationEndTime = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1717
|
SetOperationStartTime
|
train
|
func (s *InstancePatchState) SetOperationStartTime(v time.Time) *InstancePatchState {
s.OperationStartTime = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1718
|
SetDeletionStartTime
|
train
|
func (s *InventoryDeletionStatusItem) SetDeletionStartTime(v time.Time) *InventoryDeletionStatusItem {
s.DeletionStartTime = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1719
|
SetLastStatusMessage
|
train
|
func (s *InventoryDeletionStatusItem) SetLastStatusMessage(v string) *InventoryDeletionStatusItem {
s.LastStatusMessage = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1720
|
SetLastStatusUpdateTime
|
train
|
func (s *InventoryDeletionStatusItem) SetLastStatusUpdateTime(v time.Time) *InventoryDeletionStatusItem {
s.LastStatusUpdateTime = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1721
|
SetSummaryItems
|
train
|
func (s *InventoryDeletionSummary) SetSummaryItems(v []*InventoryDeletionSummaryItem) *InventoryDeletionSummary {
s.SummaryItems = v
return s
}
|
go
|
{
"resource": ""
}
|
q1722
|
SetParameterVersion
|
train
|
func (s *LabelParameterVersionInput) SetParameterVersion(v int64) *LabelParameterVersionInput {
s.ParameterVersion = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1723
|
SetInvalidLabels
|
train
|
func (s *LabelParameterVersionOutput) SetInvalidLabels(v []*string) *LabelParameterVersionOutput {
s.InvalidLabels = v
return s
}
|
go
|
{
"resource": ""
}
|
q1724
|
SetAssociationVersions
|
train
|
func (s *ListAssociationVersionsOutput) SetAssociationVersions(v []*AssociationVersionInfo) *ListAssociationVersionsOutput {
s.AssociationVersions = v
return s
}
|
go
|
{
"resource": ""
}
|
q1725
|
SetAssociationFilterList
|
train
|
func (s *ListAssociationsInput) SetAssociationFilterList(v []*AssociationFilter) *ListAssociationsInput {
s.AssociationFilterList = v
return s
}
|
go
|
{
"resource": ""
}
|
q1726
|
SetCommandInvocations
|
train
|
func (s *ListCommandInvocationsOutput) SetCommandInvocations(v []*CommandInvocation) *ListCommandInvocationsOutput {
s.CommandInvocations = v
return s
}
|
go
|
{
"resource": ""
}
|
q1727
|
SetComplianceItems
|
train
|
func (s *ListComplianceItemsOutput) SetComplianceItems(v []*ComplianceItem) *ListComplianceItemsOutput {
s.ComplianceItems = v
return s
}
|
go
|
{
"resource": ""
}
|
q1728
|
SetComplianceSummaryItems
|
train
|
func (s *ListComplianceSummariesOutput) SetComplianceSummaryItems(v []*ComplianceSummaryItem) *ListComplianceSummariesOutput {
s.ComplianceSummaryItems = v
return s
}
|
go
|
{
"resource": ""
}
|
q1729
|
SetDocumentFilterList
|
train
|
func (s *ListDocumentsInput) SetDocumentFilterList(v []*DocumentFilter) *ListDocumentsInput {
s.DocumentFilterList = v
return s
}
|
go
|
{
"resource": ""
}
|
q1730
|
SetDocumentIdentifiers
|
train
|
func (s *ListDocumentsOutput) SetDocumentIdentifiers(v []*DocumentIdentifier) *ListDocumentsOutput {
s.DocumentIdentifiers = v
return s
}
|
go
|
{
"resource": ""
}
|
q1731
|
SetResourceComplianceSummaryItems
|
train
|
func (s *ListResourceComplianceSummariesOutput) SetResourceComplianceSummaryItems(v []*ResourceComplianceSummaryItem) *ListResourceComplianceSummariesOutput {
s.ResourceComplianceSummaryItems = v
return s
}
|
go
|
{
"resource": ""
}
|
q1732
|
SetResourceDataSyncItems
|
train
|
func (s *ListResourceDataSyncOutput) SetResourceDataSyncItems(v []*ResourceDataSyncItem) *ListResourceDataSyncOutput {
s.ResourceDataSyncItems = v
return s
}
|
go
|
{
"resource": ""
}
|
q1733
|
SetAutomation
|
train
|
func (s *MaintenanceWindowTaskInvocationParameters) SetAutomation(v *MaintenanceWindowAutomationParameters) *MaintenanceWindowTaskInvocationParameters {
s.Automation = v
return s
}
|
go
|
{
"resource": ""
}
|
q1734
|
SetRunCommand
|
train
|
func (s *MaintenanceWindowTaskInvocationParameters) SetRunCommand(v *MaintenanceWindowRunCommandParameters) *MaintenanceWindowTaskInvocationParameters {
s.RunCommand = v
return s
}
|
go
|
{
"resource": ""
}
|
q1735
|
SetAccountIdsToAdd
|
train
|
func (s *ModifyDocumentPermissionInput) SetAccountIdsToAdd(v []*string) *ModifyDocumentPermissionInput {
s.AccountIdsToAdd = v
return s
}
|
go
|
{
"resource": ""
}
|
q1736
|
SetAccountIdsToRemove
|
train
|
func (s *ModifyDocumentPermissionInput) SetAccountIdsToRemove(v []*string) *ModifyDocumentPermissionInput {
s.AccountIdsToRemove = v
return s
}
|
go
|
{
"resource": ""
}
|
q1737
|
SetNonCompliantCount
|
train
|
func (s *NonCompliantSummary) SetNonCompliantCount(v int64) *NonCompliantSummary {
s.NonCompliantCount = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1738
|
SetNotificationArn
|
train
|
func (s *NotificationConfig) SetNotificationArn(v string) *NotificationConfig {
s.NotificationArn = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1739
|
SetNotificationEvents
|
train
|
func (s *NotificationConfig) SetNotificationEvents(v []*string) *NotificationConfig {
s.NotificationEvents = v
return s
}
|
go
|
{
"resource": ""
}
|
q1740
|
SetOutputSourceId
|
train
|
func (s *OutputSource) SetOutputSourceId(v string) *OutputSource {
s.OutputSourceId = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1741
|
SetOutputSourceType
|
train
|
func (s *OutputSource) SetOutputSourceType(v string) *OutputSource {
s.OutputSourceType = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1742
|
SetSourceResult
|
train
|
func (s *Parameter) SetSourceResult(v string) *Parameter {
s.SourceResult = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1743
|
SetOption
|
train
|
func (s *ParameterStringFilter) SetOption(v string) *ParameterStringFilter {
s.Option = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1744
|
SetContentUrl
|
train
|
func (s *Patch) SetContentUrl(v string) *Patch {
s.ContentUrl = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1745
|
SetKbNumber
|
train
|
func (s *Patch) SetKbNumber(v string) *Patch {
s.KbNumber = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1746
|
SetMsrcNumber
|
train
|
func (s *Patch) SetMsrcNumber(v string) *Patch {
s.MsrcNumber = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1747
|
SetMsrcSeverity
|
train
|
func (s *Patch) SetMsrcSeverity(v string) *Patch {
s.MsrcSeverity = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1748
|
SetProductFamily
|
train
|
func (s *Patch) SetProductFamily(v string) *Patch {
s.ProductFamily = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1749
|
SetVendor
|
train
|
func (s *Patch) SetVendor(v string) *Patch {
s.Vendor = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1750
|
SetBaselineDescription
|
train
|
func (s *PatchBaselineIdentity) SetBaselineDescription(v string) *PatchBaselineIdentity {
s.BaselineDescription = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1751
|
SetBaselineName
|
train
|
func (s *PatchBaselineIdentity) SetBaselineName(v string) *PatchBaselineIdentity {
s.BaselineName = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1752
|
SetDefaultBaseline
|
train
|
func (s *PatchBaselineIdentity) SetDefaultBaseline(v bool) *PatchBaselineIdentity {
s.DefaultBaseline = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1753
|
SetInstalledTime
|
train
|
func (s *PatchComplianceData) SetInstalledTime(v time.Time) *PatchComplianceData {
s.InstalledTime = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1754
|
SetKBId
|
train
|
func (s *PatchComplianceData) SetKBId(v string) *PatchComplianceData {
s.KBId = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1755
|
SetPatchFilters
|
train
|
func (s *PatchFilterGroup) SetPatchFilters(v []*PatchFilter) *PatchFilterGroup {
s.PatchFilters = v
return s
}
|
go
|
{
"resource": ""
}
|
q1756
|
SetBaselineIdentity
|
train
|
func (s *PatchGroupPatchBaselineMapping) SetBaselineIdentity(v *PatchBaselineIdentity) *PatchGroupPatchBaselineMapping {
s.BaselineIdentity = v
return s
}
|
go
|
{
"resource": ""
}
|
q1757
|
SetApproveAfterDays
|
train
|
func (s *PatchRule) SetApproveAfterDays(v int64) *PatchRule {
s.ApproveAfterDays = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1758
|
SetEnableNonSecurity
|
train
|
func (s *PatchRule) SetEnableNonSecurity(v bool) *PatchRule {
s.EnableNonSecurity = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1759
|
SetPatchFilterGroup
|
train
|
func (s *PatchRule) SetPatchFilterGroup(v *PatchFilterGroup) *PatchRule {
s.PatchFilterGroup = v
return s
}
|
go
|
{
"resource": ""
}
|
q1760
|
SetPatchRules
|
train
|
func (s *PatchRuleGroup) SetPatchRules(v []*PatchRule) *PatchRuleGroup {
s.PatchRules = v
return s
}
|
go
|
{
"resource": ""
}
|
q1761
|
SetProducts
|
train
|
func (s *PatchSource) SetProducts(v []*string) *PatchSource {
s.Products = v
return s
}
|
go
|
{
"resource": ""
}
|
q1762
|
SetApprovalDate
|
train
|
func (s *PatchStatus) SetApprovalDate(v time.Time) *PatchStatus {
s.ApprovalDate = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1763
|
SetCancelledSteps
|
train
|
func (s *ProgressCounters) SetCancelledSteps(v int64) *ProgressCounters {
s.CancelledSteps = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1764
|
SetFailedSteps
|
train
|
func (s *ProgressCounters) SetFailedSteps(v int64) *ProgressCounters {
s.FailedSteps = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1765
|
SetSuccessSteps
|
train
|
func (s *ProgressCounters) SetSuccessSteps(v int64) *ProgressCounters {
s.SuccessSteps = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1766
|
SetTimedOutSteps
|
train
|
func (s *ProgressCounters) SetTimedOutSteps(v int64) *ProgressCounters {
s.TimedOutSteps = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1767
|
SetTotalSteps
|
train
|
func (s *ProgressCounters) SetTotalSteps(v int64) *ProgressCounters {
s.TotalSteps = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1768
|
SetItemContentHash
|
train
|
func (s *PutComplianceItemsInput) SetItemContentHash(v string) *PutComplianceItemsInput {
s.ItemContentHash = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1769
|
SetOverwrite
|
train
|
func (s *PutParameterInput) SetOverwrite(v bool) *PutParameterInput {
s.Overwrite = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1770
|
SetOverallSeverity
|
train
|
func (s *ResourceComplianceSummaryItem) SetOverallSeverity(v string) *ResourceComplianceSummaryItem {
s.OverallSeverity = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1771
|
SetLastSuccessfulSyncTime
|
train
|
func (s *ResourceDataSyncItem) SetLastSuccessfulSyncTime(v time.Time) *ResourceDataSyncItem {
s.LastSuccessfulSyncTime = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1772
|
SetLastSyncStatusMessage
|
train
|
func (s *ResourceDataSyncItem) SetLastSyncStatusMessage(v string) *ResourceDataSyncItem {
s.LastSyncStatusMessage = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1773
|
SetLastSyncTime
|
train
|
func (s *ResourceDataSyncItem) SetLastSyncTime(v time.Time) *ResourceDataSyncItem {
s.LastSyncTime = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1774
|
SetSyncCreatedTime
|
train
|
func (s *ResourceDataSyncItem) SetSyncCreatedTime(v time.Time) *ResourceDataSyncItem {
s.SyncCreatedTime = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1775
|
SetSyncFormat
|
train
|
func (s *ResourceDataSyncS3Destination) SetSyncFormat(v string) *ResourceDataSyncS3Destination {
s.SyncFormat = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1776
|
SetSignalType
|
train
|
func (s *SendAutomationSignalInput) SetSignalType(v string) *SendAutomationSignalInput {
s.SignalType = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1777
|
SetCloudWatchOutputUrl
|
train
|
func (s *SessionManagerOutputUrl) SetCloudWatchOutputUrl(v string) *SessionManagerOutputUrl {
s.CloudWatchOutputUrl = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1778
|
SetCriticalCount
|
train
|
func (s *SeveritySummary) SetCriticalCount(v int64) *SeveritySummary {
s.CriticalCount = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1779
|
SetHighCount
|
train
|
func (s *SeveritySummary) SetHighCount(v int64) *SeveritySummary {
s.HighCount = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1780
|
SetInformationalCount
|
train
|
func (s *SeveritySummary) SetInformationalCount(v int64) *SeveritySummary {
s.InformationalCount = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1781
|
SetLowCount
|
train
|
func (s *SeveritySummary) SetLowCount(v int64) *SeveritySummary {
s.LowCount = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1782
|
SetMediumCount
|
train
|
func (s *SeveritySummary) SetMediumCount(v int64) *SeveritySummary {
s.MediumCount = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1783
|
SetUnspecifiedCount
|
train
|
func (s *SeveritySummary) SetUnspecifiedCount(v int64) *SeveritySummary {
s.UnspecifiedCount = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1784
|
SetAssociationIds
|
train
|
func (s *StartAssociationsOnceInput) SetAssociationIds(v []*string) *StartAssociationsOnceInput {
s.AssociationIds = v
return s
}
|
go
|
{
"resource": ""
}
|
q1785
|
SetIsCritical
|
train
|
func (s *StepExecution) SetIsCritical(v bool) *StepExecution {
s.IsCritical = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1786
|
SetIsEnd
|
train
|
func (s *StepExecution) SetIsEnd(v bool) *StepExecution {
s.IsEnd = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1787
|
SetNextStep
|
train
|
func (s *StepExecution) SetNextStep(v string) *StepExecution {
s.NextStep = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1788
|
SetOverriddenParameters
|
train
|
func (s *StepExecution) SetOverriddenParameters(v map[string][]*string) *StepExecution {
s.OverriddenParameters = v
return s
}
|
go
|
{
"resource": ""
}
|
q1789
|
SetResponse
|
train
|
func (s *StepExecution) SetResponse(v string) *StepExecution {
s.Response = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1790
|
SetStepExecutionId
|
train
|
func (s *StepExecution) SetStepExecutionId(v string) *StepExecution {
s.StepExecutionId = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1791
|
SetTargetLocation
|
train
|
func (s *StepExecution) SetTargetLocation(v *TargetLocation) *StepExecution {
s.TargetLocation = v
return s
}
|
go
|
{
"resource": ""
}
|
q1792
|
SetValidNextSteps
|
train
|
func (s *StepExecution) SetValidNextSteps(v []*string) *StepExecution {
s.ValidNextSteps = v
return s
}
|
go
|
{
"resource": ""
}
|
q1793
|
SetTargetLocationMaxConcurrency
|
train
|
func (s *TargetLocation) SetTargetLocationMaxConcurrency(v string) *TargetLocation {
s.TargetLocationMaxConcurrency = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1794
|
SetTargetLocationMaxErrors
|
train
|
func (s *TargetLocation) SetTargetLocationMaxErrors(v string) *TargetLocation {
s.TargetLocationMaxErrors = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1795
|
SetCertificateCreationDate
|
train
|
func (s *Certificate) SetCertificateCreationDate(v time.Time) *Certificate {
s.CertificateCreationDate = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1796
|
SetCertificateOwner
|
train
|
func (s *Certificate) SetCertificateOwner(v string) *Certificate {
s.CertificateOwner = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1797
|
SetKeyLength
|
train
|
func (s *Certificate) SetKeyLength(v int64) *Certificate {
s.KeyLength = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1798
|
SetValidFromDate
|
train
|
func (s *Certificate) SetValidFromDate(v time.Time) *Certificate {
s.ValidFromDate = &v
return s
}
|
go
|
{
"resource": ""
}
|
q1799
|
SetValidToDate
|
train
|
func (s *Certificate) SetValidToDate(v time.Time) *Certificate {
s.ValidToDate = &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.