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

package connectionmanager

type MongoDBAuth_Security = isMongoDBAuth_Security

func (m *MongoDBAuth) SetSecurity(v MongoDBAuth_Security) {
	m.Security = v
}

func (m *MongoDBAuth) SetUserPassword(v *UserPasswordAuth) {
	m.Security = &MongoDBAuth_UserPassword{
		UserPassword: v,
	}
}

func (m *MongoDBAuth) SetAuthSource(v string) {
	m.AuthSource = v
}

func (m *MongoDBCluster) SetHosts(v []*MongoDBCluster_Host) {
	m.Hosts = v
}

func (m *MongoDBCluster) SetTlsParams(v *TLSParams) {
	m.TlsParams = v
}

func (m *MongoDBCluster_Host) SetHost(v string) {
	m.Host = v
}

func (m *MongoDBCluster_Host) SetPort(v int64) {
	m.Port = v
}

func (m *MongoDBCluster_Host) SetRole(v MongoDBCluster_Host_Role) {
	m.Role = v
}

func (m *MongoDBCluster_Host) SetHealth(v MongoDBCluster_Host_Health) {
	m.Health = v
}

func (m *MongoDBCluster_Host) SetType(v MongoDBCluster_Host_Type) {
	m.Type = v
}

func (m *MongoDBConnection) SetCluster(v *MongoDBCluster) {
	m.Cluster = v
}

func (m *MongoDBConnection) SetManagedClusterId(v string) {
	m.ManagedClusterId = v
}

func (m *MongoDBConnection) SetAuth(v *MongoDBAuth) {
	m.Auth = v
}

func (m *MongoDBConnection) SetDatabases(v []string) {
	m.Databases = v
}
