func NewDynamicCriteria(operator, key, value, criteria string) *DynamicCriteria {
	newDynamicCriteria := DynamicCriteria{
		Operator: operator,
		Key:      key,
		Value:    value,
		Criteria: criteria,
	}
	return &newDynamicCriteria
}
NewDynamicCriteria creates a new dynamic criteria and returns it.
package securitygroup
import (
	"fmt"
)
func (sgl List) String() string {
	return fmt.Sprintf("SecurityGroupList object, contains SecurityGroup objects.")
}
func (sg SecurityGroup) String() string {
	return fmt.Sprintf("objectId: %-20s name: %-20s.", sg.ObjectID, sg.Name)
}
func (sgl List) FilterByName(name string) *SecurityGroup {
	var securityGroupFound SecurityGroup
	for _, sg := range sgl.SecurityGroups {
		if sg.Name == name {
			securityGroupFound = sg
			break
		}
	}
	return &securityGroupFound
}
func (sg *SecurityGroup) AddDynamicMemberDefinitionSet(operator string, dynamicCriteriaList []DynamicCriteria) {
	newDynamicSet := DynamicSet{Operator: operator, DynamicCriteria: dynamicCriteriaList}
	if sg.DynamicMemberDefinition != nil && len(sg.DynamicMemberDefinition.DynamicSet) >= 1 {
		sg.DynamicMemberDefinition.DynamicSet = append(sg.DynamicMemberDefinition.DynamicSet, newDynamicSet)
	} else {
		dynamicSetList := []DynamicSet{newDynamicSet}
		sg.DynamicMemberDefinition = &DynamicMemberDefinition{DynamicSet: dynamicSetList}
	}
}