// SetRule sets the Rule field's value.
540013
func (s *CreateReceiptRuleInput) SetRule(v *ReceiptRule) *CreateReceiptRuleInput {
	s.Rule = v
	return s
}
154460
func (s *CreateResolverRuleOutput) SetResolverRule(v *ResolverRule) *CreateResolverRuleOutput {
	s.ResolverRule = v
	return s
}
147169
func (s *SamplingRuleUpdate) SetRuleName(v string) *SamplingRuleUpdate {
	s.RuleName = &v
	return s
}
461411
func (s *DisableTopicRuleInput) SetRuleName(v string) *DisableTopicRuleInput {
	s.RuleName = &v
	return s
}
731868
func (s *Rule) SetRuleArn(v string) *Rule {
	s.RuleArn = &v
	return s
}
1020420
func (s *TestRoleInput) SetRole(v string) *TestRoleInput {
	s.Role = &v
	return s
}
734186
func (s *ServerSideEncryptionConfiguration) SetRules(v []*ServerSideEncryptionRule) *ServerSideEncryptionConfiguration {
	s.Rules = v
	return s
}
514768
func (s *GetResolverRuleOutput) SetResolverRule(v *ResolverRule) *GetResolverRuleOutput {
	s.ResolverRule = v
	return s
}
309431
func (s *ObjectLockConfiguration) SetRule(v *ObjectLockRule) *ObjectLockConfiguration {
	s.Rule = v
	return s
}
397182
func (s *SamplingTargetDocument) SetRuleName(v string) *SamplingTargetDocument {
	s.RuleName = &v
	return s
}
781025
func (s *ActivatedRule) SetRuleId(v string) *ActivatedRule {
	s.RuleId = &v
	return s
}
256574
func (s *SamplingStatisticsDocument) SetRuleName(v string) *SamplingStatisticsDocument {
	s.RuleName = &v
	return s
}
905873
func (s *UpdateReceiptRuleInput) SetRule(v *ReceiptRule) *UpdateReceiptRuleInput {
	s.Rule = v
	return s
}
1306750
func (s *DataRetrievalPolicy) SetRules(v []*DataRetrievalRule) *DataRetrievalPolicy {
	s.Rules = v
	return s
}
294502
func (s *SamplingRuleUpdate) SetRuleARN(v string) *SamplingRuleUpdate {
	s.RuleARN = &v
	return s
}
1058042
func (s *ListRulesOutput) SetRules(v []*Rule) *ListRulesOutput {
	s.Rules = v
	return s
}
878520
func (s *SamplingStatisticSummary) SetRuleName(v string) *SamplingStatisticSummary {
	s.RuleName = &v
	return s
}