// SetMD5OfMessageAttributes sets the MD5OfMessageAttributes field's value.
359464
func (s *Message) SetMD5OfMessageAttributes(v string) *Message {
	s.MD5OfMessageAttributes = &v
	return s
}
143282
func (s *Message) SetAttributes(v map[string]*string) *Message {
	s.Attributes = v
	return s
}
205866
func (s *SendMessageInput) SetMessageAttributes(v map[string]*MessageAttributeValue) *SendMessageInput {
	s.MessageAttributes = v
	return s
}
1198745
func (s *App) SetAttributes(v map[string]*string) *App {
	s.Attributes = v
	return s
}
1208672
func (s *Event) SetAttributes(v map[string]*string) *Event {
	s.Attributes = v
	return s
}
806123
func (s *ThingGroupDocument) SetAttributes(v map[string]*string) *ThingGroupDocument {
	s.Attributes = v
	return s
}
947947
func (s *Message) SetMessageAttributes(v map[string]*MessageAttributeValue) *Message {
	s.MessageAttributes = v
	return s
}
368569
func (s *PlayReadyDrm) SetKeyMd5(v string) *PlayReadyDrm {
	s.KeyMd5 = &v
	return s
}
328544
func (s *ReceiveMessageInput) SetMaxNumberOfMessages(v int64) *ReceiveMessageInput {
	s.MaxNumberOfMessages = &v
	return s
}
329759
func (s *Endpoint) SetAttributes(v map[string]*string) *Endpoint {
	s.Attributes = v
	return s
}
485783
func (s *BatchPutMessageInput) SetMessages(v []*Message) *BatchPutMessageInput {
	s.Messages = v
	return s
}
536074
func (s *DeletableItem) SetAttributes(v []*DeletableAttribute) *DeletableItem {
	s.Attributes = v
	return s
}
1130423
func (s *UserPoolType) SetSchemaAttributes(v []*SchemaAttributeType) *UserPoolType {
	s.SchemaAttributes = v
	return s
}
919805
func setFlashMessages(resp http.ResponseWriter, messages []flashMessage) {
	var buf []byte
	for i, message := range messages {
		if i > 0 {
			buf = append(buf, '\000')
		}
		buf = append(buf, message.ID...)
		for _, arg := range message.Args {
			buf = append(buf, '\001')
			buf = append(buf, arg...)
		}
	}
	value := base64.URLEncoding.EncodeToString(buf)
	http.SetCookie(resp, &http.Cookie{Name: "flash", Value: value, Path: "/"})
}
31519
func (s *Stack) SetAttributes(v map[string]*string) *Stack {
	s.Attributes = v
	return s
}
328924
func (s *PlatformApplication) SetAttributes(v map[string]*string) *PlatformApplication {
	s.Attributes = v
	return s
}
71445
func (s *HlsContentProtection) SetKeyMd5(v string) *HlsContentProtection {
	s.KeyMd5 = &v
	return s
}