_id
stringlengths 2
7
| title
stringlengths 1
118
| partition
stringclasses 3
values | text
stringlengths 52
85.5k
| language
stringclasses 1
value | meta_information
dict |
|---|---|---|---|---|---|
q2800
|
SetPipelineActivity
|
train
|
func (s *RunPipelineActivityInput) SetPipelineActivity(v *PipelineActivity) *RunPipelineActivityInput {
s.PipelineActivity = v
return s
}
|
go
|
{
"resource": ""
}
|
q2801
|
SetMaxMessages
|
train
|
func (s *SampleChannelDataInput) SetMaxMessages(v int64) *SampleChannelDataInput {
s.MaxMessages = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2802
|
SetSqlQuery
|
train
|
func (s *SqlQueryDatasetAction) SetSqlQuery(v string) *SqlQueryDatasetAction {
s.SqlQuery = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2803
|
SetDatasetContentVersionValue
|
train
|
func (s *Variable) SetDatasetContentVersionValue(v *DatasetContentVersionValue) *Variable {
s.DatasetContentVersionValue = v
return s
}
|
go
|
{
"resource": ""
}
|
q2804
|
SetOutputFileUriValue
|
train
|
func (s *Variable) SetOutputFileUriValue(v *OutputFileUriValue) *Variable {
s.OutputFileUriValue = v
return s
}
|
go
|
{
"resource": ""
}
|
q2805
|
SetMaxVersions
|
train
|
func (s *VersioningConfiguration) SetMaxVersions(v int64) *VersioningConfiguration {
s.MaxVersions = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2806
|
GoCode
|
train
|
func (sv ShapeValidation) GoCode() string {
var err error
w := &bytes.Buffer{}
switch sv.Type {
case ShapeValidationRequired:
err = validationGoCodeTmpls.ExecuteTemplate(w, "requiredValue", sv)
case ShapeValidationMinVal:
switch sv.Ref.Shape.Type {
case "list", "map", "blob":
err = validationGoCodeTmpls.ExecuteTemplate(w, "minLen", sv)
case "string":
err = validationGoCodeTmpls.ExecuteTemplate(w, "minLenString", sv)
case "integer", "long", "float", "double":
err = validationGoCodeTmpls.ExecuteTemplate(w, "minVal", sv)
default:
panic(fmt.Sprintf("ShapeValidation.GoCode, %s's type %s, no min value handling",
sv.Name, sv.Ref.Shape.Type))
}
case ShapeValidationNested:
switch sv.Ref.Shape.Type {
case "map", "list":
err = validationGoCodeTmpls.ExecuteTemplate(w, "nestedMapList", sv)
default:
err = validationGoCodeTmpls.ExecuteTemplate(w, "nestedStruct", sv)
}
default:
panic(fmt.Sprintf("ShapeValidation.GoCode, %s's type %d, unknown validation type",
sv.Name, sv.Type))
}
if err != nil {
panic(fmt.Sprintf("ShapeValidation.GoCode failed, err: %v", err))
}
return w.String()
}
|
go
|
{
"resource": ""
}
|
q2807
|
GoCode
|
train
|
func (vs ShapeValidations) GoCode(shape *Shape) string {
buf := &bytes.Buffer{}
validateShapeTmpl.Execute(buf, map[string]interface{}{
"Shape": shape,
"Validations": vs,
})
return buf.String()
}
|
go
|
{
"resource": ""
}
|
q2808
|
Has
|
train
|
func (vs ShapeValidations) Has(ref *ShapeRef, typ ShapeValidationType) bool {
for _, v := range vs {
if v.Ref == ref && v.Type == typ {
return true
}
}
return false
}
|
go
|
{
"resource": ""
}
|
q2809
|
SetJoinedMethod
|
train
|
func (s *Account) SetJoinedMethod(v string) *Account {
s.JoinedMethod = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2810
|
SetJoinedTimestamp
|
train
|
func (s *Account) SetJoinedTimestamp(v time.Time) *Account {
s.JoinedTimestamp = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2811
|
SetCompletedTimestamp
|
train
|
func (s *CreateAccountStatus) SetCompletedTimestamp(v time.Time) *CreateAccountStatus {
s.CompletedTimestamp = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2812
|
SetGovCloudAccountId
|
train
|
func (s *CreateAccountStatus) SetGovCloudAccountId(v string) *CreateAccountStatus {
s.GovCloudAccountId = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2813
|
SetCreateAccountRequestId
|
train
|
func (s *DescribeCreateAccountStatusInput) SetCreateAccountRequestId(v string) *DescribeCreateAccountStatusInput {
s.CreateAccountRequestId = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2814
|
SetDateEnabled
|
train
|
func (s *EnabledServicePrincipal) SetDateEnabled(v time.Time) *EnabledServicePrincipal {
s.DateEnabled = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2815
|
SetExpirationTimestamp
|
train
|
func (s *Handshake) SetExpirationTimestamp(v time.Time) *Handshake {
s.ExpirationTimestamp = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2816
|
SetParties
|
train
|
func (s *Handshake) SetParties(v []*HandshakeParty) *Handshake {
s.Parties = v
return s
}
|
go
|
{
"resource": ""
}
|
q2817
|
SetParentHandshakeId
|
train
|
func (s *HandshakeFilter) SetParentHandshakeId(v string) *HandshakeFilter {
s.ParentHandshakeId = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2818
|
SetNotes
|
train
|
func (s *InviteAccountToOrganizationInput) SetNotes(v string) *InviteAccountToOrganizationInput {
s.Notes = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2819
|
SetEnabledServicePrincipals
|
train
|
func (s *ListAWSServiceAccessForOrganizationOutput) SetEnabledServicePrincipals(v []*EnabledServicePrincipal) *ListAWSServiceAccessForOrganizationOutput {
s.EnabledServicePrincipals = v
return s
}
|
go
|
{
"resource": ""
}
|
q2820
|
SetChildType
|
train
|
func (s *ListChildrenInput) SetChildType(v string) *ListChildrenInput {
s.ChildType = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2821
|
SetCreateAccountStatuses
|
train
|
func (s *ListCreateAccountStatusOutput) SetCreateAccountStatuses(v []*CreateAccountStatus) *ListCreateAccountStatusOutput {
s.CreateAccountStatuses = v
return s
}
|
go
|
{
"resource": ""
}
|
q2822
|
SetOrganizationalUnits
|
train
|
func (s *ListOrganizationalUnitsForParentOutput) SetOrganizationalUnits(v []*OrganizationalUnit) *ListOrganizationalUnitsForParentOutput {
s.OrganizationalUnits = v
return s
}
|
go
|
{
"resource": ""
}
|
q2823
|
SetChildId
|
train
|
func (s *ListParentsInput) SetChildId(v string) *ListParentsInput {
s.ChildId = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2824
|
SetRoots
|
train
|
func (s *ListRootsOutput) SetRoots(v []*Root) *ListRootsOutput {
s.Roots = v
return s
}
|
go
|
{
"resource": ""
}
|
q2825
|
SetDestinationParentId
|
train
|
func (s *MoveAccountInput) SetDestinationParentId(v string) *MoveAccountInput {
s.DestinationParentId = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2826
|
SetSourceParentId
|
train
|
func (s *MoveAccountInput) SetSourceParentId(v string) *MoveAccountInput {
s.SourceParentId = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2827
|
SetAvailablePolicyTypes
|
train
|
func (s *Organization) SetAvailablePolicyTypes(v []*PolicyTypeSummary) *Organization {
s.AvailablePolicyTypes = v
return s
}
|
go
|
{
"resource": ""
}
|
q2828
|
SetMasterAccountArn
|
train
|
func (s *Organization) SetMasterAccountArn(v string) *Organization {
s.MasterAccountArn = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2829
|
SetMasterAccountEmail
|
train
|
func (s *Organization) SetMasterAccountEmail(v string) *Organization {
s.MasterAccountEmail = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2830
|
SetMasterAccountId
|
train
|
func (s *Organization) SetMasterAccountId(v string) *Organization {
s.MasterAccountId = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2831
|
SetPolicySummary
|
train
|
func (s *Policy) SetPolicySummary(v *PolicySummary) *Policy {
s.PolicySummary = v
return s
}
|
go
|
{
"resource": ""
}
|
q2832
|
SetAwsManaged
|
train
|
func (s *PolicySummary) SetAwsManaged(v bool) *PolicySummary {
s.AwsManaged = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2833
|
WaitUntilCacheClusterAvailable
|
train
|
func (c *ElastiCache) WaitUntilCacheClusterAvailable(input *DescribeCacheClustersInput) error {
return c.WaitUntilCacheClusterAvailableWithContext(aws.BackgroundContext(), input)
}
|
go
|
{
"resource": ""
}
|
q2834
|
WaitUntilCacheClusterDeleted
|
train
|
func (c *ElastiCache) WaitUntilCacheClusterDeleted(input *DescribeCacheClustersInput) error {
return c.WaitUntilCacheClusterDeletedWithContext(aws.BackgroundContext(), input)
}
|
go
|
{
"resource": ""
}
|
q2835
|
WaitUntilReplicationGroupAvailable
|
train
|
func (c *ElastiCache) WaitUntilReplicationGroupAvailable(input *DescribeReplicationGroupsInput) error {
return c.WaitUntilReplicationGroupAvailableWithContext(aws.BackgroundContext(), input)
}
|
go
|
{
"resource": ""
}
|
q2836
|
WaitUntilReplicationGroupDeleted
|
train
|
func (c *ElastiCache) WaitUntilReplicationGroupDeleted(input *DescribeReplicationGroupsInput) error {
return c.WaitUntilReplicationGroupDeletedWithContext(aws.BackgroundContext(), input)
}
|
go
|
{
"resource": ""
}
|
q2837
|
SetCacheNodes
|
train
|
func (s *CacheCluster) SetCacheNodes(v []*CacheNode) *CacheCluster {
s.CacheNodes = v
return s
}
|
go
|
{
"resource": ""
}
|
q2838
|
SetClientDownloadLandingPage
|
train
|
func (s *CacheCluster) SetClientDownloadLandingPage(v string) *CacheCluster {
s.ClientDownloadLandingPage = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2839
|
SetCacheEngineDescription
|
train
|
func (s *CacheEngineVersion) SetCacheEngineDescription(v string) *CacheEngineVersion {
s.CacheEngineDescription = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2840
|
SetCacheEngineVersionDescription
|
train
|
func (s *CacheEngineVersion) SetCacheEngineVersionDescription(v string) *CacheEngineVersion {
s.CacheEngineVersionDescription = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2841
|
SetCacheNodeStatus
|
train
|
func (s *CacheNode) SetCacheNodeStatus(v string) *CacheNode {
s.CacheNodeStatus = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2842
|
SetCustomerAvailabilityZone
|
train
|
func (s *CacheNode) SetCustomerAvailabilityZone(v string) *CacheNode {
s.CustomerAvailabilityZone = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2843
|
SetSourceCacheNodeId
|
train
|
func (s *CacheNode) SetSourceCacheNodeId(v string) *CacheNode {
s.SourceCacheNodeId = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2844
|
SetCacheNodeTypeSpecificValues
|
train
|
func (s *CacheNodeTypeSpecificParameter) SetCacheNodeTypeSpecificValues(v []*CacheNodeTypeSpecificValue) *CacheNodeTypeSpecificParameter {
s.CacheNodeTypeSpecificValues = v
return s
}
|
go
|
{
"resource": ""
}
|
q2845
|
SetNumCacheClusters
|
train
|
func (s *CreateReplicationGroupInput) SetNumCacheClusters(v int64) *CreateReplicationGroupInput {
s.NumCacheClusters = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2846
|
SetPreferredCacheClusterAZs
|
train
|
func (s *CreateReplicationGroupInput) SetPreferredCacheClusterAZs(v []*string) *CreateReplicationGroupInput {
s.PreferredCacheClusterAZs = v
return s
}
|
go
|
{
"resource": ""
}
|
q2847
|
SetReplicasPerNodeGroup
|
train
|
func (s *CreateReplicationGroupInput) SetReplicasPerNodeGroup(v int64) *CreateReplicationGroupInput {
s.ReplicasPerNodeGroup = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2848
|
SetReplicasToRemove
|
train
|
func (s *DecreaseReplicaCountInput) SetReplicasToRemove(v []*string) *DecreaseReplicaCountInput {
s.ReplicasToRemove = v
return s
}
|
go
|
{
"resource": ""
}
|
q2849
|
SetRetainPrimaryCluster
|
train
|
func (s *DeleteReplicationGroupInput) SetRetainPrimaryCluster(v bool) *DeleteReplicationGroupInput {
s.RetainPrimaryCluster = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2850
|
SetShowCacheClustersNotInReplicationGroups
|
train
|
func (s *DescribeCacheClustersInput) SetShowCacheClustersNotInReplicationGroups(v bool) *DescribeCacheClustersInput {
s.ShowCacheClustersNotInReplicationGroups = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2851
|
SetShowCacheNodeInfo
|
train
|
func (s *DescribeCacheClustersInput) SetShowCacheNodeInfo(v bool) *DescribeCacheClustersInput {
s.ShowCacheNodeInfo = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2852
|
SetCacheClusters
|
train
|
func (s *DescribeCacheClustersOutput) SetCacheClusters(v []*CacheCluster) *DescribeCacheClustersOutput {
s.CacheClusters = v
return s
}
|
go
|
{
"resource": ""
}
|
q2853
|
SetCacheEngineVersions
|
train
|
func (s *DescribeCacheEngineVersionsOutput) SetCacheEngineVersions(v []*CacheEngineVersion) *DescribeCacheEngineVersionsOutput {
s.CacheEngineVersions = v
return s
}
|
go
|
{
"resource": ""
}
|
q2854
|
SetCacheParameterGroups
|
train
|
func (s *DescribeCacheParameterGroupsOutput) SetCacheParameterGroups(v []*CacheParameterGroup) *DescribeCacheParameterGroupsOutput {
s.CacheParameterGroups = v
return s
}
|
go
|
{
"resource": ""
}
|
q2855
|
SetCacheSubnetGroups
|
train
|
func (s *DescribeCacheSubnetGroupsOutput) SetCacheSubnetGroups(v []*CacheSubnetGroup) *DescribeCacheSubnetGroupsOutput {
s.CacheSubnetGroups = v
return s
}
|
go
|
{
"resource": ""
}
|
q2856
|
SetReplicationGroups
|
train
|
func (s *DescribeReplicationGroupsOutput) SetReplicationGroups(v []*ReplicationGroup) *DescribeReplicationGroupsOutput {
s.ReplicationGroups = v
return s
}
|
go
|
{
"resource": ""
}
|
q2857
|
SetReservedCacheNodesOfferings
|
train
|
func (s *DescribeReservedCacheNodesOfferingsOutput) SetReservedCacheNodesOfferings(v []*ReservedCacheNodesOffering) *DescribeReservedCacheNodesOfferingsOutput {
s.ReservedCacheNodesOfferings = v
return s
}
|
go
|
{
"resource": ""
}
|
q2858
|
SetReservedCacheNodes
|
train
|
func (s *DescribeReservedCacheNodesOutput) SetReservedCacheNodes(v []*ReservedCacheNode) *DescribeReservedCacheNodesOutput {
s.ReservedCacheNodes = v
return s
}
|
go
|
{
"resource": ""
}
|
q2859
|
SetShowNodeGroupConfig
|
train
|
func (s *DescribeSnapshotsInput) SetShowNodeGroupConfig(v bool) *DescribeSnapshotsInput {
s.ShowNodeGroupConfig = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2860
|
SetScaleUpModifications
|
train
|
func (s *ListAllowedNodeTypeModificationsOutput) SetScaleUpModifications(v []*string) *ListAllowedNodeTypeModificationsOutput {
s.ScaleUpModifications = v
return s
}
|
go
|
{
"resource": ""
}
|
q2861
|
SetNewAvailabilityZones
|
train
|
func (s *ModifyCacheClusterInput) SetNewAvailabilityZones(v []*string) *ModifyCacheClusterInput {
s.NewAvailabilityZones = v
return s
}
|
go
|
{
"resource": ""
}
|
q2862
|
SetNodeGroupCount
|
train
|
func (s *ModifyReplicationGroupShardConfigurationInput) SetNodeGroupCount(v int64) *ModifyReplicationGroupShardConfigurationInput {
s.NodeGroupCount = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2863
|
SetNodeGroupsToRemove
|
train
|
func (s *ModifyReplicationGroupShardConfigurationInput) SetNodeGroupsToRemove(v []*string) *ModifyReplicationGroupShardConfigurationInput {
s.NodeGroupsToRemove = v
return s
}
|
go
|
{
"resource": ""
}
|
q2864
|
SetNodeGroupsToRetain
|
train
|
func (s *ModifyReplicationGroupShardConfigurationInput) SetNodeGroupsToRetain(v []*string) *ModifyReplicationGroupShardConfigurationInput {
s.NodeGroupsToRetain = v
return s
}
|
go
|
{
"resource": ""
}
|
q2865
|
SetReshardingConfiguration
|
train
|
func (s *ModifyReplicationGroupShardConfigurationInput) SetReshardingConfiguration(v []*ReshardingConfiguration) *ModifyReplicationGroupShardConfigurationInput {
s.ReshardingConfiguration = v
return s
}
|
go
|
{
"resource": ""
}
|
q2866
|
SetNodeGroupMembers
|
train
|
func (s *NodeGroup) SetNodeGroupMembers(v []*NodeGroupMember) *NodeGroup {
s.NodeGroupMembers = v
return s
}
|
go
|
{
"resource": ""
}
|
q2867
|
SetPrimaryEndpoint
|
train
|
func (s *NodeGroup) SetPrimaryEndpoint(v *Endpoint) *NodeGroup {
s.PrimaryEndpoint = v
return s
}
|
go
|
{
"resource": ""
}
|
q2868
|
SetPrimaryAvailabilityZone
|
train
|
func (s *NodeGroupConfiguration) SetPrimaryAvailabilityZone(v string) *NodeGroupConfiguration {
s.PrimaryAvailabilityZone = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2869
|
SetReplicaAvailabilityZones
|
train
|
func (s *NodeGroupConfiguration) SetReplicaAvailabilityZones(v []*string) *NodeGroupConfiguration {
s.ReplicaAvailabilityZones = v
return s
}
|
go
|
{
"resource": ""
}
|
q2870
|
SetReplicaCount
|
train
|
func (s *NodeGroupConfiguration) SetReplicaCount(v int64) *NodeGroupConfiguration {
s.ReplicaCount = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2871
|
SetCurrentRole
|
train
|
func (s *NodeGroupMember) SetCurrentRole(v string) *NodeGroupMember {
s.CurrentRole = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2872
|
SetReadEndpoint
|
train
|
func (s *NodeGroupMember) SetReadEndpoint(v *Endpoint) *NodeGroupMember {
s.ReadEndpoint = v
return s
}
|
go
|
{
"resource": ""
}
|
q2873
|
SetCacheSize
|
train
|
func (s *NodeSnapshot) SetCacheSize(v string) *NodeSnapshot {
s.CacheSize = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2874
|
SetReservedCacheNode
|
train
|
func (s *PurchaseReservedCacheNodesOfferingOutput) SetReservedCacheNode(v *ReservedCacheNode) *PurchaseReservedCacheNodesOfferingOutput {
s.ReservedCacheNode = v
return s
}
|
go
|
{
"resource": ""
}
|
q2875
|
SetClusterEnabled
|
train
|
func (s *ReplicationGroup) SetClusterEnabled(v bool) *ReplicationGroup {
s.ClusterEnabled = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2876
|
SetMemberClusters
|
train
|
func (s *ReplicationGroup) SetMemberClusters(v []*string) *ReplicationGroup {
s.MemberClusters = v
return s
}
|
go
|
{
"resource": ""
}
|
q2877
|
SetNodeGroups
|
train
|
func (s *ReplicationGroup) SetNodeGroups(v []*NodeGroup) *ReplicationGroup {
s.NodeGroups = v
return s
}
|
go
|
{
"resource": ""
}
|
q2878
|
SetAutomaticFailoverStatus
|
train
|
func (s *ReplicationGroupPendingModifiedValues) SetAutomaticFailoverStatus(v string) *ReplicationGroupPendingModifiedValues {
s.AutomaticFailoverStatus = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2879
|
SetResharding
|
train
|
func (s *ReplicationGroupPendingModifiedValues) SetResharding(v *ReshardingStatus) *ReplicationGroupPendingModifiedValues {
s.Resharding = v
return s
}
|
go
|
{
"resource": ""
}
|
q2880
|
SetReservationARN
|
train
|
func (s *ReservedCacheNode) SetReservationARN(v string) *ReservedCacheNode {
s.ReservationARN = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2881
|
SetSlotMigration
|
train
|
func (s *ReshardingStatus) SetSlotMigration(v *SlotMigration) *ReshardingStatus {
s.SlotMigration = v
return s
}
|
go
|
{
"resource": ""
}
|
q2882
|
SetProgressPercentage
|
train
|
func (s *SlotMigration) SetProgressPercentage(v float64) *SlotMigration {
s.ProgressPercentage = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2883
|
SetNodeSnapshots
|
train
|
func (s *Snapshot) SetNodeSnapshots(v []*NodeSnapshot) *Snapshot {
s.NodeSnapshots = v
return s
}
|
go
|
{
"resource": ""
}
|
q2884
|
trimSpaces
|
train
|
func trimSpaces(k AST) AST {
// trim left hand side of spaces
for i := 0; i < len(k.Root.raw); i++ {
if !isWhitespace(k.Root.raw[i]) {
break
}
k.Root.raw = k.Root.raw[1:]
i--
}
// trim right hand side of spaces
for i := len(k.Root.raw) - 1; i >= 0; i-- {
if !isWhitespace(k.Root.raw[i]) {
break
}
k.Root.raw = k.Root.raw[:len(k.Root.raw)-1]
}
return k
}
|
go
|
{
"resource": ""
}
|
q2885
|
SetExceptionResponse
|
train
|
func (s *BatchReadOperationResponse) SetExceptionResponse(v *BatchReadException) *BatchReadOperationResponse {
s.ExceptionResponse = v
return s
}
|
go
|
{
"resource": ""
}
|
q2886
|
SetSuccessfulResponse
|
train
|
func (s *BatchReadOperationResponse) SetSuccessfulResponse(v *BatchReadSuccessfulResponse) *BatchReadOperationResponse {
s.SuccessfulResponse = v
return s
}
|
go
|
{
"resource": ""
}
|
q2887
|
SetAttributeDefinition
|
train
|
func (s *FacetAttribute) SetAttributeDefinition(v *FacetAttributeDefinition) *FacetAttribute {
s.AttributeDefinition = v
return s
}
|
go
|
{
"resource": ""
}
|
q2888
|
SetAttributeReference
|
train
|
func (s *FacetAttribute) SetAttributeReference(v *FacetAttributeReference) *FacetAttribute {
s.AttributeReference = v
return s
}
|
go
|
{
"resource": ""
}
|
q2889
|
SetTargetAttributeName
|
train
|
func (s *FacetAttributeReference) SetTargetAttributeName(v string) *FacetAttributeReference {
s.TargetAttributeName = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2890
|
SetTargetFacetName
|
train
|
func (s *FacetAttributeReference) SetTargetFacetName(v string) *FacetAttributeReference {
s.TargetFacetName = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2891
|
SetDirectory
|
train
|
func (s *GetDirectoryOutput) SetDirectory(v *Directory) *GetDirectoryOutput {
s.Directory = v
return s
}
|
go
|
{
"resource": ""
}
|
q2892
|
SetIndexedAttributes
|
train
|
func (s *IndexAttachment) SetIndexedAttributes(v []*AttributeKeyAndValue) *IndexAttachment {
s.IndexedAttributes = v
return s
}
|
go
|
{
"resource": ""
}
|
q2893
|
SetAttributeActionType
|
train
|
func (s *LinkAttributeAction) SetAttributeActionType(v string) *LinkAttributeAction {
s.AttributeActionType = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2894
|
SetAttributeUpdateValue
|
train
|
func (s *LinkAttributeAction) SetAttributeUpdateValue(v *TypedAttributeValue) *LinkAttributeAction {
s.AttributeUpdateValue = v
return s
}
|
go
|
{
"resource": ""
}
|
q2895
|
SetAttributeAction
|
train
|
func (s *LinkAttributeUpdate) SetAttributeAction(v *LinkAttributeAction) *LinkAttributeUpdate {
s.AttributeAction = v
return s
}
|
go
|
{
"resource": ""
}
|
q2896
|
SetIncludeAllLinksToEachParent
|
train
|
func (s *ListObjectParentsInput) SetIncludeAllLinksToEachParent(v bool) *ListObjectParentsInput {
s.IncludeAllLinksToEachParent = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2897
|
SetObjectAttributeActionType
|
train
|
func (s *ObjectAttributeAction) SetObjectAttributeActionType(v string) *ObjectAttributeAction {
s.ObjectAttributeActionType = &v
return s
}
|
go
|
{
"resource": ""
}
|
q2898
|
SetObjectAttributeUpdateValue
|
train
|
func (s *ObjectAttributeAction) SetObjectAttributeUpdateValue(v *TypedAttributeValue) *ObjectAttributeAction {
s.ObjectAttributeUpdateValue = v
return s
}
|
go
|
{
"resource": ""
}
|
q2899
|
SetObjectAttributeAction
|
train
|
func (s *ObjectAttributeUpdate) SetObjectAttributeAction(v *ObjectAttributeAction) *ObjectAttributeUpdate {
s.ObjectAttributeAction = 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.