You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: serializers.go
    path of file: ./repos/aws-sdk-go-v2/service/athena
    
    the code of the file until where you have to start completion: // Code generated by smithy-go-codegen DO NOT EDIT.

package athena

import (
	"bytes"
	"context"
	"fmt"
	"github.com/aws/aws-sdk-go-v2/service/athena/types"
	smithy "github.com/aws/smithy-go"
	"github.com/aws/smithy-go/encoding/httpbinding"
	smithyjson "github.com/aws/smithy-go/encoding/json"
	"github.com/aws/smithy-go/middleware"
	smithyhttp "github.com/aws/smithy-go/transport/http"
	"path"
)

type awsAwsjson11_serializeOpBatchGetNamedQuery struct {
}

func (*awsAwsjson11_serializeOpBatchGetNamedQuery) ID() string {
	return "OperationSerializer"
}

func (m *awsAwsjson11_serializeOpBatchGetNamedQuery) HandleSerialize(ctx context.Context, in middleware.SerializeInput, next middleware.SerializeHandler) (
	out middleware.SerializeOutput, metadata middleware.Metadata, err error,
) {
	request, ok := in.Request.(*smithyhttp.Request)

    
func awsAwsjson11_serializeDocumentWorkGroupConfigurationUpdates(v *types.WorkGroupConfigurationUpdates, value smithyjson.Value) error {
	object := value.Object()
	defer object.Close()

	if v.AdditionalConfiguration != nil {
		ok := object.Key("AdditionalConfiguration")
		ok.String(*v.AdditionalConfiguration)
	}

	if v.BytesScannedCutoffPerQuery != nil {
		ok := object.Key("BytesScannedCutoffPerQuery")
		ok.Long(*v.BytesScannedCutoffPerQuery)
	}

	if v.CustomerContentEncryptionConfiguration != nil {
		ok := object.Key("CustomerContentEncryptionConfiguration")
		if err := awsAwsjson11_serializeDocumentCustomerContentEncryptionConfiguration(v.CustomerContentEncryptionConfiguration, ok); err != nil {
			return err
		}
	}

	if v.EnableMinimumEncryptionConfiguration != nil {
		ok := object.Key("EnableMinimumEncryptionConfiguration")
		ok.Boolean(*v.EnableMinimumEncryptionConfiguration)
	}

	if v.EnforceWorkGroupConfiguration != nil {
		ok := object.Key("EnforceWorkGroupConfiguration")
		ok.Boolean(*v.EnforceWorkGroupConfiguration)
	}

	if v.EngineVersion != nil {
		ok := object.Key("EngineVersion")
		if err := awsAwsjson11_serializeDocumentEngineVersion(v.EngineVersion, ok); err != nil {
			return err
		}
	}

	if v.ExecutionRole != nil {
		ok := object.Key("ExecutionRole")
		ok.String(*v.ExecutionRole)
	}

	if v.PublishCloudWatchMetricsEnabled != nil {
		ok := object.Key("PublishCloudWatchMetricsEnabled")
		ok.Boolean(*v.PublishCloudWatchMetricsEnabled)
	}

	if v.QueryResultsS3AccessGrantsConfiguration != nil {
		ok := object.Key("QueryResultsS3AccessGrantsConfiguration")
		if err := awsAwsjson11_serializeDocumentQueryResultsS3AccessGrantsConfiguration(v.QueryResultsS3AccessGrantsConfiguration, ok); err != nil {
			return err
		}
	}

	if v.RemoveBytesScannedCutoffPerQuery != nil {
		ok := object.Key("RemoveBytesScannedCutoffPerQuery")
		ok.Boolean(*v.RemoveBytesScannedCutoffPerQuery)
	}

	if v.RemoveCustomerContentEncryptionConfiguration != nil {
		ok := object.Key("RemoveCustomerContentEncryptionConfiguration")
		ok.Boolean(*v.RemoveCustomerContentEncryptionConfiguration)
	}

	if v.RequesterPaysEnabled != nil {
		ok := object.Key("RequesterPaysEnabled")
		ok.Boolean(*v.RequesterPaysEnabled)
	}

	if v.ResultConfigurationUpdates != nil {
		ok := object.Key("ResultConfigurationUpdates")
		if err := awsAwsjson11_serializeDocumentResultConfigurationUpdates(v.ResultConfigurationUpdates, ok); err != nil {
			return err
		}
	}

	return nil
}