// SetExpected sets the Expected field's value.
768676
func (s *DeleteAttributesInput) SetExpected(v *UpdateCondition) *DeleteAttributesInput {
	s.Expected = v
	return s
}
901452
func (s *Prediction) SetPredictedValue(v float64) *Prediction {
	s.PredictedValue = &v
	return s
}
93389
func (s *UpdateThingGroupInput) SetExpectedVersion(v int64) *UpdateThingGroupInput {
	s.ExpectedVersion = &v
	return s
}
355587
func (pattern *Pattern) SetExtend(extend Extend) {
	C.cairo_pattern_set_extend(pattern.Ptr, C.cairo_extend_t(extend))
	if err := pattern.status(); err != nil {
		panic(err)
	}
}
459630
func (s *SearchInput) SetExpr(v string) *SearchInput {
	s.Expr = &v
	return s
}
1336811
func (c *controllerImpl) addExpectationLocked(
	o MockObject,
	methodName string,
	exp *InternalExpectation) {
	// Get the existing list.
	existing := c.getExpectationsLocked(o, methodName)

	// Store a modified list.
	id := o.Oglemock_Id()
	c.expectationsByObject[id][methodName] = append(existing, exp)
}
773752
func (s *BrokerSummary) SetCreated(v time.Time) *BrokerSummary {
	s.Created = &v
	return s
}
314382
func (s *EnvironmentDescription) SetDateCreated(v time.Time) *EnvironmentDescription {
	s.DateCreated = &v
	return s
}
767762
func (s *DomainStatus) SetCreated(v bool) *DomainStatus {
	s.Created = &v
	return s
}
735497
func (s *Project) SetCreated(v time.Time) *Project {
	s.Created = &v
	return s
}
860168
func (a *Astilectron) SetExecuter(e Executer) *Astilectron {
	a.executer = e
	return a
}
506546
func (s *DescribeBrokerResponse) SetCreated(v time.Time) *DescribeBrokerResponse {
	s.Created = &v
	return s
}
132946
func (c *DOM) SetInspectedNode(nodeId int) (*gcdmessage.ChromeResponse, error) {
	var v DOMSetInspectedNodeParams
	v.NodeId = nodeId
	return c.SetInspectedNodeWithParams(&v)
}
398241
func (s *StackResourceDrift) SetExpectedProperties(v string) *StackResourceDrift {
	s.ExpectedProperties = &v
	return s
}
90495
func errExpected(expect lexer.TokenKind, tok *lexer.Token) {
	errPanic(fmt.Errorf("Expecting %s, got: '%s'", expect, tok), tok.Line)
}
1178828
func (msg *Message) SetExpectedMsgID(id string) error {
	if msg.Type() != "reply" {
		return fmt.Errorf("can only store expected message ID for reply messages")
	}

	msg.expectedMessageID = id

	return nil
}
688689
func (s *ApplicationDescription) SetDateCreated(v time.Time) *ApplicationDescription {
	s.DateCreated = &v
	return s
}