// Code generated by protoc-gen-goext. DO NOT EDIT.

package smartwebsecurity

import (
	v1 "github.com/yandex-cloud/go-genproto/yandex/cloud/smartwebsecurity/v1"
	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
)

type WafProfile_RuleSet = isWafProfile_RuleSet

func (m *WafProfile) SetRuleSet(v WafProfile_RuleSet) {
	m.RuleSet = v
}

func (m *WafProfile) SetId(v string) {
	m.Id = v
}

func (m *WafProfile) SetFolderId(v string) {
	m.FolderId = v
}

func (m *WafProfile) SetCloudId(v string) {
	m.CloudId = v
}

func (m *WafProfile) SetName(v string) {
	m.Name = v
}

func (m *WafProfile) SetDescription(v string) {
	m.Description = v
}

func (m *WafProfile) SetLabels(v map[string]string) {
	m.Labels = v
}

func (m *WafProfile) SetCreatedAt(v *timestamppb.Timestamp) {
	m.CreatedAt = v
}

func (m *WafProfile) SetRules(v []*WafProfileRule) {
	m.Rules = v
}

func (m *WafProfile) SetExclusionRules(v []*WafProfileExclusionRule) {
	m.ExclusionRules = v
}

func (m *WafProfile) SetCoreRuleSet(v *WafProfile_CoreRuleSet) {
	m.RuleSet = &WafProfile_CoreRuleSet_{
		CoreRuleSet: v,
	}
}

func (m *WafProfile) SetAnalyzeRequestBody(v *WafProfile_AnalyzeRequestBody) {
	m.AnalyzeRequestBody = v
}

func (m *WafProfile_CoreRuleSet) SetInboundAnomalyScore(v int64) {
	m.InboundAnomalyScore = v
}

func (m *WafProfile_CoreRuleSet) SetParanoiaLevel(v int64) {
	m.ParanoiaLevel = v
}

func (m *WafProfile_CoreRuleSet) SetRuleSet(v *RuleSet) {
	m.RuleSet = v
}

func (m *WafProfile_AnalyzeRequestBody) SetIsEnabled(v bool) {
	m.IsEnabled = v
}

func (m *WafProfile_AnalyzeRequestBody) SetSizeLimit(v int64) {
	m.SizeLimit = v
}

func (m *WafProfile_AnalyzeRequestBody) SetSizeLimitAction(v WafProfile_AnalyzeRequestBody_Action) {
	m.SizeLimitAction = v
}

func (m *WafProfileRule) SetRuleId(v string) {
	m.RuleId = v
}

func (m *WafProfileRule) SetIsEnabled(v bool) {
	m.IsEnabled = v
}

func (m *WafProfileRule) SetIsBlocking(v bool) {
	m.IsBlocking = v
}

func (m *WafProfileExclusionRule) SetName(v string) {
	m.Name = v
}

func (m *WafProfileExclusionRule) SetDescription(v string) {
	m.Description = v
}

func (m *WafProfileExclusionRule) SetCondition(v *v1.Condition) {
	m.Condition = v
}

func (m *WafProfileExclusionRule) SetExcludeRules(v *WafProfileExclusionRule_ExcludeRules) {
	m.ExcludeRules = v
}

func (m *WafProfileExclusionRule) SetLogExcluded(v bool) {
	m.LogExcluded = v
}

func (m *WafProfileExclusionRule_ExcludeRules) SetExcludeAll(v bool) {
	m.ExcludeAll = v
}

func (m *WafProfileExclusionRule_ExcludeRules) SetRuleIds(v []string) {
	m.RuleIds = v
}

func (m *RuleSet) SetName(v string) {
	m.Name = v
}

func (m *RuleSet) SetVersion(v string) {
	m.Version = v
}
