func (item *PutItem) GetAttribute(name string) interface{} {
	return item.data[name]
}
GetAttribute gets an attribute from PutItem.
package dynamodb
import (
	SDK "github.com/aws/aws-sdk-go/service/dynamodb"
	"github.com/evalphobia/aws-sdk-go-wrapper/private/pointers"
)
type PutItem struct {
	data       map[string]*SDK.AttributeValue
	conditions map[string]*SDK.ExpectedAttributeValue
}
func NewPutItem() *PutItem {
	return &PutItem{
		data:       make(map[string]*SDK.AttributeValue),
		conditions: make(map[string]*SDK.ExpectedAttributeValue),
	}
}
func (item *PutItem) AddAttribute(name string, value interface{}) {
	item.data[name] = createAttributeValue(value)
}