1// Code generated by smithy-go-codegen DO NOT EDIT. 2 3package types 4 5type ContentType string 6 7// Enum values for ContentType 8const ( 9 ContentTypeApplicationJson ContentType = "application/json" 10 ContentTypeApplicationXml ContentType = "application/xml" 11) 12 13// Values returns all known values for ContentType. Note that this can be expanded 14// in the future, and so it is only as up to date as the client. The ordering of 15// this slice is not guaranteed to be stable across updates. 16func (ContentType) Values() []ContentType { 17 return []ContentType{ 18 "application/json", 19 "application/xml", 20 } 21} 22 23type QueryParser string 24 25// Enum values for QueryParser 26const ( 27 QueryParserSimple QueryParser = "simple" 28 QueryParserStructured QueryParser = "structured" 29 QueryParserLucene QueryParser = "lucene" 30 QueryParserDismax QueryParser = "dismax" 31) 32 33// Values returns all known values for QueryParser. Note that this can be expanded 34// in the future, and so it is only as up to date as the client. The ordering of 35// this slice is not guaranteed to be stable across updates. 36func (QueryParser) Values() []QueryParser { 37 return []QueryParser{ 38 "simple", 39 "structured", 40 "lucene", 41 "dismax", 42 } 43} 44