// ToGet produces a dynamodb.GetItemInput value based on configured builder
ToGet produces a dynamodb.GetItemInput value based on configured builder
// ToGet produces a dynamodb . GetItemInput value based on configured builder
func (s *Builder) ToGet() (dynamodb.GetItemInput, error) {
	if s.err != nil {
		return dynamodb.GetItemInput{}, s.err
	}
	var query dynamodb.GetItemInput
	if len(s.keys) > 0 {
		query.Key = s.keys
	}
	if s.table != "" {
		query.TableName = aws.String(s.table)
	}
	if s.consistent != nil {
		query.ConsistentRead = s.consistent
	}
	return query, nil
}
func ( s * Builder ) ToGet ( ) ( dynamodb . GetItemInput , error ) { if s . err != nil { return dynamodb . GetItemInput { } , s . err } var query dynamodb . GetItemInput if len ( s . keys ) > 0 { query . Key = s . keys } if s . table != " " { query . TableName = aws . String ( s . table ) } if s . consistent != nil { query . ConsistentRead = s . consistent } return query , nil }
ToGet produces a dynamodb.GetItemInput value based on configured builder
ToGet produces a dynamodb . GetItemInput value based on configured builder