Struct: query.Value
Overview
Value represents a Query Value type.
Implemented Interfaces
types.AnalyticsFilter, v4.HTTPPresigner, s3.HTTPPresignerV4, types.MetricsFilter, s3.PresignPost, arn.S3ObjectLambdaARN, types.SelectObjectContentEventStream
Method Summary collapse
-
func (qv Value) Array(locationName string) *Array
Array returns a new Array encoder.
-
func (qv Value) Base64EncodeBytes(v []byte)
Base64EncodeBytes encodes v as a base64 query string value.
-
func (qv Value) BigDecimal(v *big.Float)
BigDecimal encodes v as a query string value.
-
func (qv Value) BigInteger(v *big.Int)
BigInteger encodes v as a query string value.
-
func (qv Value) Boolean(v bool)
Boolean encodes v as a query string value.
-
func (qv Value) Byte(v int8)
Byte encodes v as a query string value.
-
func (qv Value) Double(v float64)
Double encodes v as a query string value.
-
func (qv Value) Float(v float32)
Float encodes v as a query string value.
-
func (qv Value) Integer(v int32)
Integer encodes v as a query string value.
-
func (qv Value) Long(v int64)
Long encodes v as a query string value.
-
func (qv Value) Map(keyLocationName string, valueLocationName string) *Map
Map returns a new Map encoder.
-
func (qv Value) Object() *Object
Object returns a new Object encoder.
-
func (qv Value) Short(v int16)
Short encodes v as a query string value.
-
func (qv Value) String(v string)
String encodes v as a query string value.
Method Details
func (qv Value) Array(locationName string) *Array
Array returns a new Array encoder.
48 49 50 |
// File 'aws/protocol/query/value.go', line 48
|
func (qv Value) Base64EncodeBytes(v []byte)
Base64EncodeBytes encodes v as a base64 query string value. This is intended to enable compatibility with the JSON encoder.
64 65 66 |
// File 'aws/protocol/query/value.go', line 64
|
func (qv Value) BigDecimal(v *big.Float)
BigDecimal encodes v as a query string value
114 115 116 |
// File 'aws/protocol/query/value.go', line 114
|
func (qv Value) BigInteger(v *big.Int)
BigInteger encodes v as a query string value
109 110 111 |
// File 'aws/protocol/query/value.go', line 109
|
func (qv Value) Boolean(v bool)
Boolean encodes v as a query string value
69 70 71 |
// File 'aws/protocol/query/value.go', line 69
|
func (qv Value) Byte(v int8)
Byte encodes v as a query string value
79 80 81 |
// File 'aws/protocol/query/value.go', line 79
|
func (qv Value) Double(v float64)
Double encodes v as a query string value
104 105 106 |
// File 'aws/protocol/query/value.go', line 104
|
func (qv Value) Float(v float32)
Float encodes v as a query string value
99 100 101 |
// File 'aws/protocol/query/value.go', line 99
|
func (qv Value) Integer(v int32)
Integer encodes v as a query string value
89 90 91 |
// File 'aws/protocol/query/value.go', line 89
|
func (qv Value) Long(v int64)
Long encodes v as a query string value
94 95 96 |
// File 'aws/protocol/query/value.go', line 94
|
func (qv Value) Map(keyLocationName string, valueLocationName string) *Map
Map returns a new Map encoder.
58 59 60 |
// File 'aws/protocol/query/value.go', line 58
|
func (qv Value) Object() *Object
Object returns a new Object encoder.
53 54 55 |
// File 'aws/protocol/query/value.go', line 53
|