// SetBody supply raw body.
350587
func (rc *RequestConfig) SetBody(body string) *RequestConfig {
	if len(body) > 0 {
		rc.Body = body
	}

	return rc
}
1101701
func (s *CreateMatchmakingRuleSetInput) SetRuleSetBody(v string) *CreateMatchmakingRuleSetInput {
	s.RuleSetBody = &v
	return s
}
559841
func (s *StartThingRegistrationTaskInput) SetTemplateBody(v string) *StartThingRegistrationTaskInput {
	s.TemplateBody = &v
	return s
}
872699
func (s *PutDashboardInput) SetDashboardBody(v string) *PutDashboardInput {
	s.DashboardBody = &v
	return s
}
1281343
func (s *DefaultPushNotificationMessage) SetBody(v string) *DefaultPushNotificationMessage {
	s.Body = &v
	return s
}
368453
func (m *DummyMessage) SetBody(newBody string) Message {
	m.body = newBody
	return m
}
118971
func (s *SendMessageBatchRequestEntry) SetMessageBody(v string) *SendMessageBatchRequestEntry {
	s.MessageBody = &v
	return s
}
500516
func (p *Flow) SetBody(b interface{}) *Flow {
	if p.err != nil {
		return p
	}
	p.message.SetBody(b)
	return p
}
724474
func (s *Message) SetJsonBody(v string) *Message {
	s.JsonBody = &v
	return s
}
742417
func (o *AddOneParams) WithBody(body *models.Item) *AddOneParams {
	o.SetBody(body)
	return o
}
331487
func (r *Request) SetBody(mtype *mediatype.MediaType, resource interface{}) error {
	r.MediaType = mtype
	r.Header.Set(ctypeHeader, mtype.String())

	if resource == nil {
		return nil
	}

	buf, err := mtype.Encode(resource)
	if err != nil {
		return err
	}

	r.ContentLength = int64(buf.Len())
	r.Body = ioutil.NopCloser(buf)
	return nil
}
475590
func (r *Request) setBodyString(body string) error {
	return r.setBodyReader(strings.NewReader(body))
}
447466
func (s *SMSMessage) SetBody(v string) *SMSMessage {
	s.Body = &v
	return s
}
239669
func (s *CreateApplicationVersionRequest) SetTemplateBody(v string) *CreateApplicationVersionRequest {
	s.TemplateBody = &v
	return s
}
947613
func (s *BaiduMessage) SetBody(v string) *BaiduMessage {
	s.Body = &v
	return s
}
11972
func (a *FulfillRequestArgs) SetBody(body string) *FulfillRequestArgs {
	a.Body = &body
	return a
}
473467
func (s *CreateChangeSetInput) SetTemplateBody(v string) *CreateChangeSetInput {
	s.TemplateBody = &v
	return s
}