code: func (s *PutAccountSettingInput) Validate() error {
  	invalidParams := request.ErrInvalidParams{Context: "PutAccountSettingInput"}
  	if s.Name == nil {
  		invalidParams.Add(request.NewErrParamRequired("Name"))
  	}
  	if s.Value == nil {
  		invalidParams.Add(request.NewErrParamRequired("Value"))
  	}
  
  	if invalidParams.Len() > 0 {
  		return invalidParams
  	}
  	return nil
  }
docs: // Validate inspects the fields of the type to determine if they are valid.